Interface PricingExpression.TierRateOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getStartUsageAmount()
      Usage is priced at this rate only after this amount.
      com.google.type.Money getUnitPrice()
      The price per unit of usage.
      com.google.type.MoneyOrBuilder getUnitPriceOrBuilder()
      The price per unit of usage.
      boolean hasUnitPrice()
      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 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;