All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.streamlayer.sdkSettings.common.LeaderboardKind Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/sdkSettings/sdkSettings.common.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.common;

/**
 * Protobuf enum {@code streamlayer.sdkSettings.LeaderboardKind}
 */
public enum LeaderboardKind
    implements com.google.protobuf.Internal.EnumLite {
  /**
   * LEADERBOARD_KIND_UNSET = 0;
   */
  LEADERBOARD_KIND_UNSET(0),
  /**
   * LEADERBOARD_KIND_GLOBAL = 1;
   */
  LEADERBOARD_KIND_GLOBAL(1),
  /**
   * LEADERBOARD_KIND_FRIENDS = 2;
   */
  LEADERBOARD_KIND_FRIENDS(2),
  UNRECOGNIZED(-1),
  ;

  /**
   * LEADERBOARD_KIND_UNSET = 0;
   */
  public static final int LEADERBOARD_KIND_UNSET_VALUE = 0;
  /**
   * LEADERBOARD_KIND_GLOBAL = 1;
   */
  public static final int LEADERBOARD_KIND_GLOBAL_VALUE = 1;
  /**
   * LEADERBOARD_KIND_FRIENDS = 2;
   */
  public static final int LEADERBOARD_KIND_FRIENDS_VALUE = 2;


  @java.lang.Override
  public final int getNumber() {
    if (this == UNRECOGNIZED) {
      throw new java.lang.IllegalArgumentException(
          "Can't get the number of an unknown enum value.");
    }
    return value;
  }

  /**
   * @param value The number of the enum to look for.
   * @return The enum associated with the given number.
   * @deprecated Use {@link #forNumber(int)} instead.
   */
  @java.lang.Deprecated
  public static LeaderboardKind valueOf(int value) {
    return forNumber(value);
  }

  public static LeaderboardKind forNumber(int value) {
    switch (value) {
      case 0: return LEADERBOARD_KIND_UNSET;
      case 1: return LEADERBOARD_KIND_GLOBAL;
      case 2: return LEADERBOARD_KIND_FRIENDS;
      default: return null;
    }
  }

  public static com.google.protobuf.Internal.EnumLiteMap
      internalGetValueMap() {
    return internalValueMap;
  }
  private static final com.google.protobuf.Internal.EnumLiteMap<
      LeaderboardKind> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap() {
          @java.lang.Override
          public LeaderboardKind findValueByNumber(int number) {
            return LeaderboardKind.forNumber(number);
          }
        };

  public static com.google.protobuf.Internal.EnumVerifier 
      internalGetVerifier() {
    return LeaderboardKindVerifier.INSTANCE;
  }

  private static final class LeaderboardKindVerifier implements 
       com.google.protobuf.Internal.EnumVerifier { 
          static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new LeaderboardKindVerifier();
          @java.lang.Override
          public boolean isInRange(int number) {
            return LeaderboardKind.forNumber(number) != null;
          }
        };

  private final int value;

  private LeaderboardKind(int value) {
    this.value = value;
  }

  // @@protoc_insertion_point(enum_scope:streamlayer.sdkSettings.LeaderboardKind)
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy