public interface PricingExpressionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
double |
getDisplayQuantity()
The recommended quantity of units for displaying pricing info.
|
PricingExpression.TierRate |
getTieredRates(int index)
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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;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;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;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;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;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;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;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;String getUsageUnitDescription()
The unit of usage in human readable form. Example: "gibi byte".
string usage_unit_description = 4;com.google.protobuf.ByteString getUsageUnitDescriptionBytes()
The unit of usage in human readable form. Example: "gibi byte".
string usage_unit_description = 4;String getBaseUnit()
The base unit for the SKU which is the unit used in usage exports. Example: "By"
string base_unit = 5;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;String getBaseUnitDescription()
The base unit in human readable form. Example: "byte".
string base_unit_description = 6;com.google.protobuf.ByteString getBaseUnitDescriptionBytes()
The base unit in human readable form. Example: "byte".
string base_unit_description = 6;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;Copyright © 2025 Google LLC. All rights reserved.