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

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

/**
 * <pre>
 * 채팅 종류
 * </pre>
 *
 * Protobuf enum {@code ChatType}
 */
public enum ChatType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>ChatType_None = 0;</code>
   */
  ChatType_None(0),
  /**
   * <pre>
   * 일반/지역
   * </pre>
   *
   * <code>ChatType_Normal = 1;</code>
   */
  ChatType_Normal(1),
  /**
   * <pre>
   * 채널/서버
   * </pre>
   *
   * <code>ChatType_Channel = 2;</code>
   */
  ChatType_Channel(2),
  /**
   * <pre>
   * 귓속말
   * </pre>
   *
   * <code>ChatType_Whisper = 3;</code>
   */
  ChatType_Whisper(3),
  /**
   * <pre>
   * 전체(확성기)
   * </pre>
   *
   * <code>ChatType_Total = 4;</code>
   */
  ChatType_Total(4),
  /**
   * <pre>
   * 파티
   * </pre>
   *
   * <code>ChatType_Party = 5;</code>
   */
  ChatType_Party(5),
  /**
   * <pre>
   * 알림
   * </pre>
   *
   * <code>ChatType_Notice = 10;</code>
   */
  ChatType_Notice(10),
  /**
   * <pre>
   * 알림 + 토스트
   * </pre>
   *
   * <code>ChatType_NoticeToast = 11;</code>
   */
  ChatType_NoticeToast(11),
  /**
   * <pre>
   * 시스템 메시지 - 클라에서만 사용
   * </pre>
   *
   * <code>ChatType_System = 12;</code>
   */
  ChatType_System(12),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>ChatType_None = 0;</code>
   */
  public static final int ChatType_None_VALUE = 0;
  /**
   * <pre>
   * 일반/지역
   * </pre>
   *
   * <code>ChatType_Normal = 1;</code>
   */
  public static final int ChatType_Normal_VALUE = 1;
  /**
   * <pre>
   * 채널/서버
   * </pre>
   *
   * <code>ChatType_Channel = 2;</code>
   */
  public static final int ChatType_Channel_VALUE = 2;
  /**
   * <pre>
   * 귓속말
   * </pre>
   *
   * <code>ChatType_Whisper = 3;</code>
   */
  public static final int ChatType_Whisper_VALUE = 3;
  /**
   * <pre>
   * 전체(확성기)
   * </pre>
   *
   * <code>ChatType_Total = 4;</code>
   */
  public static final int ChatType_Total_VALUE = 4;
  /**
   * <pre>
   * 파티
   * </pre>
   *
   * <code>ChatType_Party = 5;</code>
   */
  public static final int ChatType_Party_VALUE = 5;
  /**
   * <pre>
   * 알림
   * </pre>
   *
   * <code>ChatType_Notice = 10;</code>
   */
  public static final int ChatType_Notice_VALUE = 10;
  /**
   * <pre>
   * 알림 + 토스트
   * </pre>
   *
   * <code>ChatType_NoticeToast = 11;</code>
   */
  public static final int ChatType_NoticeToast_VALUE = 11;
  /**
   * <pre>
   * 시스템 메시지 - 클라에서만 사용
   * </pre>
   *
   * <code>ChatType_System = 12;</code>
   */
  public static final int ChatType_System_VALUE = 12;


  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 ChatType 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 ChatType forNumber(int value) {
    switch (value) {
      case 0: return ChatType_None;
      case 1: return ChatType_Normal;
      case 2: return ChatType_Channel;
      case 3: return ChatType_Whisper;
      case 4: return ChatType_Total;
      case 5: return ChatType_Party;
      case 10: return ChatType_Notice;
      case 11: return ChatType_NoticeToast;
      case 12: return ChatType_System;
      default: return null;
    }
  }

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

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

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

  // @@protoc_insertion_point(enum_scope:ChatType)
}

