Package com.streamlayer.inplay.common
Enum CompetitorType
- java.lang.Object
-
- java.lang.Enum<CompetitorType>
-
- com.streamlayer.inplay.common.CompetitorType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<CompetitorType>
public enum CompetitorType extends java.lang.Enum<CompetitorType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.inplay.common.CompetitorType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPETITOR_TYPE_PERSONCOMPETITOR_TYPE_PERSON = 0;COMPETITOR_TYPE_TEAMCOMPETITOR_TYPE_TEAM = 1;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCOMPETITOR_TYPE_PERSON_VALUECOMPETITOR_TYPE_PERSON = 0;static intCOMPETITOR_TYPE_TEAM_VALUECOMPETITOR_TYPE_TEAM = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CompetitorTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<CompetitorType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static CompetitorTypevalueOf(int value)Deprecated.static CompetitorTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CompetitorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPETITOR_TYPE_PERSON
public static final CompetitorType COMPETITOR_TYPE_PERSON
COMPETITOR_TYPE_PERSON = 0;
-
COMPETITOR_TYPE_TEAM
public static final CompetitorType COMPETITOR_TYPE_TEAM
COMPETITOR_TYPE_TEAM = 1;
-
UNRECOGNIZED
public static final CompetitorType UNRECOGNIZED
-
-
Field Detail
-
COMPETITOR_TYPE_PERSON_VALUE
public static final int COMPETITOR_TYPE_PERSON_VALUE
COMPETITOR_TYPE_PERSON = 0;- See Also:
- Constant Field Values
-
COMPETITOR_TYPE_TEAM_VALUE
public static final int COMPETITOR_TYPE_TEAM_VALUE
COMPETITOR_TYPE_TEAM = 1;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CompetitorType[] 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 (CompetitorType c : CompetitorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompetitorType 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 CompetitorType 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 CompetitorType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<CompetitorType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-