Package com.streamlayer.sports.events
Enum EventType
- java.lang.Object
-
- java.lang.Enum<EventType>
-
- com.streamlayer.sports.events.EventType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVENT_TYPE_BASEBALLEVENT_TYPE_BASEBALL = 1;EVENT_TYPE_BASKETBALLEVENT_TYPE_BASKETBALL = 2;EVENT_TYPE_GOLFEVENT_TYPE_GOLF = 5;EVENT_TYPE_HOCKEYEVENT_TYPE_HOCKEY = 3;EVENT_TYPE_SOCCEREVENT_TYPE_SOCCER = 4;EVENT_TYPE_UNSETEVENT_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intEVENT_TYPE_BASEBALL_VALUEEVENT_TYPE_BASEBALL = 1;static intEVENT_TYPE_BASKETBALL_VALUEEVENT_TYPE_BASKETBALL = 2;static intEVENT_TYPE_GOLF_VALUEEVENT_TYPE_GOLF = 5;static intEVENT_TYPE_HOCKEY_VALUEEVENT_TYPE_HOCKEY = 3;static intEVENT_TYPE_SOCCER_VALUEEVENT_TYPE_SOCCER = 4;static intEVENT_TYPE_UNSET_VALUEEVENT_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EventTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<EventType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static EventTypevalueOf(int value)Deprecated.static EventTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 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 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 namejava.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()
-
-