Package com.google.api.cloudquotas.v1
Interface DimensionsInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DimensionsInfo,DimensionsInfo.Builder
@Generated
public interface DimensionsInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsDimensions(String key) The map of dimensions for this dimensions info.getApplicableLocations(int index) The applicable regions or zones of this dimensions info.com.google.protobuf.ByteStringgetApplicableLocationsBytes(int index) The applicable regions or zones of this dimensions info.intThe applicable regions or zones of this dimensions info.The applicable regions or zones of this dimensions info.Quota details for the specified dimensions.Quota details for the specified dimensions.Deprecated.intThe map of dimensions for this dimensions info.The map of dimensions for this dimensions info.getDimensionsOrDefault(String key, String defaultValue) The map of dimensions for this dimensions info.The map of dimensions for this dimensions info.booleanQuota details for the specified dimensions.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDimensionsCount
int getDimensionsCount()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
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; -
getDimensions
Deprecated.UsegetDimensionsMap()instead. -
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; -
getDimensionsOrDefault
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
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; -
hasDetails
boolean hasDetails()Quota details for the specified dimensions.
.google.api.cloudquotas.v1.QuotaDetails details = 2;- Returns:
- Whether the details field is set.
-
getDetails
QuotaDetails getDetails()Quota details for the specified dimensions.
.google.api.cloudquotas.v1.QuotaDetails details = 2;- Returns:
- The details.
-
getDetailsOrBuilder
QuotaDetailsOrBuilder getDetailsOrBuilder()Quota details for the specified dimensions.
.google.api.cloudquotas.v1.QuotaDetails details = 2; -
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;- Returns:
- A list containing the applicableLocations.
-
getApplicableLocationsCount
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;- Returns:
- The count of applicableLocations.
-
getApplicableLocations
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;- Parameters:
index- The index of the element to return.- Returns:
- The applicableLocations at the given index.
-
getApplicableLocationsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the applicableLocations at the given index.
-