Class ToolParameterKeyMatchInput.Builder (3.42.0)

public static final class ToolParameterKeyMatchInput.Builder extends GeneratedMessageV3.Builder<ToolParameterKeyMatchInput.Builder> implements ToolParameterKeyMatchInputOrBuilder

Input for tool parameter key match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchInput

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends ToolParameterKeyMatchInstance> values)

public ToolParameterKeyMatchInput.Builder addAllInstances(Iterable<? extends ToolParameterKeyMatchInstance> values)

Required. Repeated tool parameter key match instances.

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

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

addInstances(ToolParameterKeyMatchInstance value)

public ToolParameterKeyMatchInput.Builder addInstances(ToolParameterKeyMatchInstance value)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
value ToolParameterKeyMatchInstance
Returns
Type Description
ToolParameterKeyMatchInput.Builder

addInstances(ToolParameterKeyMatchInstance.Builder builderForValue)

public ToolParameterKeyMatchInput.Builder addInstances(ToolParameterKeyMatchInstance.Builder builderForValue)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
builderForValue ToolParameterKeyMatchInstance.Builder
Returns
Type Description
ToolParameterKeyMatchInput.Builder

addInstances(int index, ToolParameterKeyMatchInstance value)

public ToolParameterKeyMatchInput.Builder addInstances(int index, ToolParameterKeyMatchInstance value)

Required. Repeated tool parameter key match instances.

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

Parameters
Name Description
index int
value ToolParameterKeyMatchInstance
Returns
Type Description
ToolParameterKeyMatchInput.Builder

addInstances(int index, ToolParameterKeyMatchInstance.Builder builderForValue)

public ToolParameterKeyMatchInput.Builder addInstances(int index, ToolParameterKeyMatchInstance.Builder builderForValue)

Required. Repeated tool parameter key match instances.

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

Parameters
Name Description
index int
builderForValue ToolParameterKeyMatchInstance.Builder
Returns
Type Description
ToolParameterKeyMatchInput.Builder

addInstancesBuilder()

public ToolParameterKeyMatchInstance.Builder addInstancesBuilder()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
ToolParameterKeyMatchInstance.Builder

addInstancesBuilder(int index)

public ToolParameterKeyMatchInstance.Builder addInstancesBuilder(int index)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKeyMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolParameterKeyMatchInput build()
Returns
Type Description
ToolParameterKeyMatchInput

buildPartial()

public ToolParameterKeyMatchInput buildPartial()
Returns
Type Description
ToolParameterKeyMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public ToolParameterKeyMatchInput.Builder clearInstances()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
ToolParameterKeyMatchInput.Builder

clearMetricSpec()

public ToolParameterKeyMatchInput.Builder clearMetricSpec()

Required. Spec for tool parameter key match metric.

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

Returns
Type Description
ToolParameterKeyMatchInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ToolParameterKeyMatchInput getDefaultInstanceForType()
Returns
Type Description
ToolParameterKeyMatchInput

getDescriptorForType()

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

getInstances(int index)

public ToolParameterKeyMatchInstance getInstances(int index)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKeyMatchInstance

getInstancesBuilder(int index)

public ToolParameterKeyMatchInstance.Builder getInstancesBuilder(int index)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKeyMatchInstance.Builder

getInstancesBuilderList()

public List<ToolParameterKeyMatchInstance.Builder> getInstancesBuilderList()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
int

getInstancesList()

public List<ToolParameterKeyMatchInstance> getInstancesList()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
List<ToolParameterKeyMatchInstance>

getInstancesOrBuilder(int index)

public ToolParameterKeyMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKeyMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolParameterKeyMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool parameter key match instances.

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

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

getMetricSpec()

public ToolParameterKeyMatchSpec getMetricSpec()

Required. Spec for tool parameter key match metric.

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

Returns
Type Description
ToolParameterKeyMatchSpec

The metricSpec.

getMetricSpecBuilder()

public ToolParameterKeyMatchSpec.Builder getMetricSpecBuilder()

Required. Spec for tool parameter key match metric.

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

Returns
Type Description
ToolParameterKeyMatchSpec.Builder

getMetricSpecOrBuilder()

public ToolParameterKeyMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool parameter key match metric.

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

Returns
Type Description
ToolParameterKeyMatchSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool parameter key match metric.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetricSpec(ToolParameterKeyMatchSpec value)

public ToolParameterKeyMatchInput.Builder mergeMetricSpec(ToolParameterKeyMatchSpec value)

Required. Spec for tool parameter key match metric.

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

Parameter
Name Description
value ToolParameterKeyMatchSpec
Returns
Type Description
ToolParameterKeyMatchInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public ToolParameterKeyMatchInput.Builder removeInstances(int index)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKeyMatchInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, ToolParameterKeyMatchInstance value)

public ToolParameterKeyMatchInput.Builder setInstances(int index, ToolParameterKeyMatchInstance value)

Required. Repeated tool parameter key match instances.

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

Parameters
Name Description
index int
value ToolParameterKeyMatchInstance
Returns
Type Description
ToolParameterKeyMatchInput.Builder

setInstances(int index, ToolParameterKeyMatchInstance.Builder builderForValue)

public ToolParameterKeyMatchInput.Builder setInstances(int index, ToolParameterKeyMatchInstance.Builder builderForValue)

Required. Repeated tool parameter key match instances.

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

Parameters
Name Description
index int
builderForValue ToolParameterKeyMatchInstance.Builder
Returns
Type Description
ToolParameterKeyMatchInput.Builder

setMetricSpec(ToolParameterKeyMatchSpec value)

public ToolParameterKeyMatchInput.Builder setMetricSpec(ToolParameterKeyMatchSpec value)

Required. Spec for tool parameter key match metric.

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

Parameter
Name Description
value ToolParameterKeyMatchSpec
Returns
Type Description
ToolParameterKeyMatchInput.Builder

setMetricSpec(ToolParameterKeyMatchSpec.Builder builderForValue)

public ToolParameterKeyMatchInput.Builder setMetricSpec(ToolParameterKeyMatchSpec.Builder builderForValue)

Required. Spec for tool parameter key match metric.

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

Parameter
Name Description
builderForValue ToolParameterKeyMatchSpec.Builder
Returns
Type Description
ToolParameterKeyMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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