Class ToolCallValidResults.Builder (3.41.0)

public static final class ToolCallValidResults.Builder extends GeneratedMessageV3.Builder<ToolCallValidResults.Builder> implements ToolCallValidResultsOrBuilder

Results for tool call valid metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolCallValidResults

Static Methods

getDescriptor()

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

Methods

addAllToolCallValidMetricValues(Iterable<? extends ToolCallValidMetricValue> values)

public ToolCallValidResults.Builder addAllToolCallValidMetricValues(Iterable<? extends ToolCallValidMetricValue> values)

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
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ToolCallValidMetricValue>
Returns
TypeDescription
ToolCallValidResults.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ToolCallValidResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

addToolCallValidMetricValues(ToolCallValidMetricValue value)

public ToolCallValidResults.Builder addToolCallValidMetricValues(ToolCallValidMetricValue value)

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
valueToolCallValidMetricValue
Returns
TypeDescription
ToolCallValidResults.Builder

addToolCallValidMetricValues(ToolCallValidMetricValue.Builder builderForValue)

public ToolCallValidResults.Builder addToolCallValidMetricValues(ToolCallValidMetricValue.Builder builderForValue)

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
builderForValueToolCallValidMetricValue.Builder
Returns
TypeDescription
ToolCallValidResults.Builder

addToolCallValidMetricValues(int index, ToolCallValidMetricValue value)

public ToolCallValidResults.Builder addToolCallValidMetricValues(int index, ToolCallValidMetricValue value)

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];

Parameters
NameDescription
indexint
valueToolCallValidMetricValue
Returns
TypeDescription
ToolCallValidResults.Builder

addToolCallValidMetricValues(int index, ToolCallValidMetricValue.Builder builderForValue)

public ToolCallValidResults.Builder addToolCallValidMetricValues(int index, ToolCallValidMetricValue.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueToolCallValidMetricValue.Builder
Returns
TypeDescription
ToolCallValidResults.Builder

addToolCallValidMetricValuesBuilder()

public ToolCallValidMetricValue.Builder addToolCallValidMetricValuesBuilder()

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
ToolCallValidMetricValue.Builder

addToolCallValidMetricValuesBuilder(int index)

public ToolCallValidMetricValue.Builder addToolCallValidMetricValuesBuilder(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.Builder

build()

public ToolCallValidResults build()
Returns
TypeDescription
ToolCallValidResults

buildPartial()

public ToolCallValidResults buildPartial()
Returns
TypeDescription
ToolCallValidResults

clear()

public ToolCallValidResults.Builder clear()
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ToolCallValidResults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ToolCallValidResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

clearToolCallValidMetricValues()

public ToolCallValidResults.Builder clearToolCallValidMetricValues()

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
ToolCallValidResults.Builder

clone()

public ToolCallValidResults.Builder clone()
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

getDefaultInstanceForType()

public ToolCallValidResults getDefaultInstanceForType()
Returns
TypeDescription
ToolCallValidResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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

getToolCallValidMetricValuesBuilder(int index)

public ToolCallValidMetricValue.Builder getToolCallValidMetricValuesBuilder(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.Builder

getToolCallValidMetricValuesBuilderList()

public List<ToolCallValidMetricValue.Builder> getToolCallValidMetricValuesBuilderList()

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<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ToolCallValidResults other)

public ToolCallValidResults.Builder mergeFrom(ToolCallValidResults other)
Parameter
NameDescription
otherToolCallValidResults
Returns
TypeDescription
ToolCallValidResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ToolCallValidResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ToolCallValidResults.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ToolCallValidResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

removeToolCallValidMetricValues(int index)

public ToolCallValidResults.Builder removeToolCallValidMetricValues(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
ToolCallValidResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ToolCallValidResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ToolCallValidResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides

setToolCallValidMetricValues(int index, ToolCallValidMetricValue value)

public ToolCallValidResults.Builder setToolCallValidMetricValues(int index, ToolCallValidMetricValue value)

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];

Parameters
NameDescription
indexint
valueToolCallValidMetricValue
Returns
TypeDescription
ToolCallValidResults.Builder

setToolCallValidMetricValues(int index, ToolCallValidMetricValue.Builder builderForValue)

public ToolCallValidResults.Builder setToolCallValidMetricValues(int index, ToolCallValidMetricValue.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueToolCallValidMetricValue.Builder
Returns
TypeDescription
ToolCallValidResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ToolCallValidResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ToolCallValidResults.Builder
Overrides