Class ToolParameterKVMatchInput.Builder (3.50.0)

public static final class ToolParameterKVMatchInput.Builder extends GeneratedMessageV3.Builder<ToolParameterKVMatchInput.Builder> implements ToolParameterKVMatchInputOrBuilder

Input for tool parameter key value match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInput

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends ToolParameterKVMatchInstance> values)

public ToolParameterKVMatchInput.Builder addAllInstances(Iterable<? extends ToolParameterKVMatchInstance> values)

Required. Repeated tool parameter key value match instances.

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

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

addInstances(ToolParameterKVMatchInstance value)

public ToolParameterKVMatchInput.Builder addInstances(ToolParameterKVMatchInstance value)

Required. Repeated tool parameter key value match instances.

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

Parameter
Name Description
value ToolParameterKVMatchInstance
Returns
Type Description
ToolParameterKVMatchInput.Builder

addInstances(ToolParameterKVMatchInstance.Builder builderForValue)

public ToolParameterKVMatchInput.Builder addInstances(ToolParameterKVMatchInstance.Builder builderForValue)

Required. Repeated tool parameter key value match instances.

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

Parameter
Name Description
builderForValue ToolParameterKVMatchInstance.Builder
Returns
Type Description
ToolParameterKVMatchInput.Builder

addInstances(int index, ToolParameterKVMatchInstance value)

public ToolParameterKVMatchInput.Builder addInstances(int index, ToolParameterKVMatchInstance value)

Required. Repeated tool parameter key value match instances.

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

Parameters
Name Description
index int
value ToolParameterKVMatchInstance
Returns
Type Description
ToolParameterKVMatchInput.Builder

addInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)

public ToolParameterKVMatchInput.Builder addInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)

Required. Repeated tool parameter key value match instances.

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

Parameters
Name Description
index int
builderForValue ToolParameterKVMatchInstance.Builder
Returns
Type Description
ToolParameterKVMatchInput.Builder

addInstancesBuilder()

public ToolParameterKVMatchInstance.Builder addInstancesBuilder()

Required. Repeated tool parameter key value match instances.

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

Returns
Type Description
ToolParameterKVMatchInstance.Builder

addInstancesBuilder(int index)

public ToolParameterKVMatchInstance.Builder addInstancesBuilder(int index)

Required. Repeated tool parameter key value match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKVMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolParameterKVMatchInput build()
Returns
Type Description
ToolParameterKVMatchInput

buildPartial()

public ToolParameterKVMatchInput buildPartial()
Returns
Type Description
ToolParameterKVMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public ToolParameterKVMatchInput.Builder clearInstances()

Required. Repeated tool parameter key value match instances.

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

Returns
Type Description
ToolParameterKVMatchInput.Builder

clearMetricSpec()

public ToolParameterKVMatchInput.Builder clearMetricSpec()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolParameterKVMatchInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ToolParameterKVMatchInput getDefaultInstanceForType()
Returns
Type Description
ToolParameterKVMatchInput

getDescriptorForType()

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

getInstances(int index)

public ToolParameterKVMatchInstance getInstances(int index)

Required. Repeated tool parameter key value match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKVMatchInstance

getInstancesBuilder(int index)

public ToolParameterKVMatchInstance.Builder getInstancesBuilder(int index)

Required. Repeated tool parameter key value match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKVMatchInstance.Builder

getInstancesBuilderList()

public List<ToolParameterKVMatchInstance.Builder> getInstancesBuilderList()

Required. Repeated tool parameter key value match instances.

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

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool parameter key value match instances.

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

Returns
Type Description
int

getInstancesList()

public List<ToolParameterKVMatchInstance> getInstancesList()

Required. Repeated tool parameter key value match instances.

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

Returns
Type Description
List<ToolParameterKVMatchInstance>

getInstancesOrBuilder(int index)

public ToolParameterKVMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool parameter key value match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKVMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolParameterKVMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool parameter key value match instances.

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

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

getMetricSpec()

public ToolParameterKVMatchSpec getMetricSpec()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolParameterKVMatchSpec

The metricSpec.

getMetricSpecBuilder()

public ToolParameterKVMatchSpec.Builder getMetricSpecBuilder()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolParameterKVMatchSpec.Builder

getMetricSpecOrBuilder()

public ToolParameterKVMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolParameterKVMatchSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec 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(ToolParameterKVMatchInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetricSpec(ToolParameterKVMatchSpec value)

public ToolParameterKVMatchInput.Builder mergeMetricSpec(ToolParameterKVMatchSpec value)

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ToolParameterKVMatchSpec
Returns
Type Description
ToolParameterKVMatchInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public ToolParameterKVMatchInput.Builder removeInstances(int index)

Required. Repeated tool parameter key value match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKVMatchInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, ToolParameterKVMatchInstance value)

public ToolParameterKVMatchInput.Builder setInstances(int index, ToolParameterKVMatchInstance value)

Required. Repeated tool parameter key value match instances.

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

Parameters
Name Description
index int
value ToolParameterKVMatchInstance
Returns
Type Description
ToolParameterKVMatchInput.Builder

setInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)

public ToolParameterKVMatchInput.Builder setInstances(int index, ToolParameterKVMatchInstance.Builder builderForValue)

Required. Repeated tool parameter key value match instances.

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

Parameters
Name Description
index int
builderForValue ToolParameterKVMatchInstance.Builder
Returns
Type Description
ToolParameterKVMatchInput.Builder

setMetricSpec(ToolParameterKVMatchSpec value)

public ToolParameterKVMatchInput.Builder setMetricSpec(ToolParameterKVMatchSpec value)

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ToolParameterKVMatchSpec
Returns
Type Description
ToolParameterKVMatchInput.Builder

setMetricSpec(ToolParameterKVMatchSpec.Builder builderForValue)

public ToolParameterKVMatchInput.Builder setMetricSpec(ToolParameterKVMatchSpec.Builder builderForValue)

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ToolParameterKVMatchSpec.Builder
Returns
Type Description
ToolParameterKVMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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