public static final class StandardOffer.PriceModel.Builder extends GeneratedMessage.Builder<StandardOffer.PriceModel.Builder> implements StandardOffer.PriceModelOrBuilder
Price model of the offer.
Protobuf type google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel
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 StandardOffer.PriceModel build()
buildPartial()
public StandardOffer.PriceModel buildPartial()
clear()
public StandardOffer.PriceModel.Builder clear()
Overrides
clearFlatFee()
public StandardOffer.PriceModel.Builder clearFlatFee()
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearSubscription()
public StandardOffer.PriceModel.Builder clearSubscription()
clearUsage()
public StandardOffer.PriceModel.Builder clearUsage()
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public StandardOffer.PriceModel getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFlatFee()
public StandardOffer.PriceModel.FlatFeeSubscription getFlatFee()
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFlatFeeBuilder()
public StandardOffer.PriceModel.FlatFeeSubscription.Builder getFlatFeeBuilder()
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFlatFeeOrBuilder()
public StandardOffer.PriceModel.FlatFeeSubscriptionOrBuilder getFlatFeeOrBuilder()
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSubscriptionCase()
public StandardOffer.PriceModel.SubscriptionCase getSubscriptionCase()
getUsage()
public StandardOffer.PriceModel.Usage getUsage()
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUsageBuilder()
public StandardOffer.PriceModel.Usage.Builder getUsageBuilder()
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUsageOrBuilder()
public StandardOffer.PriceModel.UsageOrBuilder getUsageOrBuilder()
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasFlatFee()
public boolean hasFlatFee()
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the flatFee field is set.
|
hasUsage()
public boolean hasUsage()
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the usage field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFlatFee(StandardOffer.PriceModel.FlatFeeSubscription value)
public StandardOffer.PriceModel.Builder mergeFlatFee(StandardOffer.PriceModel.FlatFeeSubscription value)
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(StandardOffer.PriceModel other)
public StandardOffer.PriceModel.Builder mergeFrom(StandardOffer.PriceModel other)
public StandardOffer.PriceModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StandardOffer.PriceModel.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUsage(StandardOffer.PriceModel.Usage value)
public StandardOffer.PriceModel.Builder mergeUsage(StandardOffer.PriceModel.Usage value)
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setFlatFee(StandardOffer.PriceModel.FlatFeeSubscription value)
public StandardOffer.PriceModel.Builder setFlatFee(StandardOffer.PriceModel.FlatFeeSubscription value)
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setFlatFee(StandardOffer.PriceModel.FlatFeeSubscription.Builder builderForValue)
public StandardOffer.PriceModel.Builder setFlatFee(StandardOffer.PriceModel.FlatFeeSubscription.Builder builderForValue)
Output only. Price configurations for the flat fee subscription.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription flat_fee = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUsage(StandardOffer.PriceModel.Usage value)
public StandardOffer.PriceModel.Builder setUsage(StandardOffer.PriceModel.Usage value)
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUsage(StandardOffer.PriceModel.Usage.Builder builderForValue)
public StandardOffer.PriceModel.Builder setUsage(StandardOffer.PriceModel.Usage.Builder builderForValue)
Output only. Price configurations for the usage part.
.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage usage = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];