Interface ResourceAllowanceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ResourceAllowance, ResourceAllowance.Builder

@Generated public interface ResourceAllowanceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasUsageResourceAllowance

      boolean hasUsageResourceAllowance()
       The detail of usage resource allowance.
       
      .google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;
      Returns:
      Whether the usageResourceAllowance field is set.
    • getUsageResourceAllowance

      UsageResourceAllowance getUsageResourceAllowance()
       The detail of usage resource allowance.
       
      .google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;
      Returns:
      The usageResourceAllowance.
    • getUsageResourceAllowanceOrBuilder

      UsageResourceAllowanceOrBuilder getUsageResourceAllowanceOrBuilder()
       The detail of usage resource allowance.
       
      .google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;
    • getName

      String getName()
       Identifier. ResourceAllowance name.
       For example:
       "projects/123456/locations/us-central1/resourceAllowances/resource-allowance-1".
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. ResourceAllowance name.
       For example:
       "projects/123456/locations/us-central1/resourceAllowances/resource-allowance-1".
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getUid

      String getUid()
       Output only. A system generated unique ID (in UUID4 format) for the
       ResourceAllowance.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. A system generated unique ID (in UUID4 format) for the
       ResourceAllowance.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      The bytes for uid.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Time when the ResourceAllowance was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the ResourceAllowance was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the ResourceAllowance was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      int getLabelsCount()
       Optional. Labels are attributes that can be set and used by both the
       user and by Batch. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Labels are attributes that can be set and used by both the
       user and by Batch. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels are attributes that can be set and used by both the
       user and by Batch. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels are attributes that can be set and used by both the
       user and by Batch. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Labels are attributes that can be set and used by both the
       user and by Batch. Labels must meet the following constraints:
      
       * Keys and values can contain only lowercase letters, numeric characters,
       underscores, and dashes.
       * All characters must use UTF-8 encoding, and international characters are
       allowed.
       * Keys must start with a lowercase letter or international character.
       * Each resource is limited to a maximum of 64 labels.
      
       Both keys and values are additionally constrained to be <= 128 bytes.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getNotificationsList

      List<Notification> getNotificationsList()
       Optional. Notification configurations.
       
      repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getNotifications

      Notification getNotifications(int index)
       Optional. Notification configurations.
       
      repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getNotificationsCount

      int getNotificationsCount()
       Optional. Notification configurations.
       
      repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getNotificationsOrBuilderList

      List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()
       Optional. Notification configurations.
       
      repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getNotificationsOrBuilder

      NotificationOrBuilder getNotificationsOrBuilder(int index)
       Optional. Notification configurations.
       
      repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getResourceAllowanceCase

      ResourceAllowance.ResourceAllowanceCase getResourceAllowanceCase()