Enum EventType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<EventType>

    public enum EventType
    extends java.lang.Enum<EventType>
    implements com.google.protobuf.Internal.EnumLite
    Protobuf enum streamlayer.sports.events.EventType
    • Enum Constant Detail

      • EVENT_TYPE_UNSET

        public static final EventType EVENT_TYPE_UNSET
        EVENT_TYPE_UNSET = 0;
      • EVENT_TYPE_BASEBALL

        public static final EventType EVENT_TYPE_BASEBALL
        EVENT_TYPE_BASEBALL = 1;
      • EVENT_TYPE_BASKETBALL

        public static final EventType EVENT_TYPE_BASKETBALL
        EVENT_TYPE_BASKETBALL = 2;
      • EVENT_TYPE_HOCKEY

        public static final EventType EVENT_TYPE_HOCKEY
        EVENT_TYPE_HOCKEY = 3;
      • EVENT_TYPE_SOCCER

        public static final EventType EVENT_TYPE_SOCCER
        EVENT_TYPE_SOCCER = 4;
      • EVENT_TYPE_GOLF

        public static final EventType EVENT_TYPE_GOLF
        EVENT_TYPE_GOLF = 5;
      • UNRECOGNIZED

        public static final EventType UNRECOGNIZED
    • Field Detail

      • EVENT_TYPE_UNSET_VALUE

        public static final int EVENT_TYPE_UNSET_VALUE
        EVENT_TYPE_UNSET = 0;
        See Also:
        Constant Field Values
      • EVENT_TYPE_BASEBALL_VALUE

        public static final int EVENT_TYPE_BASEBALL_VALUE
        EVENT_TYPE_BASEBALL = 1;
        See Also:
        Constant Field Values
      • EVENT_TYPE_BASKETBALL_VALUE

        public static final int EVENT_TYPE_BASKETBALL_VALUE
        EVENT_TYPE_BASKETBALL = 2;
        See Also:
        Constant Field Values
      • EVENT_TYPE_HOCKEY_VALUE

        public static final int EVENT_TYPE_HOCKEY_VALUE
        EVENT_TYPE_HOCKEY = 3;
        See Also:
        Constant Field Values
      • EVENT_TYPE_SOCCER_VALUE

        public static final int EVENT_TYPE_SOCCER_VALUE
        EVENT_TYPE_SOCCER = 4;
        See Also:
        Constant Field Values
      • EVENT_TYPE_GOLF_VALUE

        public static final int EVENT_TYPE_GOLF_VALUE
        EVENT_TYPE_GOLF = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static EventType[] 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 (EventType c : EventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EventType 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 EventType 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
      • forNumber

        public static EventType forNumber​(int value)
      • internalGetValueMap

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

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