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

package emu.grasscutter.net.proto;

public final class VisionTypeOuterClass {
  private VisionTypeOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code VisionType}
   */
  public enum VisionType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>VisionNone = 0;</code>
     */
    VisionNone(0),
    /**
     * <code>VisionMeet = 1;</code>
     */
    VisionMeet(1),
    /**
     * <code>VisionReborn = 2;</code>
     */
    VisionReborn(2),
    /**
     * <code>VisionReplace = 3;</code>
     */
    VisionReplace(3),
    /**
     * <code>VisionWaypointReborn = 4;</code>
     */
    VisionWaypointReborn(4),
    /**
     * <code>VisionMiss = 5;</code>
     */
    VisionMiss(5),
    /**
     * <code>VisionDie = 6;</code>
     */
    VisionDie(6),
    /**
     * <code>VisionGatherEscape = 7;</code>
     */
    VisionGatherEscape(7),
    /**
     * <code>VisionRefresh = 8;</code>
     */
    VisionRefresh(8),
    /**
     * <code>VisionTransport = 9;</code>
     */
    VisionTransport(9),
    /**
     * <code>VisionReplaceDie = 10;</code>
     */
    VisionReplaceDie(10),
    /**
     * <code>VisionReplaceNoNotify = 11;</code>
     */
    VisionReplaceNoNotify(11),
    /**
     * <code>VisionBorn = 12;</code>
     */
    VisionBorn(12),
    /**
     * <code>VisionPickup = 13;</code>
     */
    VisionPickup(13),
    /**
     * <code>VisionRemove = 14;</code>
     */
    VisionRemove(14),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>VisionNone = 0;</code>
     */
    public static final int VisionNone_VALUE = 0;
    /**
     * <code>VisionMeet = 1;</code>
     */
    public static final int VisionMeet_VALUE = 1;
    /**
     * <code>VisionReborn = 2;</code>
     */
    public static final int VisionReborn_VALUE = 2;
    /**
     * <code>VisionReplace = 3;</code>
     */
    public static final int VisionReplace_VALUE = 3;
    /**
     * <code>VisionWaypointReborn = 4;</code>
     */
    public static final int VisionWaypointReborn_VALUE = 4;
    /**
     * <code>VisionMiss = 5;</code>
     */
    public static final int VisionMiss_VALUE = 5;
    /**
     * <code>VisionDie = 6;</code>
     */
    public static final int VisionDie_VALUE = 6;
    /**
     * <code>VisionGatherEscape = 7;</code>
     */
    public static final int VisionGatherEscape_VALUE = 7;
    /**
     * <code>VisionRefresh = 8;</code>
     */
    public static final int VisionRefresh_VALUE = 8;
    /**
     * <code>VisionTransport = 9;</code>
     */
    public static final int VisionTransport_VALUE = 9;
    /**
     * <code>VisionReplaceDie = 10;</code>
     */
    public static final int VisionReplaceDie_VALUE = 10;
    /**
     * <code>VisionReplaceNoNotify = 11;</code>
     */
    public static final int VisionReplaceNoNotify_VALUE = 11;
    /**
     * <code>VisionBorn = 12;</code>
     */
    public static final int VisionBorn_VALUE = 12;
    /**
     * <code>VisionPickup = 13;</code>
     */
    public static final int VisionPickup_VALUE = 13;
    /**
     * <code>VisionRemove = 14;</code>
     */
    public static final int VisionRemove_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 VisionType 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 VisionType forNumber(int value) {
      switch (value) {
        case 0: return VisionNone;
        case 1: return VisionMeet;
        case 2: return VisionReborn;
        case 3: return VisionReplace;
        case 4: return VisionWaypointReborn;
        case 5: return VisionMiss;
        case 6: return VisionDie;
        case 7: return VisionGatherEscape;
        case 8: return VisionRefresh;
        case 9: return VisionTransport;
        case 10: return VisionReplaceDie;
        case 11: return VisionReplaceNoNotify;
        case 12: return VisionBorn;
        case 13: return VisionPickup;
        case 14: return VisionRemove;
        default: return null;
      }
    }

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

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

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

    // @@protoc_insertion_point(enum_scope:VisionType)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\020VisionType.proto*\257\002\n\nVisionType\022\016\n\nVis" +
      "ionNone\020\000\022\016\n\nVisionMeet\020\001\022\020\n\014VisionRebor" +
      "n\020\002\022\021\n\rVisionReplace\020\003\022\030\n\024VisionWaypoint" +
      "Reborn\020\004\022\016\n\nVisionMiss\020\005\022\r\n\tVisionDie\020\006\022" +
      "\026\n\022VisionGatherEscape\020\007\022\021\n\rVisionRefresh" +
      "\020\010\022\023\n\017VisionTransport\020\t\022\024\n\020VisionReplace" +
      "Die\020\n\022\031\n\025VisionReplaceNoNotify\020\013\022\016\n\nVisi" +
      "onBorn\020\014\022\020\n\014VisionPickup\020\r\022\020\n\014VisionRemo" +
      "ve\020\016B\033\n\031emu.grasscutter.net.protob\006proto" +
      "3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
