// 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 PartyMemberActionType}
 */
public enum PartyMemberActionType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>PartyMemberActionType_None = 0;</code>
   */
  PartyMemberActionType_None(0),
  /**
   * <pre>
   * 초대
   * </pre>
   *
   * <code>PartyMemberActionType_Invite = 1;</code>
   */
  PartyMemberActionType_Invite(1),
  /**
   * <pre>
   * 초대 수락
   * </pre>
   *
   * <code>PartyMemberActionType_InviteAccept = 2;</code>
   */
  PartyMemberActionType_InviteAccept(2),
  /**
   * <pre>
   * 초대 거절
   * </pre>
   *
   * <code>PartyMemberActionType_InviteReject = 3;</code>
   */
  PartyMemberActionType_InviteReject(3),
  /**
   * <pre>
   * 소환
   * </pre>
   *
   * <code>PartyMemberActionType_Summon = 4;</code>
   */
  PartyMemberActionType_Summon(4),
  /**
   * <pre>
   * 소환 수락
   * </pre>
   *
   * <code>PartyMemberActionType_SummonAccept = 5;</code>
   */
  PartyMemberActionType_SummonAccept(5),
  /**
   * <pre>
   * 소환 거절
   * </pre>
   *
   * <code>PartyMemberActionType_SummonReject = 6;</code>
   */
  PartyMemberActionType_SummonReject(6),
  /**
   * <pre>
   * 파티 인스턴스 입장
   * </pre>
   *
   * <code>PartyMemberActionType_PartyInstance_Join = 7;</code>
   */
  PartyMemberActionType_PartyInstance_Join(7),
  /**
   * <pre>
   * 파티 인스턴스 퇴장
   * </pre>
   *
   * <code>PartyMemberActionType_PartyInstance_Leave = 8;</code>
   */
  PartyMemberActionType_PartyInstance_Leave(8),
  /**
   * <pre>
   * 파티 리더 임명
   * </pre>
   *
   * <code>PartyMemberActionType_PartyLeader = 9;</code>
   */
  PartyMemberActionType_PartyLeader(9),
  /**
   * <pre>
   * 파티 가입
   * </pre>
   *
   * <code>PartyMemberActionType_JoinParty = 10;</code>
   */
  PartyMemberActionType_JoinParty(10),
  /**
   * <pre>
   * 파티 탈퇴
   * </pre>
   *
   * <code>PartyMemberActionType_LeaveParty = 11;</code>
   */
  PartyMemberActionType_LeaveParty(11),
  /**
   * <pre>
   * 파티 추방
   * </pre>
   *
   * <code>PartyMemberActionType_BanParty = 12;</code>
   */
  PartyMemberActionType_BanParty(12),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>PartyMemberActionType_None = 0;</code>
   */
  public static final int PartyMemberActionType_None_VALUE = 0;
  /**
   * <pre>
   * 초대
   * </pre>
   *
   * <code>PartyMemberActionType_Invite = 1;</code>
   */
  public static final int PartyMemberActionType_Invite_VALUE = 1;
  /**
   * <pre>
   * 초대 수락
   * </pre>
   *
   * <code>PartyMemberActionType_InviteAccept = 2;</code>
   */
  public static final int PartyMemberActionType_InviteAccept_VALUE = 2;
  /**
   * <pre>
   * 초대 거절
   * </pre>
   *
   * <code>PartyMemberActionType_InviteReject = 3;</code>
   */
  public static final int PartyMemberActionType_InviteReject_VALUE = 3;
  /**
   * <pre>
   * 소환
   * </pre>
   *
   * <code>PartyMemberActionType_Summon = 4;</code>
   */
  public static final int PartyMemberActionType_Summon_VALUE = 4;
  /**
   * <pre>
   * 소환 수락
   * </pre>
   *
   * <code>PartyMemberActionType_SummonAccept = 5;</code>
   */
  public static final int PartyMemberActionType_SummonAccept_VALUE = 5;
  /**
   * <pre>
   * 소환 거절
   * </pre>
   *
   * <code>PartyMemberActionType_SummonReject = 6;</code>
   */
  public static final int PartyMemberActionType_SummonReject_VALUE = 6;
  /**
   * <pre>
   * 파티 인스턴스 입장
   * </pre>
   *
   * <code>PartyMemberActionType_PartyInstance_Join = 7;</code>
   */
  public static final int PartyMemberActionType_PartyInstance_Join_VALUE = 7;
  /**
   * <pre>
   * 파티 인스턴스 퇴장
   * </pre>
   *
   * <code>PartyMemberActionType_PartyInstance_Leave = 8;</code>
   */
  public static final int PartyMemberActionType_PartyInstance_Leave_VALUE = 8;
  /**
   * <pre>
   * 파티 리더 임명
   * </pre>
   *
   * <code>PartyMemberActionType_PartyLeader = 9;</code>
   */
  public static final int PartyMemberActionType_PartyLeader_VALUE = 9;
  /**
   * <pre>
   * 파티 가입
   * </pre>
   *
   * <code>PartyMemberActionType_JoinParty = 10;</code>
   */
  public static final int PartyMemberActionType_JoinParty_VALUE = 10;
  /**
   * <pre>
   * 파티 탈퇴
   * </pre>
   *
   * <code>PartyMemberActionType_LeaveParty = 11;</code>
   */
  public static final int PartyMemberActionType_LeaveParty_VALUE = 11;
  /**
   * <pre>
   * 파티 추방
   * </pre>
   *
   * <code>PartyMemberActionType_BanParty = 12;</code>
   */
  public static final int PartyMemberActionType_BanParty_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 PartyMemberActionType 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 PartyMemberActionType forNumber(int value) {
    switch (value) {
      case 0: return PartyMemberActionType_None;
      case 1: return PartyMemberActionType_Invite;
      case 2: return PartyMemberActionType_InviteAccept;
      case 3: return PartyMemberActionType_InviteReject;
      case 4: return PartyMemberActionType_Summon;
      case 5: return PartyMemberActionType_SummonAccept;
      case 6: return PartyMemberActionType_SummonReject;
      case 7: return PartyMemberActionType_PartyInstance_Join;
      case 8: return PartyMemberActionType_PartyInstance_Leave;
      case 9: return PartyMemberActionType_PartyLeader;
      case 10: return PartyMemberActionType_JoinParty;
      case 11: return PartyMemberActionType_LeaveParty;
      case 12: return PartyMemberActionType_BanParty;
      default: return null;
    }
  }

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

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

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

  // @@protoc_insertion_point(enum_scope:PartyMemberActionType)
}

