Class PointwiseMetricInput.Builder (3.49.0)

public static final class PointwiseMetricInput.Builder extends GeneratedMessageV3.Builder<PointwiseMetricInput.Builder> implements PointwiseMetricInputOrBuilder

Input for pointwise metric.

Protobuf type google.cloud.aiplatform.v1.PointwiseMetricInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PointwiseMetricInput build()
Returns
Type Description
PointwiseMetricInput

buildPartial()

public PointwiseMetricInput buildPartial()
Returns
Type Description
PointwiseMetricInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public PointwiseMetricInput.Builder clearInstance()

Required. Pointwise metric instance.

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

Returns
Type Description
PointwiseMetricInput.Builder

clearMetricSpec()

public PointwiseMetricInput.Builder clearMetricSpec()

Required. Spec for pointwise metric.

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

Returns
Type Description
PointwiseMetricInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PointwiseMetricInput getDefaultInstanceForType()
Returns
Type Description
PointwiseMetricInput

getDescriptorForType()

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

getInstance()

public PointwiseMetricInstance getInstance()

Required. Pointwise metric instance.

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

Returns
Type Description
PointwiseMetricInstance

The instance.

getInstanceBuilder()

public PointwiseMetricInstance.Builder getInstanceBuilder()

Required. Pointwise metric instance.

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

Returns
Type Description
PointwiseMetricInstance.Builder

getInstanceOrBuilder()

public PointwiseMetricInstanceOrBuilder getInstanceOrBuilder()

Required. Pointwise metric instance.

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

Returns
Type Description
PointwiseMetricInstanceOrBuilder

getMetricSpec()

public PointwiseMetricSpec getMetricSpec()

Required. Spec for pointwise metric.

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

Returns
Type Description
PointwiseMetricSpec

The metricSpec.

getMetricSpecBuilder()

public PointwiseMetricSpec.Builder getMetricSpecBuilder()

Required. Spec for pointwise metric.

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

Returns
Type Description
PointwiseMetricSpec.Builder

getMetricSpecOrBuilder()

public PointwiseMetricSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for pointwise metric.

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

Returns
Type Description
PointwiseMetricSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Pointwise metric instance.

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

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for pointwise metric.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(PointwiseMetricInstance value)

public PointwiseMetricInput.Builder mergeInstance(PointwiseMetricInstance value)

Required. Pointwise metric instance.

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

Parameter
Name Description
value PointwiseMetricInstance
Returns
Type Description
PointwiseMetricInput.Builder

mergeMetricSpec(PointwiseMetricSpec value)

public PointwiseMetricInput.Builder mergeMetricSpec(PointwiseMetricSpec value)

Required. Spec for pointwise metric.

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

Parameter
Name Description
value PointwiseMetricSpec
Returns
Type Description
PointwiseMetricInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(PointwiseMetricInstance value)

public PointwiseMetricInput.Builder setInstance(PointwiseMetricInstance value)

Required. Pointwise metric instance.

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

Parameter
Name Description
value PointwiseMetricInstance
Returns
Type Description
PointwiseMetricInput.Builder

setInstance(PointwiseMetricInstance.Builder builderForValue)

public PointwiseMetricInput.Builder setInstance(PointwiseMetricInstance.Builder builderForValue)

Required. Pointwise metric instance.

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

Parameter
Name Description
builderForValue PointwiseMetricInstance.Builder
Returns
Type Description
PointwiseMetricInput.Builder

setMetricSpec(PointwiseMetricSpec value)

public PointwiseMetricInput.Builder setMetricSpec(PointwiseMetricSpec value)

Required. Spec for pointwise metric.

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

Parameter
Name Description
value PointwiseMetricSpec
Returns
Type Description
PointwiseMetricInput.Builder

setMetricSpec(PointwiseMetricSpec.Builder builderForValue)

public PointwiseMetricInput.Builder setMetricSpec(PointwiseMetricSpec.Builder builderForValue)

Required. Spec for pointwise metric.

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

Parameter
Name Description
builderForValue PointwiseMetricSpec.Builder
Returns
Type Description
PointwiseMetricInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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