Class ToolParameterKVMatchInput.Builder (3.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInstance>
Returns
TypeDescription
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
NameDescription
valueToolParameterKVMatchInstance
Returns
TypeDescription
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
NameDescription
builderForValueToolParameterKVMatchInstance.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueToolParameterKVMatchInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueToolParameterKVMatchInstance.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ToolParameterKVMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolParameterKVMatchInput build()
Returns
TypeDescription
ToolParameterKVMatchInput

buildPartial()

public ToolParameterKVMatchInput buildPartial()
Returns
TypeDescription
ToolParameterKVMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ToolParameterKVMatchInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ToolParameterKVMatchInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ToolParameterKVMatchInput getDefaultInstanceForType()
Returns
TypeDescription
ToolParameterKVMatchInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ToolParameterKVMatchInput other)

public ToolParameterKVMatchInput.Builder mergeFrom(ToolParameterKVMatchInput other)
Parameter
NameDescription
otherToolParameterKVMatchInput
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ToolParameterKVMatchInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueToolParameterKVMatchSpec
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ToolParameterKVMatchInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ToolParameterKVMatchInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueToolParameterKVMatchInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueToolParameterKVMatchInstance.Builder
Returns
TypeDescription
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
NameDescription
valueToolParameterKVMatchSpec
Returns
TypeDescription
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
NameDescription
builderForValueToolParameterKVMatchSpec.Builder
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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