Interface CostProjectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CostProjection,CostProjection.Builder
@Generated
public interface CostProjectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCost()An approximate projection on amount saved or amount incurred.An approximate projection on amount saved or amount incurred.com.google.protobuf.DurationDuration for which this cost applies.com.google.protobuf.DurationOrBuilderDuration for which this cost applies.booleanhasCost()An approximate projection on amount saved or amount incurred.booleanDuration for which this cost applies.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCost
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:
- Whether the cost field is set.
-
getCost
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:
- The cost.
-
getCostOrBuilder
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; -
hasDuration
boolean hasDuration()Duration for which this cost applies.
.google.protobuf.Duration duration = 2;- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()Duration for which this cost applies.
.google.protobuf.Duration duration = 2;- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Duration for which this cost applies.
.google.protobuf.Duration duration = 2;
-