Class ToolNameMatchInput.Builder (3.40.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.v1beta1.ToolNameMatchInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ToolNameMatchInstance>
Returns
TypeDescription
ToolNameMatchInput.Builder

addInstances(ToolNameMatchInstance value)

public ToolNameMatchInput.Builder addInstances(ToolNameMatchInstance value)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
valueToolNameMatchInstance
Returns
TypeDescription
ToolNameMatchInput.Builder

addInstances(ToolNameMatchInstance.Builder builderForValue)

public ToolNameMatchInput.Builder addInstances(ToolNameMatchInstance.Builder builderForValue)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
builderForValueToolNameMatchInstance.Builder
Returns
TypeDescription
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.v1beta1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueToolNameMatchInstance
Returns
TypeDescription
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.v1beta1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueToolNameMatchInstance.Builder
Returns
TypeDescription
ToolNameMatchInput.Builder

addInstancesBuilder()

public ToolNameMatchInstance.Builder addInstancesBuilder()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
ToolNameMatchInstance.Builder

addInstancesBuilder(int index)

public ToolNameMatchInstance.Builder addInstancesBuilder(int index)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolNameMatchInput build()
Returns
TypeDescription
ToolNameMatchInput

buildPartial()

public ToolNameMatchInput buildPartial()
Returns
TypeDescription
ToolNameMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ToolNameMatchInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ToolNameMatchInput.Builder
Overrides

clearInstances()

public ToolNameMatchInput.Builder clearInstances()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
ToolNameMatchInput.Builder

clearMetricSpec()

public ToolNameMatchInput.Builder clearMetricSpec()

Required. Spec for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ToolNameMatchInput getDefaultInstanceForType()
Returns
TypeDescription
ToolNameMatchInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstances(int index)

public ToolNameMatchInstance getInstances(int index)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchInstance

getInstancesBuilder(int index)

public ToolNameMatchInstance.Builder getInstancesBuilder(int index)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchInstance.Builder

getInstancesBuilderList()

public List<ToolNameMatchInstance.Builder> getInstancesBuilderList()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
int

getInstancesList()

public List<ToolNameMatchInstance> getInstancesList()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
List<ToolNameMatchInstance>

getInstancesOrBuilder(int index)

public ToolNameMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolNameMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ToolNameMatchInstanceOrBuilder>

getMetricSpec()

public ToolNameMatchSpec getMetricSpec()

Required. Spec for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchSpec

The metricSpec.

getMetricSpecBuilder()

public ToolNameMatchSpec.Builder getMetricSpecBuilder()

Required. Spec for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchSpec.Builder

getMetricSpecOrBuilder()

public ToolNameMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool name match metric.

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

public ToolNameMatchInput.Builder mergeFrom(ToolNameMatchInput other)
Parameter
NameDescription
otherToolNameMatchInput
Returns
TypeDescription
ToolNameMatchInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ToolNameMatchInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ToolNameMatchInput.Builder
Overrides

mergeMetricSpec(ToolNameMatchSpec value)

public ToolNameMatchInput.Builder mergeMetricSpec(ToolNameMatchSpec value)

Required. Spec for tool name match metric.

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

Parameter
NameDescription
valueToolNameMatchSpec
Returns
TypeDescription
ToolNameMatchInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ToolNameMatchInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ToolNameMatchInput.Builder
Overrides

removeInstances(int index)

public ToolNameMatchInput.Builder removeInstances(int index)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ToolNameMatchInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueToolNameMatchInstance
Returns
TypeDescription
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.v1beta1.ToolNameMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueToolNameMatchInstance.Builder
Returns
TypeDescription
ToolNameMatchInput.Builder

setMetricSpec(ToolNameMatchSpec value)

public ToolNameMatchInput.Builder setMetricSpec(ToolNameMatchSpec value)

Required. Spec for tool name match metric.

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

Parameter
NameDescription
valueToolNameMatchSpec
Returns
TypeDescription
ToolNameMatchInput.Builder

setMetricSpec(ToolNameMatchSpec.Builder builderForValue)

public ToolNameMatchInput.Builder setMetricSpec(ToolNameMatchSpec.Builder builderForValue)

Required. Spec for tool name match metric.

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

Parameter
NameDescription
builderForValueToolNameMatchSpec.Builder
Returns
TypeDescription
ToolNameMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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