Enum LeaderboardKind
- java.lang.Object
-
- java.lang.Enum<LeaderboardKind>
-
- com.streamlayer.sdkSettings.common.LeaderboardKind
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<LeaderboardKind>
public enum LeaderboardKind extends java.lang.Enum<LeaderboardKind> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sdkSettings.LeaderboardKind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEADERBOARD_KIND_FRIENDSLEADERBOARD_KIND_FRIENDS = 2;LEADERBOARD_KIND_GLOBALLEADERBOARD_KIND_GLOBAL = 1;LEADERBOARD_KIND_UNSETLEADERBOARD_KIND_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intLEADERBOARD_KIND_FRIENDS_VALUELEADERBOARD_KIND_FRIENDS = 2;static intLEADERBOARD_KIND_GLOBAL_VALUELEADERBOARD_KIND_GLOBAL = 1;static intLEADERBOARD_KIND_UNSET_VALUELEADERBOARD_KIND_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LeaderboardKindforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<LeaderboardKind>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static LeaderboardKindvalueOf(int value)Deprecated.static LeaderboardKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LeaderboardKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEADERBOARD_KIND_UNSET
public static final LeaderboardKind LEADERBOARD_KIND_UNSET
LEADERBOARD_KIND_UNSET = 0;
-
LEADERBOARD_KIND_GLOBAL
public static final LeaderboardKind LEADERBOARD_KIND_GLOBAL
LEADERBOARD_KIND_GLOBAL = 1;
-
LEADERBOARD_KIND_FRIENDS
public static final LeaderboardKind LEADERBOARD_KIND_FRIENDS
LEADERBOARD_KIND_FRIENDS = 2;
-
UNRECOGNIZED
public static final LeaderboardKind UNRECOGNIZED
-
-
Field Detail
-
LEADERBOARD_KIND_UNSET_VALUE
public static final int LEADERBOARD_KIND_UNSET_VALUE
LEADERBOARD_KIND_UNSET = 0;- See Also:
- Constant Field Values
-
LEADERBOARD_KIND_GLOBAL_VALUE
public static final int LEADERBOARD_KIND_GLOBAL_VALUE
LEADERBOARD_KIND_GLOBAL = 1;- See Also:
- Constant Field Values
-
LEADERBOARD_KIND_FRIENDS_VALUE
public static final int LEADERBOARD_KIND_FRIENDS_VALUE
LEADERBOARD_KIND_FRIENDS = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LeaderboardKind[] 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 (LeaderboardKind c : LeaderboardKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LeaderboardKind 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 LeaderboardKind 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 LeaderboardKind forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<LeaderboardKind> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-