Interface ConsumerQuotaLimitOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getAllowsAdminOverrides()
      Whether admin overrides are allowed on this limit
      boolean getIsPrecise()
      Whether this limit is precise or imprecise.
      String getMetric()
      The name of the parent metric of this limit.
      com.google.protobuf.ByteString getMetricBytes()
      The name of the parent metric of this limit.
      String getName()
      The resource name of the quota limit.
      com.google.protobuf.ByteString getNameBytes()
      The resource name of the quota limit.
      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).
      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).
      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).
      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).
      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).
      String getUnit()
      The limit unit.
      com.google.protobuf.ByteString getUnitBytes()
      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 Detail

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