Class TransferableOffer.Builder (3.59.0)

public static final class TransferableOffer.Builder extends GeneratedMessageV3.Builder<TransferableOffer.Builder> implements TransferableOfferOrBuilder

TransferableOffer represents an Offer that can be used in Transfer. Read-only.

Protobuf type google.cloud.channel.v1.TransferableOffer

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferableOffer build()
Returns
Type Description
TransferableOffer

buildPartial()

public TransferableOffer buildPartial()
Returns
Type Description
TransferableOffer

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TransferableOffer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransferableOffer.Builder
Overrides

clearOffer()

public TransferableOffer.Builder clearOffer()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
Type Description
TransferableOffer.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TransferableOffer getDefaultInstanceForType()
Returns
Type Description
TransferableOffer

getDescriptorForType()

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

getOffer()

public Offer getOffer()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
Type Description
Offer

The offer.

getOfferBuilder()

public Offer.Builder getOfferBuilder()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
Type Description
Offer.Builder

getOfferOrBuilder()

public OfferOrBuilder getOfferOrBuilder()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
Type Description
OfferOrBuilder

hasOffer()

public boolean hasOffer()

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Returns
Type Description
boolean

Whether the offer field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransferableOffer other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOffer(Offer value)

public TransferableOffer.Builder mergeOffer(Offer value)

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Parameter
Name Description
value Offer
Returns
Type Description
TransferableOffer.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOffer(Offer value)

public TransferableOffer.Builder setOffer(Offer value)

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Parameter
Name Description
value Offer
Returns
Type Description
TransferableOffer.Builder

setOffer(Offer.Builder builderForValue)

public TransferableOffer.Builder setOffer(Offer.Builder builderForValue)

Offer with parameter constraints updated to allow the Transfer.

.google.cloud.channel.v1.Offer offer = 1;

Parameter
Name Description
builderForValue Offer.Builder
Returns
Type Description
TransferableOffer.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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