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

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

/**
 * <pre>
 * ¼­¹ö Á¾·ù
 * </pre>
 *
 * Protobuf enum {@code ServerType}
 */
public enum ServerType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>ServerType_None = 0;</code>
   */
  ServerType_None(0),
  /**
   * <code>ServerType_Login = 1;</code>
   */
  ServerType_Login(1),
  /**
   * <code>ServerType_Channel = 2;</code>
   */
  ServerType_Channel(2),
  /**
   * <code>ServerType_Indun = 3;</code>
   */
  ServerType_Indun(3),
  /**
   * <code>ServerType_Chat = 4;</code>
   */
  ServerType_Chat(4),
  /**
   * <code>ServerType_GmTool = 5;</code>
   */
  ServerType_GmTool(5),
  /**
   * <code>ServerType_Auth = 6;</code>
   */
  ServerType_Auth(6),
  /**
   * <code>ServerType_Manager = 7;</code>
   */
  ServerType_Manager(7),
  /**
   * <code>ServerType_UgqApi = 8;</code>
   */
  ServerType_UgqApi(8),
  /**
   * <code>ServerType_UgqAdmin = 9;</code>
   */
  ServerType_UgqAdmin(9),
  /**
   * <code>ServerType_UgqIngame = 10;</code>
   */
  ServerType_UgqIngame(10),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>ServerType_None = 0;</code>
   */
  public static final int ServerType_None_VALUE = 0;
  /**
   * <code>ServerType_Login = 1;</code>
   */
  public static final int ServerType_Login_VALUE = 1;
  /**
   * <code>ServerType_Channel = 2;</code>
   */
  public static final int ServerType_Channel_VALUE = 2;
  /**
   * <code>ServerType_Indun = 3;</code>
   */
  public static final int ServerType_Indun_VALUE = 3;
  /**
   * <code>ServerType_Chat = 4;</code>
   */
  public static final int ServerType_Chat_VALUE = 4;
  /**
   * <code>ServerType_GmTool = 5;</code>
   */
  public static final int ServerType_GmTool_VALUE = 5;
  /**
   * <code>ServerType_Auth = 6;</code>
   */
  public static final int ServerType_Auth_VALUE = 6;
  /**
   * <code>ServerType_Manager = 7;</code>
   */
  public static final int ServerType_Manager_VALUE = 7;
  /**
   * <code>ServerType_UgqApi = 8;</code>
   */
  public static final int ServerType_UgqApi_VALUE = 8;
  /**
   * <code>ServerType_UgqAdmin = 9;</code>
   */
  public static final int ServerType_UgqAdmin_VALUE = 9;
  /**
   * <code>ServerType_UgqIngame = 10;</code>
   */
  public static final int ServerType_UgqIngame_VALUE = 10;


  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 ServerType 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 ServerType forNumber(int value) {
    switch (value) {
      case 0: return ServerType_None;
      case 1: return ServerType_Login;
      case 2: return ServerType_Channel;
      case 3: return ServerType_Indun;
      case 4: return ServerType_Chat;
      case 5: return ServerType_GmTool;
      case 6: return ServerType_Auth;
      case 7: return ServerType_Manager;
      case 8: return ServerType_UgqApi;
      case 9: return ServerType_UgqAdmin;
      case 10: return ServerType_UgqIngame;
      default: return null;
    }
  }

  public static com.google.protobuf.Internal.EnumLiteMap<ServerType>
      internalGetValueMap() {
    return internalValueMap;
  }
  private static final com.google.protobuf.Internal.EnumLiteMap<
      ServerType> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap<ServerType>() {
          public ServerType findValueByNumber(int number) {
            return ServerType.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.DefineCommon.getDescriptor().getEnumTypes().get(4);
  }

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

  public static ServerType 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 ServerType(int value) {
    this.value = value;
  }

  // @@protoc_insertion_point(enum_scope:ServerType)
}

