public static final class FulfillmentInput.Builder extends GeneratedMessageV3.Builder<FulfillmentInput.Builder> implements FulfillmentInputOrBuilder
Input for fulfillment metric.
Protobuf type google.cloud.aiplatform.v1beta1.FulfillmentInput
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public FulfillmentInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FulfillmentInput build()
public FulfillmentInput buildPartial()
public FulfillmentInput.Builder clear()
Overrides
public FulfillmentInput.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public FulfillmentInput.Builder clearInstance()
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentInput.Builder clearMetricSpec()
Required. Spec for fulfillment score metric.
.google.cloud.aiplatform.v1beta1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public FulfillmentInput.Builder clone()
Overrides
public FulfillmentInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public FulfillmentInstance getInstance()
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentInstance.Builder getInstanceBuilder()
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentInstanceOrBuilder getInstanceOrBuilder()
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentSpec getMetricSpec()
Required. Spec for fulfillment score metric.
.google.cloud.aiplatform.v1beta1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentSpec.Builder getMetricSpecBuilder()
Required. Spec for fulfillment score metric.
.google.cloud.aiplatform.v1beta1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentSpecOrBuilder getMetricSpecOrBuilder()
Required. Spec for fulfillment score metric.
.google.cloud.aiplatform.v1beta1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
public boolean hasInstance()
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the instance field is set.
|
public boolean hasMetricSpec()
Required. Spec for fulfillment score metric.
.google.cloud.aiplatform.v1beta1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the metricSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FulfillmentInput.Builder mergeFrom(FulfillmentInput other)
public FulfillmentInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public FulfillmentInput.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public FulfillmentInput.Builder mergeInstance(FulfillmentInstance value)
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public final FulfillmentInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public FulfillmentInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FulfillmentInput.Builder setInstance(FulfillmentInstance value)
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
public FulfillmentInput.Builder setInstance(FulfillmentInstance.Builder builderForValue)
Required. Fulfillment instance.
.google.cloud.aiplatform.v1beta1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
public FulfillmentInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final FulfillmentInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides