Class FulfillmentInput.Builder (3.49.0)

public static final class FulfillmentInput.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public FulfillmentInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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