Enum 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 enum streamlayer.sdkSettings.LeaderboardKind
    • 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;
    • 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 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 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 name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

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

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