Class TransferableOffer.Builder (3.85.0)
Version latestkeyboard_arrow_down
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
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
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferableOffer . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public TransferableOffer build ()
buildPartial()
public TransferableOffer buildPartial ()
clear()
public TransferableOffer . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferableOffer . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOffer()
public TransferableOffer . Builder clearOffer ()
Offer with parameter constraints updated to allow the Transfer.
.google.cloud.channel.v1.Offer offer = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferableOffer . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPriceReferenceId()
public TransferableOffer . Builder clearPriceReferenceId ()
Optional. Price reference ID for the offer. Only for offers that require
additional price information. Used to guarantee that the pricing is
consistent between quoting the offer and placing the order.
string price_reference_id = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public TransferableOffer . Builder clone ()
Overrides
getDefaultInstanceForType()
public TransferableOffer getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
getOfferOrBuilder()
public OfferOrBuilder getOfferOrBuilder ()
Offer with parameter constraints updated to allow the Transfer.
.google.cloud.channel.v1.Offer offer = 1;
getPriceReferenceId()
public String getPriceReferenceId ()
Optional. Price reference ID for the offer. Only for offers that require
additional price information. Used to guarantee that the pricing is
consistent between quoting the offer and placing the order.
string price_reference_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The priceReferenceId.
getPriceReferenceIdBytes()
public ByteString getPriceReferenceIdBytes ()
Optional. Price reference ID for the offer. Only for offers that require
additional price information. Used to guarantee that the pricing is
consistent between quoting the offer and placing the order.
string price_reference_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for priceReferenceId.
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(TransferableOffer other)
public TransferableOffer . Builder mergeFrom ( TransferableOffer other )
public TransferableOffer . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TransferableOffer . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferableOffer . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferableOffer . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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
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;
setPriceReferenceId(String value)
public TransferableOffer . Builder setPriceReferenceId ( String value )
Optional. Price reference ID for the offer. Only for offers that require
additional price information. Used to guarantee that the pricing is
consistent between quoting the offer and placing the order.
string price_reference_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String The priceReferenceId to set.
setPriceReferenceIdBytes(ByteString value)
public TransferableOffer . Builder setPriceReferenceIdBytes ( ByteString value )
Optional. Price reference ID for the offer. Only for offers that require
additional price information. Used to guarantee that the pricing is
consistent between quoting the offer and placing the order.
string price_reference_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString The bytes for priceReferenceId to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferableOffer . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferableOffer . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-10 UTC."],[],[]]