Class TransferableOffer.Builder (3.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferableOffer build()
Returns
TypeDescription
TransferableOffer

buildPartial()

public TransferableOffer buildPartial()
Returns
TypeDescription
TransferableOffer

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TransferableOffer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TransferableOffer.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TransferableOffer getDefaultInstanceForType()
Returns
TypeDescription
TransferableOffer

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOffer()

public Offer getOffer()

Offer with parameter constraints updated to allow the Transfer.

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

Returns
TypeDescription
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
TypeDescription
Offer.Builder

getOfferOrBuilder()

public OfferOrBuilder getOfferOrBuilder()

Offer with parameter constraints updated to allow the Transfer.

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

Returns
TypeDescription
OfferOrBuilder

hasOffer()

public boolean hasOffer()

Offer with parameter constraints updated to allow the Transfer.

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

Returns
TypeDescription
boolean

Whether the offer field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransferableOffer other)

public TransferableOffer.Builder mergeFrom(TransferableOffer other)
Parameter
NameDescription
otherTransferableOffer
Returns
TypeDescription
TransferableOffer.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TransferableOffer.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueOffer
Returns
TypeDescription
TransferableOffer.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public TransferableOffer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueOffer
Returns
TypeDescription
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
NameDescription
builderForValueOffer.Builder
Returns
TypeDescription
TransferableOffer.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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