Class FulfillmentInput.Builder (3.84.0)

public static final class FulfillmentInput.Builder extends GeneratedMessage.Builder<FulfillmentInput.Builder> implements FulfillmentInputOrBuilder

Input for fulfillment metric.

Protobuf type google.cloud.aiplatform.v1.FulfillmentInput

Static Methods

getDescriptor()

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

Methods

build()

public FulfillmentInput build()
Returns
Type Description
FulfillmentInput

buildPartial()

public FulfillmentInput buildPartial()
Returns
Type Description
FulfillmentInput

clear()

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

clearInstance()

public FulfillmentInput.Builder clearInstance()

Required. Fulfillment instance.

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

Returns
Type Description
FulfillmentInput.Builder

clearMetricSpec()

public FulfillmentInput.Builder clearMetricSpec()

Required. Spec for fulfillment score metric.

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

Returns
Type Description
FulfillmentInput.Builder

getDefaultInstanceForType()

public FulfillmentInput getDefaultInstanceForType()
Returns
Type Description
FulfillmentInput

getDescriptorForType()

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

getInstance()

public FulfillmentInstance getInstance()

Required. Fulfillment instance.

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

Returns
Type Description
FulfillmentInstance

The instance.

getInstanceBuilder()

public FulfillmentInstance.Builder getInstanceBuilder()

Required. Fulfillment instance.

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

Returns
Type Description
FulfillmentInstance.Builder

getInstanceOrBuilder()

public FulfillmentInstanceOrBuilder getInstanceOrBuilder()

Required. Fulfillment instance.

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

Returns
Type Description
FulfillmentInstanceOrBuilder

getMetricSpec()

public FulfillmentSpec getMetricSpec()

Required. Spec for fulfillment score metric.

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

Returns
Type Description
FulfillmentSpec

The metricSpec.

getMetricSpecBuilder()

public FulfillmentSpec.Builder getMetricSpecBuilder()

Required. Spec for fulfillment score metric.

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

Returns
Type Description
FulfillmentSpec.Builder

getMetricSpecOrBuilder()

public FulfillmentSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for fulfillment score metric.

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

Returns
Type Description
FulfillmentSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Fulfillment instance.

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

Returns
Type Description
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for fulfillment score metric.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstance(FulfillmentInstance value)

public FulfillmentInput.Builder mergeInstance(FulfillmentInstance value)

Required. Fulfillment instance.

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

Parameter
Name Description
value FulfillmentInstance
Returns
Type Description
FulfillmentInput.Builder

mergeMetricSpec(FulfillmentSpec value)

public FulfillmentInput.Builder mergeMetricSpec(FulfillmentSpec value)

Required. Spec for fulfillment score metric.

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

Parameter
Name Description
value FulfillmentSpec
Returns
Type Description
FulfillmentInput.Builder

setInstance(FulfillmentInstance value)

public FulfillmentInput.Builder setInstance(FulfillmentInstance value)

Required. Fulfillment instance.

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

Parameter
Name Description
value FulfillmentInstance
Returns
Type Description
FulfillmentInput.Builder

setInstance(FulfillmentInstance.Builder builderForValue)

public FulfillmentInput.Builder setInstance(FulfillmentInstance.Builder builderForValue)

Required. Fulfillment instance.

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

Parameter
Name Description
builderForValue FulfillmentInstance.Builder
Returns
Type Description
FulfillmentInput.Builder

setMetricSpec(FulfillmentSpec value)

public FulfillmentInput.Builder setMetricSpec(FulfillmentSpec value)

Required. Spec for fulfillment score metric.

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

Parameter
Name Description
value FulfillmentSpec
Returns
Type Description
FulfillmentInput.Builder

setMetricSpec(FulfillmentSpec.Builder builderForValue)

public FulfillmentInput.Builder setMetricSpec(FulfillmentSpec.Builder builderForValue)

Required. Spec for fulfillment score metric.

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

Parameter
Name Description
builderForValue FulfillmentSpec.Builder
Returns
Type Description
FulfillmentInput.Builder