Class RubricBasedInstructionFollowingInput.Builder (3.84.0)

public static final class RubricBasedInstructionFollowingInput.Builder extends GeneratedMessage.Builder<RubricBasedInstructionFollowingInput.Builder> implements RubricBasedInstructionFollowingInputOrBuilder

Instance and metric spec for RubricBasedInstructionFollowing metric.

Protobuf type google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInput

Static Methods

getDescriptor()

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

Methods

build()

public RubricBasedInstructionFollowingInput build()
Returns
Type Description
RubricBasedInstructionFollowingInput

buildPartial()

public RubricBasedInstructionFollowingInput buildPartial()
Returns
Type Description
RubricBasedInstructionFollowingInput

clear()

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

clearInstance()

public RubricBasedInstructionFollowingInput.Builder clearInstance()

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingInput.Builder

clearMetricSpec()

public RubricBasedInstructionFollowingInput.Builder clearMetricSpec()

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingInput.Builder

getDefaultInstanceForType()

public RubricBasedInstructionFollowingInput getDefaultInstanceForType()
Returns
Type Description
RubricBasedInstructionFollowingInput

getDescriptorForType()

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

getInstance()

public RubricBasedInstructionFollowingInstance getInstance()

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingInstance

The instance.

getInstanceBuilder()

public RubricBasedInstructionFollowingInstance.Builder getInstanceBuilder()

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingInstance.Builder

getInstanceOrBuilder()

public RubricBasedInstructionFollowingInstanceOrBuilder getInstanceOrBuilder()

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingInstanceOrBuilder

getMetricSpec()

public RubricBasedInstructionFollowingSpec getMetricSpec()

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingSpec

The metricSpec.

getMetricSpecBuilder()

public RubricBasedInstructionFollowingSpec.Builder getMetricSpecBuilder()

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingSpec.Builder

getMetricSpecOrBuilder()

public RubricBasedInstructionFollowingSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RubricBasedInstructionFollowingSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RubricBasedInstructionFollowingInput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(RubricBasedInstructionFollowingInstance value)

public RubricBasedInstructionFollowingInput.Builder mergeInstance(RubricBasedInstructionFollowingInstance value)

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RubricBasedInstructionFollowingInstance
Returns
Type Description
RubricBasedInstructionFollowingInput.Builder

mergeMetricSpec(RubricBasedInstructionFollowingSpec value)

public RubricBasedInstructionFollowingInput.Builder mergeMetricSpec(RubricBasedInstructionFollowingSpec value)

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RubricBasedInstructionFollowingSpec
Returns
Type Description
RubricBasedInstructionFollowingInput.Builder

setInstance(RubricBasedInstructionFollowingInstance value)

public RubricBasedInstructionFollowingInput.Builder setInstance(RubricBasedInstructionFollowingInstance value)

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RubricBasedInstructionFollowingInstance
Returns
Type Description
RubricBasedInstructionFollowingInput.Builder

setInstance(RubricBasedInstructionFollowingInstance.Builder builderForValue)

public RubricBasedInstructionFollowingInput.Builder setInstance(RubricBasedInstructionFollowingInstance.Builder builderForValue)

Required. Instance for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RubricBasedInstructionFollowingInstance.Builder
Returns
Type Description
RubricBasedInstructionFollowingInput.Builder

setMetricSpec(RubricBasedInstructionFollowingSpec value)

public RubricBasedInstructionFollowingInput.Builder setMetricSpec(RubricBasedInstructionFollowingSpec value)

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RubricBasedInstructionFollowingSpec
Returns
Type Description
RubricBasedInstructionFollowingInput.Builder

setMetricSpec(RubricBasedInstructionFollowingSpec.Builder builderForValue)

public RubricBasedInstructionFollowingInput.Builder setMetricSpec(RubricBasedInstructionFollowingSpec.Builder builderForValue)

Required. Spec for RubricBasedInstructionFollowing metric.

.google.cloud.aiplatform.v1beta1.RubricBasedInstructionFollowingSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RubricBasedInstructionFollowingSpec.Builder
Returns
Type Description
RubricBasedInstructionFollowingInput.Builder