Class ToolCallValidResults.Builder (3.55.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.v1.ToolCallValidResults

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.ToolCallValidMetricValue>
Returns
Type Description
ToolCallValidResults.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ToolCallValidResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ToolCallValidResults.Builder
Overrides

addToolCallValidMetricValues(ToolCallValidMetricValue value)

public ToolCallValidResults.Builder addToolCallValidMetricValues(ToolCallValidMetricValue value)

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
value ToolCallValidMetricValue
Returns
Type Description
ToolCallValidResults.Builder

addToolCallValidMetricValues(ToolCallValidMetricValue.Builder builderForValue)

public ToolCallValidResults.Builder addToolCallValidMetricValues(ToolCallValidMetricValue.Builder builderForValue)

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
builderForValue ToolCallValidMetricValue.Builder
Returns
Type Description
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.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ToolCallValidMetricValue
Returns
Type Description
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.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ToolCallValidMetricValue.Builder
Returns
Type Description
ToolCallValidResults.Builder

addToolCallValidMetricValuesBuilder()

public ToolCallValidMetricValue.Builder addToolCallValidMetricValuesBuilder()

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

addToolCallValidMetricValuesBuilder(int index)

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

build()

public ToolCallValidResults build()
Returns
Type Description
ToolCallValidResults

buildPartial()

public ToolCallValidResults buildPartial()
Returns
Type Description
ToolCallValidResults

clear()

public ToolCallValidResults.Builder clear()
Returns
Type Description
ToolCallValidResults.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ToolCallValidResults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ToolCallValidResults.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ToolCallValidResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ToolCallValidResults.Builder
Overrides

clearToolCallValidMetricValues()

public ToolCallValidResults.Builder clearToolCallValidMetricValues()

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

clone()

public ToolCallValidResults.Builder clone()
Returns
Type Description
ToolCallValidResults.Builder
Overrides

getDefaultInstanceForType()

public ToolCallValidResults getDefaultInstanceForType()
Returns
Type Description
ToolCallValidResults

getDescriptorForType()

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

getToolCallValidMetricValuesBuilder(int index)

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

getToolCallValidMetricValuesBuilderList()

public List<ToolCallValidMetricValue.Builder> getToolCallValidMetricValuesBuilderList()

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

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ToolCallValidResults other)

public ToolCallValidResults.Builder mergeFrom(ToolCallValidResults other)
Parameter
Name Description
other ToolCallValidResults
Returns
Type Description
ToolCallValidResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ToolCallValidResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolCallValidResults.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ToolCallValidResults.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ToolCallValidResults.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ToolCallValidResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ToolCallValidResults.Builder
Overrides

removeToolCallValidMetricValues(int index)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ToolCallValidResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ToolCallValidResults.Builder
Overrides

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

public ToolCallValidResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ToolCallValidMetricValue
Returns
Type Description
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.v1.ToolCallValidMetricValue tool_call_valid_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ToolCallValidMetricValue.Builder
Returns
Type Description
ToolCallValidResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ToolCallValidResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ToolCallValidResults.Builder
Overrides