Interface QuotaBucketOrBuilder (2.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.8
publicinterface QuotaBucketOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
containsDimensions(String key)
publicabstractbooleancontainsDimensions(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 |
boolean |
|
getAdminOverride()
publicabstractQuotaOverridegetAdminOverride()Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;
| Returns | |
|---|---|
| Type | Description |
QuotaOverride |
The adminOverride. |
getAdminOverrideOrBuilder()
publicabstractQuotaOverrideOrBuildergetAdminOverrideOrBuilder()Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;
| Returns | |
|---|---|
| Type | Description |
QuotaOverrideOrBuilder |
|
getConsumerOverride()
publicabstractQuotaOverridegetConsumerOverride()Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;
| Returns | |
|---|---|
| Type | Description |
QuotaOverride |
The consumerOverride. |
getConsumerOverrideOrBuilder()
publicabstractQuotaOverrideOrBuildergetConsumerOverrideOrBuilder()Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;
| Returns | |
|---|---|
| Type | Description |
QuotaOverrideOrBuilder |
|
getDefaultLimit()
publicabstractlonggetDefaultLimit()The default limit of this quota bucket, as specified by the service configuration.
int64 default_limit = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The defaultLimit. |
getDimensions()
publicabstractMap<String,String>getDimensions()Use #getDimensionsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getDimensionsCount()
publicabstractintgetDimensionsCount()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()
publicabstractMap<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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getDimensionsOrDefault(String key, String defaultValue)
publicabstractStringgetDimensionsOrDefault(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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getDimensionsOrThrow(String key)
publicabstractStringgetDimensionsOrThrow(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()
publicabstractlonggetEffectiveLimit()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. |
getProducerOverride()
publicabstractQuotaOverridegetProducerOverride()Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;
| Returns | |
|---|---|
| Type | Description |
QuotaOverride |
The producerOverride. |
getProducerOverrideOrBuilder()
publicabstractQuotaOverrideOrBuildergetProducerOverrideOrBuilder()Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;
| Returns | |
|---|---|
| Type | Description |
QuotaOverrideOrBuilder |
|
getProducerQuotaPolicy()
publicabstractProducerQuotaPolicygetProducerQuotaPolicy()Producer policy inherited from the closet ancestor of the current consumer.
.google.api.serviceusage.v1beta1.ProducerQuotaPolicy producer_quota_policy = 7;
| Returns | |
|---|---|
| Type | Description |
ProducerQuotaPolicy |
The producerQuotaPolicy. |
getProducerQuotaPolicyOrBuilder()
publicabstractProducerQuotaPolicyOrBuildergetProducerQuotaPolicyOrBuilder()Producer policy inherited from the closet ancestor of the current consumer.
.google.api.serviceusage.v1beta1.ProducerQuotaPolicy producer_quota_policy = 7;
| Returns | |
|---|---|
| Type | Description |
ProducerQuotaPolicyOrBuilder |
|
hasAdminOverride()
publicabstractbooleanhasAdminOverride()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()
publicabstractbooleanhasConsumerOverride()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()
publicabstractbooleanhasProducerOverride()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()
publicabstractbooleanhasProducerQuotaPolicy()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. |