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

    Modifier and Type
    Method
    Description
    double
    Usage is priced at this rate only after this amount.
    The price per unit of usage.
    The price per unit of usage.
    boolean
    The price per unit of usage.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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

      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

      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;