public static final class PrivateOffer.SingleProductOffer.ContractValue.Builder extends GeneratedMessage.Builder<PrivateOffer.SingleProductOffer.ContractValue.Builder> implements PrivateOffer.SingleProductOffer.ContractValueOrBuilder
The contract value of the offer.
Protobuf type
google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.ContractValue
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public PrivateOffer.SingleProductOffer.ContractValue build()
buildPartial()
public PrivateOffer.SingleProductOffer.ContractValue buildPartial()
clear()
public PrivateOffer.SingleProductOffer.ContractValue.Builder clear()
Overrides
clearTotalContractValue()
public PrivateOffer.SingleProductOffer.ContractValue.Builder clearTotalContractValue()
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public PrivateOffer.SingleProductOffer.ContractValue getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTotalContractValue()
public Money getTotalContractValue()
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.type.Money |
The totalContractValue.
|
getTotalContractValueBuilder()
public Money.Builder getTotalContractValueBuilder()
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.type.Money.Builder |
|
getTotalContractValueOrBuilder()
public MoneyOrBuilder getTotalContractValueOrBuilder()
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
hasTotalContractValue()
public boolean hasTotalContractValue()
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the totalContractValue field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivateOffer.SingleProductOffer.ContractValue other)
public PrivateOffer.SingleProductOffer.ContractValue.Builder mergeFrom(PrivateOffer.SingleProductOffer.ContractValue other)
public PrivateOffer.SingleProductOffer.ContractValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivateOffer.SingleProductOffer.ContractValue.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeTotalContractValue(Money value)
public PrivateOffer.SingleProductOffer.ContractValue.Builder mergeTotalContractValue(Money value)
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
value |
com.google.type.Money
|
setTotalContractValue(Money value)
public PrivateOffer.SingleProductOffer.ContractValue.Builder setTotalContractValue(Money value)
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
value |
com.google.type.Money
|
setTotalContractValue(Money.Builder builderForValue)
public PrivateOffer.SingleProductOffer.ContractValue.Builder setTotalContractValue(Money.Builder builderForValue)
Output only. The total contract value of the offer.
This will be set for all non-draft private offers, as long as
'PRIVATE_OFFER_VIEW_FULL' is requested. For DRAFT private offers,
this will be populated only when the end user's billing account is
set and when the pricing and term configuration is sufficiently
complete to allow for a calculation.
.google.type.Money total_contract_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
builderForValue |
com.google.type.Money.Builder
|