public static final class PricingExpression.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder> implements PricingExpressionOrBuilder
Expresses a mathematical pricing formula. For Example:-
`usage_unit: GBy`
`tiered_rates:`
`[start_usage_amount: 20, unit_price: $10]`
`[start_usage_amount: 100, unit_price: $5]`
The above expresses a pricing formula where the first 20GB is free, the
next 80GB is priced at $10 per GB followed by $5 per GB for additional
usage.
Protobuf type google.cloud.billing.v1.PricingExpression| Modifier and Type | Method and Description |
|---|---|
PricingExpression.Builder |
addAllTieredRates(Iterable<? extends PricingExpression.TierRate> values)
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PricingExpression.Builder |
addTieredRates(int index,
PricingExpression.TierRate.Builder builderForValue)
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
addTieredRates(int index,
PricingExpression.TierRate value)
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
addTieredRates(PricingExpression.TierRate.Builder builderForValue)
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
addTieredRates(PricingExpression.TierRate value)
The list of tiered rates for this pricing.
|
PricingExpression.TierRate.Builder |
addTieredRatesBuilder()
The list of tiered rates for this pricing.
|
PricingExpression.TierRate.Builder |
addTieredRatesBuilder(int index)
The list of tiered rates for this pricing.
|
PricingExpression |
build() |
PricingExpression |
buildPartial() |
PricingExpression.Builder |
clear() |
PricingExpression.Builder |
clearBaseUnit()
The base unit for the SKU which is the unit used in usage exports.
|
PricingExpression.Builder |
clearBaseUnitConversionFactor()
Conversion factor for converting from price per usage_unit to price per
base_unit, and start_usage_amount to start_usage_amount in base_unit.
|
PricingExpression.Builder |
clearBaseUnitDescription()
The base unit in human readable form.
|
PricingExpression.Builder |
clearDisplayQuantity()
The recommended quantity of units for displaying pricing info.
|
PricingExpression.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PricingExpression.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PricingExpression.Builder |
clearTieredRates()
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
clearUsageUnit()
The short hand for unit of usage this pricing is specified in.
|
PricingExpression.Builder |
clearUsageUnitDescription()
The unit of usage in human readable form.
|
PricingExpression.Builder |
clone() |
String |
getBaseUnit()
The base unit for the SKU which is the unit used in usage exports.
|
com.google.protobuf.ByteString |
getBaseUnitBytes()
The base unit for the SKU which is the unit used in usage exports.
|
double |
getBaseUnitConversionFactor()
Conversion factor for converting from price per usage_unit to price per
base_unit, and start_usage_amount to start_usage_amount in base_unit.
|
String |
getBaseUnitDescription()
The base unit in human readable form.
|
com.google.protobuf.ByteString |
getBaseUnitDescriptionBytes()
The base unit in human readable form.
|
PricingExpression |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDisplayQuantity()
The recommended quantity of units for displaying pricing info.
|
PricingExpression.TierRate |
getTieredRates(int index)
The list of tiered rates for this pricing.
|
PricingExpression.TierRate.Builder |
getTieredRatesBuilder(int index)
The list of tiered rates for this pricing.
|
List<PricingExpression.TierRate.Builder> |
getTieredRatesBuilderList()
The list of tiered rates for this pricing.
|
int |
getTieredRatesCount()
The list of tiered rates for this pricing.
|
List<PricingExpression.TierRate> |
getTieredRatesList()
The list of tiered rates for this pricing.
|
PricingExpression.TierRateOrBuilder |
getTieredRatesOrBuilder(int index)
The list of tiered rates for this pricing.
|
List<? extends PricingExpression.TierRateOrBuilder> |
getTieredRatesOrBuilderList()
The list of tiered rates for this pricing.
|
String |
getUsageUnit()
The short hand for unit of usage this pricing is specified in.
|
com.google.protobuf.ByteString |
getUsageUnitBytes()
The short hand for unit of usage this pricing is specified in.
|
String |
getUsageUnitDescription()
The unit of usage in human readable form.
|
com.google.protobuf.ByteString |
getUsageUnitDescriptionBytes()
The unit of usage in human readable form.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PricingExpression.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PricingExpression.Builder |
mergeFrom(com.google.protobuf.Message other) |
PricingExpression.Builder |
mergeFrom(PricingExpression other) |
PricingExpression.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PricingExpression.Builder |
removeTieredRates(int index)
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
setBaseUnit(String value)
The base unit for the SKU which is the unit used in usage exports.
|
PricingExpression.Builder |
setBaseUnitBytes(com.google.protobuf.ByteString value)
The base unit for the SKU which is the unit used in usage exports.
|
PricingExpression.Builder |
setBaseUnitConversionFactor(double value)
Conversion factor for converting from price per usage_unit to price per
base_unit, and start_usage_amount to start_usage_amount in base_unit.
|
PricingExpression.Builder |
setBaseUnitDescription(String value)
The base unit in human readable form.
|
PricingExpression.Builder |
setBaseUnitDescriptionBytes(com.google.protobuf.ByteString value)
The base unit in human readable form.
|
PricingExpression.Builder |
setDisplayQuantity(double value)
The recommended quantity of units for displaying pricing info.
|
PricingExpression.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PricingExpression.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PricingExpression.Builder |
setTieredRates(int index,
PricingExpression.TierRate.Builder builderForValue)
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
setTieredRates(int index,
PricingExpression.TierRate value)
The list of tiered rates for this pricing.
|
PricingExpression.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PricingExpression.Builder |
setUsageUnit(String value)
The short hand for unit of usage this pricing is specified in.
|
PricingExpression.Builder |
setUsageUnitBytes(com.google.protobuf.ByteString value)
The short hand for unit of usage this pricing is specified in.
|
PricingExpression.Builder |
setUsageUnitDescription(String value)
The unit of usage in human readable form.
|
PricingExpression.Builder |
setUsageUnitDescriptionBytes(com.google.protobuf.ByteString value)
The unit of usage in human readable form.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PricingExpression build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PricingExpression buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PricingExpression.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PricingExpression.Builder>public PricingExpression.Builder mergeFrom(PricingExpression other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public PricingExpression.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PricingExpression.Builder>IOExceptionpublic String getUsageUnit()
The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
string usage_unit = 1;getUsageUnit in interface PricingExpressionOrBuilderpublic com.google.protobuf.ByteString getUsageUnitBytes()
The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
string usage_unit = 1;getUsageUnitBytes in interface PricingExpressionOrBuilderpublic PricingExpression.Builder setUsageUnit(String value)
The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
string usage_unit = 1;value - The usageUnit to set.public PricingExpression.Builder clearUsageUnit()
The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
string usage_unit = 1;public PricingExpression.Builder setUsageUnitBytes(com.google.protobuf.ByteString value)
The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte".
string usage_unit = 1;value - The bytes for usageUnit to set.public double getDisplayQuantity()
The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and the display_quantity is "1000" then the recommended way of displaying the pricing info is "0.10 USD per 1000 GB"
double display_quantity = 2;getDisplayQuantity in interface PricingExpressionOrBuilderpublic PricingExpression.Builder setDisplayQuantity(double value)
The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and the display_quantity is "1000" then the recommended way of displaying the pricing info is "0.10 USD per 1000 GB"
double display_quantity = 2;value - The displayQuantity to set.public PricingExpression.Builder clearDisplayQuantity()
The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and the display_quantity is "1000" then the recommended way of displaying the pricing info is "0.10 USD per 1000 GB"
double display_quantity = 2;public List<PricingExpression.TierRate> getTieredRatesList()
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;getTieredRatesList in interface PricingExpressionOrBuilderpublic int getTieredRatesCount()
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;getTieredRatesCount in interface PricingExpressionOrBuilderpublic PricingExpression.TierRate getTieredRates(int index)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;getTieredRates in interface PricingExpressionOrBuilderpublic PricingExpression.Builder setTieredRates(int index, PricingExpression.TierRate value)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder setTieredRates(int index, PricingExpression.TierRate.Builder builderForValue)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder addTieredRates(PricingExpression.TierRate value)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder addTieredRates(int index, PricingExpression.TierRate value)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder addTieredRates(PricingExpression.TierRate.Builder builderForValue)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder addTieredRates(int index, PricingExpression.TierRate.Builder builderForValue)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder addAllTieredRates(Iterable<? extends PricingExpression.TierRate> values)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder clearTieredRates()
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.Builder removeTieredRates(int index)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.TierRate.Builder getTieredRatesBuilder(int index)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.TierRateOrBuilder getTieredRatesOrBuilder(int index)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;getTieredRatesOrBuilder in interface PricingExpressionOrBuilderpublic List<? extends PricingExpression.TierRateOrBuilder> getTieredRatesOrBuilderList()
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;getTieredRatesOrBuilderList in interface PricingExpressionOrBuilderpublic PricingExpression.TierRate.Builder addTieredRatesBuilder()
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public PricingExpression.TierRate.Builder addTieredRatesBuilder(int index)
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public List<PricingExpression.TierRate.Builder> getTieredRatesBuilderList()
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount.
repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;public String getUsageUnitDescription()
The unit of usage in human readable form. Example: "gibi byte".
string usage_unit_description = 4;getUsageUnitDescription in interface PricingExpressionOrBuilderpublic com.google.protobuf.ByteString getUsageUnitDescriptionBytes()
The unit of usage in human readable form. Example: "gibi byte".
string usage_unit_description = 4;getUsageUnitDescriptionBytes in interface PricingExpressionOrBuilderpublic PricingExpression.Builder setUsageUnitDescription(String value)
The unit of usage in human readable form. Example: "gibi byte".
string usage_unit_description = 4;value - The usageUnitDescription to set.public PricingExpression.Builder clearUsageUnitDescription()
The unit of usage in human readable form. Example: "gibi byte".
string usage_unit_description = 4;public PricingExpression.Builder setUsageUnitDescriptionBytes(com.google.protobuf.ByteString value)
The unit of usage in human readable form. Example: "gibi byte".
string usage_unit_description = 4;value - The bytes for usageUnitDescription to set.public String getBaseUnit()
The base unit for the SKU which is the unit used in usage exports. Example: "By"
string base_unit = 5;getBaseUnit in interface PricingExpressionOrBuilderpublic com.google.protobuf.ByteString getBaseUnitBytes()
The base unit for the SKU which is the unit used in usage exports. Example: "By"
string base_unit = 5;getBaseUnitBytes in interface PricingExpressionOrBuilderpublic PricingExpression.Builder setBaseUnit(String value)
The base unit for the SKU which is the unit used in usage exports. Example: "By"
string base_unit = 5;value - The baseUnit to set.public PricingExpression.Builder clearBaseUnit()
The base unit for the SKU which is the unit used in usage exports. Example: "By"
string base_unit = 5;public PricingExpression.Builder setBaseUnitBytes(com.google.protobuf.ByteString value)
The base unit for the SKU which is the unit used in usage exports. Example: "By"
string base_unit = 5;value - The bytes for baseUnit to set.public String getBaseUnitDescription()
The base unit in human readable form. Example: "byte".
string base_unit_description = 6;getBaseUnitDescription in interface PricingExpressionOrBuilderpublic com.google.protobuf.ByteString getBaseUnitDescriptionBytes()
The base unit in human readable form. Example: "byte".
string base_unit_description = 6;getBaseUnitDescriptionBytes in interface PricingExpressionOrBuilderpublic PricingExpression.Builder setBaseUnitDescription(String value)
The base unit in human readable form. Example: "byte".
string base_unit_description = 6;value - The baseUnitDescription to set.public PricingExpression.Builder clearBaseUnitDescription()
The base unit in human readable form. Example: "byte".
string base_unit_description = 6;public PricingExpression.Builder setBaseUnitDescriptionBytes(com.google.protobuf.ByteString value)
The base unit in human readable form. Example: "byte".
string base_unit_description = 6;value - The bytes for baseUnitDescription to set.public double getBaseUnitConversionFactor()
Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price / base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit.
double base_unit_conversion_factor = 7;getBaseUnitConversionFactor in interface PricingExpressionOrBuilderpublic PricingExpression.Builder setBaseUnitConversionFactor(double value)
Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price / base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit.
double base_unit_conversion_factor = 7;value - The baseUnitConversionFactor to set.public PricingExpression.Builder clearBaseUnitConversionFactor()
Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price / base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit.
double base_unit_conversion_factor = 7;public final PricingExpression.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>public final PricingExpression.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PricingExpression.Builder>Copyright © 2025 Google LLC. All rights reserved.