- 2.53.0 (latest)
- 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
public static final class ConsumerQuotaLimit.Builder extends GeneratedMessageV3.Builder<ConsumerQuotaLimit.Builder> implements ConsumerQuotaLimitOrBuilder
Consumer quota settings for a quota limit.
Protobuf type google.api.serviceusage.v1beta1.ConsumerQuotaLimit
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConsumerQuotaLimit.BuilderImplements
ConsumerQuotaLimitOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllQuotaBuckets(Iterable<? extends QuotaBucket> values)
public ConsumerQuotaLimit.Builder addAllQuotaBuckets(Iterable<? extends QuotaBucket> values)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
values | Iterable<? extends com.google.api.serviceusage.v1beta1.QuotaBucket> |
Type | Description |
ConsumerQuotaLimit.Builder |
addQuotaBuckets(QuotaBucket value)
public ConsumerQuotaLimit.Builder addQuotaBuckets(QuotaBucket value)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
value | QuotaBucket |
Type | Description |
ConsumerQuotaLimit.Builder |
addQuotaBuckets(QuotaBucket.Builder builderForValue)
public ConsumerQuotaLimit.Builder addQuotaBuckets(QuotaBucket.Builder builderForValue)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
builderForValue | QuotaBucket.Builder |
Type | Description |
ConsumerQuotaLimit.Builder |
addQuotaBuckets(int index, QuotaBucket value)
public ConsumerQuotaLimit.Builder addQuotaBuckets(int index, QuotaBucket value)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
value | QuotaBucket |
Type | Description |
ConsumerQuotaLimit.Builder |
addQuotaBuckets(int index, QuotaBucket.Builder builderForValue)
public ConsumerQuotaLimit.Builder addQuotaBuckets(int index, QuotaBucket.Builder builderForValue)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
builderForValue | QuotaBucket.Builder |
Type | Description |
ConsumerQuotaLimit.Builder |
addQuotaBucketsBuilder()
public QuotaBucket.Builder addQuotaBucketsBuilder()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Type | Description |
QuotaBucket.Builder |
addQuotaBucketsBuilder(int index)
public QuotaBucket.Builder addQuotaBucketsBuilder(int index)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
Type | Description |
QuotaBucket.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConsumerQuotaLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConsumerQuotaLimit.Builder |
build()
public ConsumerQuotaLimit build()
Type | Description |
ConsumerQuotaLimit |
buildPartial()
public ConsumerQuotaLimit buildPartial()
Type | Description |
ConsumerQuotaLimit |
clear()
public ConsumerQuotaLimit.Builder clear()
Type | Description |
ConsumerQuotaLimit.Builder |
clearAllowsAdminOverrides()
public ConsumerQuotaLimit.Builder clearAllowsAdminOverrides()
Whether admin overrides are allowed on this limit
bool allows_admin_overrides = 7;
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConsumerQuotaLimit.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConsumerQuotaLimit.Builder |
clearIsPrecise()
public ConsumerQuotaLimit.Builder clearIsPrecise()
Whether this limit is precise or imprecise.
bool is_precise = 3;
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
clearMetric()
public ConsumerQuotaLimit.Builder clearMetric()
The name of the parent metric of this limit.
An example name would be:
compute.googleapis.com/cpus
string metric = 8;
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
clearName()
public ConsumerQuotaLimit.Builder clearName()
The resource name of the quota limit.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
The resource name is intended to be opaque and should not be parsed for
its component strings, since its representation could change in the future.
string name = 1;
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConsumerQuotaLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConsumerQuotaLimit.Builder |
clearQuotaBuckets()
public ConsumerQuotaLimit.Builder clearQuotaBuckets()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Type | Description |
ConsumerQuotaLimit.Builder |
clearUnit()
public ConsumerQuotaLimit.Builder clearUnit()
The limit unit.
An example unit would be
1/{project}/{region}
Note that {project}
and {region}
are not placeholders in this example;
the literal characters {
and }
occur in the string.
string unit = 2;
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
clone()
public ConsumerQuotaLimit.Builder clone()
Type | Description |
ConsumerQuotaLimit.Builder |
getAllowsAdminOverrides()
public boolean getAllowsAdminOverrides()
Whether admin overrides are allowed on this limit
bool allows_admin_overrides = 7;
Type | Description |
boolean | The allowsAdminOverrides. |
getDefaultInstanceForType()
public ConsumerQuotaLimit getDefaultInstanceForType()
Type | Description |
ConsumerQuotaLimit |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIsPrecise()
public boolean getIsPrecise()
Whether this limit is precise or imprecise.
bool is_precise = 3;
Type | Description |
boolean | The isPrecise. |
getMetric()
public String getMetric()
The name of the parent metric of this limit.
An example name would be:
compute.googleapis.com/cpus
string metric = 8;
Type | Description |
String | The metric. |
getMetricBytes()
public ByteString getMetricBytes()
The name of the parent metric of this limit.
An example name would be:
compute.googleapis.com/cpus
string metric = 8;
Type | Description |
ByteString | The bytes for metric. |
getName()
public String getName()
The resource name of the quota limit.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
The resource name is intended to be opaque and should not be parsed for
its component strings, since its representation could change in the future.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the quota limit.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
The resource name is intended to be opaque and should not be parsed for
its component strings, since its representation could change in the future.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getQuotaBuckets(int index)
public QuotaBucket getQuotaBuckets(int index)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
Type | Description |
QuotaBucket |
getQuotaBucketsBuilder(int index)
public QuotaBucket.Builder getQuotaBucketsBuilder(int index)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
Type | Description |
QuotaBucket.Builder |
getQuotaBucketsBuilderList()
public List<QuotaBucket.Builder> getQuotaBucketsBuilderList()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Type | Description |
List<Builder> |
getQuotaBucketsCount()
public int getQuotaBucketsCount()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Type | Description |
int |
getQuotaBucketsList()
public List<QuotaBucket> getQuotaBucketsList()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Type | Description |
List<QuotaBucket> |
getQuotaBucketsOrBuilder(int index)
public QuotaBucketOrBuilder getQuotaBucketsOrBuilder(int index)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
Type | Description |
QuotaBucketOrBuilder |
getQuotaBucketsOrBuilderList()
public List<? extends QuotaBucketOrBuilder> getQuotaBucketsOrBuilderList()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Type | Description |
List<? extends com.google.api.serviceusage.v1beta1.QuotaBucketOrBuilder> |
getUnit()
public String getUnit()
The limit unit.
An example unit would be
1/{project}/{region}
Note that {project}
and {region}
are not placeholders in this example;
the literal characters {
and }
occur in the string.
string unit = 2;
Type | Description |
String | The unit. |
getUnitBytes()
public ByteString getUnitBytes()
The limit unit.
An example unit would be
1/{project}/{region}
Note that {project}
and {region}
are not placeholders in this example;
the literal characters {
and }
occur in the string.
string unit = 2;
Type | Description |
ByteString | The bytes for unit. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ConsumerQuotaLimit other)
public ConsumerQuotaLimit.Builder mergeFrom(ConsumerQuotaLimit other)
Name | Description |
other | ConsumerQuotaLimit |
Type | Description |
ConsumerQuotaLimit.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConsumerQuotaLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConsumerQuotaLimit.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConsumerQuotaLimit.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ConsumerQuotaLimit.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConsumerQuotaLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConsumerQuotaLimit.Builder |
removeQuotaBuckets(int index)
public ConsumerQuotaLimit.Builder removeQuotaBuckets(int index)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimit.Builder |
setAllowsAdminOverrides(boolean value)
public ConsumerQuotaLimit.Builder setAllowsAdminOverrides(boolean value)
Whether admin overrides are allowed on this limit
bool allows_admin_overrides = 7;
Name | Description |
value | boolean The allowsAdminOverrides to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConsumerQuotaLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConsumerQuotaLimit.Builder |
setIsPrecise(boolean value)
public ConsumerQuotaLimit.Builder setIsPrecise(boolean value)
Whether this limit is precise or imprecise.
bool is_precise = 3;
Name | Description |
value | boolean The isPrecise to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setMetric(String value)
public ConsumerQuotaLimit.Builder setMetric(String value)
The name of the parent metric of this limit.
An example name would be:
compute.googleapis.com/cpus
string metric = 8;
Name | Description |
value | String The metric to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setMetricBytes(ByteString value)
public ConsumerQuotaLimit.Builder setMetricBytes(ByteString value)
The name of the parent metric of this limit.
An example name would be:
compute.googleapis.com/cpus
string metric = 8;
Name | Description |
value | ByteString The bytes for metric to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setName(String value)
public ConsumerQuotaLimit.Builder setName(String value)
The resource name of the quota limit.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
The resource name is intended to be opaque and should not be parsed for
its component strings, since its representation could change in the future.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ConsumerQuotaLimit.Builder setNameBytes(ByteString value)
The resource name of the quota limit.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
The resource name is intended to be opaque and should not be parsed for
its component strings, since its representation could change in the future.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setQuotaBuckets(int index, QuotaBucket value)
public ConsumerQuotaLimit.Builder setQuotaBuckets(int index, QuotaBucket value)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
value | QuotaBucket |
Type | Description |
ConsumerQuotaLimit.Builder |
setQuotaBuckets(int index, QuotaBucket.Builder builderForValue)
public ConsumerQuotaLimit.Builder setQuotaBuckets(int index, QuotaBucket.Builder builderForValue)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;
Name | Description |
index | int |
builderForValue | QuotaBucket.Builder |
Type | Description |
ConsumerQuotaLimit.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConsumerQuotaLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ConsumerQuotaLimit.Builder |
setUnit(String value)
public ConsumerQuotaLimit.Builder setUnit(String value)
The limit unit.
An example unit would be
1/{project}/{region}
Note that {project}
and {region}
are not placeholders in this example;
the literal characters {
and }
occur in the string.
string unit = 2;
Name | Description |
value | String The unit to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setUnitBytes(ByteString value)
public ConsumerQuotaLimit.Builder setUnitBytes(ByteString value)
The limit unit.
An example unit would be
1/{project}/{region}
Note that {project}
and {region}
are not placeholders in this example;
the literal characters {
and }
occur in the string.
string unit = 2;
Name | Description |
value | ByteString The bytes for unit to set. |
Type | Description |
ConsumerQuotaLimit.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConsumerQuotaLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConsumerQuotaLimit.Builder |