Package com.google.cloud.channel.v1
Class ChangeOfferRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ChangeOfferRequest.Builder>
com.google.cloud.channel.v1.ChangeOfferRequest.Builder
- All Implemented Interfaces:
ChangeOfferRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ChangeOfferRequest
public static final class ChangeOfferRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ChangeOfferRequest.Builder>
implements ChangeOfferRequestOrBuilder
Request message for [CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer].Protobuf type
google.cloud.channel.v1.ChangeOfferRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllParameters(Iterable<? extends Parameter> values) Optional.addParameters(int index, Parameter value) Optional.addParameters(int index, Parameter.Builder builderForValue) Optional.addParameters(Parameter value) Optional.addParameters(Parameter.Builder builderForValue) Optional.Optional.addParametersBuilder(int index) Optional.build()clear()Optional.Required.Required.Optional.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Required.com.google.protobuf.ByteStringRequired.getOffer()Required.com.google.protobuf.ByteStringRequired.getParameters(int index) Optional.getParametersBuilder(int index) Optional.Optional.intOptional.Optional.getParametersOrBuilder(int index) Optional.List<? extends ParameterOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ChangeOfferRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeParameters(int index) Optional.setBillingAccount(String value) Optional.setBillingAccountBytes(com.google.protobuf.ByteString value) Optional.Required.setNameBytes(com.google.protobuf.ByteString value) Required.Required.setOfferBytes(com.google.protobuf.ByteString value) Required.setParameters(int index, Parameter value) Optional.setParameters(int index, Parameter.Builder builderForValue) Optional.setPriceReferenceId(String value) Optional.setPriceReferenceIdBytes(com.google.protobuf.ByteString value) Optional.setPurchaseOrderId(String value) Optional.setPurchaseOrderIdBytes(com.google.protobuf.ByteString value) Optional.setRequestId(String value) Optional.setRequestIdBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ChangeOfferRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ChangeOfferRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ChangeOfferRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeOfferRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ChangeOfferRequest.Builder>
-
mergeFrom
public ChangeOfferRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeOfferRequest.Builder>- Throws:
IOException
-
getName
Required. The resource name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceChangeOfferRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The resource name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceChangeOfferRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The resource name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The resource name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. The resource name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getOffer
Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getOfferin interfaceChangeOfferRequestOrBuilder- Returns:
- The offer.
-
getOfferBytes
public com.google.protobuf.ByteString getOfferBytes()Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getOfferBytesin interfaceChangeOfferRequestOrBuilder- Returns:
- The bytes for offer.
-
setOffer
Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The offer to set.- Returns:
- This builder for chaining.
-
clearOffer
Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setOfferBytes
Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.string offer = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for offer to set.- Returns:
- This builder for chaining.
-
getParametersList
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersListin interfaceChangeOfferRequestOrBuilder
-
getParametersCount
public int getParametersCount()Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersCountin interfaceChangeOfferRequestOrBuilder
-
getParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersin interfaceChangeOfferRequestOrBuilder
-
setParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAllParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
removeParameters
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getParametersBuilder
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getParametersOrBuilder
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersOrBuilderin interfaceChangeOfferRequestOrBuilder
-
getParametersOrBuilderList
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getParametersOrBuilderListin interfaceChangeOfferRequestOrBuilder
-
addParametersBuilder
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addParametersBuilder
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getParametersBuilderList
Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions] from the desired offer.
repeated .google.cloud.channel.v1.Parameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPurchaseOrderId
Optional. Purchase order id provided by the reseller.
string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPurchaseOrderIdin interfaceChangeOfferRequestOrBuilder- Returns:
- The purchaseOrderId.
-
getPurchaseOrderIdBytes
public com.google.protobuf.ByteString getPurchaseOrderIdBytes()Optional. Purchase order id provided by the reseller.
string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPurchaseOrderIdBytesin interfaceChangeOfferRequestOrBuilder- Returns:
- The bytes for purchaseOrderId.
-
setPurchaseOrderId
Optional. Purchase order id provided by the reseller.
string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The purchaseOrderId to set.- Returns:
- This builder for chaining.
-
clearPurchaseOrderId
Optional. Purchase order id provided by the reseller.
string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPurchaseOrderIdBytes
Optional. Purchase order id provided by the reseller.
string purchase_order_id = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for purchaseOrderId to set.- Returns:
- This builder for chaining.
-
getRequestId
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestIdin interfaceChangeOfferRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRequestIdBytesin interfaceChangeOfferRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setRequestIdBytes
Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
string request_id = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getBillingAccount
Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
string billing_account = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBillingAccountin interfaceChangeOfferRequestOrBuilder- Returns:
- The billingAccount.
-
getBillingAccountBytes
public com.google.protobuf.ByteString getBillingAccountBytes()Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
string billing_account = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBillingAccountBytesin interfaceChangeOfferRequestOrBuilder- Returns:
- The bytes for billingAccount.
-
setBillingAccount
Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
string billing_account = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The billingAccount to set.- Returns:
- This builder for chaining.
-
clearBillingAccount
Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
string billing_account = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setBillingAccountBytes
Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
string billing_account = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for billingAccount to set.- Returns:
- This builder for chaining.
-
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 = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPriceReferenceIdin interfaceChangeOfferRequestOrBuilder- Returns:
- The priceReferenceId.
-
getPriceReferenceIdBytes
public com.google.protobuf.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 = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPriceReferenceIdBytesin interfaceChangeOfferRequestOrBuilder- Returns:
- The bytes for priceReferenceId.
-
setPriceReferenceId
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 = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The priceReferenceId to set.- Returns:
- This builder for chaining.
-
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 = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setPriceReferenceIdBytes
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 = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for priceReferenceId to set.- Returns:
- This builder for chaining.
-