Interface CostProjectionOrBuilder (2.35.0)

public interface CostProjectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCost()

public abstract Money getCost()

An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

.google.type.Money cost = 1;

Returns
TypeDescription
com.google.type.Money

The cost.

getCostInLocalCurrency()

public abstract Money getCostInLocalCurrency()

The approximate cost savings in the billing account's local currency.

.google.type.Money cost_in_local_currency = 3;

Returns
TypeDescription
com.google.type.Money

The costInLocalCurrency.

getCostInLocalCurrencyOrBuilder()

public abstract MoneyOrBuilder getCostInLocalCurrencyOrBuilder()

The approximate cost savings in the billing account's local currency.

.google.type.Money cost_in_local_currency = 3;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

getCostOrBuilder()

public abstract MoneyOrBuilder getCostOrBuilder()

An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

.google.type.Money cost = 1;

Returns
TypeDescription
com.google.type.MoneyOrBuilder

getDuration()

public abstract Duration getDuration()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
DurationOrBuilder

hasCost()

public abstract boolean hasCost()

An approximate projection on amount saved or amount incurred. Negative cost units indicate cost savings and positive cost units indicate increase. See google.type.Money documentation for positive/negative units.

A user's permissions may affect whether the cost is computed using list prices or custom contract prices.

.google.type.Money cost = 1;

Returns
TypeDescription
boolean

Whether the cost field is set.

hasCostInLocalCurrency()

public abstract boolean hasCostInLocalCurrency()

The approximate cost savings in the billing account's local currency.

.google.type.Money cost_in_local_currency = 3;

Returns
TypeDescription
boolean

Whether the costInLocalCurrency field is set.

hasDuration()

public abstract boolean hasDuration()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
TypeDescription
boolean

Whether the duration field is set.