Enum 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 enum streamlayer.sports.hockey.HockeyPlayerPosition
    • 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;
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<HockeyPlayerPosition> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()