Class ToolUseExample.ExtensionOperation (3.42.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
Type Description
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ToolUseExample.ExtensionOperation getDefaultInstance()
Returns
Type Description
ToolUseExample.ExtensionOperation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ToolUseExample.ExtensionOperation.Builder newBuilder()
Returns
Type Description
ToolUseExample.ExtensionOperation.Builder

newBuilder(ToolUseExample.ExtensionOperation prototype)

public static ToolUseExample.ExtensionOperation.Builder newBuilder(ToolUseExample.ExtensionOperation prototype)
Parameter
Name Description
prototype ToolUseExample.ExtensionOperation
Returns
Type Description
ToolUseExample.ExtensionOperation.Builder

parseDelimitedFrom(InputStream input)

public static ToolUseExample.ExtensionOperation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ToolUseExample.ExtensionOperation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ToolUseExample.ExtensionOperation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ToolUseExample.ExtensionOperation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ToolUseExample.ExtensionOperation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ToolUseExample.ExtensionOperation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ToolUseExample.ExtensionOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolUseExample.ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ToolUseExample.ExtensionOperation getDefaultInstanceForType()
Returns
Type Description
ToolUseExample.ExtensionOperation

getExtension()

public String getExtension()

Resource name of the extension.

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

Returns
Type Description
String

The extension.

getExtensionBytes()

public ByteString getExtensionBytes()

Resource name of the extension.

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

Returns
Type Description
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
Type Description
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

Required. Operation ID of the extension.

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

Returns
Type Description
ByteString

The bytes for operationId.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ToolUseExample.ExtensionOperation.Builder newBuilderForType()
Returns
Type Description
ToolUseExample.ExtensionOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ToolUseExample.ExtensionOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ToolUseExample.ExtensionOperation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ToolUseExample.ExtensionOperation.Builder toBuilder()
Returns
Type Description
ToolUseExample.ExtensionOperation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException