// 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 ProgramVersionType}
 */
public enum ProgramVersionType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>ProgramVersionType_None = 0;</code>
   */
  ProgramVersionType_None(0),
  /**
   * <code>ProgramVersionType_MetaSchemaVersion = 1;</code>
   */
  ProgramVersionType_MetaSchemaVersion(1),
  /**
   * <code>ProgramVersionType_MetaDataVersion = 2;</code>
   */
  ProgramVersionType_MetaDataVersion(2),
  /**
   * <code>ProgramVersionType_DbSchemaVersion = 3;</code>
   */
  ProgramVersionType_DbSchemaVersion(3),
  /**
   * <code>ProgramVersionType_PacketVersion = 4;</code>
   */
  ProgramVersionType_PacketVersion(4),
  /**
   * <code>ProgramVersionType_ResourceVersion = 5;</code>
   */
  ProgramVersionType_ResourceVersion(5),
  /**
   * <code>ProgramVersionType_ConfigVersion = 6;</code>
   */
  ProgramVersionType_ConfigVersion(6),
  /**
   * <code>ProgramVersionType_LogicVersion = 7;</code>
   */
  ProgramVersionType_LogicVersion(7),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>ProgramVersionType_None = 0;</code>
   */
  public static final int ProgramVersionType_None_VALUE = 0;
  /**
   * <code>ProgramVersionType_MetaSchemaVersion = 1;</code>
   */
  public static final int ProgramVersionType_MetaSchemaVersion_VALUE = 1;
  /**
   * <code>ProgramVersionType_MetaDataVersion = 2;</code>
   */
  public static final int ProgramVersionType_MetaDataVersion_VALUE = 2;
  /**
   * <code>ProgramVersionType_DbSchemaVersion = 3;</code>
   */
  public static final int ProgramVersionType_DbSchemaVersion_VALUE = 3;
  /**
   * <code>ProgramVersionType_PacketVersion = 4;</code>
   */
  public static final int ProgramVersionType_PacketVersion_VALUE = 4;
  /**
   * <code>ProgramVersionType_ResourceVersion = 5;</code>
   */
  public static final int ProgramVersionType_ResourceVersion_VALUE = 5;
  /**
   * <code>ProgramVersionType_ConfigVersion = 6;</code>
   */
  public static final int ProgramVersionType_ConfigVersion_VALUE = 6;
  /**
   * <code>ProgramVersionType_LogicVersion = 7;</code>
   */
  public static final int ProgramVersionType_LogicVersion_VALUE = 7;


  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 ProgramVersionType 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 ProgramVersionType forNumber(int value) {
    switch (value) {
      case 0: return ProgramVersionType_None;
      case 1: return ProgramVersionType_MetaSchemaVersion;
      case 2: return ProgramVersionType_MetaDataVersion;
      case 3: return ProgramVersionType_DbSchemaVersion;
      case 4: return ProgramVersionType_PacketVersion;
      case 5: return ProgramVersionType_ResourceVersion;
      case 6: return ProgramVersionType_ConfigVersion;
      case 7: return ProgramVersionType_LogicVersion;
      default: return null;
    }
  }

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

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

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

  // @@protoc_insertion_point(enum_scope:ProgramVersionType)
}

