Package com.google.cloud.billing.v1
Interface PricingExpression.TierRateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PricingExpression.TierRate,PricingExpression.TierRate.Builder
- Enclosing class:
- PricingExpression
public static interface PricingExpression.TierRateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetStartUsageAmount()Usage is priced at this rate only after this amount.com.google.type.MoneygetUnitPrice()The price per unit of usage.com.google.type.MoneyOrBuildergetUnitPriceOrBuilder()The price per unit of usage.booleanhasUnitPrice()The price per unit of usage.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStartUsageAmount
double getStartUsageAmount()
Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.
double start_usage_amount = 1;- Returns:
- The startUsageAmount.
-
hasUnitPrice
boolean hasUnitPrice()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;- Returns:
- Whether the unitPrice field is set.
-
getUnitPrice
com.google.type.Money getUnitPrice()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;- Returns:
- The unitPrice.
-
getUnitPriceOrBuilder
com.google.type.MoneyOrBuilder getUnitPriceOrBuilder()
The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.
.google.type.Money unit_price = 2;
-
-