Package com.google.api.cloudquotas.v1
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 Summary
Modifier and TypeMethodDescriptionThe container type of the QuotaInfo.intThe container type of the QuotaInfo.getDimensions(int index) The dimensions the quota is defined on.com.google.protobuf.ByteStringgetDimensionsBytes(int index) The dimensions the quota is defined on.intThe dimensions the quota is defined on.getDimensionsInfos(int index) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.intThe collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.getDimensionsInfosOrBuilder(int index) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.List<? extends DimensionsInfoOrBuilder>The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.The dimensions the quota is defined on.booleanWhether the quota is a concurrent quota.booleanWhether the quota value is fixed or adjustablebooleanWhether this is a precise quota.The metric of the quota.com.google.protobuf.ByteStringThe metric of the quota.The display name of the quota metriccom.google.protobuf.ByteStringThe display name of the quota metricThe unit in which the metric value is reported, e.g., "MByte".com.google.protobuf.ByteStringThe unit in which the metric value is reported, e.g., "MByte".getName()Resource name of this QuotaInfo.com.google.protobuf.ByteStringResource name of this QuotaInfo.The display name of the quota.com.google.protobuf.ByteStringThe display name of the quota.The id of the quota, which is unique within the service.com.google.protobuf.ByteStringThe id of the quota, which is unique within the service.Whether it is eligible to request a higher quota value for this quota.Whether it is eligible to request a higher quota value for this quota.The reset time interval for the quota.com.google.protobuf.ByteStringThe reset time interval for the quota.The name of the service in which the quota is defined.com.google.protobuf.ByteStringThe name of the service in which the quota is defined.URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.com.google.protobuf.ByteStringURI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.booleanWhether it is eligible to request a higher quota value for this quota.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
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
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.
-