Class PairwiseMetricInput.Builder (3.56.0)

public static final class PairwiseMetricInput.Builder extends GeneratedMessageV3.Builder<PairwiseMetricInput.Builder> implements PairwiseMetricInputOrBuilder

Input for pairwise metric.

Protobuf type google.cloud.aiplatform.v1.PairwiseMetricInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PairwiseMetricInput build()
Returns
Type Description
PairwiseMetricInput

buildPartial()

public PairwiseMetricInput buildPartial()
Returns
Type Description
PairwiseMetricInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public PairwiseMetricInput.Builder clearInstance()

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricInput.Builder

clearMetricSpec()

public PairwiseMetricInput.Builder clearMetricSpec()

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PairwiseMetricInput getDefaultInstanceForType()
Returns
Type Description
PairwiseMetricInput

getDescriptorForType()

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

getInstance()

public PairwiseMetricInstance getInstance()

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricInstance

The instance.

getInstanceBuilder()

public PairwiseMetricInstance.Builder getInstanceBuilder()

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricInstance.Builder

getInstanceOrBuilder()

public PairwiseMetricInstanceOrBuilder getInstanceOrBuilder()

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricInstanceOrBuilder

getMetricSpec()

public PairwiseMetricSpec getMetricSpec()

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricSpec

The metricSpec.

getMetricSpecBuilder()

public PairwiseMetricSpec.Builder getMetricSpecBuilder()

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricSpec.Builder

getMetricSpecOrBuilder()

public PairwiseMetricSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PairwiseMetricSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec 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(PairwiseMetricInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(PairwiseMetricInstance value)

public PairwiseMetricInput.Builder mergeInstance(PairwiseMetricInstance value)

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseMetricInstance
Returns
Type Description
PairwiseMetricInput.Builder

mergeMetricSpec(PairwiseMetricSpec value)

public PairwiseMetricInput.Builder mergeMetricSpec(PairwiseMetricSpec value)

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseMetricSpec
Returns
Type Description
PairwiseMetricInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(PairwiseMetricInstance value)

public PairwiseMetricInput.Builder setInstance(PairwiseMetricInstance value)

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseMetricInstance
Returns
Type Description
PairwiseMetricInput.Builder

setInstance(PairwiseMetricInstance.Builder builderForValue)

public PairwiseMetricInput.Builder setInstance(PairwiseMetricInstance.Builder builderForValue)

Required. Pairwise metric instance.

.google.cloud.aiplatform.v1.PairwiseMetricInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PairwiseMetricInstance.Builder
Returns
Type Description
PairwiseMetricInput.Builder

setMetricSpec(PairwiseMetricSpec value)

public PairwiseMetricInput.Builder setMetricSpec(PairwiseMetricSpec value)

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PairwiseMetricSpec
Returns
Type Description
PairwiseMetricInput.Builder

setMetricSpec(PairwiseMetricSpec.Builder builderForValue)

public PairwiseMetricInput.Builder setMetricSpec(PairwiseMetricSpec.Builder builderForValue)

Required. Spec for pairwise metric.

.google.cloud.aiplatform.v1.PairwiseMetricSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PairwiseMetricSpec.Builder
Returns
Type Description
PairwiseMetricInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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