public static final class DimensionsInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder> 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 | Method and Description |
|---|---|
DimensionsInfo.Builder |
addAllApplicableLocations(Iterable<String> values)
The applicable regions or zones of this dimensions info.
|
DimensionsInfo.Builder |
addApplicableLocations(String value)
The applicable regions or zones of this dimensions info.
|
DimensionsInfo.Builder |
addApplicableLocationsBytes(com.google.protobuf.ByteString value)
The applicable regions or zones of this dimensions info.
|
DimensionsInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DimensionsInfo |
build() |
DimensionsInfo |
buildPartial() |
DimensionsInfo.Builder |
clear() |
DimensionsInfo.Builder |
clearApplicableLocations()
The applicable regions or zones of this dimensions info.
|
DimensionsInfo.Builder |
clearDetails()
Quota details for the specified dimensions.
|
DimensionsInfo.Builder |
clearDimensions() |
DimensionsInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DimensionsInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DimensionsInfo.Builder |
clone() |
boolean |
containsDimensions(String key)
The map of dimensions for this dimensions info.
|
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.
|
DimensionsInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
QuotaDetails |
getDetails()
Quota details for the specified dimensions.
|
QuotaDetails.Builder |
getDetailsBuilder()
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.
|
Map<String,String> |
getMutableDimensions()
Deprecated.
|
boolean |
hasDetails()
Quota details for the specified dimensions.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
DimensionsInfo.Builder |
mergeDetails(QuotaDetails value)
Quota details for the specified dimensions.
|
DimensionsInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DimensionsInfo.Builder |
mergeFrom(DimensionsInfo other) |
DimensionsInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
DimensionsInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DimensionsInfo.Builder |
putAllDimensions(Map<String,String> values)
The map of dimensions for this dimensions info.
|
DimensionsInfo.Builder |
putDimensions(String key,
String value)
The map of dimensions for this dimensions info.
|
DimensionsInfo.Builder |
removeDimensions(String key)
The map of dimensions for this dimensions info.
|
DimensionsInfo.Builder |
setApplicableLocations(int index,
String value)
The applicable regions or zones of this dimensions info.
|
DimensionsInfo.Builder |
setDetails(QuotaDetails.Builder builderForValue)
Quota details for the specified dimensions.
|
DimensionsInfo.Builder |
setDetails(QuotaDetails value)
Quota details for the specified dimensions.
|
DimensionsInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DimensionsInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DimensionsInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DimensionsInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DimensionsInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DimensionsInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder mergeFrom(DimensionsInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public DimensionsInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionsInfo.Builder>IOExceptionpublic 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 DimensionsInfo.Builder clearDimensions()
public DimensionsInfo.Builder removeDimensions(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;@Deprecated public Map<String,String> getMutableDimensions()
public DimensionsInfo.Builder putDimensions(String key, String value)
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;public DimensionsInfo.Builder putAllDimensions(Map<String,String> values)
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;public 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 DimensionsInfo.Builder setDetails(QuotaDetails value)
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;public DimensionsInfo.Builder setDetails(QuotaDetails.Builder builderForValue)
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;public DimensionsInfo.Builder mergeDetails(QuotaDetails value)
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;public DimensionsInfo.Builder clearDetails()
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;public QuotaDetails.Builder getDetailsBuilder()
Quota details for the specified dimensions.
.google.api.cloudquotas.v1beta.QuotaDetails details = 2;public 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 DimensionsInfo.Builder setApplicableLocations(int index, String value)
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;index - The index to set the value at.value - The applicableLocations to set.public DimensionsInfo.Builder addApplicableLocations(String value)
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;value - The applicableLocations to add.public DimensionsInfo.Builder addAllApplicableLocations(Iterable<String> values)
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;values - The applicableLocations to add.public DimensionsInfo.Builder clearApplicableLocations()
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;public DimensionsInfo.Builder addApplicableLocationsBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the applicableLocations to add.public final DimensionsInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>public final DimensionsInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionsInfo.Builder>Copyright © 2025 Google LLC. All rights reserved.