public final class DimensionsInfo extends com.google.protobuf.GeneratedMessageV3 implements DimensionsInfoOrBuilder
The detailed quota information such as effective quota value for a combination of dimensions.Protobuf type
google.api.cloudquotas.v1beta.DimensionsInfo| Modifier and Type | Class and Description |
|---|---|
static class |
DimensionsInfo.Builder
The detailed quota information such as effective quota value for a
combination of dimensions.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICABLE_LOCATIONS_FIELD_NUMBER |
static int |
DETAILS_FIELD_NUMBER |
static int |
DIMENSIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDimensions(String key)
The map of dimensions for this dimensions info.
|
boolean |
equals(Object obj) |
String |
getApplicableLocations(int index)
The applicable regions or zones of this dimensions info.
|
com.google.protobuf.ByteString |
getApplicableLocationsBytes(int index)
The applicable regions or zones of this dimensions info.
|
int |
getApplicableLocationsCount()
The applicable regions or zones of this dimensions info.
|
com.google.protobuf.ProtocolStringList |
getApplicableLocationsList()
The applicable regions or zones of this dimensions info.
|
static DimensionsInfo |
getDefaultInstance() |
DimensionsInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
QuotaDetails |
getDetails()
Quota details for the specified dimensions.
|
QuotaDetailsOrBuilder |
getDetailsOrBuilder()
Quota details for the specified dimensions.
|
Map<String,String> |
getDimensions()
Deprecated.
|
int |
getDimensionsCount()
The map of dimensions for this dimensions info.
|
Map<String,String> |
getDimensionsMap()
The map of dimensions for this dimensions info.
|
String |
getDimensionsOrDefault(String key,
String defaultValue)
The map of dimensions for this dimensions info.
|
String |
getDimensionsOrThrow(String key)
The map of dimensions for this dimensions info.
|
com.google.protobuf.Parser<DimensionsInfo> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasDetails()
Quota details for the specified dimensions.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static DimensionsInfo.Builder |
newBuilder() |
static DimensionsInfo.Builder |
newBuilder(DimensionsInfo prototype) |
DimensionsInfo.Builder |
newBuilderForType() |
protected DimensionsInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DimensionsInfo |
parseDelimitedFrom(InputStream input) |
static DimensionsInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionsInfo |
parseFrom(byte[] data) |
static DimensionsInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionsInfo |
parseFrom(ByteBuffer data) |
static DimensionsInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionsInfo |
parseFrom(com.google.protobuf.ByteString data) |
static DimensionsInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionsInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DimensionsInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionsInfo |
parseFrom(InputStream input) |
static DimensionsInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DimensionsInfo> |
parser() |
DimensionsInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 DIMENSIONS_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
public static final int APPLICABLE_LOCATIONS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getDimensionsCount()
DimensionsInfoOrBuilder
The map of dimensions for this dimensions info. The key of a map entry
is "region", "zone" or the name of a service specific dimension, and the
value of a map entry is the value of the dimension. If a dimension does
not appear in the map of dimensions, the dimensions info applies to all
the dimension values except for those that have another DimenisonInfo
instance configured for the specific value.
Example: {"provider" : "Foo Inc"} where "provider" is a service specific
dimension of a quota.
map<string, string> dimensions = 1;getDimensionsCount in interface DimensionsInfoOrBuilderpublic boolean containsDimensions(String key)
The map of dimensions for this dimensions info. The key of a map entry
is "region", "zone" or the name of a service specific dimension, and the
value of a map entry is the value of the dimension. If a dimension does
not appear in the map of dimensions, the dimensions info applies to all
the dimension values except for those that have another DimenisonInfo
instance configured for the specific value.
Example: {"provider" : "Foo Inc"} where "provider" is a service specific
dimension of a quota.
map<string, string> dimensions = 1;containsDimensions in interface DimensionsInfoOrBuilder@Deprecated public Map<String,String> getDimensions()
getDimensionsMap() instead.getDimensions in interface DimensionsInfoOrBuilderpublic Map<String,String> getDimensionsMap()
The map of dimensions for this dimensions info. The key of a map entry
is "region", "zone" or the name of a service specific dimension, and the
value of a map entry is the value of the dimension. If a dimension does
not appear in the map of dimensions, the dimensions info applies to all
the dimension values except for those that have another DimenisonInfo
instance configured for the specific value.
Example: {"provider" : "Foo Inc"} where "provider" is a service specific
dimension of a quota.
map<string, string> dimensions = 1;getDimensionsMap in interface DimensionsInfoOrBuilderpublic String getDimensionsOrDefault(String key, String defaultValue)
The map of dimensions for this dimensions info. The key of a map entry
is "region", "zone" or the name of a service specific dimension, and the
value of a map entry is the value of the dimension. If a dimension does
not appear in the map of dimensions, the dimensions info applies to all
the dimension values except for those that have another DimenisonInfo
instance configured for the specific value.
Example: {"provider" : "Foo Inc"} where "provider" is a service specific
dimension of a quota.
map<string, string> dimensions = 1;getDimensionsOrDefault in interface DimensionsInfoOrBuilderpublic String getDimensionsOrThrow(String key)
The map of dimensions for this dimensions info. The key of a map entry
is "region", "zone" or the name of a service specific dimension, and the
value of a map entry is the value of the dimension. If a dimension does
not appear in the map of dimensions, the dimensions info applies to all
the dimension values except for those that have another DimenisonInfo
instance configured for the specific value.
Example: {"provider" : "Foo Inc"} where "provider" is a service specific
dimension of a quota.
map<string, string> dimensions = 1;getDimensionsOrThrow in interface DimensionsInfoOrBuilderpublic boolean hasDetails()
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;hasDetails in interface DimensionsInfoOrBuilderpublic QuotaDetails getDetails()
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;getDetails in interface DimensionsInfoOrBuilderpublic QuotaDetailsOrBuilder getDetailsOrBuilder()
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;getDetailsOrBuilder in interface DimensionsInfoOrBuilderpublic com.google.protobuf.ProtocolStringList getApplicableLocationsList()
The applicable regions or zones of this dimensions info. The field will be set to ['global'] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
repeated string applicable_locations = 3;getApplicableLocationsList in interface DimensionsInfoOrBuilderpublic int getApplicableLocationsCount()
The applicable regions or zones of this dimensions info. The field will be set to ['global'] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
repeated string applicable_locations = 3;getApplicableLocationsCount in interface DimensionsInfoOrBuilderpublic String getApplicableLocations(int index)
The applicable regions or zones of this dimensions info. The field will be set to ['global'] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
repeated string applicable_locations = 3;getApplicableLocations in interface DimensionsInfoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getApplicableLocationsBytes(int index)
The applicable regions or zones of this dimensions info. The field will be set to ['global'] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.
repeated string applicable_locations = 3;getApplicableLocationsBytes in interface DimensionsInfoOrBuilderindex - The index of the value to return.public 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 DimensionsInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionsInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionsInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionsInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionsInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionsInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static DimensionsInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DimensionsInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DimensionsInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DimensionsInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DimensionsInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DimensionsInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DimensionsInfo.Builder newBuilder()
public static DimensionsInfo.Builder newBuilder(DimensionsInfo prototype)
public DimensionsInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DimensionsInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DimensionsInfo getDefaultInstance()
public static com.google.protobuf.Parser<DimensionsInfo> parser()
public com.google.protobuf.Parser<DimensionsInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DimensionsInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.