Package com.google.cloud.billing.v1
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 Summary
Enum ConstantsEnum ConstantDescriptionThe sku is global in nature, e.g. a license sku.The sku is associated with multiple regions, e.g.The sku is available in a specific region, e.g.The type is not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe sku is global in nature, e.g. a license sku.static final intThe sku is associated with multiple regions, e.g.static final intThe sku is available in a specific region, e.g.static final intThe type is not specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoTaxonomy.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GeoTaxonomy.Type>static GeoTaxonomy.TypevalueOf(int value) Deprecated.static GeoTaxonomy.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static GeoTaxonomy.TypeReturns the enum constant of this type with the specified name.static GeoTaxonomy.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
The type is not specified.
TYPE_UNSPECIFIED = 0; -
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
The sku is available in a specific region, e.g. "us-west2".
REGIONAL = 2; -
MULTI_REGIONAL
The sku is associated with multiple regions, e.g. "us-west2" and "us-east1".
MULTI_REGIONAL = 3; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEThe type is not specified.
TYPE_UNSPECIFIED = 0;- See Also:
-
GLOBAL_VALUE
public static final int GLOBAL_VALUEThe 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:
-
REGIONAL_VALUE
public static final int REGIONAL_VALUEThe sku is available in a specific region, e.g. "us-west2".
REGIONAL = 2;- See Also:
-
MULTI_REGIONAL_VALUE
public static final int MULTI_REGIONAL_VALUEThe sku is associated with multiple regions, e.g. "us-west2" and "us-east1".
MULTI_REGIONAL = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-