public static final class PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder extends GeneratedMessage.Builder<PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder> implements PrivateOffer.SingleProductOffer.PriceModel.FlatFeeOrBuilder
The price configurations for the flat fee subscriptions.
Protobuf type
google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel.FlatFee
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.PriceModel.FlatFee build()
buildPartial()
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee buildPartial()
clear()
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder clear()
Overrides
clearFlatFeeOverride()
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder clearFlatFeeOverride()
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFlatFeeOverride()
public Money getFlatFeeOverride()
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
com.google.type.Money |
The flatFeeOverride.
|
getFlatFeeOverrideBuilder()
public Money.Builder getFlatFeeOverrideBuilder()
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
com.google.type.Money.Builder |
|
getFlatFeeOverrideOrBuilder()
public MoneyOrBuilder getFlatFeeOverrideOrBuilder()
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
com.google.type.MoneyOrBuilder |
|
hasFlatFeeOverride()
public boolean hasFlatFeeOverride()
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the flatFeeOverride field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFlatFeeOverride(Money value)
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder mergeFlatFeeOverride(Money value)
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
com.google.type.Money
|
mergeFrom(PrivateOffer.SingleProductOffer.PriceModel.FlatFee other)
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder mergeFrom(PrivateOffer.SingleProductOffer.PriceModel.FlatFee other)
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setFlatFeeOverride(Money value)
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder setFlatFeeOverride(Money value)
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
com.google.type.Money
|
setFlatFeeOverride(Money.Builder builderForValue)
public PrivateOffer.SingleProductOffer.PriceModel.FlatFee.Builder setFlatFeeOverride(Money.Builder builderForValue)
Optional. Flat fee overriding the default flat fee in the base
standard offer. Value cannot be negative. The currency must be "USD"
and precision is limited to cents. Must be present to publish the
offer, if the parent message is set. The maximum allowed value is
1,000,000,000 USD.
.google.type.Money flat_fee_override = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
builderForValue |
com.google.type.Money.Builder
|