Interface QuotaConfigOrBuilder

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

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

    • getPreferredValue

      long getPreferredValue()
       Required. The preferred value. Must be greater than or equal to -1. If set
       to -1, it means the value is "unlimited".
       
      int64 preferred_value = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The preferredValue.
    • getStateDetail

      String getStateDetail()
       Output only. Optional details about the state of this quota preference.
       
      string state_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The stateDetail.
    • getStateDetailBytes

      com.google.protobuf.ByteString getStateDetailBytes()
       Output only. Optional details about the state of this quota preference.
       
      string state_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for stateDetail.
    • hasGrantedValue

      boolean hasGrantedValue()
       Output only. Granted quota value.
       
      .google.protobuf.Int64Value granted_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the grantedValue field is set.
    • getGrantedValue

      com.google.protobuf.Int64Value getGrantedValue()
       Output only. Granted quota value.
       
      .google.protobuf.Int64Value granted_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The grantedValue.
    • getGrantedValueOrBuilder

      com.google.protobuf.Int64ValueOrBuilder getGrantedValueOrBuilder()
       Output only. Granted quota value.
       
      .google.protobuf.Int64Value granted_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTraceId

      String getTraceId()
       Output only. The trace id that the Google Cloud uses to provision the
       requested quota. This trace id may be used by the client to contact Cloud
       support to track the state of a quota preference request. The trace id is
       only produced for increase requests and is unique for each request. The
       quota decrease requests do not have a trace id.
       
      string trace_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The traceId.
    • getTraceIdBytes

      com.google.protobuf.ByteString getTraceIdBytes()
       Output only. The trace id that the Google Cloud uses to provision the
       requested quota. This trace id may be used by the client to contact Cloud
       support to track the state of a quota preference request. The trace id is
       only produced for increase requests and is unique for each request. The
       quota decrease requests do not have a trace id.
       
      string trace_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for traceId.
    • getAnnotationsCount

      int getAnnotationsCount()
       Optional. The annotations map for clients to store small amounts of
       arbitrary data. Do not put PII or other sensitive information here. See
       https://google.aip.dev/128#annotations
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • containsAnnotations

      boolean containsAnnotations(String key)
       Optional. The annotations map for clients to store small amounts of
       arbitrary data. Do not put PII or other sensitive information here. See
       https://google.aip.dev/128#annotations
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. The annotations map for clients to store small amounts of
       arbitrary data. Do not put PII or other sensitive information here. See
       https://google.aip.dev/128#annotations
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. The annotations map for clients to store small amounts of
       arbitrary data. Do not put PII or other sensitive information here. See
       https://google.aip.dev/128#annotations
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       Optional. The annotations map for clients to store small amounts of
       arbitrary data. Do not put PII or other sensitive information here. See
       https://google.aip.dev/128#annotations
       
      map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getRequestOriginValue

      int getRequestOriginValue()
       Output only. The origin of the quota preference request.
       
      .google.api.cloudquotas.v1.QuotaConfig.Origin request_origin = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for requestOrigin.
    • getRequestOrigin

      QuotaConfig.Origin getRequestOrigin()
       Output only. The origin of the quota preference request.
       
      .google.api.cloudquotas.v1.QuotaConfig.Origin request_origin = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The requestOrigin.