Class ToolNameMatchResults.Builder (3.42.0)

public static final class ToolNameMatchResults.Builder extends GeneratedMessageV3.Builder<ToolNameMatchResults.Builder> implements ToolNameMatchResultsOrBuilder

Results for tool name match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolNameMatchResults

Static Methods

getDescriptor()

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

Methods

addAllToolNameMatchMetricValues(Iterable<? extends ToolNameMatchMetricValue> values)

public ToolNameMatchResults.Builder addAllToolNameMatchMetricValues(Iterable<? extends ToolNameMatchMetricValue> values)

Output only. Tool name match metric values.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ToolNameMatchMetricValue>
Returns
TypeDescription
ToolNameMatchResults.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addToolNameMatchMetricValues(ToolNameMatchMetricValue value)

public ToolNameMatchResults.Builder addToolNameMatchMetricValues(ToolNameMatchMetricValue value)

Output only. Tool name match metric values.

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

Parameter
NameDescription
valueToolNameMatchMetricValue
Returns
TypeDescription
ToolNameMatchResults.Builder

addToolNameMatchMetricValues(ToolNameMatchMetricValue.Builder builderForValue)

public ToolNameMatchResults.Builder addToolNameMatchMetricValues(ToolNameMatchMetricValue.Builder builderForValue)

Output only. Tool name match metric values.

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

Parameter
NameDescription
builderForValueToolNameMatchMetricValue.Builder
Returns
TypeDescription
ToolNameMatchResults.Builder

addToolNameMatchMetricValues(int index, ToolNameMatchMetricValue value)

public ToolNameMatchResults.Builder addToolNameMatchMetricValues(int index, ToolNameMatchMetricValue value)

Output only. Tool name match metric values.

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

Parameters
NameDescription
indexint
valueToolNameMatchMetricValue
Returns
TypeDescription
ToolNameMatchResults.Builder

addToolNameMatchMetricValues(int index, ToolNameMatchMetricValue.Builder builderForValue)

public ToolNameMatchResults.Builder addToolNameMatchMetricValues(int index, ToolNameMatchMetricValue.Builder builderForValue)

Output only. Tool name match metric values.

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

Parameters
NameDescription
indexint
builderForValueToolNameMatchMetricValue.Builder
Returns
TypeDescription
ToolNameMatchResults.Builder

addToolNameMatchMetricValuesBuilder()

public ToolNameMatchMetricValue.Builder addToolNameMatchMetricValuesBuilder()

Output only. Tool name match metric values.

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

Returns
TypeDescription
ToolNameMatchMetricValue.Builder

addToolNameMatchMetricValuesBuilder(int index)

public ToolNameMatchMetricValue.Builder addToolNameMatchMetricValuesBuilder(int index)

Output only. Tool name match metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchMetricValue.Builder

build()

public ToolNameMatchResults build()
Returns
TypeDescription
ToolNameMatchResults

buildPartial()

public ToolNameMatchResults buildPartial()
Returns
TypeDescription
ToolNameMatchResults

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearToolNameMatchMetricValues()

public ToolNameMatchResults.Builder clearToolNameMatchMetricValues()

Output only. Tool name match metric values.

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

Returns
TypeDescription
ToolNameMatchResults.Builder

clone()

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

getDefaultInstanceForType()

public ToolNameMatchResults getDefaultInstanceForType()
Returns
TypeDescription
ToolNameMatchResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getToolNameMatchMetricValues(int index)

public ToolNameMatchMetricValue getToolNameMatchMetricValues(int index)

Output only. Tool name match metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchMetricValue

getToolNameMatchMetricValuesBuilder(int index)

public ToolNameMatchMetricValue.Builder getToolNameMatchMetricValuesBuilder(int index)

Output only. Tool name match metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchMetricValue.Builder

getToolNameMatchMetricValuesBuilderList()

public List<ToolNameMatchMetricValue.Builder> getToolNameMatchMetricValuesBuilderList()

Output only. Tool name match metric values.

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

Returns
TypeDescription
List<Builder>

getToolNameMatchMetricValuesCount()

public int getToolNameMatchMetricValuesCount()

Output only. Tool name match metric values.

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

Returns
TypeDescription
int

getToolNameMatchMetricValuesList()

public List<ToolNameMatchMetricValue> getToolNameMatchMetricValuesList()

Output only. Tool name match metric values.

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

Returns
TypeDescription
List<ToolNameMatchMetricValue>

getToolNameMatchMetricValuesOrBuilder(int index)

public ToolNameMatchMetricValueOrBuilder getToolNameMatchMetricValuesOrBuilder(int index)

Output only. Tool name match metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchMetricValueOrBuilder

getToolNameMatchMetricValuesOrBuilderList()

public List<? extends ToolNameMatchMetricValueOrBuilder> getToolNameMatchMetricValuesOrBuilderList()

Output only. Tool name match metric values.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ToolNameMatchResults other)

public ToolNameMatchResults.Builder mergeFrom(ToolNameMatchResults other)
Parameter
NameDescription
otherToolNameMatchResults
Returns
TypeDescription
ToolNameMatchResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeToolNameMatchMetricValues(int index)

public ToolNameMatchResults.Builder removeToolNameMatchMetricValues(int index)

Output only. Tool name match metric values.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchResults.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setToolNameMatchMetricValues(int index, ToolNameMatchMetricValue value)

public ToolNameMatchResults.Builder setToolNameMatchMetricValues(int index, ToolNameMatchMetricValue value)

Output only. Tool name match metric values.

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

Parameters
NameDescription
indexint
valueToolNameMatchMetricValue
Returns
TypeDescription
ToolNameMatchResults.Builder

setToolNameMatchMetricValues(int index, ToolNameMatchMetricValue.Builder builderForValue)

public ToolNameMatchResults.Builder setToolNameMatchMetricValues(int index, ToolNameMatchMetricValue.Builder builderForValue)

Output only. Tool name match metric values.

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

Parameters
NameDescription
indexint
builderForValueToolNameMatchMetricValue.Builder
Returns
TypeDescription
ToolNameMatchResults.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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