Class ExactMatchInput.Builder (3.41.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ExactMatchInstance>
Returns
TypeDescription
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
NameDescription
valueExactMatchInstance
Returns
TypeDescription
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
NameDescription
builderForValueExactMatchInstance.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExactMatchInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExactMatchInstance.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ExactMatchInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExactMatchInput build()
Returns
TypeDescription
ExactMatchInput

buildPartial()

public ExactMatchInput buildPartial()
Returns
TypeDescription
ExactMatchInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ExactMatchInput getDefaultInstanceForType()
Returns
TypeDescription
ExactMatchInput

getDescriptorForType()

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

public ExactMatchInput.Builder mergeFrom(ExactMatchInput other)
Parameter
NameDescription
otherExactMatchInput
Returns
TypeDescription
ExactMatchInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ExactMatchInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueExactMatchInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExactMatchInstance.Builder
Returns
TypeDescription
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
NameDescription
valueExactMatchSpec
Returns
TypeDescription
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
NameDescription
builderForValueExactMatchSpec.Builder
Returns
TypeDescription
ExactMatchInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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