Class ToolCallValidResults (3.56.0)

public final class ToolCallValidResults extends GeneratedMessageV3 implements ToolCallValidResultsOrBuilder

Results for tool call valid metric.

Protobuf type google.cloud.aiplatform.v1.ToolCallValidResults

Static Fields

TOOL_CALL_VALID_METRIC_VALUES_FIELD_NUMBER

public static final int TOOL_CALL_VALID_METRIC_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ToolCallValidResults getDefaultInstance()
Returns
Type Description
ToolCallValidResults

getDescriptor()

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

newBuilder()

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

newBuilder(ToolCallValidResults prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ToolCallValidResults getDefaultInstanceForType()
Returns
Type Description
ToolCallValidResults

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getToolCallValidMetricValues(int index)

public ToolCallValidMetricValue getToolCallValidMetricValues(int index)

Output only. Tool call valid metric values.

repeated .google.cloud.aiplatform.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ToolCallValidMetricValue

getToolCallValidMetricValuesCount()

public int getToolCallValidMetricValuesCount()

Output only. Tool call valid metric values.

repeated .google.cloud.aiplatform.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getToolCallValidMetricValuesList()

public List<ToolCallValidMetricValue> getToolCallValidMetricValuesList()

Output only. Tool call valid metric values.

repeated .google.cloud.aiplatform.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ToolCallValidMetricValue>

getToolCallValidMetricValuesOrBuilder(int index)

public ToolCallValidMetricValueOrBuilder getToolCallValidMetricValuesOrBuilder(int index)

Output only. Tool call valid metric values.

repeated .google.cloud.aiplatform.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ToolCallValidMetricValueOrBuilder

getToolCallValidMetricValuesOrBuilderList()

public List<? extends ToolCallValidMetricValueOrBuilder> getToolCallValidMetricValuesOrBuilderList()

Output only. Tool call valid metric values.

repeated .google.cloud.aiplatform.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ToolCallValidMetricValueOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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