Interface CostProjectionOrBuilder (2.49.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
Type Description
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
Type Description
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
Type Description
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
Type Description
com.google.type.MoneyOrBuilder

getDuration()

public abstract Duration getDuration()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the costInLocalCurrency field is set.

hasDuration()

public abstract boolean hasDuration()

Duration for which this cost applies.

.google.protobuf.Duration duration = 2;

Returns
Type Description
boolean

Whether the duration field is set.