Enum ShopGender
- java.lang.Object
-
- java.lang.Enum<ShopGender>
-
- com.streamlayer.interactive.common.ShopGender
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<ShopGender>
public enum ShopGender extends java.lang.Enum<ShopGender> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.interactive.ShopGender
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SHOP_GENDER_FEMALESHOP_GENDER_FEMALE = 2;SHOP_GENDER_MALESHOP_GENDER_MALE = 1;SHOP_GENDER_UNISEXSHOP_GENDER_UNISEX = 3;SHOP_GENDER_UNSETSHOP_GENDER_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intSHOP_GENDER_FEMALE_VALUESHOP_GENDER_FEMALE = 2;static intSHOP_GENDER_MALE_VALUESHOP_GENDER_MALE = 1;static intSHOP_GENDER_UNISEX_VALUESHOP_GENDER_UNISEX = 3;static intSHOP_GENDER_UNSET_VALUESHOP_GENDER_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ShopGenderforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<ShopGender>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static ShopGendervalueOf(int value)Deprecated.static ShopGendervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ShopGender[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHOP_GENDER_UNSET
public static final ShopGender SHOP_GENDER_UNSET
SHOP_GENDER_UNSET = 0;
-
SHOP_GENDER_MALE
public static final ShopGender SHOP_GENDER_MALE
SHOP_GENDER_MALE = 1;
-
SHOP_GENDER_FEMALE
public static final ShopGender SHOP_GENDER_FEMALE
SHOP_GENDER_FEMALE = 2;
-
SHOP_GENDER_UNISEX
public static final ShopGender SHOP_GENDER_UNISEX
SHOP_GENDER_UNISEX = 3;
-
UNRECOGNIZED
public static final ShopGender UNRECOGNIZED
-
-
Field Detail
-
SHOP_GENDER_UNSET_VALUE
public static final int SHOP_GENDER_UNSET_VALUE
SHOP_GENDER_UNSET = 0;- See Also:
- Constant Field Values
-
SHOP_GENDER_MALE_VALUE
public static final int SHOP_GENDER_MALE_VALUE
SHOP_GENDER_MALE = 1;- See Also:
- Constant Field Values
-
SHOP_GENDER_FEMALE_VALUE
public static final int SHOP_GENDER_FEMALE_VALUE
SHOP_GENDER_FEMALE = 2;- See Also:
- Constant Field Values
-
SHOP_GENDER_UNISEX_VALUE
public static final int SHOP_GENDER_UNISEX_VALUE
SHOP_GENDER_UNISEX = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ShopGender[] 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 (ShopGender c : ShopGender.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShopGender valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static ShopGender 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ShopGender forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ShopGender> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-