public final class QuotaInfo extends com.google.protobuf.GeneratedMessageV3 implements QuotaInfoOrBuilder
QuotaInfo represents information about a particular quota for a given project, folder or organization.Protobuf type
google.api.cloudquotas.v1beta.QuotaInfo| Modifier and Type | Class and Description |
|---|---|
static class |
QuotaInfo.Builder
QuotaInfo represents information about a particular quota for a given
project, folder or organization.
|
static class |
QuotaInfo.ContainerType
The enumeration of the types of a cloud resource container.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTAINER_TYPE_FIELD_NUMBER |
static int |
DIMENSIONS_FIELD_NUMBER |
static int |
DIMENSIONS_INFOS_FIELD_NUMBER |
static int |
IS_CONCURRENT_FIELD_NUMBER |
static int |
IS_FIXED_FIELD_NUMBER |
static int |
IS_PRECISE_FIELD_NUMBER |
static int |
METRIC_DISPLAY_NAME_FIELD_NUMBER |
static int |
METRIC_FIELD_NUMBER |
static int |
METRIC_UNIT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
QUOTA_DISPLAY_NAME_FIELD_NUMBER |
static int |
QUOTA_ID_FIELD_NUMBER |
static int |
QUOTA_INCREASE_ELIGIBILITY_FIELD_NUMBER |
static int |
REFRESH_INTERVAL_FIELD_NUMBER |
static int |
SERVICE_FIELD_NUMBER |
static int |
SERVICE_REQUEST_QUOTA_URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
QuotaInfo.ContainerType |
getContainerType()
The container type of the QuotaInfo.
|
int |
getContainerTypeValue()
The container type of the QuotaInfo.
|
static QuotaInfo |
getDefaultInstance() |
QuotaInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDimensions(int index)
The dimensions the quota is defined on.
|
com.google.protobuf.ByteString |
getDimensionsBytes(int index)
The dimensions the quota is defined on.
|
int |
getDimensionsCount()
The dimensions the quota is defined on.
|
DimensionsInfo |
getDimensionsInfos(int index)
The collection of dimensions info ordered by their dimensions from more
specific ones to less specific ones.
|
int |
getDimensionsInfosCount()
The collection of dimensions info ordered by their dimensions from more
specific ones to less specific ones.
|
List<DimensionsInfo> |
getDimensionsInfosList()
The collection of dimensions info ordered by their dimensions from more
specific ones to less specific ones.
|
DimensionsInfoOrBuilder |
getDimensionsInfosOrBuilder(int index)
The collection of dimensions info ordered by their dimensions from more
specific ones to less specific ones.
|
List<? extends DimensionsInfoOrBuilder> |
getDimensionsInfosOrBuilderList()
The collection of dimensions info ordered by their dimensions from more
specific ones to less specific ones.
|
com.google.protobuf.ProtocolStringList |
getDimensionsList()
The dimensions the quota is defined on.
|
boolean |
getIsConcurrent()
Whether the quota is a concurrent quota.
|
boolean |
getIsFixed()
Whether the quota value is fixed or adjustable
bool is_fixed = 13; |
boolean |
getIsPrecise()
Whether this is a precise quota.
|
String |
getMetric()
The metric of the quota.
|
com.google.protobuf.ByteString |
getMetricBytes()
The metric of the quota.
|
String |
getMetricDisplayName()
The display name of the quota metric
string metric_display_name = 9; |
com.google.protobuf.ByteString |
getMetricDisplayNameBytes()
The display name of the quota metric
string metric_display_name = 9; |
String |
getMetricUnit()
The unit in which the metric value is reported, e.g., "MByte".
|
com.google.protobuf.ByteString |
getMetricUnitBytes()
The unit in which the metric value is reported, e.g., "MByte".
|
String |
getName()
Resource name of this QuotaInfo.
|
com.google.protobuf.ByteString |
getNameBytes()
Resource name of this QuotaInfo.
|
com.google.protobuf.Parser<QuotaInfo> |
getParserForType() |
String |
getQuotaDisplayName()
The display name of the quota.
|
com.google.protobuf.ByteString |
getQuotaDisplayNameBytes()
The display name of the quota.
|
String |
getQuotaId()
The id of the quota, which is unquie within the service.
|
com.google.protobuf.ByteString |
getQuotaIdBytes()
The id of the quota, which is unquie within the service.
|
QuotaIncreaseEligibility |
getQuotaIncreaseEligibility()
Whether it is eligible to request a higher quota value for this quota.
|
QuotaIncreaseEligibilityOrBuilder |
getQuotaIncreaseEligibilityOrBuilder()
Whether it is eligible to request a higher quota value for this quota.
|
String |
getRefreshInterval()
The reset time interval for the quota.
|
com.google.protobuf.ByteString |
getRefreshIntervalBytes()
The reset time interval for the quota.
|
int |
getSerializedSize() |
String |
getService()
The name of the service in which the quota is defined.
|
com.google.protobuf.ByteString |
getServiceBytes()
The name of the service in which the quota is defined.
|
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.
|
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.
|
int |
hashCode() |
boolean |
hasQuotaIncreaseEligibility()
Whether it is eligible to request a higher quota value for this quota.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QuotaInfo.Builder |
newBuilder() |
static QuotaInfo.Builder |
newBuilder(QuotaInfo prototype) |
QuotaInfo.Builder |
newBuilderForType() |
protected QuotaInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static QuotaInfo |
parseDelimitedFrom(InputStream input) |
static QuotaInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaInfo |
parseFrom(byte[] data) |
static QuotaInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaInfo |
parseFrom(ByteBuffer data) |
static QuotaInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaInfo |
parseFrom(com.google.protobuf.ByteString data) |
static QuotaInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QuotaInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaInfo |
parseFrom(InputStream input) |
static QuotaInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QuotaInfo> |
parser() |
QuotaInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int QUOTA_ID_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
public static final int IS_PRECISE_FIELD_NUMBER
public static final int REFRESH_INTERVAL_FIELD_NUMBER
public static final int CONTAINER_TYPE_FIELD_NUMBER
public static final int DIMENSIONS_FIELD_NUMBER
public static final int METRIC_DISPLAY_NAME_FIELD_NUMBER
public static final int QUOTA_DISPLAY_NAME_FIELD_NUMBER
public static final int METRIC_UNIT_FIELD_NUMBER
public static final int QUOTA_INCREASE_ELIGIBILITY_FIELD_NUMBER
public static final int IS_FIXED_FIELD_NUMBER
public static final int DIMENSIONS_INFOS_FIELD_NUMBER
public static final int IS_CONCURRENT_FIELD_NUMBER
public static final int SERVICE_REQUEST_QUOTA_URI_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getName in interface QuotaInfoOrBuilderpublic 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;getNameBytes in interface QuotaInfoOrBuilderpublic String getQuotaId()
The id of the quota, which is unquie within the service. Example: `CpusPerProjectPerRegion`
string quota_id = 2;getQuotaId in interface QuotaInfoOrBuilderpublic com.google.protobuf.ByteString getQuotaIdBytes()
The id of the quota, which is unquie within the service. Example: `CpusPerProjectPerRegion`
string quota_id = 2;getQuotaIdBytes in interface QuotaInfoOrBuilderpublic 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;getMetric in interface QuotaInfoOrBuilderpublic 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;getMetricBytes in interface QuotaInfoOrBuilderpublic String getService()
The name of the service in which the quota is defined. Example: `compute.googleapis.com`
string service = 4;getService in interface QuotaInfoOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
The name of the service in which the quota is defined. Example: `compute.googleapis.com`
string service = 4;getServiceBytes in interface QuotaInfoOrBuilderpublic 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;getIsPrecise in interface QuotaInfoOrBuilderpublic 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;getRefreshInterval in interface QuotaInfoOrBuilderpublic 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;getRefreshIntervalBytes in interface QuotaInfoOrBuilderpublic int getContainerTypeValue()
The container type of the QuotaInfo.
.google.api.cloudquotas.v1beta.QuotaInfo.ContainerType container_type = 7;getContainerTypeValue in interface QuotaInfoOrBuilderpublic QuotaInfo.ContainerType getContainerType()
The container type of the QuotaInfo.
.google.api.cloudquotas.v1beta.QuotaInfo.ContainerType container_type = 7;getContainerType in interface QuotaInfoOrBuilderpublic com.google.protobuf.ProtocolStringList getDimensionsList()
The dimensions the quota is defined on.
repeated string dimensions = 8;getDimensionsList in interface QuotaInfoOrBuilderpublic int getDimensionsCount()
The dimensions the quota is defined on.
repeated string dimensions = 8;getDimensionsCount in interface QuotaInfoOrBuilderpublic String getDimensions(int index)
The dimensions the quota is defined on.
repeated string dimensions = 8;getDimensions in interface QuotaInfoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDimensionsBytes(int index)
The dimensions the quota is defined on.
repeated string dimensions = 8;getDimensionsBytes in interface QuotaInfoOrBuilderindex - The index of the value to return.public String getMetricDisplayName()
The display name of the quota metric
string metric_display_name = 9;getMetricDisplayName in interface QuotaInfoOrBuilderpublic com.google.protobuf.ByteString getMetricDisplayNameBytes()
The display name of the quota metric
string metric_display_name = 9;getMetricDisplayNameBytes in interface QuotaInfoOrBuilderpublic String getQuotaDisplayName()
The display name of the quota.
string quota_display_name = 10;getQuotaDisplayName in interface QuotaInfoOrBuilderpublic com.google.protobuf.ByteString getQuotaDisplayNameBytes()
The display name of the quota.
string quota_display_name = 10;getQuotaDisplayNameBytes in interface QuotaInfoOrBuilderpublic String getMetricUnit()
The unit in which the metric value is reported, e.g., "MByte".
string metric_unit = 11;getMetricUnit in interface QuotaInfoOrBuilderpublic com.google.protobuf.ByteString getMetricUnitBytes()
The unit in which the metric value is reported, e.g., "MByte".
string metric_unit = 11;getMetricUnitBytes in interface QuotaInfoOrBuilderpublic boolean hasQuotaIncreaseEligibility()
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1beta.QuotaIncreaseEligibility quota_increase_eligibility = 12;
hasQuotaIncreaseEligibility in interface QuotaInfoOrBuilderpublic QuotaIncreaseEligibility getQuotaIncreaseEligibility()
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1beta.QuotaIncreaseEligibility quota_increase_eligibility = 12;
getQuotaIncreaseEligibility in interface QuotaInfoOrBuilderpublic QuotaIncreaseEligibilityOrBuilder getQuotaIncreaseEligibilityOrBuilder()
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1beta.QuotaIncreaseEligibility quota_increase_eligibility = 12;
getQuotaIncreaseEligibilityOrBuilder in interface QuotaInfoOrBuilderpublic boolean getIsFixed()
Whether the quota value is fixed or adjustable
bool is_fixed = 13;getIsFixed in interface QuotaInfoOrBuilderpublic List<DimensionsInfo> getDimensionsInfosList()
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1beta.DimensionsInfo dimensions_infos = 14;getDimensionsInfosList in interface QuotaInfoOrBuilderpublic 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.v1beta.DimensionsInfo dimensions_infos = 14;getDimensionsInfosOrBuilderList in interface QuotaInfoOrBuilderpublic int getDimensionsInfosCount()
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1beta.DimensionsInfo dimensions_infos = 14;getDimensionsInfosCount in interface QuotaInfoOrBuilderpublic 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.v1beta.DimensionsInfo dimensions_infos = 14;getDimensionsInfos in interface QuotaInfoOrBuilderpublic 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.v1beta.DimensionsInfo dimensions_infos = 14;getDimensionsInfosOrBuilder in interface QuotaInfoOrBuilderpublic 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;getIsConcurrent in interface QuotaInfoOrBuilderpublic 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;getServiceRequestQuotaUri in interface QuotaInfoOrBuilderpublic 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;getServiceRequestQuotaUriBytes in interface QuotaInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static QuotaInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuotaInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static QuotaInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QuotaInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QuotaInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QuotaInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QuotaInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QuotaInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QuotaInfo.Builder newBuilder()
public static QuotaInfo.Builder newBuilder(QuotaInfo prototype)
public QuotaInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QuotaInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QuotaInfo getDefaultInstance()
public static com.google.protobuf.Parser<QuotaInfo> parser()
public com.google.protobuf.Parser<QuotaInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QuotaInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.