Interface QuotaInfoOrBuilder

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

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

    • getName

      String getName()
       Resource name of this QuotaInfo.
       The ID component following "locations/" must be "global".
       Example:
       `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Resource name of this QuotaInfo.
       The ID component following "locations/" must be "global".
       Example:
       `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
       
      string name = 1;
      Returns:
      The bytes for name.
    • getQuotaId

      String getQuotaId()
       The id of the quota, which is unique within the service.
       Example: `CpusPerProjectPerRegion`
       
      string quota_id = 2;
      Returns:
      The quotaId.
    • getQuotaIdBytes

      com.google.protobuf.ByteString getQuotaIdBytes()
       The id of the quota, which is unique within the service.
       Example: `CpusPerProjectPerRegion`
       
      string quota_id = 2;
      Returns:
      The bytes for quotaId.
    • getMetric

      String getMetric()
       The metric of the quota. It specifies the resources consumption the quota
       is defined for.
       Example: `compute.googleapis.com/cpus`
       
      string metric = 3;
      Returns:
      The metric.
    • getMetricBytes

      com.google.protobuf.ByteString getMetricBytes()
       The metric of the quota. It specifies the resources consumption the quota
       is defined for.
       Example: `compute.googleapis.com/cpus`
       
      string metric = 3;
      Returns:
      The bytes for metric.
    • getService

      String getService()
       The name of the service in which the quota is defined.
       Example: `compute.googleapis.com`
       
      string service = 4;
      Returns:
      The service.
    • getServiceBytes

      com.google.protobuf.ByteString getServiceBytes()
       The name of the service in which the quota is defined.
       Example: `compute.googleapis.com`
       
      string service = 4;
      Returns:
      The bytes for service.
    • getIsPrecise

      boolean getIsPrecise()
       Whether this is a precise quota. A precise quota is tracked with absolute
       precision. In contrast, an imprecise quota is not tracked with precision.
       
      bool is_precise = 5;
      Returns:
      The isPrecise.
    • getRefreshInterval

      String getRefreshInterval()
       The reset time interval for the quota. Refresh interval applies to rate
       quota only.
       Example: "minute" for per minute, "day" for per day, or "10 seconds" for
       every 10 seconds.
       
      string refresh_interval = 6;
      Returns:
      The refreshInterval.
    • getRefreshIntervalBytes

      com.google.protobuf.ByteString getRefreshIntervalBytes()
       The reset time interval for the quota. Refresh interval applies to rate
       quota only.
       Example: "minute" for per minute, "day" for per day, or "10 seconds" for
       every 10 seconds.
       
      string refresh_interval = 6;
      Returns:
      The bytes for refreshInterval.
    • getContainerTypeValue

      int getContainerTypeValue()
       The container type of the QuotaInfo.
       
      .google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;
      Returns:
      The enum numeric value on the wire for containerType.
    • getContainerType

      QuotaInfo.ContainerType getContainerType()
       The container type of the QuotaInfo.
       
      .google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;
      Returns:
      The containerType.
    • getDimensionsList

      List<String> getDimensionsList()
       The dimensions the quota is defined on.
       
      repeated string dimensions = 8;
      Returns:
      A list containing the dimensions.
    • getDimensionsCount

      int getDimensionsCount()
       The dimensions the quota is defined on.
       
      repeated string dimensions = 8;
      Returns:
      The count of dimensions.
    • getDimensions

      String getDimensions(int index)
       The dimensions the quota is defined on.
       
      repeated string dimensions = 8;
      Parameters:
      index - The index of the element to return.
      Returns:
      The dimensions at the given index.
    • getDimensionsBytes

      com.google.protobuf.ByteString getDimensionsBytes(int index)
       The dimensions the quota is defined on.
       
      repeated string dimensions = 8;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dimensions at the given index.
    • getMetricDisplayName

      String getMetricDisplayName()
       The display name of the quota metric
       
      string metric_display_name = 9;
      Returns:
      The metricDisplayName.
    • getMetricDisplayNameBytes

      com.google.protobuf.ByteString getMetricDisplayNameBytes()
       The display name of the quota metric
       
      string metric_display_name = 9;
      Returns:
      The bytes for metricDisplayName.
    • getQuotaDisplayName

      String getQuotaDisplayName()
       The display name of the quota.
       
      string quota_display_name = 10;
      Returns:
      The quotaDisplayName.
    • getQuotaDisplayNameBytes

      com.google.protobuf.ByteString getQuotaDisplayNameBytes()
       The display name of the quota.
       
      string quota_display_name = 10;
      Returns:
      The bytes for quotaDisplayName.
    • getMetricUnit

      String getMetricUnit()
       The unit in which the metric value is reported, e.g., "MByte".
       
      string metric_unit = 11;
      Returns:
      The metricUnit.
    • getMetricUnitBytes

      com.google.protobuf.ByteString getMetricUnitBytes()
       The unit in which the metric value is reported, e.g., "MByte".
       
      string metric_unit = 11;
      Returns:
      The bytes for metricUnit.
    • hasQuotaIncreaseEligibility

      boolean hasQuotaIncreaseEligibility()
       Whether it is eligible to request a higher quota value for this quota.
       
      .google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;
      Returns:
      Whether the quotaIncreaseEligibility field is set.
    • getQuotaIncreaseEligibility

      QuotaIncreaseEligibility getQuotaIncreaseEligibility()
       Whether it is eligible to request a higher quota value for this quota.
       
      .google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;
      Returns:
      The quotaIncreaseEligibility.
    • getQuotaIncreaseEligibilityOrBuilder

      QuotaIncreaseEligibilityOrBuilder getQuotaIncreaseEligibilityOrBuilder()
       Whether it is eligible to request a higher quota value for this quota.
       
      .google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;
    • getIsFixed

      boolean getIsFixed()
       Whether the quota value is fixed or adjustable
       
      bool is_fixed = 13;
      Returns:
      The isFixed.
    • getDimensionsInfosList

      List<DimensionsInfo> getDimensionsInfosList()
       The collection of dimensions info ordered by their dimensions from more
       specific ones to less specific ones.
       
      repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;
    • getDimensionsInfos

      DimensionsInfo getDimensionsInfos(int index)
       The collection of dimensions info ordered by their dimensions from more
       specific ones to less specific ones.
       
      repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;
    • getDimensionsInfosCount

      int getDimensionsInfosCount()
       The collection of dimensions info ordered by their dimensions from more
       specific ones to less specific ones.
       
      repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;
    • getDimensionsInfosOrBuilderList

      List<? extends DimensionsInfoOrBuilder> getDimensionsInfosOrBuilderList()
       The collection of dimensions info ordered by their dimensions from more
       specific ones to less specific ones.
       
      repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;
    • getDimensionsInfosOrBuilder

      DimensionsInfoOrBuilder getDimensionsInfosOrBuilder(int index)
       The collection of dimensions info ordered by their dimensions from more
       specific ones to less specific ones.
       
      repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;
    • getIsConcurrent

      boolean getIsConcurrent()
       Whether the quota is a concurrent quota. Concurrent quotas are enforced
       on the total number of concurrent operations in flight at any given time.
       
      bool is_concurrent = 15;
      Returns:
      The isConcurrent.
    • getServiceRequestQuotaUri

      String getServiceRequestQuotaUri()
       URI to the page where users can request more quota for the cloud
       service—for example,
       https://console.cloud.google.com/iam-admin/quotas.
       
      string service_request_quota_uri = 17;
      Returns:
      The serviceRequestQuotaUri.
    • getServiceRequestQuotaUriBytes

      com.google.protobuf.ByteString getServiceRequestQuotaUriBytes()
       URI to the page where users can request more quota for the cloud
       service—for example,
       https://console.cloud.google.com/iam-admin/quotas.
       
      string service_request_quota_uri = 17;
      Returns:
      The bytes for serviceRequestQuotaUri.