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 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

      boolean containsLatestPeriodConsumptions(String key)
       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.
    • 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

       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

      UsageResourceAllowanceStatus.PeriodConsumption getLatestPeriodConsumptionsOrThrow(String key)
       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];