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.Builder
addAllConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
addAllDescendantConsumerQuotaLimits(Iterable<? extends ConsumerQuotaLimit> values)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
addConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
addConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
addConsumerQuotaLimits(ConsumerQuotaLimit value)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
addConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaLimit.Builder
addConsumerQuotaLimitsBuilder()
The consumer quota for each quota limit defined on the metric.ConsumerQuotaLimit.Builder
addConsumerQuotaLimitsBuilder(int index)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
addDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
addDescendantConsumerQuotaLimits(ConsumerQuotaLimit value)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
addDescendantConsumerQuotaLimits(ConsumerQuotaLimit.Builder builderForValue)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaLimit.Builder
addDescendantConsumerQuotaLimitsBuilder()
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaLimit.Builder
addDescendantConsumerQuotaLimitsBuilder(int index)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConsumerQuotaMetric
build()
ConsumerQuotaMetric
buildPartial()
ConsumerQuotaMetric.Builder
clear()
ConsumerQuotaMetric.Builder
clearConsumerQuotaLimits()
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
clearDescendantConsumerQuotaLimits()
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
clearDisplayName()
The display name of the metric.ConsumerQuotaMetric.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConsumerQuotaMetric.Builder
clearMetric()
The name of the metric.ConsumerQuotaMetric.Builder
clearName()
The resource name of the quota settings on this metric for this consumer.ConsumerQuotaMetric.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConsumerQuotaMetric.Builder
clearUnit()
The units in which the metric value is reported.ConsumerQuotaMetric.Builder
clone()
ConsumerQuotaLimit
getConsumerQuotaLimits(int index)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaLimit.Builder
getConsumerQuotaLimitsBuilder(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.int
getConsumerQuotaLimitsCount()
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.ConsumerQuotaLimitOrBuilder
getConsumerQuotaLimitsOrBuilder(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.ConsumerQuotaMetric
getDefaultInstanceForType()
ConsumerQuotaLimit
getDescendantConsumerQuotaLimits(int index)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaLimit.Builder
getDescendantConsumerQuotaLimitsBuilder(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.int
getDescendantConsumerQuotaLimitsCount()
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.ConsumerQuotaLimitOrBuilder
getDescendantConsumerQuotaLimitsOrBuilder(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.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
The display name of the metric.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the metric.String
getMetric()
The name of the metric.com.google.protobuf.ByteString
getMetricBytes()
The name of the metric.String
getName()
The resource name of the quota settings on this metric for this consumer.com.google.protobuf.ByteString
getNameBytes()
The resource name of the quota settings on this metric for this consumer.String
getUnit()
The units in which the metric value is reported.com.google.protobuf.ByteString
getUnitBytes()
The units in which the metric value is reported.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ConsumerQuotaMetric.Builder
mergeFrom(ConsumerQuotaMetric other)
ConsumerQuotaMetric.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConsumerQuotaMetric.Builder
mergeFrom(com.google.protobuf.Message other)
ConsumerQuotaMetric.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConsumerQuotaMetric.Builder
removeConsumerQuotaLimits(int index)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
removeDescendantConsumerQuotaLimits(int index)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
setConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
setConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The consumer quota for each quota limit defined on the metric.ConsumerQuotaMetric.Builder
setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit value)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
setDescendantConsumerQuotaLimits(int index, ConsumerQuotaLimit.Builder builderForValue)
The quota limits targeting the descendant containers of the consumer in request.ConsumerQuotaMetric.Builder
setDisplayName(String value)
The display name of the metric.ConsumerQuotaMetric.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the metric.ConsumerQuotaMetric.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConsumerQuotaMetric.Builder
setMetric(String value)
The name of the metric.ConsumerQuotaMetric.Builder
setMetricBytes(com.google.protobuf.ByteString value)
The name of the metric.ConsumerQuotaMetric.Builder
setName(String value)
The resource name of the quota settings on this metric for this consumer.ConsumerQuotaMetric.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the quota settings on this metric for this consumer.ConsumerQuotaMetric.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ConsumerQuotaMetric.Builder
setUnit(String value)
The units in which the metric value is reported.ConsumerQuotaMetric.Builder
setUnitBytes(com.google.protobuf.ByteString value)
The units in which the metric value is reported.ConsumerQuotaMetric.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
clear
public ConsumerQuotaMetric.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
getDefaultInstanceForType
public ConsumerQuotaMetric getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConsumerQuotaMetric build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConsumerQuotaMetric buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConsumerQuotaMetric.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
setField
public ConsumerQuotaMetric.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
clearField
public ConsumerQuotaMetric.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
clearOneof
public ConsumerQuotaMetric.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
setRepeatedField
public ConsumerQuotaMetric.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
addRepeatedField
public ConsumerQuotaMetric.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
mergeFrom
public ConsumerQuotaMetric.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConsumerQuotaMetric.Builder>
-
mergeFrom
public ConsumerQuotaMetric.Builder mergeFrom(ConsumerQuotaMetric other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getMetric
in 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:
getMetricBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getConsumerQuotaLimitsList
in 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:
getConsumerQuotaLimitsCount
in 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:
getConsumerQuotaLimits
in 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:
getConsumerQuotaLimitsOrBuilder
in 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:
getConsumerQuotaLimitsOrBuilderList
in 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:
getDescendantConsumerQuotaLimitsList
in 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:
getDescendantConsumerQuotaLimitsCount
in 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:
getDescendantConsumerQuotaLimits
in 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:
getDescendantConsumerQuotaLimitsOrBuilder
in 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:
getDescendantConsumerQuotaLimitsOrBuilderList
in 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:
getUnit
in 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:
getUnitBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
mergeUnknownFields
public final ConsumerQuotaMetric.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConsumerQuotaMetric.Builder>
-
-