Interface ConsumerQuotaLimitOrBuilder

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

@Generated public interface ConsumerQuotaLimitOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether admin overrides are allowed on this limit
    boolean
    Whether this limit is precise or imprecise.
    The name of the parent metric of this limit.
    com.google.protobuf.ByteString
    The name of the parent metric of this limit.
    The resource name of the quota limit.
    com.google.protobuf.ByteString
    The resource name of the quota limit.
    getQuotaBuckets(int index)
    Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
    int
    Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
    Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
    Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
    Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
    List of all supported locations.
    com.google.protobuf.ByteString
    List of all supported locations.
    int
    List of all supported locations.
    List of all supported locations.
    The limit unit.
    com.google.protobuf.ByteString
    The limit unit.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The resource name of the quota limit.
      
       An example name would be:
       `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
      
       The resource name is intended to be opaque and should not be parsed for
       its component strings, since its representation could change in the future.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The resource name of the quota limit.
      
       An example name would be:
       `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
      
       The resource name is intended to be opaque and should not be parsed for
       its component strings, since its representation could change in the future.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getMetric

      String getMetric()
       The name of the parent metric of this limit.
      
       An example name would be:
       `compute.googleapis.com/cpus`
       
      string metric = 8;
      Returns:
      The metric.
    • getMetricBytes

      com.google.protobuf.ByteString getMetricBytes()
       The name of the parent metric of this limit.
      
       An example name would be:
       `compute.googleapis.com/cpus`
       
      string metric = 8;
      Returns:
      The bytes for metric.
    • getUnit

      String getUnit()
       The limit unit.
      
       An example unit would be
       `1/{project}/{region}`
       Note that `{project}` and `{region}` are not placeholders in this example;
       the literal characters `{` and `}` occur in the string.
       
      string unit = 2;
      Returns:
      The unit.
    • getUnitBytes

      com.google.protobuf.ByteString getUnitBytes()
       The limit unit.
      
       An example unit would be
       `1/{project}/{region}`
       Note that `{project}` and `{region}` are not placeholders in this example;
       the literal characters `{` and `}` occur in the string.
       
      string unit = 2;
      Returns:
      The bytes for unit.
    • getIsPrecise

      boolean getIsPrecise()
       Whether this limit is precise or imprecise.
       
      bool is_precise = 3;
      Returns:
      The isPrecise.
    • getAllowsAdminOverrides

      boolean getAllowsAdminOverrides()
       Whether admin overrides are allowed on this limit
       
      bool allows_admin_overrides = 7;
      Returns:
      The allowsAdminOverrides.
    • getQuotaBucketsList

      List<QuotaBucket> getQuotaBucketsList()
       Summary of the enforced quota buckets, organized by quota dimension,
       ordered from least specific to most specific (for example, the global
       default bucket, with no quota dimensions, will always appear first).
       
      repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
    • getQuotaBuckets

      QuotaBucket getQuotaBuckets(int index)
       Summary of the enforced quota buckets, organized by quota dimension,
       ordered from least specific to most specific (for example, the global
       default bucket, with no quota dimensions, will always appear first).
       
      repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
    • getQuotaBucketsCount

      int getQuotaBucketsCount()
       Summary of the enforced quota buckets, organized by quota dimension,
       ordered from least specific to most specific (for example, the global
       default bucket, with no quota dimensions, will always appear first).
       
      repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
    • getQuotaBucketsOrBuilderList

      List<? extends QuotaBucketOrBuilder> getQuotaBucketsOrBuilderList()
       Summary of the enforced quota buckets, organized by quota dimension,
       ordered from least specific to most specific (for example, the global
       default bucket, with no quota dimensions, will always appear first).
       
      repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
    • getQuotaBucketsOrBuilder

      QuotaBucketOrBuilder getQuotaBucketsOrBuilder(int index)
       Summary of the enforced quota buckets, organized by quota dimension,
       ordered from least specific to most specific (for example, the global
       default bucket, with no quota dimensions, will always appear first).
       
      repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
    • getSupportedLocationsList

      List<String> getSupportedLocationsList()
       List of all supported locations.
       This field is present only if the limit has a {region} or {zone} dimension.
       
      repeated string supported_locations = 11;
      Returns:
      A list containing the supportedLocations.
    • getSupportedLocationsCount

      int getSupportedLocationsCount()
       List of all supported locations.
       This field is present only if the limit has a {region} or {zone} dimension.
       
      repeated string supported_locations = 11;
      Returns:
      The count of supportedLocations.
    • getSupportedLocations

      String getSupportedLocations(int index)
       List of all supported locations.
       This field is present only if the limit has a {region} or {zone} dimension.
       
      repeated string supported_locations = 11;
      Parameters:
      index - The index of the element to return.
      Returns:
      The supportedLocations at the given index.
    • getSupportedLocationsBytes

      com.google.protobuf.ByteString getSupportedLocationsBytes(int index)
       List of all supported locations.
       This field is present only if the limit has a {region} or {zone} dimension.
       
      repeated string supported_locations = 11;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the supportedLocations at the given index.