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

package io.grasscutter.net.proto.define;

/**
 * Protobuf enum {@code ProtEntityType}
 */
public enum ProtEntityType
    implements com.google.protobuf.ProtocolMessageEnum {
  /**
   * <code>ProtEntityType_PROT_ENTITY_NONE = 0;</code>
   */
  ProtEntityType_PROT_ENTITY_NONE(0),
  /**
   * <code>ProtEntityType_PROT_ENTITY_AVATAR = 1;</code>
   */
  ProtEntityType_PROT_ENTITY_AVATAR(1),
  /**
   * <code>ProtEntityType_PROT_ENTITY_MONSTER = 2;</code>
   */
  ProtEntityType_PROT_ENTITY_MONSTER(2),
  /**
   * <code>ProtEntityType_PROT_ENTITY_NPC = 3;</code>
   */
  ProtEntityType_PROT_ENTITY_NPC(3),
  /**
   * <code>ProtEntityType_PROT_ENTITY_GADGET = 4;</code>
   */
  ProtEntityType_PROT_ENTITY_GADGET(4),
  /**
   * <code>ProtEntityType_PROT_ENTITY_REGION = 5;</code>
   */
  ProtEntityType_PROT_ENTITY_REGION(5),
  /**
   * <code>ProtEntityType_PROT_ENTITY_WEAPON = 6;</code>
   */
  ProtEntityType_PROT_ENTITY_WEAPON(6),
  /**
   * <code>ProtEntityType_PROT_ENTITY_WEATHER = 7;</code>
   */
  ProtEntityType_PROT_ENTITY_WEATHER(7),
  /**
   * <code>ProtEntityType_PROT_ENTITY_SCENE = 8;</code>
   */
  ProtEntityType_PROT_ENTITY_SCENE(8),
  /**
   * <code>ProtEntityType_PROT_ENTITY_TEAM = 9;</code>
   */
  ProtEntityType_PROT_ENTITY_TEAM(9),
  /**
   * <code>ProtEntityType_PROT_ENTITY_MP_LEVEL = 11;</code>
   */
  ProtEntityType_PROT_ENTITY_MP_LEVEL(11),
  /**
   * <code>ProtEntityType_PROT_ENTITY_PLAY_TEAM_ENTITY = 12;</code>
   */
  ProtEntityType_PROT_ENTITY_PLAY_TEAM_ENTITY(12),
  /**
   * <code>ProtEntityType_PROT_ENTITY_EYE_POINT = 13;</code>
   */
  ProtEntityType_PROT_ENTITY_EYE_POINT(13),
  /**
   * <code>ProtEntityType_PROT_ENTITY_MAX = 14;</code>
   */
  ProtEntityType_PROT_ENTITY_MAX(14),
  UNRECOGNIZED(-1),
  ;

  /**
   * <code>ProtEntityType_PROT_ENTITY_NONE = 0;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_NONE_VALUE = 0;
  /**
   * <code>ProtEntityType_PROT_ENTITY_AVATAR = 1;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_AVATAR_VALUE = 1;
  /**
   * <code>ProtEntityType_PROT_ENTITY_MONSTER = 2;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_MONSTER_VALUE = 2;
  /**
   * <code>ProtEntityType_PROT_ENTITY_NPC = 3;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_NPC_VALUE = 3;
  /**
   * <code>ProtEntityType_PROT_ENTITY_GADGET = 4;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_GADGET_VALUE = 4;
  /**
   * <code>ProtEntityType_PROT_ENTITY_REGION = 5;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_REGION_VALUE = 5;
  /**
   * <code>ProtEntityType_PROT_ENTITY_WEAPON = 6;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_WEAPON_VALUE = 6;
  /**
   * <code>ProtEntityType_PROT_ENTITY_WEATHER = 7;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_WEATHER_VALUE = 7;
  /**
   * <code>ProtEntityType_PROT_ENTITY_SCENE = 8;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_SCENE_VALUE = 8;
  /**
   * <code>ProtEntityType_PROT_ENTITY_TEAM = 9;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_TEAM_VALUE = 9;
  /**
   * <code>ProtEntityType_PROT_ENTITY_MP_LEVEL = 11;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_MP_LEVEL_VALUE = 11;
  /**
   * <code>ProtEntityType_PROT_ENTITY_PLAY_TEAM_ENTITY = 12;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_PLAY_TEAM_ENTITY_VALUE = 12;
  /**
   * <code>ProtEntityType_PROT_ENTITY_EYE_POINT = 13;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_EYE_POINT_VALUE = 13;
  /**
   * <code>ProtEntityType_PROT_ENTITY_MAX = 14;</code>
   */
  public static final int ProtEntityType_PROT_ENTITY_MAX_VALUE = 14;


  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 ProtEntityType 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 ProtEntityType forNumber(int value) {
    switch (value) {
      case 0: return ProtEntityType_PROT_ENTITY_NONE;
      case 1: return ProtEntityType_PROT_ENTITY_AVATAR;
      case 2: return ProtEntityType_PROT_ENTITY_MONSTER;
      case 3: return ProtEntityType_PROT_ENTITY_NPC;
      case 4: return ProtEntityType_PROT_ENTITY_GADGET;
      case 5: return ProtEntityType_PROT_ENTITY_REGION;
      case 6: return ProtEntityType_PROT_ENTITY_WEAPON;
      case 7: return ProtEntityType_PROT_ENTITY_WEATHER;
      case 8: return ProtEntityType_PROT_ENTITY_SCENE;
      case 9: return ProtEntityType_PROT_ENTITY_TEAM;
      case 11: return ProtEntityType_PROT_ENTITY_MP_LEVEL;
      case 12: return ProtEntityType_PROT_ENTITY_PLAY_TEAM_ENTITY;
      case 13: return ProtEntityType_PROT_ENTITY_EYE_POINT;
      case 14: return ProtEntityType_PROT_ENTITY_MAX;
      default: return null;
    }
  }

  public static com.google.protobuf.Internal.EnumLiteMap<ProtEntityType>
      internalGetValueMap() {
    return internalValueMap;
  }
  private static final com.google.protobuf.Internal.EnumLiteMap<
      ProtEntityType> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap<ProtEntityType>() {
          public ProtEntityType findValueByNumber(int number) {
            return ProtEntityType.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 io.grasscutter.net.proto.define.Define.getDescriptor().getEnumTypes().get(2);
  }

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

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

  // @@protoc_insertion_point(enum_scope:ProtEntityType)
}

