Package com.google.cloud.aiplatform.v1
Class Tool
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.Tool
- All Implemented Interfaces:
ToolOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Tool
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTool details that the model may use to generate response.static final classTool that executes code generated by the model, and automatically returns the result to the model.static interfacestatic final classTool to support computer use.static interfacestatic final classGoogleSearch tool type.static interfacestatic final classParallelAiSearch tool type.static interfacestatic enumThese are available confidence level user can set to block malicious urls with chosen confidence and above.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.Optional.Optional.static Toolstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.getFunctionDeclarations(int index) Optional.intOptional.Optional.getFunctionDeclarationsOrBuilder(int index) Optional.List<? extends FunctionDeclarationOrBuilder>Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.Parser<Tool>Optional.Optional.intOptional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.inthashCode()booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Tool.Builderstatic Tool.BuildernewBuilder(Tool prototype) protected Tool.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ToolparseDelimitedFrom(InputStream input) static ToolparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ToolparseFrom(byte[] data) static ToolparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ToolparseFrom(com.google.protobuf.ByteString data) static ToolparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ToolparseFrom(com.google.protobuf.CodedInputStream input) static ToolparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ToolparseFrom(InputStream input) static ToolparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ToolparseFrom(ByteBuffer data) static ToolparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Tool>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FUNCTION_DECLARATIONS_FIELD_NUMBER
public static final int FUNCTION_DECLARATIONS_FIELD_NUMBER- See Also:
-
RETRIEVAL_FIELD_NUMBER
public static final int RETRIEVAL_FIELD_NUMBER- See Also:
-
GOOGLE_SEARCH_FIELD_NUMBER
public static final int GOOGLE_SEARCH_FIELD_NUMBER- See Also:
-
GOOGLE_SEARCH_RETRIEVAL_FIELD_NUMBER
public static final int GOOGLE_SEARCH_RETRIEVAL_FIELD_NUMBER- See Also:
-
GOOGLE_MAPS_FIELD_NUMBER
public static final int GOOGLE_MAPS_FIELD_NUMBER- See Also:
-
ENTERPRISE_WEB_SEARCH_FIELD_NUMBER
public static final int ENTERPRISE_WEB_SEARCH_FIELD_NUMBER- See Also:
-
PARALLEL_AI_SEARCH_FIELD_NUMBER
public static final int PARALLEL_AI_SEARCH_FIELD_NUMBER- See Also:
-
CODE_EXECUTION_FIELD_NUMBER
public static final int CODE_EXECUTION_FIELD_NUMBER- See Also:
-
URL_CONTEXT_FIELD_NUMBER
public static final int URL_CONTEXT_FIELD_NUMBER- See Also:
-
COMPUTER_USE_FIELD_NUMBER
public static final int COMPUTER_USE_FIELD_NUMBER- See Also:
-
-
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
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Tool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Tool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-