Interface PricingExpression.TierRateOrBuilder (2.36.0)

public static interface PricingExpression.TierRateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getStartUsageAmount()

public abstract 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
TypeDescription
double

The startUsageAmount.

getUnitPrice()

public abstract 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
TypeDescription
com.google.type.Money

The unitPrice.

getUnitPriceOrBuilder()

public abstract 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;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

hasUnitPrice()

public abstract 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
TypeDescription
boolean

Whether the unitPrice field is set.