Class ToolCallValidResults (3.41.0)

public final class ToolCallValidResults extends GeneratedMessageV3 implements ToolCallValidResultsOrBuilder

Results for tool call valid metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolCallValidResults

Static Fields

TOOL_CALL_VALID_METRIC_VALUES_FIELD_NUMBER

public static final int TOOL_CALL_VALID_METRIC_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ToolCallValidResults getDefaultInstance()
Returns
TypeDescription
ToolCallValidResults

getDescriptor()

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

newBuilder()

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

newBuilder(ToolCallValidResults prototype)

public static ToolCallValidResults.Builder newBuilder(ToolCallValidResults prototype)
Parameter
NameDescription
prototypeToolCallValidResults
Returns
TypeDescription
ToolCallValidResults.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ToolCallValidResults getDefaultInstanceForType()
Returns
TypeDescription
ToolCallValidResults

getParserForType()

public Parser<ToolCallValidResults> getParserForType()
Returns
TypeDescription
Parser<ToolCallValidResults>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getToolCallValidMetricValues(int index)

public ToolCallValidMetricValue getToolCallValidMetricValues(int index)

Output only. Tool call valid metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolCallValidMetricValue

getToolCallValidMetricValuesCount()

public int getToolCallValidMetricValuesCount()

Output only. Tool call valid metric values.

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

Returns
TypeDescription
int

getToolCallValidMetricValuesList()

public List<ToolCallValidMetricValue> getToolCallValidMetricValuesList()

Output only. Tool call valid metric values.

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

Returns
TypeDescription
List<ToolCallValidMetricValue>

getToolCallValidMetricValuesOrBuilder(int index)

public ToolCallValidMetricValueOrBuilder getToolCallValidMetricValuesOrBuilder(int index)

Output only. Tool call valid metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolCallValidMetricValueOrBuilder

getToolCallValidMetricValuesOrBuilderList()

public List<? extends ToolCallValidMetricValueOrBuilder> getToolCallValidMetricValuesOrBuilderList()

Output only. Tool call valid metric values.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ToolCallValidMetricValueOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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