Package com.streamlayer.sports.hockey
Enum HockeyPlayerPosition
- java.lang.Object
-
- java.lang.Enum<HockeyPlayerPosition>
-
- com.streamlayer.sports.hockey.HockeyPlayerPosition
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<HockeyPlayerPosition>
public enum HockeyPlayerPosition extends java.lang.Enum<HockeyPlayerPosition> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sports.hockey.HockeyPlayerPosition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HOCKEY_PLAYER_POSITION_CENTERHOCKEY_PLAYER_POSITION_CENTER = 1;HOCKEY_PLAYER_POSITION_DEFENSEHOCKEY_PLAYER_POSITION_DEFENSE = 4;HOCKEY_PLAYER_POSITION_GOALTENDERHOCKEY_PLAYER_POSITION_GOALTENDER = 5;HOCKEY_PLAYER_POSITION_LEFT_WINDHOCKEY_PLAYER_POSITION_LEFT_WIND = 2;HOCKEY_PLAYER_POSITION_RIGHT_WINGHOCKEY_PLAYER_POSITION_RIGHT_WING = 3;HOCKEY_PLAYER_POSITION_UNSETHOCKEY_PLAYER_POSITION_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intHOCKEY_PLAYER_POSITION_CENTER_VALUEHOCKEY_PLAYER_POSITION_CENTER = 1;static intHOCKEY_PLAYER_POSITION_DEFENSE_VALUEHOCKEY_PLAYER_POSITION_DEFENSE = 4;static intHOCKEY_PLAYER_POSITION_GOALTENDER_VALUEHOCKEY_PLAYER_POSITION_GOALTENDER = 5;static intHOCKEY_PLAYER_POSITION_LEFT_WIND_VALUEHOCKEY_PLAYER_POSITION_LEFT_WIND = 2;static intHOCKEY_PLAYER_POSITION_RIGHT_WING_VALUEHOCKEY_PLAYER_POSITION_RIGHT_WING = 3;static intHOCKEY_PLAYER_POSITION_UNSET_VALUEHOCKEY_PLAYER_POSITION_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HockeyPlayerPositionforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<HockeyPlayerPosition>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static HockeyPlayerPositionvalueOf(int value)Deprecated.static HockeyPlayerPositionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HockeyPlayerPosition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOCKEY_PLAYER_POSITION_UNSET
public static final HockeyPlayerPosition HOCKEY_PLAYER_POSITION_UNSET
HOCKEY_PLAYER_POSITION_UNSET = 0;
-
HOCKEY_PLAYER_POSITION_CENTER
public static final HockeyPlayerPosition HOCKEY_PLAYER_POSITION_CENTER
HOCKEY_PLAYER_POSITION_CENTER = 1;
-
HOCKEY_PLAYER_POSITION_LEFT_WIND
public static final HockeyPlayerPosition HOCKEY_PLAYER_POSITION_LEFT_WIND
HOCKEY_PLAYER_POSITION_LEFT_WIND = 2;
-
HOCKEY_PLAYER_POSITION_RIGHT_WING
public static final HockeyPlayerPosition HOCKEY_PLAYER_POSITION_RIGHT_WING
HOCKEY_PLAYER_POSITION_RIGHT_WING = 3;
-
HOCKEY_PLAYER_POSITION_DEFENSE
public static final HockeyPlayerPosition HOCKEY_PLAYER_POSITION_DEFENSE
HOCKEY_PLAYER_POSITION_DEFENSE = 4;
-
HOCKEY_PLAYER_POSITION_GOALTENDER
public static final HockeyPlayerPosition HOCKEY_PLAYER_POSITION_GOALTENDER
HOCKEY_PLAYER_POSITION_GOALTENDER = 5;
-
UNRECOGNIZED
public static final HockeyPlayerPosition UNRECOGNIZED
-
-
Field Detail
-
HOCKEY_PLAYER_POSITION_UNSET_VALUE
public static final int HOCKEY_PLAYER_POSITION_UNSET_VALUE
HOCKEY_PLAYER_POSITION_UNSET = 0;- See Also:
- Constant Field Values
-
HOCKEY_PLAYER_POSITION_CENTER_VALUE
public static final int HOCKEY_PLAYER_POSITION_CENTER_VALUE
HOCKEY_PLAYER_POSITION_CENTER = 1;- See Also:
- Constant Field Values
-
HOCKEY_PLAYER_POSITION_LEFT_WIND_VALUE
public static final int HOCKEY_PLAYER_POSITION_LEFT_WIND_VALUE
HOCKEY_PLAYER_POSITION_LEFT_WIND = 2;- See Also:
- Constant Field Values
-
HOCKEY_PLAYER_POSITION_RIGHT_WING_VALUE
public static final int HOCKEY_PLAYER_POSITION_RIGHT_WING_VALUE
HOCKEY_PLAYER_POSITION_RIGHT_WING = 3;- See Also:
- Constant Field Values
-
HOCKEY_PLAYER_POSITION_DEFENSE_VALUE
public static final int HOCKEY_PLAYER_POSITION_DEFENSE_VALUE
HOCKEY_PLAYER_POSITION_DEFENSE = 4;- See Also:
- Constant Field Values
-
HOCKEY_PLAYER_POSITION_GOALTENDER_VALUE
public static final int HOCKEY_PLAYER_POSITION_GOALTENDER_VALUE
HOCKEY_PLAYER_POSITION_GOALTENDER = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static HockeyPlayerPosition[] 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 (HockeyPlayerPosition c : HockeyPlayerPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HockeyPlayerPosition 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 HockeyPlayerPosition 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 HockeyPlayerPosition forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<HockeyPlayerPosition> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-