Interface CostProjectionOrBuilder (2.53.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.

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.

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.