Interface DimensionsInfoOrBuilder (0.8.0)

public interface DimensionsInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDimensions(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getApplicableLocations(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The applicableLocations at the given index.

getApplicableLocationsBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the applicableLocations at the given index.

getApplicableLocationsCount()

public abstract 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
TypeDescription
int

The count of applicableLocations.

getApplicableLocationsList()

public abstract List<String> 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
TypeDescription
List<String>

A list containing the applicableLocations.

getDetails()

public abstract QuotaDetails getDetails()

Quota details for the specified dimensions.

.google.api.cloudquotas.v1.QuotaDetails details = 2;

Returns
TypeDescription
QuotaDetails

The details.

getDetailsOrBuilder()

public abstract QuotaDetailsOrBuilder getDetailsOrBuilder()

Quota details for the specified dimensions.

.google.api.cloudquotas.v1.QuotaDetails details = 2;

Returns
TypeDescription
QuotaDetailsOrBuilder

getDimensions() (deprecated)

public abstract Map<String,String> getDimensions()

Use #getDimensionsMap() instead.

Returns
TypeDescription
Map<String,String>

getDimensionsCount()

public abstract 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;

Returns
TypeDescription
int

getDimensionsMap()

public abstract 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;

Returns
TypeDescription
Map<String,String>

getDimensionsOrDefault(String key, String defaultValue)

public abstract 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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDimensionsOrThrow(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

hasDetails()

public abstract boolean hasDetails()

Quota details for the specified dimensions.

.google.api.cloudquotas.v1.QuotaDetails details = 2;

Returns
TypeDescription
boolean

Whether the details field is set.