Class ExactMatchInput.Builder (3.43.0)

public static final class ExactMatchInput.Builder extends GeneratedMessageV3.Builder<ExactMatchInput.Builder> implements ExactMatchInputOrBuilder

Input for exact match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ExactMatchInput

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends ExactMatchInstance> values)

public ExactMatchInput.Builder addAllInstances(Iterable<? extends ExactMatchInstance> values)

Required. Repeated exact match instances.

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

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

addInstances(ExactMatchInstance value)

public ExactMatchInput.Builder addInstances(ExactMatchInstance value)

Required. Repeated exact match instances.

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

Parameter
Name Description
value ExactMatchInstance
Returns
Type Description
ExactMatchInput.Builder

addInstances(ExactMatchInstance.Builder builderForValue)

public ExactMatchInput.Builder addInstances(ExactMatchInstance.Builder builderForValue)

Required. Repeated exact match instances.

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

Parameter
Name Description
builderForValue ExactMatchInstance.Builder
Returns
Type Description
ExactMatchInput.Builder

addInstances(int index, ExactMatchInstance value)

public ExactMatchInput.Builder addInstances(int index, ExactMatchInstance value)

Required. Repeated exact match instances.

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

Parameters
Name Description
index int
value ExactMatchInstance
Returns
Type Description
ExactMatchInput.Builder

addInstances(int index, ExactMatchInstance.Builder builderForValue)

public ExactMatchInput.Builder addInstances(int index, ExactMatchInstance.Builder builderForValue)

Required. Repeated exact match instances.

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

Parameters
Name Description
index int
builderForValue ExactMatchInstance.Builder
Returns
Type Description
ExactMatchInput.Builder

addInstancesBuilder()

public ExactMatchInstance.Builder addInstancesBuilder()

Required. Repeated exact match instances.

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

Returns
Type Description
ExactMatchInstance.Builder

addInstancesBuilder(int index)

public ExactMatchInstance.Builder addInstancesBuilder(int index)

Required. Repeated exact match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ExactMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExactMatchInput build()
Returns
Type Description
ExactMatchInput

buildPartial()

public ExactMatchInput buildPartial()
Returns
Type Description
ExactMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public ExactMatchInput.Builder clearInstances()

Required. Repeated exact match instances.

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

Returns
Type Description
ExactMatchInput.Builder

clearMetricSpec()

public ExactMatchInput.Builder clearMetricSpec()

Required. Spec for exact match metric.

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

Returns
Type Description
ExactMatchInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ExactMatchInput getDefaultInstanceForType()
Returns
Type Description
ExactMatchInput

getDescriptorForType()

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

getInstances(int index)

public ExactMatchInstance getInstances(int index)

Required. Repeated exact match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ExactMatchInstance

getInstancesBuilder(int index)

public ExactMatchInstance.Builder getInstancesBuilder(int index)

Required. Repeated exact match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ExactMatchInstance.Builder

getInstancesBuilderList()

public List<ExactMatchInstance.Builder> getInstancesBuilderList()

Required. Repeated exact match instances.

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

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

Required. Repeated exact match instances.

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

Returns
Type Description
int

getInstancesList()

public List<ExactMatchInstance> getInstancesList()

Required. Repeated exact match instances.

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

Returns
Type Description
List<ExactMatchInstance>

getInstancesOrBuilder(int index)

public ExactMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated exact match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ExactMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ExactMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated exact match instances.

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

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

getMetricSpec()

public ExactMatchSpec getMetricSpec()

Required. Spec for exact match metric.

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

Returns
Type Description
ExactMatchSpec

The metricSpec.

getMetricSpecBuilder()

public ExactMatchSpec.Builder getMetricSpecBuilder()

Required. Spec for exact match metric.

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

Returns
Type Description
ExactMatchSpec.Builder

getMetricSpecOrBuilder()

public ExactMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for exact match metric.

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

Returns
Type Description
ExactMatchSpecOrBuilder

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for exact match metric.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetricSpec(ExactMatchSpec value)

public ExactMatchInput.Builder mergeMetricSpec(ExactMatchSpec value)

Required. Spec for exact match metric.

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

Parameter
Name Description
value ExactMatchSpec
Returns
Type Description
ExactMatchInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public ExactMatchInput.Builder removeInstances(int index)

Required. Repeated exact match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ExactMatchInput.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, ExactMatchInstance value)

public ExactMatchInput.Builder setInstances(int index, ExactMatchInstance value)

Required. Repeated exact match instances.

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

Parameters
Name Description
index int
value ExactMatchInstance
Returns
Type Description
ExactMatchInput.Builder

setInstances(int index, ExactMatchInstance.Builder builderForValue)

public ExactMatchInput.Builder setInstances(int index, ExactMatchInstance.Builder builderForValue)

Required. Repeated exact match instances.

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

Parameters
Name Description
index int
builderForValue ExactMatchInstance.Builder
Returns
Type Description
ExactMatchInput.Builder

setMetricSpec(ExactMatchSpec value)

public ExactMatchInput.Builder setMetricSpec(ExactMatchSpec value)

Required. Spec for exact match metric.

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

Parameter
Name Description
value ExactMatchSpec
Returns
Type Description
ExactMatchInput.Builder

setMetricSpec(ExactMatchSpec.Builder builderForValue)

public ExactMatchInput.Builder setMetricSpec(ExactMatchSpec.Builder builderForValue)

Required. Spec for exact match metric.

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

Parameter
Name Description
builderForValue ExactMatchSpec.Builder
Returns
Type Description
ExactMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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