// 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 CountDeltaType}
 */
public enum CountDeltaType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>CountDeltaType_None = 0;</code>
   */
  CountDeltaType_None(0),
  /**
   * <pre>
   * 신규
   * </pre>
   *
   * <code>CountDeltaType_New = 1;</code>
   */
  CountDeltaType_New(1),
  /**
   * <pre>
   * 수정
   * </pre>
   *
   * <code>CountDeltaType_Update = 2;</code>
   */
  CountDeltaType_Update(2),
  /**
   * <pre>
   * 증가
   * </pre>
   *
   * <code>CountDeltaType_Acquire = 3;</code>
   */
  CountDeltaType_Acquire(3),
  /**
   * <pre>
   * 감소
   * </pre>
   *
   * <code>CountDeltaType_Consume = 4;</code>
   */
  CountDeltaType_Consume(4),
  /**
   * <pre>
   * 삭제
   * </pre>
   *
   * <code>CountDeltaType_Delete = 5;</code>
   */
  CountDeltaType_Delete(5),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>CountDeltaType_None = 0;</code>
   */
  public static final int CountDeltaType_None_VALUE = 0;
  /**
   * <pre>
   * 신규
   * </pre>
   *
   * <code>CountDeltaType_New = 1;</code>
   */
  public static final int CountDeltaType_New_VALUE = 1;
  /**
   * <pre>
   * 수정
   * </pre>
   *
   * <code>CountDeltaType_Update = 2;</code>
   */
  public static final int CountDeltaType_Update_VALUE = 2;
  /**
   * <pre>
   * 증가
   * </pre>
   *
   * <code>CountDeltaType_Acquire = 3;</code>
   */
  public static final int CountDeltaType_Acquire_VALUE = 3;
  /**
   * <pre>
   * 감소
   * </pre>
   *
   * <code>CountDeltaType_Consume = 4;</code>
   */
  public static final int CountDeltaType_Consume_VALUE = 4;
  /**
   * <pre>
   * 삭제
   * </pre>
   *
   * <code>CountDeltaType_Delete = 5;</code>
   */
  public static final int CountDeltaType_Delete_VALUE = 5;


  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 CountDeltaType 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 CountDeltaType forNumber(int value) {
    switch (value) {
      case 0: return CountDeltaType_None;
      case 1: return CountDeltaType_New;
      case 2: return CountDeltaType_Update;
      case 3: return CountDeltaType_Acquire;
      case 4: return CountDeltaType_Consume;
      case 5: return CountDeltaType_Delete;
      default: return null;
    }
  }

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

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

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

  // @@protoc_insertion_point(enum_scope:CountDeltaType)
}

