Class FulfillmentInput.Builder (3.40.0)

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

Input for fulfillment metric.

Protobuf type google.cloud.aiplatform.v1beta1.FulfillmentInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FulfillmentInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

build()

public FulfillmentInput build()
Returns
TypeDescription
FulfillmentInput

buildPartial()

public FulfillmentInput buildPartial()
Returns
TypeDescription
FulfillmentInput

clear()

public FulfillmentInput.Builder clear()
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FulfillmentInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

clearInstance()

public FulfillmentInput.Builder clearInstance()

Required. Fulfillment instance.

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

Returns
TypeDescription
FulfillmentInput.Builder

clearMetricSpec()

public FulfillmentInput.Builder clearMetricSpec()

Required. Spec for fulfillment score metric.

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

Returns
TypeDescription
FulfillmentInput.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FulfillmentInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

clone()

public FulfillmentInput.Builder clone()
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

getDefaultInstanceForType()

public FulfillmentInput getDefaultInstanceForType()
Returns
TypeDescription
FulfillmentInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public FulfillmentInstance getInstance()

Required. Fulfillment instance.

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

Returns
TypeDescription
FulfillmentInstance

The instance.

getInstanceBuilder()

public FulfillmentInstance.Builder getInstanceBuilder()

Required. Fulfillment instance.

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

Returns
TypeDescription
FulfillmentInstance.Builder

getInstanceOrBuilder()

public FulfillmentInstanceOrBuilder getInstanceOrBuilder()

Required. Fulfillment instance.

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

Returns
TypeDescription
FulfillmentInstanceOrBuilder

getMetricSpec()

public FulfillmentSpec getMetricSpec()

Required. Spec for fulfillment score metric.

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

Returns
TypeDescription
FulfillmentSpec

The metricSpec.

getMetricSpecBuilder()

public FulfillmentSpec.Builder getMetricSpecBuilder()

Required. Spec for fulfillment score metric.

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

Returns
TypeDescription
FulfillmentSpec.Builder

getMetricSpecOrBuilder()

public FulfillmentSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for fulfillment score metric.

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

Returns
TypeDescription
FulfillmentSpecOrBuilder

hasInstance()

public boolean hasInstance()

Required. Fulfillment instance.

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

Returns
TypeDescription
boolean

Whether the instance field is set.

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for fulfillment score metric.

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

Returns
TypeDescription
boolean

Whether the metricSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FulfillmentInput other)

public FulfillmentInput.Builder mergeFrom(FulfillmentInput other)
Parameter
NameDescription
otherFulfillmentInput
Returns
TypeDescription
FulfillmentInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FulfillmentInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FulfillmentInput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FulfillmentInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

mergeInstance(FulfillmentInstance value)

public FulfillmentInput.Builder mergeInstance(FulfillmentInstance value)

Required. Fulfillment instance.

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

Parameter
NameDescription
valueFulfillmentInstance
Returns
TypeDescription
FulfillmentInput.Builder

mergeMetricSpec(FulfillmentSpec value)

public FulfillmentInput.Builder mergeMetricSpec(FulfillmentSpec value)

Required. Spec for fulfillment score metric.

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

Parameter
NameDescription
valueFulfillmentSpec
Returns
TypeDescription
FulfillmentInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FulfillmentInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FulfillmentInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

setInstance(FulfillmentInstance value)

public FulfillmentInput.Builder setInstance(FulfillmentInstance value)

Required. Fulfillment instance.

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

Parameter
NameDescription
valueFulfillmentInstance
Returns
TypeDescription
FulfillmentInput.Builder

setInstance(FulfillmentInstance.Builder builderForValue)

public FulfillmentInput.Builder setInstance(FulfillmentInstance.Builder builderForValue)

Required. Fulfillment instance.

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

Parameter
NameDescription
builderForValueFulfillmentInstance.Builder
Returns
TypeDescription
FulfillmentInput.Builder

setMetricSpec(FulfillmentSpec value)

public FulfillmentInput.Builder setMetricSpec(FulfillmentSpec value)

Required. Spec for fulfillment score metric.

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

Parameter
NameDescription
valueFulfillmentSpec
Returns
TypeDescription
FulfillmentInput.Builder

setMetricSpec(FulfillmentSpec.Builder builderForValue)

public FulfillmentInput.Builder setMetricSpec(FulfillmentSpec.Builder builderForValue)

Required. Spec for fulfillment score metric.

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

Parameter
NameDescription
builderForValueFulfillmentSpec.Builder
Returns
TypeDescription
FulfillmentInput.Builder

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

public FulfillmentInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FulfillmentInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FulfillmentInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FulfillmentInput.Builder
Overrides