Enum GeoTaxonomy.Type

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<GeoTaxonomy.Type>
    Enclosing class:
    GeoTaxonomy

    public static enum GeoTaxonomy.Type
    extends Enum<GeoTaxonomy.Type>
    implements com.google.protobuf.ProtocolMessageEnum
     The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
     
    Protobuf enum google.cloud.billing.v1.GeoTaxonomy.Type
    • Enum Constant Detail

      • TYPE_UNSPECIFIED

        public static final GeoTaxonomy.Type TYPE_UNSPECIFIED
         The type is not specified.
         
        TYPE_UNSPECIFIED = 0;
      • GLOBAL

        public static final GeoTaxonomy.Type GLOBAL
         The sku is global in nature, e.g. a license sku. Global skus are
         available in all regions, and so have an empty region list.
         
        GLOBAL = 1;
      • REGIONAL

        public static final GeoTaxonomy.Type REGIONAL
         The sku is available in a specific region, e.g. "us-west2".
         
        REGIONAL = 2;
      • MULTI_REGIONAL

        public static final GeoTaxonomy.Type MULTI_REGIONAL
         The sku is associated with multiple regions, e.g. "us-west2" and
         "us-east1".
         
        MULTI_REGIONAL = 3;
    • Field Detail

      • TYPE_UNSPECIFIED_VALUE

        public static final int TYPE_UNSPECIFIED_VALUE
         The type is not specified.
         
        TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • GLOBAL_VALUE

        public static final int GLOBAL_VALUE
         The sku is global in nature, e.g. a license sku. Global skus are
         available in all regions, and so have an empty region list.
         
        GLOBAL = 1;
        See Also:
        Constant Field Values
      • REGIONAL_VALUE

        public static final int REGIONAL_VALUE
         The sku is available in a specific region, e.g. "us-west2".
         
        REGIONAL = 2;
        See Also:
        Constant Field Values
      • MULTI_REGIONAL_VALUE

        public static final int MULTI_REGIONAL_VALUE
         The sku is associated with multiple regions, e.g. "us-west2" and
         "us-east1".
         
        MULTI_REGIONAL = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static GeoTaxonomy.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GeoTaxonomy.Type c : GeoTaxonomy.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GeoTaxonomy.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static GeoTaxonomy.Type valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static GeoTaxonomy.Type forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<GeoTaxonomy.Type> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static GeoTaxonomy.Type valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null