Package com.google.cloud.batch.v1alpha
Interface UsageResourceAllowanceStatus.ConsumptionReportOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UsageResourceAllowanceStatus.ConsumptionReport,UsageResourceAllowanceStatus.ConsumptionReport.Builder
- Enclosing class:
- UsageResourceAllowanceStatus
public static interface UsageResourceAllowanceStatus.ConsumptionReportOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.Deprecated.intOutput only.Output only.getLatestPeriodConsumptionsOrDefault(String key, UsageResourceAllowanceStatus.PeriodConsumption defaultValue) Output only.Output 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
-
getLatestPeriodConsumptionsCount
int getLatestPeriodConsumptionsCount()Output only. ResourceAllowance consumptions in the latest calendar period. Key is the calendar period in string format. Batch currently supports HOUR, DAY, MONTH and YEAR.
map<string, .google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.PeriodConsumption> latest_period_consumptions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
containsLatestPeriodConsumptions
Output only. ResourceAllowance consumptions in the latest calendar period. Key is the calendar period in string format. Batch currently supports HOUR, DAY, MONTH and YEAR.
map<string, .google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.PeriodConsumption> latest_period_consumptions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLatestPeriodConsumptions
@Deprecated Map<String,UsageResourceAllowanceStatus.PeriodConsumption> getLatestPeriodConsumptions()Deprecated.UsegetLatestPeriodConsumptionsMap()instead. -
getLatestPeriodConsumptionsMap
Map<String,UsageResourceAllowanceStatus.PeriodConsumption> getLatestPeriodConsumptionsMap()Output only. ResourceAllowance consumptions in the latest calendar period. Key is the calendar period in string format. Batch currently supports HOUR, DAY, MONTH and YEAR.
map<string, .google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.PeriodConsumption> latest_period_consumptions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLatestPeriodConsumptionsOrDefault
UsageResourceAllowanceStatus.PeriodConsumption getLatestPeriodConsumptionsOrDefault(String key, UsageResourceAllowanceStatus.PeriodConsumption defaultValue) Output only. ResourceAllowance consumptions in the latest calendar period. Key is the calendar period in string format. Batch currently supports HOUR, DAY, MONTH and YEAR.
map<string, .google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.PeriodConsumption> latest_period_consumptions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLatestPeriodConsumptionsOrThrow
Output only. ResourceAllowance consumptions in the latest calendar period. Key is the calendar period in string format. Batch currently supports HOUR, DAY, MONTH and YEAR.
map<string, .google.cloud.batch.v1alpha.UsageResourceAllowanceStatus.PeriodConsumption> latest_period_consumptions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-