Enum DatasetType
- java.lang.Object
-
- java.lang.Enum<DatasetType>
-
- com.streamlayer.sportsdata.common.DatasetType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<DatasetType>
public enum DatasetType extends java.lang.Enum<DatasetType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sportsdata.DatasetType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATASET_TYPE_EVENTDATASET_TYPE_EVENT = 1;DATASET_TYPE_PLAYERDATASET_TYPE_PLAYER = 3;DATASET_TYPE_SEASONDATASET_TYPE_SEASON = 4;DATASET_TYPE_TEAMDATASET_TYPE_TEAM = 2;DATASET_TYPE_UNSETDATASET_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDATASET_TYPE_EVENT_VALUEDATASET_TYPE_EVENT = 1;static intDATASET_TYPE_PLAYER_VALUEDATASET_TYPE_PLAYER = 3;static intDATASET_TYPE_SEASON_VALUEDATASET_TYPE_SEASON = 4;static intDATASET_TYPE_TEAM_VALUEDATASET_TYPE_TEAM = 2;static intDATASET_TYPE_UNSET_VALUEDATASET_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DatasetTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<DatasetType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static DatasetTypevalueOf(int value)Deprecated.static DatasetTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DatasetType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATASET_TYPE_UNSET
public static final DatasetType DATASET_TYPE_UNSET
DATASET_TYPE_UNSET = 0;
-
DATASET_TYPE_EVENT
public static final DatasetType DATASET_TYPE_EVENT
DATASET_TYPE_EVENT = 1;
-
DATASET_TYPE_TEAM
public static final DatasetType DATASET_TYPE_TEAM
DATASET_TYPE_TEAM = 2;
-
DATASET_TYPE_PLAYER
public static final DatasetType DATASET_TYPE_PLAYER
DATASET_TYPE_PLAYER = 3;
-
DATASET_TYPE_SEASON
public static final DatasetType DATASET_TYPE_SEASON
DATASET_TYPE_SEASON = 4;
-
UNRECOGNIZED
public static final DatasetType UNRECOGNIZED
-
-
Field Detail
-
DATASET_TYPE_UNSET_VALUE
public static final int DATASET_TYPE_UNSET_VALUE
DATASET_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
DATASET_TYPE_EVENT_VALUE
public static final int DATASET_TYPE_EVENT_VALUE
DATASET_TYPE_EVENT = 1;- See Also:
- Constant Field Values
-
DATASET_TYPE_TEAM_VALUE
public static final int DATASET_TYPE_TEAM_VALUE
DATASET_TYPE_TEAM = 2;- See Also:
- Constant Field Values
-
DATASET_TYPE_PLAYER_VALUE
public static final int DATASET_TYPE_PLAYER_VALUE
DATASET_TYPE_PLAYER = 3;- See Also:
- Constant Field Values
-
DATASET_TYPE_SEASON_VALUE
public static final int DATASET_TYPE_SEASON_VALUE
DATASET_TYPE_SEASON = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DatasetType[] 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 (DatasetType c : DatasetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatasetType 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 DatasetType 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 DatasetType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<DatasetType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-