// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Game_Define.proto

package com.caliverse.admin.domain.RabbitMq.message;

/**
 * Protobuf enum {@code GameModeState}
 */
public enum GameModeState
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>GameModeState_None = 0;</code>
   */
  GameModeState_None(0),
  /**
   * <code>GameModeState_Loading = 1;</code>
   */
  GameModeState_Loading(1),
  /**
   * <code>GameModeState_Created = 2;</code>
   */
  GameModeState_Created(2),
  /**
   * <code>GameModeState_Destroyed = 3;</code>
   */
  GameModeState_Destroyed(3),
  /**
   * <code>GameModeState_Wait = 11;</code>
   */
  GameModeState_Wait(11),
  /**
   * <code>GameModeState_Ready = 12;</code>
   */
  GameModeState_Ready(12),
  /**
   * <code>GameModeState_Play = 13;</code>
   */
  GameModeState_Play(13),
  /**
   * <code>GameModeState_Result = 14;</code>
   */
  GameModeState_Result(14),
  /**
   * <code>GameModeState_RewardSummary = 15;</code>
   */
  GameModeState_RewardSummary(15),
  /**
   * <code>GameModeState_End = 16;</code>
   */
  GameModeState_End(16),
  /**
   * <pre>
   *TPS FFA  현재 FFA에서 사용중
   * </pre>
   *
   * <code>GameModeState_Rounding = 31;</code>
   */
  GameModeState_Rounding(31),
  /**
   * <code>GameModeState_RoundWait = 32;</code>
   */
  GameModeState_RoundWait(32),
  /**
   * <code>GameModeState_RoundEndAll = 33;</code>
   */
  GameModeState_RoundEndAll(33),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>GameModeState_None = 0;</code>
   */
  public static final int GameModeState_None_VALUE = 0;
  /**
   * <code>GameModeState_Loading = 1;</code>
   */
  public static final int GameModeState_Loading_VALUE = 1;
  /**
   * <code>GameModeState_Created = 2;</code>
   */
  public static final int GameModeState_Created_VALUE = 2;
  /**
   * <code>GameModeState_Destroyed = 3;</code>
   */
  public static final int GameModeState_Destroyed_VALUE = 3;
  /**
   * <code>GameModeState_Wait = 11;</code>
   */
  public static final int GameModeState_Wait_VALUE = 11;
  /**
   * <code>GameModeState_Ready = 12;</code>
   */
  public static final int GameModeState_Ready_VALUE = 12;
  /**
   * <code>GameModeState_Play = 13;</code>
   */
  public static final int GameModeState_Play_VALUE = 13;
  /**
   * <code>GameModeState_Result = 14;</code>
   */
  public static final int GameModeState_Result_VALUE = 14;
  /**
   * <code>GameModeState_RewardSummary = 15;</code>
   */
  public static final int GameModeState_RewardSummary_VALUE = 15;
  /**
   * <code>GameModeState_End = 16;</code>
   */
  public static final int GameModeState_End_VALUE = 16;
  /**
   * <pre>
   *TPS FFA  현재 FFA에서 사용중
   * </pre>
   *
   * <code>GameModeState_Rounding = 31;</code>
   */
  public static final int GameModeState_Rounding_VALUE = 31;
  /**
   * <code>GameModeState_RoundWait = 32;</code>
   */
  public static final int GameModeState_RoundWait_VALUE = 32;
  /**
   * <code>GameModeState_RoundEndAll = 33;</code>
   */
  public static final int GameModeState_RoundEndAll_VALUE = 33;


  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 numeric wire value of the corresponding enum entry.
   * @return The enum associated with the given numeric wire value.
   * @deprecated Use {@link #forNumber(int)} instead.
   */
  @java.lang.Deprecated
  public static GameModeState valueOf(int value) {
    return forNumber(value);
  }

  /**
   * @param value The numeric wire value of the corresponding enum entry.
   * @return The enum associated with the given numeric wire value.
   */
  public static GameModeState forNumber(int value) {
    switch (value) {
      case 0: return GameModeState_None;
      case 1: return GameModeState_Loading;
      case 2: return GameModeState_Created;
      case 3: return GameModeState_Destroyed;
      case 11: return GameModeState_Wait;
      case 12: return GameModeState_Ready;
      case 13: return GameModeState_Play;
      case 14: return GameModeState_Result;
      case 15: return GameModeState_RewardSummary;
      case 16: return GameModeState_End;
      case 31: return GameModeState_Rounding;
      case 32: return GameModeState_RoundWait;
      case 33: return GameModeState_RoundEndAll;
      default: return null;
    }
  }

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

  public final com.google.protobuf.Descriptors.EnumValueDescriptor
      getValueDescriptor() {
    if (this == UNRECOGNIZED) {
      throw new java.lang.IllegalStateException(
          "Can't get the descriptor of an unrecognized enum value.");
    }
    return getDescriptor().getValues().get(ordinal());
  }
  public final com.google.protobuf.Descriptors.EnumDescriptor
      getDescriptorForType() {
    return getDescriptor();
  }
  public static final com.google.protobuf.Descriptors.EnumDescriptor
      getDescriptor() {
    return com.caliverse.admin.domain.RabbitMq.message.GameDefine.getDescriptor().getEnumTypes().get(37);
  }

  private static final GameModeState[] VALUES = values();

  public static GameModeState valueOf(
      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
    if (desc.getType() != getDescriptor()) {
      throw new java.lang.IllegalArgumentException(
        "EnumValueDescriptor is not for this type.");
    }
    if (desc.getIndex() == -1) {
      return UNRECOGNIZED;
    }
    return VALUES[desc.getIndex()];
  }

  private final int value;

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

  // @@protoc_insertion_point(enum_scope:GameModeState)
}

