public final class ConsumerQuotaMetric extends com.google.protobuf.GeneratedMessageV3 implements ConsumerQuotaMetricOrBuilder
Consumer quota settings for a quota metric.Protobuf type
google.api.serviceusage.v1beta1.ConsumerQuotaMetric| Modifier and Type | Class and Description |
|---|---|
static class |
ConsumerQuotaMetric.Builder
Consumer quota settings for a quota metric.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONSUMER_QUOTA_LIMITS_FIELD_NUMBER |
static int |
DESCENDANT_CONSUMER_QUOTA_LIMITS_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
METRIC_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UNIT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ConsumerQuotaLimit |
getConsumerQuotaLimits(int index)
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.
|
static ConsumerQuotaMetric |
getDefaultInstance() |
ConsumerQuotaMetric |
getDefaultInstanceForType() |
ConsumerQuotaLimit |
getDescendantConsumerQuotaLimits(int index)
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() |
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.
|
com.google.protobuf.Parser<ConsumerQuotaMetric> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConsumerQuotaMetric.Builder |
newBuilder() |
static ConsumerQuotaMetric.Builder |
newBuilder(ConsumerQuotaMetric prototype) |
ConsumerQuotaMetric.Builder |
newBuilderForType() |
protected ConsumerQuotaMetric.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConsumerQuotaMetric |
parseDelimitedFrom(InputStream input) |
static ConsumerQuotaMetric |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaMetric |
parseFrom(byte[] data) |
static ConsumerQuotaMetric |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaMetric |
parseFrom(ByteBuffer data) |
static ConsumerQuotaMetric |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaMetric |
parseFrom(com.google.protobuf.ByteString data) |
static ConsumerQuotaMetric |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaMetric |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConsumerQuotaMetric |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaMetric |
parseFrom(InputStream input) |
static ConsumerQuotaMetric |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConsumerQuotaMetric> |
parser() |
ConsumerQuotaMetric.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int CONSUMER_QUOTA_LIMITS_FIELD_NUMBER
public static final int DESCENDANT_CONSUMER_QUOTA_LIMITS_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getName in interface ConsumerQuotaMetricOrBuilderpublic 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;getNameBytes in interface ConsumerQuotaMetricOrBuilderpublic String getMetric()
The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;getMetric in interface ConsumerQuotaMetricOrBuilderpublic com.google.protobuf.ByteString getMetricBytes()
The name of the metric. An example name would be: `compute.googleapis.com/cpus`
string metric = 4;getMetricBytes in interface ConsumerQuotaMetricOrBuilderpublic String getDisplayName()
The display name of the metric. An example name would be: `CPUs`
string display_name = 2;getDisplayName in interface ConsumerQuotaMetricOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the metric. An example name would be: `CPUs`
string display_name = 2;getDisplayNameBytes in interface ConsumerQuotaMetricOrBuilderpublic List<ConsumerQuotaLimit> getConsumerQuotaLimitsList()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
getConsumerQuotaLimitsList in interface ConsumerQuotaMetricOrBuilderpublic 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;
getConsumerQuotaLimitsOrBuilderList in interface ConsumerQuotaMetricOrBuilderpublic int getConsumerQuotaLimitsCount()
The consumer quota for each quota limit defined on the metric.
repeated .google.api.serviceusage.v1beta1.ConsumerQuotaLimit consumer_quota_limits = 3;
getConsumerQuotaLimitsCount in interface ConsumerQuotaMetricOrBuilderpublic 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;
getConsumerQuotaLimits in interface ConsumerQuotaMetricOrBuilderpublic 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;
getConsumerQuotaLimitsOrBuilder in interface ConsumerQuotaMetricOrBuilderpublic 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;
getDescendantConsumerQuotaLimitsList in interface ConsumerQuotaMetricOrBuilderpublic 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;
getDescendantConsumerQuotaLimitsOrBuilderList in interface ConsumerQuotaMetricOrBuilderpublic 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;
getDescendantConsumerQuotaLimitsCount in interface ConsumerQuotaMetricOrBuilderpublic 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;
getDescendantConsumerQuotaLimits in interface ConsumerQuotaMetricOrBuilderpublic 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;
getDescendantConsumerQuotaLimitsOrBuilder in interface ConsumerQuotaMetricOrBuilderpublic String getUnit()
The units in which the metric value is reported.
string unit = 5;getUnit in interface ConsumerQuotaMetricOrBuilderpublic com.google.protobuf.ByteString getUnitBytes()
The units in which the metric value is reported.
string unit = 5;getUnitBytes in interface ConsumerQuotaMetricOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConsumerQuotaMetric parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaMetric parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaMetric parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaMetric parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaMetric parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaMetric parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConsumerQuotaMetric parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConsumerQuotaMetric parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConsumerQuotaMetric parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConsumerQuotaMetric parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConsumerQuotaMetric parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConsumerQuotaMetric.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConsumerQuotaMetric.Builder newBuilder()
public static ConsumerQuotaMetric.Builder newBuilder(ConsumerQuotaMetric prototype)
public ConsumerQuotaMetric.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConsumerQuotaMetric.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConsumerQuotaMetric getDefaultInstance()
public static com.google.protobuf.Parser<ConsumerQuotaMetric> parser()
public com.google.protobuf.Parser<ConsumerQuotaMetric> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConsumerQuotaMetric getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.