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 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

      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;
    • getDimensions

      @Deprecated Map<String,String> getDimensions()
      Deprecated.
      Use getDimensionsMap() instead.
    • getDimensionsMap

      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;
    • getDimensionsOrDefault

      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;
    • getDimensionsOrThrow

      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;
    • 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

      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:
      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

      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;
      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.