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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public ExactMatchInput.Builder addInstances(ExactMatchInstance value)
Required. Repeated exact match instances.
repeated .google.cloud.aiplatform.v1beta1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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];
public ExactMatchInstance.Builder addInstancesBuilder()
Required. Repeated exact match instances.
repeated .google.cloud.aiplatform.v1beta1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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
|
public ExactMatchInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExactMatchInput build()
public ExactMatchInput buildPartial()
public ExactMatchInput.Builder clear()
Overrides
public ExactMatchInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ExactMatchInput.Builder clearInstances()
Required. Repeated exact match instances.
repeated .google.cloud.aiplatform.v1beta1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
public ExactMatchInput.Builder clearMetricSpec()
Required. Spec for exact match metric.
.google.cloud.aiplatform.v1beta1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ExactMatchInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ExactMatchInput.Builder clone()
Overrides
public ExactMatchInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
public List<ExactMatchInstance.Builder> getInstancesBuilderList()
Required. Repeated exact match instances.
repeated .google.cloud.aiplatform.v1beta1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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 | |
public List<ExactMatchInstance> getInstancesList()
Required. Repeated exact match instances.
repeated .google.cloud.aiplatform.v1beta1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];
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
|
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> | |
public ExactMatchSpec getMetricSpec()
Required. Spec for exact match metric.
.google.cloud.aiplatform.v1beta1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ExactMatchSpec.Builder getMetricSpecBuilder()
Required. Spec for exact match metric.
.google.cloud.aiplatform.v1beta1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public ExactMatchSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for exact match metric.
.google.cloud.aiplatform.v1beta1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExactMatchInput.Builder mergeFrom(ExactMatchInput other)
public ExactMatchInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ExactMatchInput.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
public final ExactMatchInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ExactMatchInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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];
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];
public ExactMatchInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ExactMatchInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides