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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferableOffer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferableOffer build()
Returns
buildPartial()
public TransferableOffer buildPartial()
Returns
clear()
public TransferableOffer.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferableOffer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOffer()
public TransferableOffer.Builder clearOffer()
Offer with parameter constraints updated to allow the Transfer.
.google.cloud.channel.v1.Offer offer = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferableOffer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TransferableOffer.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferableOffer getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getOfferOrBuilder()
public OfferOrBuilder getOfferOrBuilder()
Offer with parameter constraints updated to allow the Transfer.
.google.cloud.channel.v1.Offer offer = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TransferableOffer other)
public TransferableOffer.Builder mergeFrom(TransferableOffer other)
Parameter
Returns
public TransferableOffer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferableOffer.Builder mergeFrom(Message other)
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferableOffer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferableOffer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferableOffer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferableOffer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides