Class FulfillmentSpec.Builder (3.41.0)

public static final class FulfillmentSpec.Builder extends GeneratedMessageV3.Builder<FulfillmentSpec.Builder> implements FulfillmentSpecOrBuilder

Spec for fulfillment metric.

Protobuf type google.cloud.aiplatform.v1beta1.FulfillmentSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FulfillmentSpec build()
Returns
TypeDescription
FulfillmentSpec

buildPartial()

public FulfillmentSpec buildPartial()
Returns
TypeDescription
FulfillmentSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVersion()

public FulfillmentSpec.Builder clearVersion()

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FulfillmentSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FulfillmentSpec getDefaultInstanceForType()
Returns
TypeDescription
FulfillmentSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getVersion()

public int getVersion()

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FulfillmentSpec other)

public FulfillmentSpec.Builder mergeFrom(FulfillmentSpec other)
Parameter
NameDescription
otherFulfillmentSpec
Returns
TypeDescription
FulfillmentSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(int value)

public FulfillmentSpec.Builder setVersion(int value)

Optional. Which version to use for evaluation.

int32 version = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The version to set.

Returns
TypeDescription
FulfillmentSpec.Builder

This builder for chaining.