Interface ConsumerQuotaMetricOrBuilder

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

    public interface ConsumerQuotaMetricOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The resource name of the quota settings on this metric for this consumer.
        
         An example name would be:
         `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus`
        
         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 settings on this metric for this consumer.
        
         An example name would be:
         `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus`
        
         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 metric.
        
         An example name would be:
         `compute.googleapis.com/cpus`
         
        string metric = 4;
        Returns:
        The metric.
      • getMetricBytes

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

        String getDisplayName()
         The display name of the metric.
        
         An example name would be:
         `CPUs`
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         The display name of the metric.
        
         An example name would be:
         `CPUs`
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • getConsumerQuotaLimitsList

        List<ConsumerQuotaLimit> getConsumerQuotaLimitsList()
         The consumer quota for each quota limit defined on the metric.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
      • getConsumerQuotaLimits

        ConsumerQuotaLimit getConsumerQuotaLimits​(int index)
         The consumer quota for each quota limit defined on the metric.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
      • getConsumerQuotaLimitsCount

        int getConsumerQuotaLimitsCount()
         The consumer quota for each quota limit defined on the metric.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
      • getConsumerQuotaLimitsOrBuilderList

        List<? extends ConsumerQuotaLimitOrBuilder> getConsumerQuotaLimitsOrBuilderList()
         The consumer quota for each quota limit defined on the metric.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
      • getConsumerQuotaLimitsOrBuilder

        ConsumerQuotaLimitOrBuilder getConsumerQuotaLimitsOrBuilder​(int index)
         The consumer quota for each quota limit defined on the metric.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
      • getDescendantConsumerQuotaLimitsList

        List<ConsumerQuotaLimit> getDescendantConsumerQuotaLimitsList()
         The quota limits targeting the descendant containers of the
         consumer in request.
        
         If the consumer in request is of type `organizations`
         or `folders`, the field will list per-project limits in the metric; if the
         consumer in request is of type `project`, the field will be empty.
        
         The `quota_buckets` field of each descendant consumer quota limit will not
         be populated.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
      • getDescendantConsumerQuotaLimits

        ConsumerQuotaLimit getDescendantConsumerQuotaLimits​(int index)
         The quota limits targeting the descendant containers of the
         consumer in request.
        
         If the consumer in request is of type `organizations`
         or `folders`, the field will list per-project limits in the metric; if the
         consumer in request is of type `project`, the field will be empty.
        
         The `quota_buckets` field of each descendant consumer quota limit will not
         be populated.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
      • getDescendantConsumerQuotaLimitsCount

        int getDescendantConsumerQuotaLimitsCount()
         The quota limits targeting the descendant containers of the
         consumer in request.
        
         If the consumer in request is of type `organizations`
         or `folders`, the field will list per-project limits in the metric; if the
         consumer in request is of type `project`, the field will be empty.
        
         The `quota_buckets` field of each descendant consumer quota limit will not
         be populated.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
      • getDescendantConsumerQuotaLimitsOrBuilderList

        List<? extends ConsumerQuotaLimitOrBuilder> getDescendantConsumerQuotaLimitsOrBuilderList()
         The quota limits targeting the descendant containers of the
         consumer in request.
        
         If the consumer in request is of type `organizations`
         or `folders`, the field will list per-project limits in the metric; if the
         consumer in request is of type `project`, the field will be empty.
        
         The `quota_buckets` field of each descendant consumer quota limit will not
         be populated.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
      • getDescendantConsumerQuotaLimitsOrBuilder

        ConsumerQuotaLimitOrBuilder getDescendantConsumerQuotaLimitsOrBuilder​(int index)
         The quota limits targeting the descendant containers of the
         consumer in request.
        
         If the consumer in request is of type `organizations`
         or `folders`, the field will list per-project limits in the metric; if the
         consumer in request is of type `project`, the field will be empty.
        
         The `quota_buckets` field of each descendant consumer quota limit will not
         be populated.
         
        repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
      • getUnit

        String getUnit()
         The units in which the metric value is reported.
         
        string unit = 5;
        Returns:
        The unit.
      • getUnitBytes

        com.google.protobuf.ByteString getUnitBytes()
         The units in which the metric value is reported.
         
        string unit = 5;
        Returns:
        The bytes for unit.