Class ToolCallValidInput (3.44.0)

public final class ToolCallValidInput extends GeneratedMessageV3 implements ToolCallValidInputOrBuilder

Input for tool call valid metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolCallValidInput

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

METRIC_SPEC_FIELD_NUMBER

public static final int METRIC_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ToolCallValidInput getDefaultInstance()
Returns
Type Description
ToolCallValidInput

getDescriptor()

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

newBuilder()

public static ToolCallValidInput.Builder newBuilder()
Returns
Type Description
ToolCallValidInput.Builder

newBuilder(ToolCallValidInput prototype)

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

parseDelimitedFrom(InputStream input)

public static ToolCallValidInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToolCallValidInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ToolCallValidInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ToolCallValidInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ToolCallValidInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ToolCallValidInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ToolCallValidInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToolCallValidInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ToolCallValidInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ToolCallValidInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ToolCallValidInput> parser()
Returns
Type Description
Parser<ToolCallValidInput>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ToolCallValidInput getDefaultInstanceForType()
Returns
Type Description
ToolCallValidInput

getInstances(int index)

public ToolCallValidInstance getInstances(int index)

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolCallValidInstance

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getInstancesList()

public List<ToolCallValidInstance> getInstancesList()

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ToolCallValidInstance>

getInstancesOrBuilder(int index)

public ToolCallValidInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolCallValidInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolCallValidInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool call valid instances.

repeated .google.cloud.aiplatform.v1beta1.ToolCallValidInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ToolCallValidInstanceOrBuilder>

getMetricSpec()

public ToolCallValidSpec getMetricSpec()

Required. Spec for tool call valid metric.

.google.cloud.aiplatform.v1beta1.ToolCallValidSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolCallValidSpec

The metricSpec.

getMetricSpecOrBuilder()

public ToolCallValidSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool call valid metric.

.google.cloud.aiplatform.v1beta1.ToolCallValidSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolCallValidSpecOrBuilder

getParserForType()

public Parser<ToolCallValidInput> getParserForType()
Returns
Type Description
Parser<ToolCallValidInput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool call valid metric.

.google.cloud.aiplatform.v1beta1.ToolCallValidSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.

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 ToolCallValidInput.Builder newBuilderForType()
Returns
Type Description
ToolCallValidInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ToolCallValidInput.Builder toBuilder()
Returns
Type Description
ToolCallValidInput.Builder

writeTo(CodedOutputStream output)

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