Class ToolNameMatchInput.Builder (3.54.0)

public static final class ToolNameMatchInput.Builder extends GeneratedMessageV3.Builder<ToolNameMatchInput.Builder> implements ToolNameMatchInputOrBuilder

Input for tool name match metric.

Protobuf type google.cloud.aiplatform.v1.ToolNameMatchInput

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends ToolNameMatchInstance> values)

public ToolNameMatchInput.Builder addAllInstances(Iterable<? extends ToolNameMatchInstance> values)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

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

addInstances(ToolNameMatchInstance value)

public ToolNameMatchInput.Builder addInstances(ToolNameMatchInstance value)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ToolNameMatchInstance
Returns
Type Description
ToolNameMatchInput.Builder

addInstances(ToolNameMatchInstance.Builder builderForValue)

public ToolNameMatchInput.Builder addInstances(ToolNameMatchInstance.Builder builderForValue)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ToolNameMatchInstance.Builder
Returns
Type Description
ToolNameMatchInput.Builder

addInstances(int index, ToolNameMatchInstance value)

public ToolNameMatchInput.Builder addInstances(int index, ToolNameMatchInstance value)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value ToolNameMatchInstance
Returns
Type Description
ToolNameMatchInput.Builder

addInstances(int index, ToolNameMatchInstance.Builder builderForValue)

public ToolNameMatchInput.Builder addInstances(int index, ToolNameMatchInstance.Builder builderForValue)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue ToolNameMatchInstance.Builder
Returns
Type Description
ToolNameMatchInput.Builder

addInstancesBuilder()

public ToolNameMatchInstance.Builder addInstancesBuilder()

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolNameMatchInstance.Builder

addInstancesBuilder(int index)

public ToolNameMatchInstance.Builder addInstancesBuilder(int index)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolNameMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolNameMatchInput build()
Returns
Type Description
ToolNameMatchInput

buildPartial()

public ToolNameMatchInput buildPartial()
Returns
Type Description
ToolNameMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public ToolNameMatchInput.Builder clearInstances()

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolNameMatchInput.Builder

clearMetricSpec()

public ToolNameMatchInput.Builder clearMetricSpec()

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolNameMatchInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ToolNameMatchInput getDefaultInstanceForType()
Returns
Type Description
ToolNameMatchInput

getDescriptorForType()

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

getInstances(int index)

public ToolNameMatchInstance getInstances(int index)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolNameMatchInstance

getInstancesBuilder(int index)

public ToolNameMatchInstance.Builder getInstancesBuilder(int index)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolNameMatchInstance.Builder

getInstancesBuilderList()

public List<ToolNameMatchInstance.Builder> getInstancesBuilderList()

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getInstancesList()

public List<ToolNameMatchInstance> getInstancesList()

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ToolNameMatchInstance>

getInstancesOrBuilder(int index)

public ToolNameMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolNameMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolNameMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ToolNameMatchInstanceOrBuilder>

getMetricSpec()

public ToolNameMatchSpec getMetricSpec()

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolNameMatchSpec

The metricSpec.

getMetricSpecBuilder()

public ToolNameMatchSpec.Builder getMetricSpecBuilder()

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolNameMatchSpec.Builder

getMetricSpecOrBuilder()

public ToolNameMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolNameMatchSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ToolNameMatchInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetricSpec(ToolNameMatchSpec value)

public ToolNameMatchInput.Builder mergeMetricSpec(ToolNameMatchSpec value)

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ToolNameMatchSpec
Returns
Type Description
ToolNameMatchInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public ToolNameMatchInput.Builder removeInstances(int index)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolNameMatchInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, ToolNameMatchInstance value)

public ToolNameMatchInput.Builder setInstances(int index, ToolNameMatchInstance value)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value ToolNameMatchInstance
Returns
Type Description
ToolNameMatchInput.Builder

setInstances(int index, ToolNameMatchInstance.Builder builderForValue)

public ToolNameMatchInput.Builder setInstances(int index, ToolNameMatchInstance.Builder builderForValue)

Required. Repeated tool name match instances.

repeated .google.cloud.aiplatform.v1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue ToolNameMatchInstance.Builder
Returns
Type Description
ToolNameMatchInput.Builder

setMetricSpec(ToolNameMatchSpec value)

public ToolNameMatchInput.Builder setMetricSpec(ToolNameMatchSpec value)

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ToolNameMatchSpec
Returns
Type Description
ToolNameMatchInput.Builder

setMetricSpec(ToolNameMatchSpec.Builder builderForValue)

public ToolNameMatchInput.Builder setMetricSpec(ToolNameMatchSpec.Builder builderForValue)

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1.ToolNameMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ToolNameMatchSpec.Builder
Returns
Type Description
ToolNameMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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