Class ToolParameterKeyMatchInput.Builder (3.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchInstance>
Returns
TypeDescription
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
NameDescription
valueToolParameterKeyMatchInstance
Returns
TypeDescription
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
NameDescription
builderForValueToolParameterKeyMatchInstance.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueToolParameterKeyMatchInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueToolParameterKeyMatchInstance.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ToolParameterKeyMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolParameterKeyMatchInput build()
Returns
TypeDescription
ToolParameterKeyMatchInput

buildPartial()

public ToolParameterKeyMatchInput buildPartial()
Returns
TypeDescription
ToolParameterKeyMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ToolParameterKeyMatchInput getDefaultInstanceForType()
Returns
TypeDescription
ToolParameterKeyMatchInput

getDescriptorForType()

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

public ToolParameterKeyMatchInput.Builder mergeFrom(ToolParameterKeyMatchInput other)
Parameter
NameDescription
otherToolParameterKeyMatchInput
Returns
TypeDescription
ToolParameterKeyMatchInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ToolParameterKeyMatchInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueToolParameterKeyMatchInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueToolParameterKeyMatchInstance.Builder
Returns
TypeDescription
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
NameDescription
valueToolParameterKeyMatchSpec
Returns
TypeDescription
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
NameDescription
builderForValueToolParameterKeyMatchSpec.Builder
Returns
TypeDescription
ToolParameterKeyMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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