Class TrajectorySingleToolUseResults.Builder (3.56.0)

public static final class TrajectorySingleToolUseResults.Builder extends GeneratedMessageV3.Builder<TrajectorySingleToolUseResults.Builder> implements TrajectorySingleToolUseResultsOrBuilder

Results for TrajectorySingleToolUse metric.

Protobuf type google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseResults

Static Methods

getDescriptor()

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

Methods

addAllTrajectorySingleToolUseMetricValues(Iterable<? extends TrajectorySingleToolUseMetricValue> values)

public TrajectorySingleToolUseResults.Builder addAllTrajectorySingleToolUseMetricValues(Iterable<? extends TrajectorySingleToolUseMetricValue> values)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.TrajectorySingleToolUseMetricValue>
Returns
Type Description
TrajectorySingleToolUseResults.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTrajectorySingleToolUseMetricValues(TrajectorySingleToolUseMetricValue value)

public TrajectorySingleToolUseResults.Builder addTrajectorySingleToolUseMetricValues(TrajectorySingleToolUseMetricValue value)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
value TrajectorySingleToolUseMetricValue
Returns
Type Description
TrajectorySingleToolUseResults.Builder

addTrajectorySingleToolUseMetricValues(TrajectorySingleToolUseMetricValue.Builder builderForValue)

public TrajectorySingleToolUseResults.Builder addTrajectorySingleToolUseMetricValues(TrajectorySingleToolUseMetricValue.Builder builderForValue)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
builderForValue TrajectorySingleToolUseMetricValue.Builder
Returns
Type Description
TrajectorySingleToolUseResults.Builder

addTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue value)

public TrajectorySingleToolUseResults.Builder addTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue value)

Output only. TrajectorySingleToolUse metric values.

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

Parameters
Name Description
index int
value TrajectorySingleToolUseMetricValue
Returns
Type Description
TrajectorySingleToolUseResults.Builder

addTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue.Builder builderForValue)

public TrajectorySingleToolUseResults.Builder addTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue.Builder builderForValue)

Output only. TrajectorySingleToolUse metric values.

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

Parameters
Name Description
index int
builderForValue TrajectorySingleToolUseMetricValue.Builder
Returns
Type Description
TrajectorySingleToolUseResults.Builder

addTrajectorySingleToolUseMetricValuesBuilder()

public TrajectorySingleToolUseMetricValue.Builder addTrajectorySingleToolUseMetricValuesBuilder()

Output only. TrajectorySingleToolUse metric values.

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

Returns
Type Description
TrajectorySingleToolUseMetricValue.Builder

addTrajectorySingleToolUseMetricValuesBuilder(int index)

public TrajectorySingleToolUseMetricValue.Builder addTrajectorySingleToolUseMetricValuesBuilder(int index)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectorySingleToolUseMetricValue.Builder

build()

public TrajectorySingleToolUseResults build()
Returns
Type Description
TrajectorySingleToolUseResults

buildPartial()

public TrajectorySingleToolUseResults buildPartial()
Returns
Type Description
TrajectorySingleToolUseResults

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTrajectorySingleToolUseMetricValues()

public TrajectorySingleToolUseResults.Builder clearTrajectorySingleToolUseMetricValues()

Output only. TrajectorySingleToolUse metric values.

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

Returns
Type Description
TrajectorySingleToolUseResults.Builder

clone()

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

getDefaultInstanceForType()

public TrajectorySingleToolUseResults getDefaultInstanceForType()
Returns
Type Description
TrajectorySingleToolUseResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTrajectorySingleToolUseMetricValues(int index)

public TrajectorySingleToolUseMetricValue getTrajectorySingleToolUseMetricValues(int index)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectorySingleToolUseMetricValue

getTrajectorySingleToolUseMetricValuesBuilder(int index)

public TrajectorySingleToolUseMetricValue.Builder getTrajectorySingleToolUseMetricValuesBuilder(int index)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectorySingleToolUseMetricValue.Builder

getTrajectorySingleToolUseMetricValuesBuilderList()

public List<TrajectorySingleToolUseMetricValue.Builder> getTrajectorySingleToolUseMetricValuesBuilderList()

Output only. TrajectorySingleToolUse metric values.

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

Returns
Type Description
List<Builder>

getTrajectorySingleToolUseMetricValuesCount()

public int getTrajectorySingleToolUseMetricValuesCount()

Output only. TrajectorySingleToolUse metric values.

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

Returns
Type Description
int

getTrajectorySingleToolUseMetricValuesList()

public List<TrajectorySingleToolUseMetricValue> getTrajectorySingleToolUseMetricValuesList()

Output only. TrajectorySingleToolUse metric values.

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

Returns
Type Description
List<TrajectorySingleToolUseMetricValue>

getTrajectorySingleToolUseMetricValuesOrBuilder(int index)

public TrajectorySingleToolUseMetricValueOrBuilder getTrajectorySingleToolUseMetricValuesOrBuilder(int index)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectorySingleToolUseMetricValueOrBuilder

getTrajectorySingleToolUseMetricValuesOrBuilderList()

public List<? extends TrajectorySingleToolUseMetricValueOrBuilder> getTrajectorySingleToolUseMetricValuesOrBuilderList()

Output only. TrajectorySingleToolUse metric values.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrajectorySingleToolUseResults other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTrajectorySingleToolUseMetricValues(int index)

public TrajectorySingleToolUseResults.Builder removeTrajectorySingleToolUseMetricValues(int index)

Output only. TrajectorySingleToolUse metric values.

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

Parameter
Name Description
index int
Returns
Type Description
TrajectorySingleToolUseResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TrajectorySingleToolUseResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TrajectorySingleToolUseResults.Builder
Overrides

setTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue value)

public TrajectorySingleToolUseResults.Builder setTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue value)

Output only. TrajectorySingleToolUse metric values.

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

Parameters
Name Description
index int
value TrajectorySingleToolUseMetricValue
Returns
Type Description
TrajectorySingleToolUseResults.Builder

setTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue.Builder builderForValue)

public TrajectorySingleToolUseResults.Builder setTrajectorySingleToolUseMetricValues(int index, TrajectorySingleToolUseMetricValue.Builder builderForValue)

Output only. TrajectorySingleToolUse metric values.

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

Parameters
Name Description
index int
builderForValue TrajectorySingleToolUseMetricValue.Builder
Returns
Type Description
TrajectorySingleToolUseResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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