public final class ConsumerQuotaLimit extends com.google.protobuf.GeneratedMessageV3 implements ConsumerQuotaLimitOrBuilder
Consumer quota settings for a quota limit.Protobuf type
google.api.serviceusage.v1beta1.ConsumerQuotaLimit| Modifier and Type | Class and Description |
|---|---|
static class |
ConsumerQuotaLimit.Builder
Consumer quota settings for a quota limit.
|
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 |
ALLOWS_ADMIN_OVERRIDES_FIELD_NUMBER |
static int |
IS_PRECISE_FIELD_NUMBER |
static int |
METRIC_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
QUOTA_BUCKETS_FIELD_NUMBER |
static int |
UNIT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowsAdminOverrides()
Whether admin overrides are allowed on this limit
|
static ConsumerQuotaLimit |
getDefaultInstance() |
ConsumerQuotaLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsPrecise()
Whether this limit is precise or imprecise.
|
String |
getMetric()
The name of the parent metric of this limit.
|
com.google.protobuf.ByteString |
getMetricBytes()
The name of the parent metric of this limit.
|
String |
getName()
The resource name of the quota limit.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the quota limit.
|
com.google.protobuf.Parser<ConsumerQuotaLimit> |
getParserForType() |
QuotaBucket |
getQuotaBuckets(int index)
Summary of the enforced quota buckets, organized by quota dimension,
ordered from least specific to most specific (for example, the global
default bucket, with no quota dimensions, will always appear first).
|
int |
getQuotaBucketsCount()
Summary of the enforced quota buckets, organized by quota dimension,
ordered from least specific to most specific (for example, the global
default bucket, with no quota dimensions, will always appear first).
|
List<QuotaBucket> |
getQuotaBucketsList()
Summary of the enforced quota buckets, organized by quota dimension,
ordered from least specific to most specific (for example, the global
default bucket, with no quota dimensions, will always appear first).
|
QuotaBucketOrBuilder |
getQuotaBucketsOrBuilder(int index)
Summary of the enforced quota buckets, organized by quota dimension,
ordered from least specific to most specific (for example, the global
default bucket, with no quota dimensions, will always appear first).
|
List<? extends QuotaBucketOrBuilder> |
getQuotaBucketsOrBuilderList()
Summary of the enforced quota buckets, organized by quota dimension,
ordered from least specific to most specific (for example, the global
default bucket, with no quota dimensions, will always appear first).
|
int |
getSerializedSize() |
String |
getUnit()
The limit unit.
|
com.google.protobuf.ByteString |
getUnitBytes()
The limit unit.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConsumerQuotaLimit.Builder |
newBuilder() |
static ConsumerQuotaLimit.Builder |
newBuilder(ConsumerQuotaLimit prototype) |
ConsumerQuotaLimit.Builder |
newBuilderForType() |
protected ConsumerQuotaLimit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConsumerQuotaLimit |
parseDelimitedFrom(InputStream input) |
static ConsumerQuotaLimit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaLimit |
parseFrom(byte[] data) |
static ConsumerQuotaLimit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaLimit |
parseFrom(ByteBuffer data) |
static ConsumerQuotaLimit |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaLimit |
parseFrom(com.google.protobuf.ByteString data) |
static ConsumerQuotaLimit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaLimit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConsumerQuotaLimit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConsumerQuotaLimit |
parseFrom(InputStream input) |
static ConsumerQuotaLimit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConsumerQuotaLimit> |
parser() |
ConsumerQuotaLimit.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 UNIT_FIELD_NUMBER
public static final int IS_PRECISE_FIELD_NUMBER
public static final int ALLOWS_ADMIN_OVERRIDES_FIELD_NUMBER
public static final int QUOTA_BUCKETS_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 limit. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` 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 ConsumerQuotaLimitOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the quota limit. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` 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 ConsumerQuotaLimitOrBuilderpublic String getMetric()
The name of the parent metric of this limit. An example name would be: `compute.googleapis.com/cpus`
string metric = 8;getMetric in interface ConsumerQuotaLimitOrBuilderpublic com.google.protobuf.ByteString getMetricBytes()
The name of the parent metric of this limit. An example name would be: `compute.googleapis.com/cpus`
string metric = 8;getMetricBytes in interface ConsumerQuotaLimitOrBuilderpublic String getUnit()
The limit unit.
An example unit would be
`1/{project}/{region}`
Note that `{project}` and `{region}` are not placeholders in this example;
the literal characters `{` and `}` occur in the string.
string unit = 2;getUnit in interface ConsumerQuotaLimitOrBuilderpublic com.google.protobuf.ByteString getUnitBytes()
The limit unit.
An example unit would be
`1/{project}/{region}`
Note that `{project}` and `{region}` are not placeholders in this example;
the literal characters `{` and `}` occur in the string.
string unit = 2;getUnitBytes in interface ConsumerQuotaLimitOrBuilderpublic boolean getIsPrecise()
Whether this limit is precise or imprecise.
bool is_precise = 3;getIsPrecise in interface ConsumerQuotaLimitOrBuilderpublic boolean getAllowsAdminOverrides()
Whether admin overrides are allowed on this limit
bool allows_admin_overrides = 7;getAllowsAdminOverrides in interface ConsumerQuotaLimitOrBuilderpublic List<QuotaBucket> getQuotaBucketsList()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;getQuotaBucketsList in interface ConsumerQuotaLimitOrBuilderpublic List<? extends QuotaBucketOrBuilder> getQuotaBucketsOrBuilderList()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;getQuotaBucketsOrBuilderList in interface ConsumerQuotaLimitOrBuilderpublic int getQuotaBucketsCount()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;getQuotaBucketsCount in interface ConsumerQuotaLimitOrBuilderpublic QuotaBucket getQuotaBuckets(int index)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;getQuotaBuckets in interface ConsumerQuotaLimitOrBuilderpublic QuotaBucketOrBuilder getQuotaBucketsOrBuilder(int index)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least specific to most specific (for example, the global default bucket, with no quota dimensions, will always appear first).
repeated .google.api.serviceusage.v1beta1.QuotaBucket quota_buckets = 9;getQuotaBucketsOrBuilder in interface ConsumerQuotaLimitOrBuilderpublic 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 ConsumerQuotaLimit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaLimit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaLimit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaLimit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConsumerQuotaLimit parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConsumerQuotaLimit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConsumerQuotaLimit parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConsumerQuotaLimit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConsumerQuotaLimit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConsumerQuotaLimit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConsumerQuotaLimit.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConsumerQuotaLimit.Builder newBuilder()
public static ConsumerQuotaLimit.Builder newBuilder(ConsumerQuotaLimit prototype)
public ConsumerQuotaLimit.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConsumerQuotaLimit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConsumerQuotaLimit getDefaultInstance()
public static com.google.protobuf.Parser<ConsumerQuotaLimit> parser()
public com.google.protobuf.Parser<ConsumerQuotaLimit> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConsumerQuotaLimit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.