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

package emu.grasscutter.net.proto;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ToTheMoonQueryPathReqOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ToTheMoonQueryPathReq)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.OptionType queryType = 15;</code>
     * @return The enum numeric value on the wire for queryType.
     */
    int getQueryTypeValue();
    /**
     * <code>.OptionType queryType = 15;</code>
     * @return The queryType.
     */
    emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType getQueryType();

    /**
     * <code>int32 queryId = 3;</code>
     * @return The queryId.
     */
    int getQueryId();

    /**
     * <code>.Vector sourcePos = 12;</code>
     * @return Whether the sourcePos field is set.
     */
    boolean hasSourcePos();
    /**
     * <code>.Vector sourcePos = 12;</code>
     * @return The sourcePos.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getSourcePos();
    /**
     * <code>.Vector sourcePos = 12;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSourcePosOrBuilder();

    /**
     * <code>uint32 sceneId = 6;</code>
     * @return The sceneId.
     */
    int getSceneId();

    /**
     * <code>.AStarMethod astarMethod = 1;</code>
     * @return The enum numeric value on the wire for astarMethod.
     */
    int getAstarMethodValue();
    /**
     * <code>.AStarMethod astarMethod = 1;</code>
     * @return The astarMethod.
     */
    emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod getAstarMethod();

    /**
     * <code>.FilterType filterType = 8;</code>
     * @return The enum numeric value on the wire for filterType.
     */
    int getFilterTypeValue();
    /**
     * <code>.FilterType filterType = 8;</code>
     * @return The filterType.
     */
    emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType getFilterType();

    /**
     * <code>int32 fuzzyRange = 7;</code>
     * @return The fuzzyRange.
     */
    int getFuzzyRange();

    /**
     * <code>bool Unk3300_OFGONAMNIJG = 10;</code>
     * @return The unk3300OFGONAMNIJG.
     */
    boolean getUnk3300OFGONAMNIJG();

    /**
     * <code>bool Unk3300_BBLMBILIOGP = 2;</code>
     * @return The unk3300BBLMBILIOGP.
     */
    boolean getUnk3300BBLMBILIOGP();

    /**
     * <code>.Vector destinationPos = 5;</code>
     * @return Whether the destinationPos field is set.
     */
    boolean hasDestinationPos();
    /**
     * <code>.Vector destinationPos = 5;</code>
     * @return The destinationPos.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos();
    /**
     * <code>.Vector destinationPos = 5;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder();
  }
  /**
   * Protobuf type {@code ToTheMoonQueryPathReq}
   */
  public static final class ToTheMoonQueryPathReq extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ToTheMoonQueryPathReq)
      ToTheMoonQueryPathReqOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ToTheMoonQueryPathReq.newBuilder() to construct.
    private ToTheMoonQueryPathReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ToTheMoonQueryPathReq() {
      queryType_ = 0;
      astarMethod_ = 0;
      filterType_ = 0;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ToTheMoonQueryPathReq();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ToTheMoonQueryPathReq(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();

              astarMethod_ = rawValue;
              break;
            }
            case 16: {

              unk3300BBLMBILIOGP_ = input.readBool();
              break;
            }
            case 24: {

              queryId_ = input.readInt32();
              break;
            }
            case 42: {
              emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
              if (destinationPos_ != null) {
                subBuilder = destinationPos_.toBuilder();
              }
              destinationPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(destinationPos_);
                destinationPos_ = subBuilder.buildPartial();
              }

              break;
            }
            case 48: {

              sceneId_ = input.readUInt32();
              break;
            }
            case 56: {

              fuzzyRange_ = input.readInt32();
              break;
            }
            case 64: {
              int rawValue = input.readEnum();

              filterType_ = rawValue;
              break;
            }
            case 80: {

              unk3300OFGONAMNIJG_ = input.readBool();
              break;
            }
            case 98: {
              emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
              if (sourcePos_ != null) {
                subBuilder = sourcePos_.toBuilder();
              }
              sourcePos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(sourcePos_);
                sourcePos_ = subBuilder.buildPartial();
              }

              break;
            }
            case 120: {
              int rawValue = input.readEnum();

              queryType_ = rawValue;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.internal_static_ToTheMoonQueryPathReq_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.internal_static_ToTheMoonQueryPathReq_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.class, emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.Builder.class);
    }

    /**
     * Protobuf enum {@code ToTheMoonQueryPathReq.MAJKIHKKGFG}
     */
    public enum MAJKIHKKGFG
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>NONE = 0;</code>
       */
      NONE(0, 0),
      /**
       * <code>PEPPOHPHJOJ = 6105;</code>
       */
      PEPPOHPHJOJ(1, 6105),
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      NNBKOLMPOEA(3, 1),
      UNRECOGNIZED(-1, -1),
      ;

      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final MAJKIHKKGFG DCDNILFDFLB = NONE;
      /**
       * <code>EAJIABGAOCI = 1;</code>
       */
      public static final MAJKIHKKGFG EAJIABGAOCI = NNBKOLMPOEA;
      /**
       * <code>NONE = 0;</code>
       */
      public static final int NONE_VALUE = 0;
      /**
       * <code>PEPPOHPHJOJ = 6105;</code>
       */
      public static final int PEPPOHPHJOJ_VALUE = 6105;
      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final int DCDNILFDFLB_VALUE = 0;
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      public static final int NNBKOLMPOEA_VALUE = 1;
      /**
       * <code>EAJIABGAOCI = 1;</code>
       */
      public static final int EAJIABGAOCI_VALUE = 1;


      public final int getNumber() {
        if (index == -1) {
          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 MAJKIHKKGFG 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 MAJKIHKKGFG forNumber(int value) {
        switch (value) {
          case 0: return NONE;
          case 6105: return PEPPOHPHJOJ;
          case 1: return NNBKOLMPOEA;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<MAJKIHKKGFG>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          MAJKIHKKGFG> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<MAJKIHKKGFG>() {
              public MAJKIHKKGFG findValueByNumber(int number) {
                return MAJKIHKKGFG.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (index == -1) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(index);
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.getDescriptor().getEnumTypes().get(0);
      }

      private static final MAJKIHKKGFG[] VALUES = getStaticValuesArray();
      private static MAJKIHKKGFG[] getStaticValuesArray() {
        return new MAJKIHKKGFG[] {
          NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI, 
        };
      }
      public static MAJKIHKKGFG 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 index;
      private final int value;

      private MAJKIHKKGFG(int index, int value) {
        this.index = index;
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:ToTheMoonQueryPathReq.MAJKIHKKGFG)
    }

    public static final int QUERYTYPE_FIELD_NUMBER = 15;
    private int queryType_;
    /**
     * <code>.OptionType queryType = 15;</code>
     * @return The enum numeric value on the wire for queryType.
     */
    @java.lang.Override public int getQueryTypeValue() {
      return queryType_;
    }
    /**
     * <code>.OptionType queryType = 15;</code>
     * @return The queryType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType getQueryType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType result = emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType.valueOf(queryType_);
      return result == null ? emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType.UNRECOGNIZED : result;
    }

    public static final int QUERYID_FIELD_NUMBER = 3;
    private int queryId_;
    /**
     * <code>int32 queryId = 3;</code>
     * @return The queryId.
     */
    @java.lang.Override
    public int getQueryId() {
      return queryId_;
    }

    public static final int SOURCEPOS_FIELD_NUMBER = 12;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector sourcePos_;
    /**
     * <code>.Vector sourcePos = 12;</code>
     * @return Whether the sourcePos field is set.
     */
    @java.lang.Override
    public boolean hasSourcePos() {
      return sourcePos_ != null;
    }
    /**
     * <code>.Vector sourcePos = 12;</code>
     * @return The sourcePos.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.Vector getSourcePos() {
      return sourcePos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : sourcePos_;
    }
    /**
     * <code>.Vector sourcePos = 12;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSourcePosOrBuilder() {
      return getSourcePos();
    }

    public static final int SCENEID_FIELD_NUMBER = 6;
    private int sceneId_;
    /**
     * <code>uint32 sceneId = 6;</code>
     * @return The sceneId.
     */
    @java.lang.Override
    public int getSceneId() {
      return sceneId_;
    }

    public static final int ASTARMETHOD_FIELD_NUMBER = 1;
    private int astarMethod_;
    /**
     * <code>.AStarMethod astarMethod = 1;</code>
     * @return The enum numeric value on the wire for astarMethod.
     */
    @java.lang.Override public int getAstarMethodValue() {
      return astarMethod_;
    }
    /**
     * <code>.AStarMethod astarMethod = 1;</code>
     * @return The astarMethod.
     */
    @java.lang.Override public emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod getAstarMethod() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod result = emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod.valueOf(astarMethod_);
      return result == null ? emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod.UNRECOGNIZED : result;
    }

    public static final int FILTERTYPE_FIELD_NUMBER = 8;
    private int filterType_;
    /**
     * <code>.FilterType filterType = 8;</code>
     * @return The enum numeric value on the wire for filterType.
     */
    @java.lang.Override public int getFilterTypeValue() {
      return filterType_;
    }
    /**
     * <code>.FilterType filterType = 8;</code>
     * @return The filterType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType getFilterType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType result = emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType.valueOf(filterType_);
      return result == null ? emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType.UNRECOGNIZED : result;
    }

    public static final int FUZZYRANGE_FIELD_NUMBER = 7;
    private int fuzzyRange_;
    /**
     * <code>int32 fuzzyRange = 7;</code>
     * @return The fuzzyRange.
     */
    @java.lang.Override
    public int getFuzzyRange() {
      return fuzzyRange_;
    }

    public static final int UNK3300_OFGONAMNIJG_FIELD_NUMBER = 10;
    private boolean unk3300OFGONAMNIJG_;
    /**
     * <code>bool Unk3300_OFGONAMNIJG = 10;</code>
     * @return The unk3300OFGONAMNIJG.
     */
    @java.lang.Override
    public boolean getUnk3300OFGONAMNIJG() {
      return unk3300OFGONAMNIJG_;
    }

    public static final int UNK3300_BBLMBILIOGP_FIELD_NUMBER = 2;
    private boolean unk3300BBLMBILIOGP_;
    /**
     * <code>bool Unk3300_BBLMBILIOGP = 2;</code>
     * @return The unk3300BBLMBILIOGP.
     */
    @java.lang.Override
    public boolean getUnk3300BBLMBILIOGP() {
      return unk3300BBLMBILIOGP_;
    }

    public static final int DESTINATIONPOS_FIELD_NUMBER = 5;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector destinationPos_;
    /**
     * <code>.Vector destinationPos = 5;</code>
     * @return Whether the destinationPos field is set.
     */
    @java.lang.Override
    public boolean hasDestinationPos() {
      return destinationPos_ != null;
    }
    /**
     * <code>.Vector destinationPos = 5;</code>
     * @return The destinationPos.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos() {
      return destinationPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : destinationPos_;
    }
    /**
     * <code>.Vector destinationPos = 5;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder() {
      return getDestinationPos();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (astarMethod_ != emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod.A_STAR_METHOD_CLASSIC.getNumber()) {
        output.writeEnum(1, astarMethod_);
      }
      if (unk3300BBLMBILIOGP_ != false) {
        output.writeBool(2, unk3300BBLMBILIOGP_);
      }
      if (queryId_ != 0) {
        output.writeInt32(3, queryId_);
      }
      if (destinationPos_ != null) {
        output.writeMessage(5, getDestinationPos());
      }
      if (sceneId_ != 0) {
        output.writeUInt32(6, sceneId_);
      }
      if (fuzzyRange_ != 0) {
        output.writeInt32(7, fuzzyRange_);
      }
      if (filterType_ != emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType.FILTER_TYPE_ALL.getNumber()) {
        output.writeEnum(8, filterType_);
      }
      if (unk3300OFGONAMNIJG_ != false) {
        output.writeBool(10, unk3300OFGONAMNIJG_);
      }
      if (sourcePos_ != null) {
        output.writeMessage(12, getSourcePos());
      }
      if (queryType_ != emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType.OPTION_TYPE_NONE.getNumber()) {
        output.writeEnum(15, queryType_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (astarMethod_ != emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod.A_STAR_METHOD_CLASSIC.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, astarMethod_);
      }
      if (unk3300BBLMBILIOGP_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, unk3300BBLMBILIOGP_);
      }
      if (queryId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, queryId_);
      }
      if (destinationPos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, getDestinationPos());
      }
      if (sceneId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, sceneId_);
      }
      if (fuzzyRange_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, fuzzyRange_);
      }
      if (filterType_ != emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType.FILTER_TYPE_ALL.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(8, filterType_);
      }
      if (unk3300OFGONAMNIJG_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(10, unk3300OFGONAMNIJG_);
      }
      if (sourcePos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, getSourcePos());
      }
      if (queryType_ != emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType.OPTION_TYPE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(15, queryType_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq other = (emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq) obj;

      if (queryType_ != other.queryType_) return false;
      if (getQueryId()
          != other.getQueryId()) return false;
      if (hasSourcePos() != other.hasSourcePos()) return false;
      if (hasSourcePos()) {
        if (!getSourcePos()
            .equals(other.getSourcePos())) return false;
      }
      if (getSceneId()
          != other.getSceneId()) return false;
      if (astarMethod_ != other.astarMethod_) return false;
      if (filterType_ != other.filterType_) return false;
      if (getFuzzyRange()
          != other.getFuzzyRange()) return false;
      if (getUnk3300OFGONAMNIJG()
          != other.getUnk3300OFGONAMNIJG()) return false;
      if (getUnk3300BBLMBILIOGP()
          != other.getUnk3300BBLMBILIOGP()) return false;
      if (hasDestinationPos() != other.hasDestinationPos()) return false;
      if (hasDestinationPos()) {
        if (!getDestinationPos()
            .equals(other.getDestinationPos())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + QUERYTYPE_FIELD_NUMBER;
      hash = (53 * hash) + queryType_;
      hash = (37 * hash) + QUERYID_FIELD_NUMBER;
      hash = (53 * hash) + getQueryId();
      if (hasSourcePos()) {
        hash = (37 * hash) + SOURCEPOS_FIELD_NUMBER;
        hash = (53 * hash) + getSourcePos().hashCode();
      }
      hash = (37 * hash) + SCENEID_FIELD_NUMBER;
      hash = (53 * hash) + getSceneId();
      hash = (37 * hash) + ASTARMETHOD_FIELD_NUMBER;
      hash = (53 * hash) + astarMethod_;
      hash = (37 * hash) + FILTERTYPE_FIELD_NUMBER;
      hash = (53 * hash) + filterType_;
      hash = (37 * hash) + FUZZYRANGE_FIELD_NUMBER;
      hash = (53 * hash) + getFuzzyRange();
      hash = (37 * hash) + UNK3300_OFGONAMNIJG_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300OFGONAMNIJG());
      hash = (37 * hash) + UNK3300_BBLMBILIOGP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300BBLMBILIOGP());
      if (hasDestinationPos()) {
        hash = (37 * hash) + DESTINATIONPOS_FIELD_NUMBER;
        hash = (53 * hash) + getDestinationPos().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code ToTheMoonQueryPathReq}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ToTheMoonQueryPathReq)
        emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReqOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.internal_static_ToTheMoonQueryPathReq_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.internal_static_ToTheMoonQueryPathReq_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.class, emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        queryType_ = 0;

        queryId_ = 0;

        if (sourcePosBuilder_ == null) {
          sourcePos_ = null;
        } else {
          sourcePos_ = null;
          sourcePosBuilder_ = null;
        }
        sceneId_ = 0;

        astarMethod_ = 0;

        filterType_ = 0;

        fuzzyRange_ = 0;

        unk3300OFGONAMNIJG_ = false;

        unk3300BBLMBILIOGP_ = false;

        if (destinationPosBuilder_ == null) {
          destinationPos_ = null;
        } else {
          destinationPos_ = null;
          destinationPosBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.internal_static_ToTheMoonQueryPathReq_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.getDefaultInstance();
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq build() {
        emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq buildPartial() {
        emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq result = new emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq(this);
        result.queryType_ = queryType_;
        result.queryId_ = queryId_;
        if (sourcePosBuilder_ == null) {
          result.sourcePos_ = sourcePos_;
        } else {
          result.sourcePos_ = sourcePosBuilder_.build();
        }
        result.sceneId_ = sceneId_;
        result.astarMethod_ = astarMethod_;
        result.filterType_ = filterType_;
        result.fuzzyRange_ = fuzzyRange_;
        result.unk3300OFGONAMNIJG_ = unk3300OFGONAMNIJG_;
        result.unk3300BBLMBILIOGP_ = unk3300BBLMBILIOGP_;
        if (destinationPosBuilder_ == null) {
          result.destinationPos_ = destinationPos_;
        } else {
          result.destinationPos_ = destinationPosBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq) {
          return mergeFrom((emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq other) {
        if (other == emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.getDefaultInstance()) return this;
        if (other.queryType_ != 0) {
          setQueryTypeValue(other.getQueryTypeValue());
        }
        if (other.getQueryId() != 0) {
          setQueryId(other.getQueryId());
        }
        if (other.hasSourcePos()) {
          mergeSourcePos(other.getSourcePos());
        }
        if (other.getSceneId() != 0) {
          setSceneId(other.getSceneId());
        }
        if (other.astarMethod_ != 0) {
          setAstarMethodValue(other.getAstarMethodValue());
        }
        if (other.filterType_ != 0) {
          setFilterTypeValue(other.getFilterTypeValue());
        }
        if (other.getFuzzyRange() != 0) {
          setFuzzyRange(other.getFuzzyRange());
        }
        if (other.getUnk3300OFGONAMNIJG() != false) {
          setUnk3300OFGONAMNIJG(other.getUnk3300OFGONAMNIJG());
        }
        if (other.getUnk3300BBLMBILIOGP() != false) {
          setUnk3300BBLMBILIOGP(other.getUnk3300BBLMBILIOGP());
        }
        if (other.hasDestinationPos()) {
          mergeDestinationPos(other.getDestinationPos());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int queryType_ = 0;
      /**
       * <code>.OptionType queryType = 15;</code>
       * @return The enum numeric value on the wire for queryType.
       */
      @java.lang.Override public int getQueryTypeValue() {
        return queryType_;
      }
      /**
       * <code>.OptionType queryType = 15;</code>
       * @param value The enum numeric value on the wire for queryType to set.
       * @return This builder for chaining.
       */
      public Builder setQueryTypeValue(int value) {
        
        queryType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.OptionType queryType = 15;</code>
       * @return The queryType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType getQueryType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType result = emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType.valueOf(queryType_);
        return result == null ? emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType.UNRECOGNIZED : result;
      }
      /**
       * <code>.OptionType queryType = 15;</code>
       * @param value The queryType to set.
       * @return This builder for chaining.
       */
      public Builder setQueryType(emu.grasscutter.net.proto.OptionTypeOuterClass.OptionType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        queryType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.OptionType queryType = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryType() {
        
        queryType_ = 0;
        onChanged();
        return this;
      }

      private int queryId_ ;
      /**
       * <code>int32 queryId = 3;</code>
       * @return The queryId.
       */
      @java.lang.Override
      public int getQueryId() {
        return queryId_;
      }
      /**
       * <code>int32 queryId = 3;</code>
       * @param value The queryId to set.
       * @return This builder for chaining.
       */
      public Builder setQueryId(int value) {
        
        queryId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 queryId = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryId() {
        
        queryId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.VectorOuterClass.Vector sourcePos_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> sourcePosBuilder_;
      /**
       * <code>.Vector sourcePos = 12;</code>
       * @return Whether the sourcePos field is set.
       */
      public boolean hasSourcePos() {
        return sourcePosBuilder_ != null || sourcePos_ != null;
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       * @return The sourcePos.
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getSourcePos() {
        if (sourcePosBuilder_ == null) {
          return sourcePos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : sourcePos_;
        } else {
          return sourcePosBuilder_.getMessage();
        }
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       */
      public Builder setSourcePos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (sourcePosBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          sourcePos_ = value;
          onChanged();
        } else {
          sourcePosBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       */
      public Builder setSourcePos(
          emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (sourcePosBuilder_ == null) {
          sourcePos_ = builderForValue.build();
          onChanged();
        } else {
          sourcePosBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       */
      public Builder mergeSourcePos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (sourcePosBuilder_ == null) {
          if (sourcePos_ != null) {
            sourcePos_ =
              emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(sourcePos_).mergeFrom(value).buildPartial();
          } else {
            sourcePos_ = value;
          }
          onChanged();
        } else {
          sourcePosBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       */
      public Builder clearSourcePos() {
        if (sourcePosBuilder_ == null) {
          sourcePos_ = null;
          onChanged();
        } else {
          sourcePos_ = null;
          sourcePosBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getSourcePosBuilder() {
        
        onChanged();
        return getSourcePosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSourcePosOrBuilder() {
        if (sourcePosBuilder_ != null) {
          return sourcePosBuilder_.getMessageOrBuilder();
        } else {
          return sourcePos_ == null ?
              emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : sourcePos_;
        }
      }
      /**
       * <code>.Vector sourcePos = 12;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          getSourcePosFieldBuilder() {
        if (sourcePosBuilder_ == null) {
          sourcePosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                  getSourcePos(),
                  getParentForChildren(),
                  isClean());
          sourcePos_ = null;
        }
        return sourcePosBuilder_;
      }

      private int sceneId_ ;
      /**
       * <code>uint32 sceneId = 6;</code>
       * @return The sceneId.
       */
      @java.lang.Override
      public int getSceneId() {
        return sceneId_;
      }
      /**
       * <code>uint32 sceneId = 6;</code>
       * @param value The sceneId to set.
       * @return This builder for chaining.
       */
      public Builder setSceneId(int value) {
        
        sceneId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 sceneId = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneId() {
        
        sceneId_ = 0;
        onChanged();
        return this;
      }

      private int astarMethod_ = 0;
      /**
       * <code>.AStarMethod astarMethod = 1;</code>
       * @return The enum numeric value on the wire for astarMethod.
       */
      @java.lang.Override public int getAstarMethodValue() {
        return astarMethod_;
      }
      /**
       * <code>.AStarMethod astarMethod = 1;</code>
       * @param value The enum numeric value on the wire for astarMethod to set.
       * @return This builder for chaining.
       */
      public Builder setAstarMethodValue(int value) {
        
        astarMethod_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.AStarMethod astarMethod = 1;</code>
       * @return The astarMethod.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod getAstarMethod() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod result = emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod.valueOf(astarMethod_);
        return result == null ? emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod.UNRECOGNIZED : result;
      }
      /**
       * <code>.AStarMethod astarMethod = 1;</code>
       * @param value The astarMethod to set.
       * @return This builder for chaining.
       */
      public Builder setAstarMethod(emu.grasscutter.net.proto.AStarMethodOuterClass.AStarMethod value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        astarMethod_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.AStarMethod astarMethod = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearAstarMethod() {
        
        astarMethod_ = 0;
        onChanged();
        return this;
      }

      private int filterType_ = 0;
      /**
       * <code>.FilterType filterType = 8;</code>
       * @return The enum numeric value on the wire for filterType.
       */
      @java.lang.Override public int getFilterTypeValue() {
        return filterType_;
      }
      /**
       * <code>.FilterType filterType = 8;</code>
       * @param value The enum numeric value on the wire for filterType to set.
       * @return This builder for chaining.
       */
      public Builder setFilterTypeValue(int value) {
        
        filterType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.FilterType filterType = 8;</code>
       * @return The filterType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType getFilterType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType result = emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType.valueOf(filterType_);
        return result == null ? emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType.UNRECOGNIZED : result;
      }
      /**
       * <code>.FilterType filterType = 8;</code>
       * @param value The filterType to set.
       * @return This builder for chaining.
       */
      public Builder setFilterType(emu.grasscutter.net.proto.FilterTypeOuterClass.FilterType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        filterType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.FilterType filterType = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearFilterType() {
        
        filterType_ = 0;
        onChanged();
        return this;
      }

      private int fuzzyRange_ ;
      /**
       * <code>int32 fuzzyRange = 7;</code>
       * @return The fuzzyRange.
       */
      @java.lang.Override
      public int getFuzzyRange() {
        return fuzzyRange_;
      }
      /**
       * <code>int32 fuzzyRange = 7;</code>
       * @param value The fuzzyRange to set.
       * @return This builder for chaining.
       */
      public Builder setFuzzyRange(int value) {
        
        fuzzyRange_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 fuzzyRange = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearFuzzyRange() {
        
        fuzzyRange_ = 0;
        onChanged();
        return this;
      }

      private boolean unk3300OFGONAMNIJG_ ;
      /**
       * <code>bool Unk3300_OFGONAMNIJG = 10;</code>
       * @return The unk3300OFGONAMNIJG.
       */
      @java.lang.Override
      public boolean getUnk3300OFGONAMNIJG() {
        return unk3300OFGONAMNIJG_;
      }
      /**
       * <code>bool Unk3300_OFGONAMNIJG = 10;</code>
       * @param value The unk3300OFGONAMNIJG to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300OFGONAMNIJG(boolean value) {
        
        unk3300OFGONAMNIJG_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool Unk3300_OFGONAMNIJG = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300OFGONAMNIJG() {
        
        unk3300OFGONAMNIJG_ = false;
        onChanged();
        return this;
      }

      private boolean unk3300BBLMBILIOGP_ ;
      /**
       * <code>bool Unk3300_BBLMBILIOGP = 2;</code>
       * @return The unk3300BBLMBILIOGP.
       */
      @java.lang.Override
      public boolean getUnk3300BBLMBILIOGP() {
        return unk3300BBLMBILIOGP_;
      }
      /**
       * <code>bool Unk3300_BBLMBILIOGP = 2;</code>
       * @param value The unk3300BBLMBILIOGP to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300BBLMBILIOGP(boolean value) {
        
        unk3300BBLMBILIOGP_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool Unk3300_BBLMBILIOGP = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300BBLMBILIOGP() {
        
        unk3300BBLMBILIOGP_ = false;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.VectorOuterClass.Vector destinationPos_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> destinationPosBuilder_;
      /**
       * <code>.Vector destinationPos = 5;</code>
       * @return Whether the destinationPos field is set.
       */
      public boolean hasDestinationPos() {
        return destinationPosBuilder_ != null || destinationPos_ != null;
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       * @return The destinationPos.
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos() {
        if (destinationPosBuilder_ == null) {
          return destinationPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : destinationPos_;
        } else {
          return destinationPosBuilder_.getMessage();
        }
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       */
      public Builder setDestinationPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (destinationPosBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          destinationPos_ = value;
          onChanged();
        } else {
          destinationPosBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       */
      public Builder setDestinationPos(
          emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (destinationPosBuilder_ == null) {
          destinationPos_ = builderForValue.build();
          onChanged();
        } else {
          destinationPosBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       */
      public Builder mergeDestinationPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (destinationPosBuilder_ == null) {
          if (destinationPos_ != null) {
            destinationPos_ =
              emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(destinationPos_).mergeFrom(value).buildPartial();
          } else {
            destinationPos_ = value;
          }
          onChanged();
        } else {
          destinationPosBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       */
      public Builder clearDestinationPos() {
        if (destinationPosBuilder_ == null) {
          destinationPos_ = null;
          onChanged();
        } else {
          destinationPos_ = null;
          destinationPosBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getDestinationPosBuilder() {
        
        onChanged();
        return getDestinationPosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder() {
        if (destinationPosBuilder_ != null) {
          return destinationPosBuilder_.getMessageOrBuilder();
        } else {
          return destinationPos_ == null ?
              emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : destinationPos_;
        }
      }
      /**
       * <code>.Vector destinationPos = 5;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          getDestinationPosFieldBuilder() {
        if (destinationPosBuilder_ == null) {
          destinationPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                  getDestinationPos(),
                  getParentForChildren(),
                  isClean());
          destinationPos_ = null;
        }
        return destinationPosBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:ToTheMoonQueryPathReq)
    }

    // @@protoc_insertion_point(class_scope:ToTheMoonQueryPathReq)
    private static final emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq();
    }

    public static emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<ToTheMoonQueryPathReq>
        PARSER = new com.google.protobuf.AbstractParser<ToTheMoonQueryPathReq>() {
      @java.lang.Override
      public ToTheMoonQueryPathReq parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ToTheMoonQueryPathReq(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<ToTheMoonQueryPathReq> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<ToTheMoonQueryPathReq> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ToTheMoonQueryPathReq_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ToTheMoonQueryPathReq_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\033ToTheMoonQueryPathReq.proto\032\020OptionTyp" +
      "e.proto\032\014Vector.proto\032\021AStarMethod.proto" +
      "\032\020FilterType.proto\"\212\003\n\025ToTheMoonQueryPat" +
      "hReq\022\036\n\tqueryType\030\017 \001(\0162\013.OptionType\022\017\n\007" +
      "queryId\030\003 \001(\005\022\032\n\tsourcePos\030\014 \001(\0132\007.Vecto" +
      "r\022\017\n\007sceneId\030\006 \001(\r\022!\n\013astarMethod\030\001 \001(\0162" +
      "\014.AStarMethod\022\037\n\nfilterType\030\010 \001(\0162\013.Filt" +
      "erType\022\022\n\nfuzzyRange\030\007 \001(\005\022\033\n\023Unk3300_OF" +
      "GONAMNIJG\030\n \001(\010\022\033\n\023Unk3300_BBLMBILIOGP\030\002" +
      " \001(\010\022\037\n\016destinationPos\030\005 \001(\0132\007.Vector\"`\n" +
      "\013MAJKIHKKGFG\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\331/" +
      "\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EA" +
      "JIABGAOCI\020\001\032\002\020\001B\033\n\031emu.grasscutter.net.p" +
      "rotob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.OptionTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.AStarMethodOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.FilterTypeOuterClass.getDescriptor(),
        });
    internal_static_ToTheMoonQueryPathReq_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ToTheMoonQueryPathReq_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ToTheMoonQueryPathReq_descriptor,
        new java.lang.String[] { "QueryType", "QueryId", "SourcePos", "SceneId", "AstarMethod", "FilterType", "FuzzyRange", "Unk3300OFGONAMNIJG", "Unk3300BBLMBILIOGP", "DestinationPos", });
    emu.grasscutter.net.proto.OptionTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
    emu.grasscutter.net.proto.AStarMethodOuterClass.getDescriptor();
    emu.grasscutter.net.proto.FilterTypeOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
