Package com.google.cloud.batch.v1alpha
Interface UsageResourceAllowanceStatus.LimitStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UsageResourceAllowanceStatus.LimitStatus,UsageResourceAllowanceStatus.LimitStatus.Builder
- Enclosing class:
- UsageResourceAllowanceStatus
public static interface UsageResourceAllowanceStatus.LimitStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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]; -
hasLimit
boolean hasLimit()Output only. Limit value of a UsageResourceAllowance within its one duration.
optional double limit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the limit field is set.
-
getLimit
double getLimit()Output only. Limit value of a UsageResourceAllowance within its one duration.
optional double limit = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The limit.
-
hasConsumed
boolean hasConsumed()Output only. Accumulated consumption during `consumption_interval`.
optional double consumed = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The consumed.
-