Package com.google.cloud.batch.v1alpha
Interface UsageResourceAllowanceStatus.PeriodConsumptionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UsageResourceAllowanceStatus.PeriodConsumption,UsageResourceAllowanceStatus.PeriodConsumption.Builder
- Enclosing class:
- UsageResourceAllowanceStatus
public static interface UsageResourceAllowanceStatus.PeriodConsumptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleOutput only.Output only.Output only.booleanOutput only.booleanOutput only.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
-
hasConsumptionInterval
boolean hasConsumptionInterval()Output only. The consumption interval.
.google.type.Interval consumption_interval = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the consumptionInterval field is set.
-
getConsumptionInterval
Interval getConsumptionInterval()Output only. The consumption interval.
.google.type.Interval consumption_interval = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The consumptionInterval.
-
getConsumptionIntervalOrBuilder
IntervalOrBuilder getConsumptionIntervalOrBuilder()Output only. The consumption interval.
.google.type.Interval consumption_interval = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasConsumed
boolean hasConsumed()Output only. Accumulated consumption during `consumption_interval`.
optional double consumed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the consumed field is set.
-
getConsumed
double getConsumed()Output only. Accumulated consumption during `consumption_interval`.
optional double consumed = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The consumed.
-