Class ConsumerQuotaMetric.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConsumerQuotaMetric.Builder>
com.google.api.serviceusage.v1beta1.ConsumerQuotaMetric.Builder
- All Implemented Interfaces:
ConsumerQuotaMetricOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConsumerQuotaMetric
public static final class ConsumerQuotaMetric.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConsumerQuotaMetric.Builder>
implements ConsumerQuotaMetricOrBuilder
Consumer quota settings for a quota metric.Protobuf type
google.api.serviceusage.v1beta1.ConsumerQuotaMetric-
Method Summary
Modifier and TypeMethodDescriptionaddAllConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values) The consumer quota for each quota limit defined on the metric.addAllDescendantConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values) The quota limits targeting the descendant containers of the consumer in request.addConsumerQuotaLimits(int index, ConsumerQuotaLimit value) The consumer quota for each quota limit defined on the metric.addConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue) The consumer quota for each quota limit defined on the metric.The consumer quota for each quota limit defined on the metric.addConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue) The consumer quota for each quota limit defined on the metric.The consumer quota for each quota limit defined on the metric.addConsumerQuotaLimitsBuilder(int index) The consumer quota for each quota limit defined on the metric.addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value) The quota limits targeting the descendant containers of the consumer in request.addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue) The quota limits targeting the descendant containers of the consumer in request.The quota limits targeting the descendant containers of the consumer in request.addDescendantConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue) The quota limits targeting the descendant containers of the consumer in request.The quota limits targeting the descendant containers of the consumer in request.addDescendantConsumerQuotaLimitsBuilder(int index) The quota limits targeting the descendant containers of the consumer in request.build()clear()The consumer quota for each quota limit defined on the metric.The quota limits targeting the descendant containers of the consumer in request.The display name of the metric.The name of the metric.The resource name of the quota settings on this metric for this consumer.The units in which the metric value is reported.getConsumerQuotaLimits(int index) The consumer quota for each quota limit defined on the metric.getConsumerQuotaLimitsBuilder(int index) The consumer quota for each quota limit defined on the metric.The consumer quota for each quota limit defined on the metric.intThe consumer quota for each quota limit defined on the metric.The consumer quota for each quota limit defined on the metric.getConsumerQuotaLimitsOrBuilder(int index) The consumer quota for each quota limit defined on the metric.List<? extends ConsumerQuotaLimitOrBuilder>The consumer quota for each quota limit defined on the metric.getDescendantConsumerQuotaLimits(int index) The quota limits targeting the descendant containers of the consumer in request.getDescendantConsumerQuotaLimitsBuilder(int index) The quota limits targeting the descendant containers of the consumer in request.The quota limits targeting the descendant containers of the consumer in request.intThe quota limits targeting the descendant containers of the consumer in request.The quota limits targeting the descendant containers of the consumer in request.getDescendantConsumerQuotaLimitsOrBuilder(int index) The quota limits targeting the descendant containers of the consumer in request.List<? extends ConsumerQuotaLimitOrBuilder>The quota limits targeting the descendant containers of the consumer in request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe display name of the metric.com.google.protobuf.ByteStringThe display name of the metric.The name of the metric.com.google.protobuf.ByteStringThe name of the metric.getName()The resource name of the quota settings on this metric for this consumer.com.google.protobuf.ByteStringThe resource name of the quota settings on this metric for this consumer.getUnit()The units in which the metric value is reported.com.google.protobuf.ByteStringThe units in which the metric value is reported.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ConsumerQuotaMetric other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConsumerQuotaLimits(int index) The consumer quota for each quota limit defined on the metric.removeDescendantConsumerQuotaLimits(int index) The quota limits targeting the descendant containers of the consumer in request.setConsumerQuotaLimits(int index, ConsumerQuotaLimit value) The consumer quota for each quota limit defined on the metric.setConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue) The consumer quota for each quota limit defined on the metric.setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value) The quota limits targeting the descendant containers of the consumer in request.setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue) The quota limits targeting the descendant containers of the consumer in request.setDisplayName(String value) The display name of the metric.setDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the metric.The name of the metric.setMetricBytes(com.google.protobuf.ByteString value) The name of the metric.The resource name of the quota settings on this metric for this consumer.setNameBytes(com.google.protobuf.ByteString value) The resource name of the quota settings on this metric for this consumer.The units in which the metric value is reported.setUnitBytes(com.google.protobuf.ByteString value) The units in which the metric value is reported.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConsumerQuotaMetric.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConsumerQuotaMetric.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConsumerQuotaMetric.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConsumerQuotaMetric.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConsumerQuotaMetric.Builder>
-
mergeFrom
public ConsumerQuotaMetric.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConsumerQuotaMetric.Builder>- Throws:
IOException
-
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;- Specified by:
getNamein interfaceConsumerQuotaMetricOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceConsumerQuotaMetricOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getMetric
The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;- Specified by:
getMetricin interfaceConsumerQuotaMetricOrBuilder- Returns:
- The metric.
-
getMetricBytes
public com.google.protobuf.ByteString getMetricBytes()The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;- Specified by:
getMetricBytesin interfaceConsumerQuotaMetricOrBuilder- Returns:
- The bytes for metric.
-
setMetric
The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;- Parameters:
value- The metric to set.- Returns:
- This builder for chaining.
-
clearMetric
The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;- Returns:
- This builder for chaining.
-
setMetricBytes
The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;- Parameters:
value- The bytes for metric to set.- Returns:
- This builder for chaining.
-
getDisplayName
The display name of the metric. An example name would be: `CPUs`
string display_name = 2;- Specified by:
getDisplayNamein interfaceConsumerQuotaMetricOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The display name of the metric. An example name would be: `CPUs`
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceConsumerQuotaMetricOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The display name of the metric. An example name would be: `CPUs`
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The display name of the metric. An example name would be: `CPUs`
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The display name of the metric. An example name would be: `CPUs`
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getConsumerQuotaLimitsList
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;- Specified by:
getConsumerQuotaLimitsListin interfaceConsumerQuotaMetricOrBuilder
-
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;- Specified by:
getConsumerQuotaLimitsCountin interfaceConsumerQuotaMetricOrBuilder
-
getConsumerQuotaLimits
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;- Specified by:
getConsumerQuotaLimitsin interfaceConsumerQuotaMetricOrBuilder
-
setConsumerQuotaLimits
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
setConsumerQuotaLimits
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; -
addConsumerQuotaLimits
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
addConsumerQuotaLimits
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
addConsumerQuotaLimits
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; -
addConsumerQuotaLimits
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; -
addAllConsumerQuotaLimits
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; -
clearConsumerQuotaLimits
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
removeConsumerQuotaLimits
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
getConsumerQuotaLimitsBuilder
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
getConsumerQuotaLimitsOrBuilder
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;- Specified by:
getConsumerQuotaLimitsOrBuilderin interfaceConsumerQuotaMetricOrBuilder
-
getConsumerQuotaLimitsOrBuilderList
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;- Specified by:
getConsumerQuotaLimitsOrBuilderListin interfaceConsumerQuotaMetricOrBuilder
-
addConsumerQuotaLimitsBuilder
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
addConsumerQuotaLimitsBuilder
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
getConsumerQuotaLimitsBuilderList
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3; -
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;- Specified by:
getDescendantConsumerQuotaLimitsListin interfaceConsumerQuotaMetricOrBuilder
-
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;- Specified by:
getDescendantConsumerQuotaLimitsCountin interfaceConsumerQuotaMetricOrBuilder
-
getDescendantConsumerQuotaLimits
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;- Specified by:
getDescendantConsumerQuotaLimitsin interfaceConsumerQuotaMetricOrBuilder
-
setDescendantConsumerQuotaLimits
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; -
setDescendantConsumerQuotaLimits
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; -
addDescendantConsumerQuotaLimits
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; -
addDescendantConsumerQuotaLimits
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; -
addDescendantConsumerQuotaLimits
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; -
addDescendantConsumerQuotaLimits
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; -
addAllDescendantConsumerQuotaLimits
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; -
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; -
removeDescendantConsumerQuotaLimits
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; -
getDescendantConsumerQuotaLimitsBuilder
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; -
getDescendantConsumerQuotaLimitsOrBuilder
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;- Specified by:
getDescendantConsumerQuotaLimitsOrBuilderin interfaceConsumerQuotaMetricOrBuilder
-
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;- Specified by:
getDescendantConsumerQuotaLimitsOrBuilderListin interfaceConsumerQuotaMetricOrBuilder
-
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; -
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; -
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; -
getUnit
The units in which the metric value is reported.
string unit = 5;- Specified by:
getUnitin interfaceConsumerQuotaMetricOrBuilder- Returns:
- The unit.
-
getUnitBytes
public com.google.protobuf.ByteString getUnitBytes()The units in which the metric value is reported.
string unit = 5;- Specified by:
getUnitBytesin interfaceConsumerQuotaMetricOrBuilder- Returns:
- The bytes for unit.
-
setUnit
The units in which the metric value is reported.
string unit = 5;- Parameters:
value- The unit to set.- Returns:
- This builder for chaining.
-
clearUnit
The units in which the metric value is reported.
string unit = 5;- Returns:
- This builder for chaining.
-
setUnitBytes
The units in which the metric value is reported.
string unit = 5;- Parameters:
value- The bytes for unit to set.- Returns:
- This builder for chaining.
-