publicfinalclass QuotaBucketextendsGeneratedMessageV3implementsQuotaBucketOrBuilder
A quota bucket is a quota provisioning unit for a specific set of dimensions.
Protobuf type google.api.serviceusage.v1beta1.QuotaBucket
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADMIN_OVERRIDE_FIELD_NUMBER
publicstaticfinalintADMIN_OVERRIDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CONSUMER_OVERRIDE_FIELD_NUMBER
publicstaticfinalintCONSUMER_OVERRIDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DEFAULT_LIMIT_FIELD_NUMBER
publicstaticfinalintDEFAULT_LIMIT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DIMENSIONS_FIELD_NUMBER
publicstaticfinalintDIMENSIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
EFFECTIVE_LIMIT_FIELD_NUMBER
publicstaticfinalintEFFECTIVE_LIMIT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PRODUCER_OVERRIDE_FIELD_NUMBER
publicstaticfinalintPRODUCER_OVERRIDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PRODUCER_QUOTA_POLICY_FIELD_NUMBER
publicstaticfinalintPRODUCER_QUOTA_POLICY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticQuotaBucketgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticQuotaBucket.BuildernewBuilder()
newBuilder(QuotaBucket prototype)
publicstaticQuotaBucket.BuildernewBuilder(QuotaBucketprototype)
publicstaticQuotaBucketparseDelimitedFrom(InputStreaminput)
publicstaticQuotaBucketparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticQuotaBucketparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticQuotaBucketparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticQuotaBucketparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticQuotaBucketparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticQuotaBucketparseFrom(CodedInputStreaminput)
publicstaticQuotaBucketparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticQuotaBucketparseFrom(InputStreaminput)
publicstaticQuotaBucketparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticQuotaBucketparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticQuotaBucketparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<QuotaBucket>parser()
Methods
containsDimensions(String key)
publicbooleancontainsDimensions(Stringkey)
The dimensions of this quota bucket.
If this map is empty, this is the global bucket, which is the default quota
value applied to all requests that do not have a more specific override.
If this map is nonempty, the default limit, effective limit, and quota
overrides apply only to requests that have the dimensions given in the map.
For example, if the map has key region and value us-east-1, then the
specified effective limit is only effective in that region, and the
specified overrides apply only in that region.
map<string, string> dimensions = 6;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdminOverride()
publicQuotaOverridegetAdminOverride()
Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;
getAdminOverrideOrBuilder()
publicQuotaOverrideOrBuildergetAdminOverrideOrBuilder()
Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;
getConsumerOverride()
publicQuotaOverridegetConsumerOverride()
Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;
getConsumerOverrideOrBuilder()
publicQuotaOverrideOrBuildergetConsumerOverrideOrBuilder()
Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;
getDefaultInstanceForType()
publicQuotaBucketgetDefaultInstanceForType()
getDefaultLimit()
publiclonggetDefaultLimit()
The default limit of this quota bucket, as specified by the service
configuration.
int64 default_limit = 2;
| Returns |
| Type |
Description |
long |
The defaultLimit.
|
getDimensions() (deprecated)
publicMap<String,String>getDimensions()
getDimensionsCount()
publicintgetDimensionsCount()
The dimensions of this quota bucket.
If this map is empty, this is the global bucket, which is the default quota
value applied to all requests that do not have a more specific override.
If this map is nonempty, the default limit, effective limit, and quota
overrides apply only to requests that have the dimensions given in the map.
For example, if the map has key region and value us-east-1, then the
specified effective limit is only effective in that region, and the
specified overrides apply only in that region.
map<string, string> dimensions = 6;
| Returns |
| Type |
Description |
int |
getDimensionsMap()
publicMap<String,String>getDimensionsMap()
The dimensions of this quota bucket.
If this map is empty, this is the global bucket, which is the default quota
value applied to all requests that do not have a more specific override.
If this map is nonempty, the default limit, effective limit, and quota
overrides apply only to requests that have the dimensions given in the map.
For example, if the map has key region and value us-east-1, then the
specified effective limit is only effective in that region, and the
specified overrides apply only in that region.
map<string, string> dimensions = 6;
getDimensionsOrDefault(String key, String defaultValue)
publicStringgetDimensionsOrDefault(Stringkey,StringdefaultValue)
The dimensions of this quota bucket.
If this map is empty, this is the global bucket, which is the default quota
value applied to all requests that do not have a more specific override.
If this map is nonempty, the default limit, effective limit, and quota
overrides apply only to requests that have the dimensions given in the map.
For example, if the map has key region and value us-east-1, then the
specified effective limit is only effective in that region, and the
specified overrides apply only in that region.
map<string, string> dimensions = 6;
| Returns |
| Type |
Description |
String |
getDimensionsOrThrow(String key)
publicStringgetDimensionsOrThrow(Stringkey)
The dimensions of this quota bucket.
If this map is empty, this is the global bucket, which is the default quota
value applied to all requests that do not have a more specific override.
If this map is nonempty, the default limit, effective limit, and quota
overrides apply only to requests that have the dimensions given in the map.
For example, if the map has key region and value us-east-1, then the
specified effective limit is only effective in that region, and the
specified overrides apply only in that region.
map<string, string> dimensions = 6;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
getEffectiveLimit()
publiclonggetEffectiveLimit()
The effective limit of this quota bucket. Equal to default_limit if there
are no overrides.
int64 effective_limit = 1;
| Returns |
| Type |
Description |
long |
The effectiveLimit.
|
getParserForType()
publicParser<QuotaBucket>getParserForType()
Overrides
getProducerOverride()
publicQuotaOverridegetProducerOverride()
Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;
getProducerOverrideOrBuilder()
publicQuotaOverrideOrBuildergetProducerOverrideOrBuilder()
Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;
getProducerQuotaPolicy()
publicProducerQuotaPolicygetProducerQuotaPolicy()
Producer policy inherited from the closet ancestor of the current consumer.
.google.api.serviceusage.v1beta1.ProducerQuotaPolicy producer_quota_policy = 7;
getProducerQuotaPolicyOrBuilder()
publicProducerQuotaPolicyOrBuildergetProducerQuotaPolicyOrBuilder()
Producer policy inherited from the closet ancestor of the current consumer.
.google.api.serviceusage.v1beta1.ProducerQuotaPolicy producer_quota_policy = 7;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasAdminOverride()
publicbooleanhasAdminOverride()
Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;
| Returns |
| Type |
Description |
boolean |
Whether the adminOverride field is set.
|
hasConsumerOverride()
publicbooleanhasConsumerOverride()
Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;
| Returns |
| Type |
Description |
boolean |
Whether the consumerOverride field is set.
|
hasProducerOverride()
publicbooleanhasProducerOverride()
Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;
| Returns |
| Type |
Description |
boolean |
Whether the producerOverride field is set.
|
hasProducerQuotaPolicy()
publicbooleanhasProducerQuotaPolicy()
Producer policy inherited from the closet ancestor of the current consumer.
.google.api.serviceusage.v1beta1.ProducerQuotaPolicy producer_quota_policy = 7;
| Returns |
| Type |
Description |
boolean |
Whether the producerQuotaPolicy field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicQuotaBucket.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedQuotaBucket.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicQuotaBucket.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides