public static final class ExactMatchInput.Builder extends GeneratedMessage.Builder<ExactMatchInput.Builder> implements ExactMatchInputOrBuilderInput for exact match metric.
Protobuf type google.cloud.aiplatform.v1beta1.ExactMatchInput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExactMatchInput.BuilderImplements
ExactMatchInputOrBuilderStatic 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 |
|
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 |
|
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 |
|
getDefaultInstanceForType()
public ExactMatchInput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExactMatchInput |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExactMatchInput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExactMatchInput.Builder |
|
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 |
|
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 |
|
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 |
|