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

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

/**
 * Protobuf enum {@code SummonPartyMemberResultType}
 */
public enum SummonPartyMemberResultType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>SummonPartyMemberResultType_None = 0;</code>
   */
  SummonPartyMemberResultType_None(0),
  /**
   * <code>SummonPartyMemberResultType_Accept = 1;</code>
   */
  SummonPartyMemberResultType_Accept(1),
  /**
   * <code>SummonPartyMemberResultType_Refuse = 2;</code>
   */
  SummonPartyMemberResultType_Refuse(2),
  /**
   * <code>SummonPartyMemberResultType_DoNotDisturb = 3;</code>
   */
  SummonPartyMemberResultType_DoNotDisturb(3),
  /**
   * <code>SummonPartyMemberResultType_LogOut = 4;</code>
   */
  SummonPartyMemberResultType_LogOut(4),
  /**
   * <code>SummonPartyMemberResultType_LeaveParty = 5;</code>
   */
  SummonPartyMemberResultType_LeaveParty(5),
  /**
   * <code>SummonPartyMemberResultType_NotParty = 6;</code>
   */
  SummonPartyMemberResultType_NotParty(6),
  /**
   * <code>SummonPartyMemberResultType_ServerFull = 7;</code>
   */
  SummonPartyMemberResultType_ServerFull(7),
  /**
   * <code>SummonPartyMemberResultType_SummonFail = 8;</code>
   */
  SummonPartyMemberResultType_SummonFail(8),
  /**
   * <code>SummonPartyMemberResultType_NotSummon = 9;</code>
   */
  SummonPartyMemberResultType_NotSummon(9),
  /**
   * <code>SummonPartyMemberResultType_NotPartyMember = 10;</code>
   */
  SummonPartyMemberResultType_NotPartyMember(10),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>SummonPartyMemberResultType_None = 0;</code>
   */
  public static final int SummonPartyMemberResultType_None_VALUE = 0;
  /**
   * <code>SummonPartyMemberResultType_Accept = 1;</code>
   */
  public static final int SummonPartyMemberResultType_Accept_VALUE = 1;
  /**
   * <code>SummonPartyMemberResultType_Refuse = 2;</code>
   */
  public static final int SummonPartyMemberResultType_Refuse_VALUE = 2;
  /**
   * <code>SummonPartyMemberResultType_DoNotDisturb = 3;</code>
   */
  public static final int SummonPartyMemberResultType_DoNotDisturb_VALUE = 3;
  /**
   * <code>SummonPartyMemberResultType_LogOut = 4;</code>
   */
  public static final int SummonPartyMemberResultType_LogOut_VALUE = 4;
  /**
   * <code>SummonPartyMemberResultType_LeaveParty = 5;</code>
   */
  public static final int SummonPartyMemberResultType_LeaveParty_VALUE = 5;
  /**
   * <code>SummonPartyMemberResultType_NotParty = 6;</code>
   */
  public static final int SummonPartyMemberResultType_NotParty_VALUE = 6;
  /**
   * <code>SummonPartyMemberResultType_ServerFull = 7;</code>
   */
  public static final int SummonPartyMemberResultType_ServerFull_VALUE = 7;
  /**
   * <code>SummonPartyMemberResultType_SummonFail = 8;</code>
   */
  public static final int SummonPartyMemberResultType_SummonFail_VALUE = 8;
  /**
   * <code>SummonPartyMemberResultType_NotSummon = 9;</code>
   */
  public static final int SummonPartyMemberResultType_NotSummon_VALUE = 9;
  /**
   * <code>SummonPartyMemberResultType_NotPartyMember = 10;</code>
   */
  public static final int SummonPartyMemberResultType_NotPartyMember_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 SummonPartyMemberResultType 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 SummonPartyMemberResultType forNumber(int value) {
    switch (value) {
      case 0: return SummonPartyMemberResultType_None;
      case 1: return SummonPartyMemberResultType_Accept;
      case 2: return SummonPartyMemberResultType_Refuse;
      case 3: return SummonPartyMemberResultType_DoNotDisturb;
      case 4: return SummonPartyMemberResultType_LogOut;
      case 5: return SummonPartyMemberResultType_LeaveParty;
      case 6: return SummonPartyMemberResultType_NotParty;
      case 7: return SummonPartyMemberResultType_ServerFull;
      case 8: return SummonPartyMemberResultType_SummonFail;
      case 9: return SummonPartyMemberResultType_NotSummon;
      case 10: return SummonPartyMemberResultType_NotPartyMember;
      default: return null;
    }
  }

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

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

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

  // @@protoc_insertion_point(enum_scope:SummonPartyMemberResultType)
}

