- 2.55.0 (latest)
- 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
public static final class ConsumerQuotaMetric.Builder extends GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder> implements ConsumerQuotaMetricOrBuilder
Consumer quota settings for a quota metric.
Protobuf type google.api.serviceusage.v1beta1.ConsumerQuotaMetric
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConsumerQuotaMetric.BuilderImplements
ConsumerQuotaMetricOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)
public ConsumerQuotaMetric.Builder addAllConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
values | Iterable<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaLimit> |
Type | Description |
ConsumerQuotaMetric.Builder |
addAllDescendantConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)
public ConsumerQuotaMetric.Builder addAllDescendantConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
values | Iterable<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaLimit> |
Type | Description |
ConsumerQuotaMetric.Builder |
addConsumerQuotaLimits(ConsumerQuotaLimit value)
public ConsumerQuotaMetric.Builder addConsumerQuotaLimits(ConsumerQuotaLimit value)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
value | ConsumerQuotaLimit |
Type | Description |
ConsumerQuotaMetric.Builder |
addConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)
public ConsumerQuotaMetric.Builder addConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
builderForValue | ConsumerQuotaLimit.Builder |
Type | Description |
ConsumerQuotaMetric.Builder |
addConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
public ConsumerQuotaMetric.Builder addConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
value | ConsumerQuotaLimit |
Type | Description |
ConsumerQuotaMetric.Builder |
addConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
public ConsumerQuotaMetric.Builder addConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
builderForValue | ConsumerQuotaLimit.Builder |
Type | Description |
ConsumerQuotaMetric.Builder |
addConsumerQuotaLimitsBuilder()
public ConsumerQuotaLimit.Builder addConsumerQuotaLimitsBuilder()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Type | Description |
ConsumerQuotaLimit.Builder |
addConsumerQuotaLimitsBuilder(int index)
public ConsumerQuotaLimit.Builder addConsumerQuotaLimitsBuilder(int index)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimit.Builder |
addDescendantConsumerQuotaLimits(ConsumerQuotaLimit value)
public ConsumerQuotaMetric.Builder addDescendantConsumerQuotaLimits(ConsumerQuotaLimit value)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
value | ConsumerQuotaLimit |
Type | Description |
ConsumerQuotaMetric.Builder |
addDescendantConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)
public ConsumerQuotaMetric.Builder addDescendantConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
builderForValue | ConsumerQuotaLimit.Builder |
Type | Description |
ConsumerQuotaMetric.Builder |
addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
public ConsumerQuotaMetric.Builder addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
value | ConsumerQuotaLimit |
Type | Description |
ConsumerQuotaMetric.Builder |
addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
public ConsumerQuotaMetric.Builder addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
builderForValue | ConsumerQuotaLimit.Builder |
Type | Description |
ConsumerQuotaMetric.Builder |
addDescendantConsumerQuotaLimitsBuilder()
public ConsumerQuotaLimit.Builder addDescendantConsumerQuotaLimitsBuilder()
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Type | Description |
ConsumerQuotaLimit.Builder |
addDescendantConsumerQuotaLimitsBuilder(int index)
public ConsumerQuotaLimit.Builder addDescendantConsumerQuotaLimitsBuilder(int index)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimit.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConsumerQuotaMetric.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConsumerQuotaMetric.Builder |
build()
public ConsumerQuotaMetric build()
Type | Description |
ConsumerQuotaMetric |
buildPartial()
public ConsumerQuotaMetric buildPartial()
Type | Description |
ConsumerQuotaMetric |
clear()
public ConsumerQuotaMetric.Builder clear()
Type | Description |
ConsumerQuotaMetric.Builder |
clearConsumerQuotaLimits()
public ConsumerQuotaMetric.Builder clearConsumerQuotaLimits()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Type | Description |
ConsumerQuotaMetric.Builder |
clearDescendantConsumerQuotaLimits()
public ConsumerQuotaMetric.Builder clearDescendantConsumerQuotaLimits()
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Type | Description |
ConsumerQuotaMetric.Builder |
clearDisplayName()
public ConsumerQuotaMetric.Builder clearDisplayName()
The display name of the metric.
An example name would be:
CPUs
string display_name = 2;
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConsumerQuotaMetric.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ConsumerQuotaMetric.Builder |
clearMetric()
public ConsumerQuotaMetric.Builder clearMetric()
The name of the metric.
An example name would be:
compute.googleapis.com/cpus
string metric = 4;
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
clearName()
public ConsumerQuotaMetric.Builder clearName()
The resource name of the quota settings on this metric for this consumer.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus
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 |
ConsumerQuotaMetric.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConsumerQuotaMetric.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ConsumerQuotaMetric.Builder |
clearUnit()
public ConsumerQuotaMetric.Builder clearUnit()
The units in which the metric value is reported.
string unit = 5;
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
clone()
public ConsumerQuotaMetric.Builder clone()
Type | Description |
ConsumerQuotaMetric.Builder |
getConsumerQuotaLimits(int index)
public ConsumerQuotaLimit getConsumerQuotaLimits(int index)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimit |
getConsumerQuotaLimitsBuilder(int index)
public ConsumerQuotaLimit.Builder getConsumerQuotaLimitsBuilder(int index)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimit.Builder |
getConsumerQuotaLimitsBuilderList()
public List<ConsumerQuotaLimit.Builder> getConsumerQuotaLimitsBuilderList()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Type | Description |
List<Builder> |
getConsumerQuotaLimitsCount()
public int getConsumerQuotaLimitsCount()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Type | Description |
int |
getConsumerQuotaLimitsList()
public List<ConsumerQuotaLimit> getConsumerQuotaLimitsList()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Type | Description |
List<ConsumerQuotaLimit> |
getConsumerQuotaLimitsOrBuilder(int index)
public ConsumerQuotaLimitOrBuilder getConsumerQuotaLimitsOrBuilder(int index)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimitOrBuilder |
getConsumerQuotaLimitsOrBuilderList()
public List<? extends ConsumerQuotaLimitOrBuilder> getConsumerQuotaLimitsOrBuilderList()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Type | Description |
List<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaLimitOrBuilder> |
getDefaultInstanceForType()
public ConsumerQuotaMetric getDefaultInstanceForType()
Type | Description |
ConsumerQuotaMetric |
getDescendantConsumerQuotaLimits(int index)
public ConsumerQuotaLimit getDescendantConsumerQuotaLimits(int index)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimit |
getDescendantConsumerQuotaLimitsBuilder(int index)
public ConsumerQuotaLimit.Builder getDescendantConsumerQuotaLimitsBuilder(int index)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimit.Builder |
getDescendantConsumerQuotaLimitsBuilderList()
public List<ConsumerQuotaLimit.Builder> getDescendantConsumerQuotaLimitsBuilderList()
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Type | Description |
List<Builder> |
getDescendantConsumerQuotaLimitsCount()
public int getDescendantConsumerQuotaLimitsCount()
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Type | Description |
int |
getDescendantConsumerQuotaLimitsList()
public List<ConsumerQuotaLimit> getDescendantConsumerQuotaLimitsList()
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Type | Description |
List<ConsumerQuotaLimit> |
getDescendantConsumerQuotaLimitsOrBuilder(int index)
public ConsumerQuotaLimitOrBuilder getDescendantConsumerQuotaLimitsOrBuilder(int index)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaLimitOrBuilder |
getDescendantConsumerQuotaLimitsOrBuilderList()
public List<? extends ConsumerQuotaLimitOrBuilder> getDescendantConsumerQuotaLimitsOrBuilderList()
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Type | Description |
List<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaLimitOrBuilder> |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The display name of the metric.
An example name would be:
CPUs
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the metric.
An example name would be:
CPUs
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getMetric()
public String getMetric()
The name of the metric.
An example name would be:
compute.googleapis.com/cpus
string metric = 4;
Type | Description |
String | The metric. |
getMetricBytes()
public ByteString getMetricBytes()
The name of the metric.
An example name would be:
compute.googleapis.com/cpus
string metric = 4;
Type | Description |
ByteString | The bytes for metric. |
getName()
public String getName()
The resource name of the quota settings on this metric for this consumer.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus
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 settings on this metric for this consumer.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus
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. |
getUnit()
public String getUnit()
The units in which the metric value is reported.
string unit = 5;
Type | Description |
String | The unit. |
getUnitBytes()
public ByteString getUnitBytes()
The units in which the metric value is reported.
string unit = 5;
Type | Description |
ByteString | The bytes for unit. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ConsumerQuotaMetric other)
public ConsumerQuotaMetric.Builder mergeFrom(ConsumerQuotaMetric other)
Name | Description |
other | ConsumerQuotaMetric |
Type | Description |
ConsumerQuotaMetric.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConsumerQuotaMetric.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ConsumerQuotaMetric.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConsumerQuotaMetric.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ConsumerQuotaMetric.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConsumerQuotaMetric.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConsumerQuotaMetric.Builder |
removeConsumerQuotaLimits(int index)
public ConsumerQuotaMetric.Builder removeConsumerQuotaLimits(int index)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaMetric.Builder |
removeDescendantConsumerQuotaLimits(int index)
public ConsumerQuotaMetric.Builder removeDescendantConsumerQuotaLimits(int index)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
Type | Description |
ConsumerQuotaMetric.Builder |
setConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
public ConsumerQuotaMetric.Builder setConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
value | ConsumerQuotaLimit |
Type | Description |
ConsumerQuotaMetric.Builder |
setConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
public ConsumerQuotaMetric.Builder setConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
Name | Description |
index | int |
builderForValue | ConsumerQuotaLimit.Builder |
Type | Description |
ConsumerQuotaMetric.Builder |
setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
public ConsumerQuotaMetric.Builder setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
value | ConsumerQuotaLimit |
Type | Description |
ConsumerQuotaMetric.Builder |
setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
public ConsumerQuotaMetric.Builder setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The quota limits targeting the descendant containers of the
consumer in request.
If the consumer in request is of type organizations
or folders
, the field will list per-project limits in the metric; if the
consumer in request is of type project
, the field will be empty.
The quota_buckets
field of each descendant consumer quota limit will not
be populated.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
Name | Description |
index | int |
builderForValue | ConsumerQuotaLimit.Builder |
Type | Description |
ConsumerQuotaMetric.Builder |
setDisplayName(String value)
public ConsumerQuotaMetric.Builder setDisplayName(String value)
The display name of the metric.
An example name would be:
CPUs
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ConsumerQuotaMetric.Builder setDisplayNameBytes(ByteString value)
The display name of the metric.
An example name would be:
CPUs
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConsumerQuotaMetric.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ConsumerQuotaMetric.Builder |
setMetric(String value)
public ConsumerQuotaMetric.Builder setMetric(String value)
The name of the metric.
An example name would be:
compute.googleapis.com/cpus
string metric = 4;
Name | Description |
value | String The metric to set. |
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setMetricBytes(ByteString value)
public ConsumerQuotaMetric.Builder setMetricBytes(ByteString value)
The name of the metric.
An example name would be:
compute.googleapis.com/cpus
string metric = 4;
Name | Description |
value | ByteString The bytes for metric to set. |
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setName(String value)
public ConsumerQuotaMetric.Builder setName(String value)
The resource name of the quota settings on this metric for this consumer.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus
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 |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ConsumerQuotaMetric.Builder setNameBytes(ByteString value)
The resource name of the quota settings on this metric for this consumer.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus
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 |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConsumerQuotaMetric.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ConsumerQuotaMetric.Builder |
setUnit(String value)
public ConsumerQuotaMetric.Builder setUnit(String value)
The units in which the metric value is reported.
string unit = 5;
Name | Description |
value | String The unit to set. |
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setUnitBytes(ByteString value)
public ConsumerQuotaMetric.Builder setUnitBytes(ByteString value)
The units in which the metric value is reported.
string unit = 5;
Name | Description |
value | ByteString The bytes for unit to set. |
Type | Description |
ConsumerQuotaMetric.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConsumerQuotaMetric.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ConsumerQuotaMetric.Builder |