// 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 MatchStatusType}
 */
public enum MatchStatusType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>MatchStatusType_NONE = 0;</code>
   */
  MatchStatusType_NONE(0),
  /**
   * <pre>
   * 매칭 예약 상태
   * </pre>
   *
   * <code>MatchStatusType_RESERVED = 1;</code>
   */
  MatchStatusType_RESERVED(1),
  /**
   * <pre>
   * 매칭 진행 중
   * </pre>
   *
   * <code>MatchStatusType_PROGRESS = 2;</code>
   */
  MatchStatusType_PROGRESS(2),
  /**
   * <pre>
   * 매칭 성공
   * </pre>
   *
   * <code>MatchStatusType_SUCCESS = 3;</code>
   */
  MatchStatusType_SUCCESS(3),
  /**
   * <pre>
   * 매칭 취소
   * </pre>
   *
   * <code>MatchStatusType_CANCEL = 4;</code>
   */
  MatchStatusType_CANCEL(4),
  /**
   * <pre>
   * 매칭 실패 - 대기시간 초과
   * </pre>
   *
   * <code>MatchStatusType_TIMEOUT = 5;</code>
   */
  MatchStatusType_TIMEOUT(5),
  /**
   * <pre>
   * 매칭 실패 - 이유 미정
   * </pre>
   *
   * <code>MatchStatusType_FAIL = 6;</code>
   */
  MatchStatusType_FAIL(6),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>MatchStatusType_NONE = 0;</code>
   */
  public static final int MatchStatusType_NONE_VALUE = 0;
  /**
   * <pre>
   * 매칭 예약 상태
   * </pre>
   *
   * <code>MatchStatusType_RESERVED = 1;</code>
   */
  public static final int MatchStatusType_RESERVED_VALUE = 1;
  /**
   * <pre>
   * 매칭 진행 중
   * </pre>
   *
   * <code>MatchStatusType_PROGRESS = 2;</code>
   */
  public static final int MatchStatusType_PROGRESS_VALUE = 2;
  /**
   * <pre>
   * 매칭 성공
   * </pre>
   *
   * <code>MatchStatusType_SUCCESS = 3;</code>
   */
  public static final int MatchStatusType_SUCCESS_VALUE = 3;
  /**
   * <pre>
   * 매칭 취소
   * </pre>
   *
   * <code>MatchStatusType_CANCEL = 4;</code>
   */
  public static final int MatchStatusType_CANCEL_VALUE = 4;
  /**
   * <pre>
   * 매칭 실패 - 대기시간 초과
   * </pre>
   *
   * <code>MatchStatusType_TIMEOUT = 5;</code>
   */
  public static final int MatchStatusType_TIMEOUT_VALUE = 5;
  /**
   * <pre>
   * 매칭 실패 - 이유 미정
   * </pre>
   *
   * <code>MatchStatusType_FAIL = 6;</code>
   */
  public static final int MatchStatusType_FAIL_VALUE = 6;


  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 MatchStatusType 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 MatchStatusType forNumber(int value) {
    switch (value) {
      case 0: return MatchStatusType_NONE;
      case 1: return MatchStatusType_RESERVED;
      case 2: return MatchStatusType_PROGRESS;
      case 3: return MatchStatusType_SUCCESS;
      case 4: return MatchStatusType_CANCEL;
      case 5: return MatchStatusType_TIMEOUT;
      case 6: return MatchStatusType_FAIL;
      default: return null;
    }
  }

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

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

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

  // @@protoc_insertion_point(enum_scope:MatchStatusType)
}

