public interface QuotaBucketOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDimensions(String key)
The dimensions of this quota bucket.
|
QuotaOverride |
getAdminOverride()
Admin override on this quota bucket.
|
QuotaOverrideOrBuilder |
getAdminOverrideOrBuilder()
Admin override on this quota bucket.
|
QuotaOverride |
getConsumerOverride()
Consumer override on this quota bucket.
|
QuotaOverrideOrBuilder |
getConsumerOverrideOrBuilder()
Consumer override on this quota bucket.
|
long |
getDefaultLimit()
The default limit of this quota bucket, as specified by the service
configuration.
|
Map<String,String> |
getDimensions()
Deprecated.
|
int |
getDimensionsCount()
The dimensions of this quota bucket.
|
Map<String,String> |
getDimensionsMap()
The dimensions of this quota bucket.
|
String |
getDimensionsOrDefault(String key,
String defaultValue)
The dimensions of this quota bucket.
|
String |
getDimensionsOrThrow(String key)
The dimensions of this quota bucket.
|
long |
getEffectiveLimit()
The effective limit of this quota bucket.
|
QuotaOverride |
getProducerOverride()
Producer override on this quota bucket.
|
QuotaOverrideOrBuilder |
getProducerOverrideOrBuilder()
Producer override on this quota bucket.
|
boolean |
hasAdminOverride()
Admin override on this quota bucket.
|
boolean |
hasConsumerOverride()
Consumer override on this quota bucket.
|
boolean |
hasProducerOverride()
Producer override on this quota bucket.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getEffectiveLimit()
The effective limit of this quota bucket. Equal to default_limit if there are no overrides.
int64 effective_limit = 1;long getDefaultLimit()
The default limit of this quota bucket, as specified by the service configuration.
int64 default_limit = 2;boolean hasProducerOverride()
Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;QuotaOverride getProducerOverride()
Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;QuotaOverrideOrBuilder getProducerOverrideOrBuilder()
Producer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride producer_override = 3;boolean hasConsumerOverride()
Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;QuotaOverride getConsumerOverride()
Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;QuotaOverrideOrBuilder getConsumerOverrideOrBuilder()
Consumer override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride consumer_override = 4;boolean hasAdminOverride()
Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;QuotaOverride getAdminOverride()
Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;QuotaOverrideOrBuilder getAdminOverrideOrBuilder()
Admin override on this quota bucket.
.google.api.serviceusage.v1beta1.QuotaOverride admin_override = 5;int getDimensionsCount()
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;boolean containsDimensions(String key)
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;@Deprecated Map<String,String> getDimensions()
getDimensionsMap() instead.Map<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;String getDimensionsOrDefault(String key, String defaultValue)
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;String getDimensionsOrThrow(String key)
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;Copyright © 2022 Google LLC. All rights reserved.