Class ToolUseExample.ExtensionOperation (3.40.0)

public static final class ToolUseExample.ExtensionOperation extends GeneratedMessageV3 implements ToolUseExample.ExtensionOperationOrBuilder

Identifies one operation of the extension.

Protobuf type google.cloud.aiplatform.v1beta1.ToolUseExample.ExtensionOperation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ToolUseExample.ExtensionOperation

Static Fields

EXTENSION_FIELD_NUMBER

public static final int EXTENSION_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ToolUseExample.ExtensionOperation getDefaultInstance()
Returns
TypeDescription
ToolUseExample.ExtensionOperation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ToolUseExample.ExtensionOperation.Builder newBuilder()
Returns
TypeDescription
ToolUseExample.ExtensionOperation.Builder

newBuilder(ToolUseExample.ExtensionOperation prototype)

public static ToolUseExample.ExtensionOperation.Builder newBuilder(ToolUseExample.ExtensionOperation prototype)
Parameter
NameDescription
prototypeToolUseExample.ExtensionOperation
Returns
TypeDescription
ToolUseExample.ExtensionOperation.Builder

parseDelimitedFrom(InputStream input)

public static ToolUseExample.ExtensionOperation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ToolUseExample.ExtensionOperation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ToolUseExample.ExtensionOperation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ToolUseExample.ExtensionOperation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ToolUseExample.ExtensionOperation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ToolUseExample.ExtensionOperation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolUseExample.ExtensionOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ToolUseExample.ExtensionOperation> parser()
Returns
TypeDescription
Parser<ExtensionOperation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ToolUseExample.ExtensionOperation getDefaultInstanceForType()
Returns
TypeDescription
ToolUseExample.ExtensionOperation

getExtension()

public String getExtension()

Resource name of the extension.

string extension = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The extension.

getExtensionBytes()

public ByteString getExtensionBytes()

Resource name of the extension.

string extension = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for extension.

getOperationId()

public String getOperationId()

Required. Operation ID of the extension.

string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

Required. Operation ID of the extension.

string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for operationId.

getParserForType()

public Parser<ToolUseExample.ExtensionOperation> getParserForType()
Returns
TypeDescription
Parser<ExtensionOperation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ToolUseExample.ExtensionOperation.Builder newBuilderForType()
Returns
TypeDescription
ToolUseExample.ExtensionOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ToolUseExample.ExtensionOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ToolUseExample.ExtensionOperation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ToolUseExample.ExtensionOperation.Builder toBuilder()
Returns
TypeDescription
ToolUseExample.ExtensionOperation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException