// 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 CurrencyType}
 */
public enum CurrencyType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>CurrencyType_None = 0;</code>
   */
  CurrencyType_None(0),
  /**
   * <pre>
   * 인게임 전용 기본 재화
   * </pre>
   *
   * <code>CurrencyType_Gold = 1;</code>
   */
  CurrencyType_Gold(1),
  /**
   * <pre>
   * 인게임 전용 상위 재화 (구) BlueCali )
   * </pre>
   *
   * <code>CurrencyType_Sapphire = 2;</code>
   */
  CurrencyType_Sapphire(2),
  /**
   * <pre>
   * 랜드 업그레이드 보상, 오프/메타버스 방문 및 결재 (구) RedCali )
   * </pre>
   *
   * <code>CurrencyType_Calium = 3;</code>
   */
  CurrencyType_Calium(3),
  /**
   * <pre>
   * 랜드 업그레이드 희귀 보상, 콘텐츠 랭킹 보상 (구) BlackCali )
   * </pre>
   *
   * <code>CurrencyType_Beam = 4;</code>
   */
  CurrencyType_Beam(4),
  /**
   * <pre>
   * 신규 추가 재화
   * </pre>
   *
   * <code>CurrencyType_Ruby = 5;</code>
   */
  CurrencyType_Ruby(5),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>CurrencyType_None = 0;</code>
   */
  public static final int CurrencyType_None_VALUE = 0;
  /**
   * <pre>
   * 인게임 전용 기본 재화
   * </pre>
   *
   * <code>CurrencyType_Gold = 1;</code>
   */
  public static final int CurrencyType_Gold_VALUE = 1;
  /**
   * <pre>
   * 인게임 전용 상위 재화 (구) BlueCali )
   * </pre>
   *
   * <code>CurrencyType_Sapphire = 2;</code>
   */
  public static final int CurrencyType_Sapphire_VALUE = 2;
  /**
   * <pre>
   * 랜드 업그레이드 보상, 오프/메타버스 방문 및 결재 (구) RedCali )
   * </pre>
   *
   * <code>CurrencyType_Calium = 3;</code>
   */
  public static final int CurrencyType_Calium_VALUE = 3;
  /**
   * <pre>
   * 랜드 업그레이드 희귀 보상, 콘텐츠 랭킹 보상 (구) BlackCali )
   * </pre>
   *
   * <code>CurrencyType_Beam = 4;</code>
   */
  public static final int CurrencyType_Beam_VALUE = 4;
  /**
   * <pre>
   * 신규 추가 재화
   * </pre>
   *
   * <code>CurrencyType_Ruby = 5;</code>
   */
  public static final int CurrencyType_Ruby_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 CurrencyType 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 CurrencyType forNumber(int value) {
    switch (value) {
      case 0: return CurrencyType_None;
      case 1: return CurrencyType_Gold;
      case 2: return CurrencyType_Sapphire;
      case 3: return CurrencyType_Calium;
      case 4: return CurrencyType_Beam;
      case 5: return CurrencyType_Ruby;
      default: return null;
    }
  }

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

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

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

  // @@protoc_insertion_point(enum_scope:CurrencyType)
}

