Class ConsumerQuotaMetric.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder> implements ConsumerQuotaMetricOrBuilder
Consumer quota settings for a quota metric.
Protobuf typegoogle.api.serviceusage.v1beta1.ConsumerQuotaMetric
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsumerQuotaMetric.BuilderaddAllConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuilderaddAllDescendantConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuilderaddConsumerQuotaLimits(int index, ConsumerQuotaLimit value)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuilderaddConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuilderaddConsumerQuotaLimits(ConsumerQuotaLimit value)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuilderaddConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)The consumer quota for each quota limit defined on the metric.ConsumerQuotaLimit.BuilderaddConsumerQuotaLimitsBuilder()The consumer quota for each quota limit defined on the metric.ConsumerQuotaLimit.BuilderaddConsumerQuotaLimitsBuilder(int index)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuilderaddDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuilderaddDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuilderaddDescendantConsumerQuotaLimits(ConsumerQuotaLimit value)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuilderaddDescendantConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaLimit.BuilderaddDescendantConsumerQuotaLimitsBuilder()The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaLimit.BuilderaddDescendantConsumerQuotaLimitsBuilder(int index)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConsumerQuotaMetricbuild()ConsumerQuotaMetricbuildPartial()ConsumerQuotaMetric.Builderclear()ConsumerQuotaMetric.BuilderclearConsumerQuotaLimits()The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuilderclearDescendantConsumerQuotaLimits()The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuilderclearDisplayName()The display name of the metric.ConsumerQuotaMetric.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConsumerQuotaMetric.BuilderclearMetric()The name of the metric.ConsumerQuotaMetric.BuilderclearName()The resource name of the quota settings on this metric for this consumer.ConsumerQuotaMetric.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConsumerQuotaMetric.BuilderclearUnit()The units in which the metric value is reported.ConsumerQuotaMetric.Builderclone()ConsumerQuotaLimitgetConsumerQuotaLimits(int index)The consumer quota for each quota limit defined on the metric.ConsumerQuotaLimit.BuildergetConsumerQuotaLimitsBuilder(int index)The consumer quota for each quota limit defined on the metric.List<ConsumerQuotaLimit.Builder>getConsumerQuotaLimitsBuilderList()The consumer quota for each quota limit defined on the metric.intgetConsumerQuotaLimitsCount()The consumer quota for each quota limit defined on the metric.List<ConsumerQuotaLimit>getConsumerQuotaLimitsList()The consumer quota for each quota limit defined on the metric.ConsumerQuotaLimitOrBuildergetConsumerQuotaLimitsOrBuilder(int index)The consumer quota for each quota limit defined on the metric.List<? extends ConsumerQuotaLimitOrBuilder>getConsumerQuotaLimitsOrBuilderList()The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetricgetDefaultInstanceForType()ConsumerQuotaLimitgetDescendantConsumerQuotaLimits(int index)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaLimit.BuildergetDescendantConsumerQuotaLimitsBuilder(int index)The quota limits targeting the descendant containers of the consumer in request.List<ConsumerQuotaLimit.Builder>getDescendantConsumerQuotaLimitsBuilderList()The quota limits targeting the descendant containers of the consumer in request.intgetDescendantConsumerQuotaLimitsCount()The quota limits targeting the descendant containers of the consumer in request.List<ConsumerQuotaLimit>getDescendantConsumerQuotaLimitsList()The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaLimitOrBuildergetDescendantConsumerQuotaLimitsOrBuilder(int index)The quota limits targeting the descendant containers of the consumer in request.List<? extends ConsumerQuotaLimitOrBuilder>getDescendantConsumerQuotaLimitsOrBuilderList()The quota limits targeting the descendant containers of the consumer in request.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The display name of the metric.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the metric.StringgetMetric()The name of the metric.com.google.protobuf.ByteStringgetMetricBytes()The name of the metric.StringgetName()The resource name of the quota settings on this metric for this consumer.com.google.protobuf.ByteStringgetNameBytes()The resource name of the quota settings on this metric for this consumer.StringgetUnit()The units in which the metric value is reported.com.google.protobuf.ByteStringgetUnitBytes()The units in which the metric value is reported.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConsumerQuotaMetric.BuildermergeFrom(ConsumerQuotaMetric other)ConsumerQuotaMetric.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConsumerQuotaMetric.BuildermergeFrom(com.google.protobuf.Message other)ConsumerQuotaMetric.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConsumerQuotaMetric.BuilderremoveConsumerQuotaLimits(int index)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuilderremoveDescendantConsumerQuotaLimits(int index)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuildersetConsumerQuotaLimits(int index, ConsumerQuotaLimit value)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuildersetConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.BuildersetDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuildersetDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.BuildersetDisplayName(String value)The display name of the metric.ConsumerQuotaMetric.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The display name of the metric.ConsumerQuotaMetric.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConsumerQuotaMetric.BuildersetMetric(String value)The name of the metric.ConsumerQuotaMetric.BuildersetMetricBytes(com.google.protobuf.ByteString value)The name of the metric.ConsumerQuotaMetric.BuildersetName(String value)The resource name of the quota settings on this metric for this consumer.ConsumerQuotaMetric.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the quota settings on this metric for this consumer.ConsumerQuotaMetric.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConsumerQuotaMetric.BuildersetUnit(String value)The units in which the metric value is reported.ConsumerQuotaMetric.BuildersetUnitBytes(com.google.protobuf.ByteString value)The units in which the metric value is reported.ConsumerQuotaMetric.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
clear
public ConsumerQuotaMetric.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
getDefaultInstanceForType
public ConsumerQuotaMetric getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConsumerQuotaMetric build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConsumerQuotaMetric buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConsumerQuotaMetric.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
setField
public ConsumerQuotaMetric.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
clearField
public ConsumerQuotaMetric.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
clearOneof
public ConsumerQuotaMetric.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
setRepeatedField
public ConsumerQuotaMetric.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
addRepeatedField
public ConsumerQuotaMetric.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
mergeFrom
public ConsumerQuotaMetric.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConsumerQuotaMetric.Builder>
-
mergeFrom
public ConsumerQuotaMetric.Builder mergeFrom(ConsumerQuotaMetric other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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;- 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
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;- Parameters:
value- The name to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setNameBytes
public ConsumerQuotaMetric.Builder setNameBytes(com.google.protobuf.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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getMetric
public String 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
public ConsumerQuotaMetric.Builder setMetric(String value)
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
public ConsumerQuotaMetric.Builder clearMetric()
The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;- Returns:
- This builder for chaining.
-
setMetricBytes
public ConsumerQuotaMetric.Builder setMetricBytes(com.google.protobuf.ByteString value)
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
public String 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
public ConsumerQuotaMetric.Builder setDisplayName(String value)
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
public ConsumerQuotaMetric.Builder clearDisplayName()
The display name of the metric. An example name would be: `CPUs`
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public ConsumerQuotaMetric.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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
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;- 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
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;- Specified by:
getConsumerQuotaLimitsin interfaceConsumerQuotaMetricOrBuilder
-
setConsumerQuotaLimits
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;
-
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
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;
-
addConsumerQuotaLimits
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;
-
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
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;
-
removeConsumerQuotaLimits
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;
-
getConsumerQuotaLimitsBuilder
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;
-
getConsumerQuotaLimitsOrBuilder
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;- Specified by:
getConsumerQuotaLimitsOrBuilderin interfaceConsumerQuotaMetricOrBuilder
-
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;- Specified by:
getConsumerQuotaLimitsOrBuilderListin interfaceConsumerQuotaMetricOrBuilder
-
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;
-
addConsumerQuotaLimitsBuilder
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;
-
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;
-
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;- 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
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;- 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
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;
-
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
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;
-
removeDescendantConsumerQuotaLimits
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;
-
getDescendantConsumerQuotaLimitsBuilder
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;
-
getDescendantConsumerQuotaLimitsOrBuilder
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;- Specified by:
getDescendantConsumerQuotaLimitsOrBuilderin interfaceConsumerQuotaMetricOrBuilder
-
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;- Specified by:
getDescendantConsumerQuotaLimitsOrBuilderListin interfaceConsumerQuotaMetricOrBuilder
-
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;
-
addDescendantConsumerQuotaLimitsBuilder
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;
-
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;
-
getUnit
public String 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
public ConsumerQuotaMetric.Builder setUnit(String value)
The units in which the metric value is reported.
string unit = 5;- Parameters:
value- The unit to set.- Returns:
- This builder for chaining.
-
clearUnit
public ConsumerQuotaMetric.Builder clearUnit()
The units in which the metric value is reported.
string unit = 5;- Returns:
- This builder for chaining.
-
setUnitBytes
public ConsumerQuotaMetric.Builder setUnitBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final ConsumerQuotaMetric.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
mergeUnknownFields
public final ConsumerQuotaMetric.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
-