Package com.google.cloud.aiplatform.v1
Class Tool.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
com.google.cloud.aiplatform.v1.Tool.Builder
- All Implemented Interfaces:
ToolOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Tool
public static final class Tool.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
implements ToolOrBuilder
Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).Protobuf type
google.cloud.aiplatform.v1.Tool-
Method Summary
Modifier and TypeMethodDescriptionaddAllFunctionDeclarations(Iterable<? extends FunctionDeclaration> values) Optional.addFunctionDeclarations(int index, FunctionDeclaration value) Optional.addFunctionDeclarations(int index, FunctionDeclaration.Builder builderForValue) Optional.Optional.addFunctionDeclarations(FunctionDeclaration.Builder builderForValue) Optional.Optional.addFunctionDeclarationsBuilder(int index) Optional.build()clear()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.getFunctionDeclarations(int index) Optional.getFunctionDeclarationsBuilder(int index) Optional.Optional.intOptional.Optional.getFunctionDeclarationsOrBuilder(int index) Optional.List<? extends FunctionDeclarationOrBuilder>Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeComputerUse(Tool.ComputerUse value) Optional.Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGoogleMaps(GoogleMaps value) Optional.Optional.Optional.Optional.mergeRetrieval(Retrieval value) Optional.mergeUrlContext(UrlContext value) Optional.removeFunctionDeclarations(int index) Optional.Optional.setCodeExecution(Tool.CodeExecution.Builder builderForValue) Optional.setComputerUse(Tool.ComputerUse value) Optional.setComputerUse(Tool.ComputerUse.Builder builderForValue) Optional.Optional.setEnterpriseWebSearch(EnterpriseWebSearch.Builder builderForValue) Optional.setFunctionDeclarations(int index, FunctionDeclaration value) Optional.setFunctionDeclarations(int index, FunctionDeclaration.Builder builderForValue) Optional.setGoogleMaps(GoogleMaps value) Optional.setGoogleMaps(GoogleMaps.Builder builderForValue) Optional.setGoogleSearch(Tool.GoogleSearch value) Optional.setGoogleSearch(Tool.GoogleSearch.Builder builderForValue) Optional.Optional.setGoogleSearchRetrieval(GoogleSearchRetrieval.Builder builderForValue) Optional.Optional.setParallelAiSearch(Tool.ParallelAiSearch.Builder builderForValue) Optional.setRetrieval(Retrieval value) Optional.setRetrieval(Retrieval.Builder builderForValue) Optional.setUrlContext(UrlContext value) Optional.setUrlContext(UrlContext.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tool.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Tool.Builder>
-
mergeFrom
public Tool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tool.Builder>- Throws:
IOException
-
getFunctionDeclarationsList
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionDeclarationsListin interfaceToolOrBuilder
-
getFunctionDeclarationsCount
public int getFunctionDeclarationsCount()Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionDeclarationsCountin interfaceToolOrBuilder
-
getFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionDeclarationsin interfaceToolOrBuilder
-
setFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
setFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addAllFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
clearFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
removeFunctionDeclarations
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getFunctionDeclarationsBuilder
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getFunctionDeclarationsOrBuilder
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionDeclarationsOrBuilderin interfaceToolOrBuilder
-
getFunctionDeclarationsOrBuilderList
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFunctionDeclarationsOrBuilderListin interfaceToolOrBuilder
-
addFunctionDeclarationsBuilder
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
addFunctionDeclarationsBuilder
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getFunctionDeclarationsBuilderList
Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating [FunctionCall][google.cloud.aiplatform.v1.Part.function_call] in the response. User should provide a [FunctionResponse][google.cloud.aiplatform.v1.Part.function_response] for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided.
repeated .google.cloud.aiplatform.v1.FunctionDeclaration function_declarations = 1 [(.google.api.field_behavior) = OPTIONAL]; -
hasRetrieval
public boolean hasRetrieval()Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRetrievalin interfaceToolOrBuilder- Returns:
- Whether the retrieval field is set.
-
getRetrieval
Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetrievalin interfaceToolOrBuilder- Returns:
- The retrieval.
-
setRetrieval
Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setRetrieval
Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRetrieval
Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearRetrieval
Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getRetrievalBuilder
Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getRetrievalOrBuilder
Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation.
.google.cloud.aiplatform.v1.Retrieval retrieval = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetrievalOrBuilderin interfaceToolOrBuilder
-
hasGoogleSearch
public boolean hasGoogleSearch()Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGoogleSearchin interfaceToolOrBuilder- Returns:
- Whether the googleSearch field is set.
-
getGoogleSearch
Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleSearchin interfaceToolOrBuilder- Returns:
- The googleSearch.
-
setGoogleSearch
Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL]; -
setGoogleSearch
Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGoogleSearch
Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL]; -
clearGoogleSearch
Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleSearchBuilder
Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleSearchOrBuilder
Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
.google.cloud.aiplatform.v1.Tool.GoogleSearch google_search = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleSearchOrBuilderin interfaceToolOrBuilder
-
hasGoogleSearchRetrieval
public boolean hasGoogleSearchRetrieval()Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGoogleSearchRetrievalin interfaceToolOrBuilder- Returns:
- Whether the googleSearchRetrieval field is set.
-
getGoogleSearchRetrieval
Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleSearchRetrievalin interfaceToolOrBuilder- Returns:
- The googleSearchRetrieval.
-
setGoogleSearchRetrieval
Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setGoogleSearchRetrieval
Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGoogleSearchRetrieval
Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearGoogleSearchRetrieval
Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleSearchRetrievalBuilder
Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleSearchRetrievalOrBuilder
Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
.google.cloud.aiplatform.v1.GoogleSearchRetrieval google_search_retrieval = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleSearchRetrievalOrBuilderin interfaceToolOrBuilder
-
hasGoogleMaps
public boolean hasGoogleMaps()Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGoogleMapsin interfaceToolOrBuilder- Returns:
- Whether the googleMaps field is set.
-
getGoogleMaps
Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleMapsin interfaceToolOrBuilder- Returns:
- The googleMaps.
-
setGoogleMaps
Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setGoogleMaps
Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGoogleMaps
Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearGoogleMaps
Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleMapsBuilder
Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleMapsOrBuilder
Optional. GoogleMaps tool type. Tool to support Google Maps in Model.
.google.cloud.aiplatform.v1.GoogleMaps google_maps = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleMapsOrBuilderin interfaceToolOrBuilder
-
hasEnterpriseWebSearch
public boolean hasEnterpriseWebSearch()Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEnterpriseWebSearchin interfaceToolOrBuilder- Returns:
- Whether the enterpriseWebSearch field is set.
-
getEnterpriseWebSearch
Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnterpriseWebSearchin interfaceToolOrBuilder- Returns:
- The enterpriseWebSearch.
-
setEnterpriseWebSearch
Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL]; -
setEnterpriseWebSearch
Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL]; -
mergeEnterpriseWebSearch
Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearEnterpriseWebSearch
Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEnterpriseWebSearchBuilder
Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getEnterpriseWebSearchOrBuilder
Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance.
.google.cloud.aiplatform.v1.EnterpriseWebSearch enterprise_web_search = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnterpriseWebSearchOrBuilderin interfaceToolOrBuilder
-
hasParallelAiSearch
public boolean hasParallelAiSearch()Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasParallelAiSearchin interfaceToolOrBuilder- Returns:
- Whether the parallelAiSearch field is set.
-
getParallelAiSearch
Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParallelAiSearchin interfaceToolOrBuilder- Returns:
- The parallelAiSearch.
-
setParallelAiSearch
Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL]; -
setParallelAiSearch
Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL]; -
mergeParallelAiSearch
Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL]; -
clearParallelAiSearch
Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getParallelAiSearchBuilder
Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getParallelAiSearchOrBuilder
Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation
.google.cloud.aiplatform.v1.Tool.ParallelAiSearch parallel_ai_search = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParallelAiSearchOrBuilderin interfaceToolOrBuilder
-
hasCodeExecution
public boolean hasCodeExecution()Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCodeExecutionin interfaceToolOrBuilder- Returns:
- Whether the codeExecution field is set.
-
getCodeExecution
Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCodeExecutionin interfaceToolOrBuilder- Returns:
- The codeExecution.
-
setCodeExecution
Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setCodeExecution
Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeCodeExecution
Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearCodeExecution
Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getCodeExecutionBuilder
Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getCodeExecutionOrBuilder
Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
.google.cloud.aiplatform.v1.Tool.CodeExecution code_execution = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCodeExecutionOrBuilderin interfaceToolOrBuilder
-
hasUrlContext
public boolean hasUrlContext()Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUrlContextin interfaceToolOrBuilder- Returns:
- Whether the urlContext field is set.
-
getUrlContext
Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUrlContextin interfaceToolOrBuilder- Returns:
- The urlContext.
-
setUrlContext
Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL]; -
setUrlContext
Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL]; -
mergeUrlContext
Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL]; -
clearUrlContext
Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getUrlContextBuilder
Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getUrlContextOrBuilder
Optional. Tool to support URL context retrieval.
.google.cloud.aiplatform.v1.UrlContext url_context = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUrlContextOrBuilderin interfaceToolOrBuilder
-
hasComputerUse
public boolean hasComputerUse()Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasComputerUsein interfaceToolOrBuilder- Returns:
- Whether the computerUse field is set.
-
getComputerUse
Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getComputerUsein interfaceToolOrBuilder- Returns:
- The computerUse.
-
setComputerUse
Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL]; -
setComputerUse
Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL]; -
mergeComputerUse
Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL]; -
clearComputerUse
Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getComputerUseBuilder
Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getComputerUseOrBuilder
Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations.
.google.cloud.aiplatform.v1.Tool.ComputerUse computer_use = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getComputerUseOrBuilderin interfaceToolOrBuilder
-