Class MetricxInput.Builder (3.56.0)

public static final class MetricxInput.Builder extends GeneratedMessageV3.Builder<MetricxInput.Builder> implements MetricxInputOrBuilder

Input for MetricX metric.

Protobuf type google.cloud.aiplatform.v1.MetricxInput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MetricxInput build()
Returns
Type Description
MetricxInput

buildPartial()

public MetricxInput buildPartial()
Returns
Type Description
MetricxInput

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public MetricxInput.Builder clearInstance()

Required. Metricx instance.

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

Returns
Type Description
MetricxInput.Builder

clearMetricSpec()

public MetricxInput.Builder clearMetricSpec()

Required. Spec for Metricx metric.

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

Returns
Type Description
MetricxInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MetricxInput getDefaultInstanceForType()
Returns
Type Description
MetricxInput

getDescriptorForType()

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

getInstance()

public MetricxInstance getInstance()

Required. Metricx instance.

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

Returns
Type Description
MetricxInstance

The instance.

getInstanceBuilder()

public MetricxInstance.Builder getInstanceBuilder()

Required. Metricx instance.

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

Returns
Type Description
MetricxInstance.Builder

getInstanceOrBuilder()

public MetricxInstanceOrBuilder getInstanceOrBuilder()

Required. Metricx instance.

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

Returns
Type Description
MetricxInstanceOrBuilder

getMetricSpec()

public MetricxSpec getMetricSpec()

Required. Spec for Metricx metric.

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

Returns
Type Description
MetricxSpec

The metricSpec.

getMetricSpecBuilder()

public MetricxSpec.Builder getMetricSpecBuilder()

Required. Spec for Metricx metric.

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

Returns
Type Description
MetricxSpec.Builder

getMetricSpecOrBuilder()

public MetricxSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for Metricx metric.

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

Returns
Type Description
MetricxSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Metricx instance.

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

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for Metricx metric.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(MetricxInstance value)

public MetricxInput.Builder mergeInstance(MetricxInstance value)

Required. Metricx instance.

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

Parameter
Name Description
value MetricxInstance
Returns
Type Description
MetricxInput.Builder

mergeMetricSpec(MetricxSpec value)

public MetricxInput.Builder mergeMetricSpec(MetricxSpec value)

Required. Spec for Metricx metric.

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

Parameter
Name Description
value MetricxSpec
Returns
Type Description
MetricxInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(MetricxInstance value)

public MetricxInput.Builder setInstance(MetricxInstance value)

Required. Metricx instance.

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

Parameter
Name Description
value MetricxInstance
Returns
Type Description
MetricxInput.Builder

setInstance(MetricxInstance.Builder builderForValue)

public MetricxInput.Builder setInstance(MetricxInstance.Builder builderForValue)

Required. Metricx instance.

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

Parameter
Name Description
builderForValue MetricxInstance.Builder
Returns
Type Description
MetricxInput.Builder

setMetricSpec(MetricxSpec value)

public MetricxInput.Builder setMetricSpec(MetricxSpec value)

Required. Spec for Metricx metric.

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

Parameter
Name Description
value MetricxSpec
Returns
Type Description
MetricxInput.Builder

setMetricSpec(MetricxSpec.Builder builderForValue)

public MetricxInput.Builder setMetricSpec(MetricxSpec.Builder builderForValue)

Required. Spec for Metricx metric.

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

Parameter
Name Description
builderForValue MetricxSpec.Builder
Returns
Type Description
MetricxInput.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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