Class ToolCallValidSpec (3.41.0)

public final class ToolCallValidSpec extends GeneratedMessageV3 implements ToolCallValidSpecOrBuilder

Spec for tool call valid metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolCallValidSpec

Static Methods

getDefaultInstance()

public static ToolCallValidSpec getDefaultInstance()
Returns
TypeDescription
ToolCallValidSpec

getDescriptor()

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

newBuilder()

public static ToolCallValidSpec.Builder newBuilder()
Returns
TypeDescription
ToolCallValidSpec.Builder

newBuilder(ToolCallValidSpec prototype)

public static ToolCallValidSpec.Builder newBuilder(ToolCallValidSpec prototype)
Parameter
NameDescription
prototypeToolCallValidSpec
Returns
TypeDescription
ToolCallValidSpec.Builder

parseDelimitedFrom(InputStream input)

public static ToolCallValidSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolCallValidSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ToolCallValidSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ToolCallValidSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ToolCallValidSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ToolCallValidSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ToolCallValidSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolCallValidSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ToolCallValidSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ToolCallValidSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ToolCallValidSpec> parser()
Returns
TypeDescription
Parser<ToolCallValidSpec>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ToolCallValidSpec getDefaultInstanceForType()
Returns
TypeDescription
ToolCallValidSpec

getParserForType()

public Parser<ToolCallValidSpec> getParserForType()
Returns
TypeDescription
Parser<ToolCallValidSpec>
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 ToolCallValidSpec.Builder newBuilderForType()
Returns
TypeDescription
ToolCallValidSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ToolCallValidSpec.Builder toBuilder()
Returns
TypeDescription
ToolCallValidSpec.Builder

writeTo(CodedOutputStream output)

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