// 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>.ToTheMoonQueryPathReq.OptionType query_type = 5;</code>
     * @return The enum numeric value on the wire for queryType.
     */
    int getQueryTypeValue();
    /**
     * <code>.ToTheMoonQueryPathReq.OptionType query_type = 5;</code>
     * @return The queryType.
     */
    emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType getQueryType();

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

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

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

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

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

    /**
     * <code>.Vector destination_pos = 3;</code>
     * @return Whether the destinationPos field is set.
     */
    boolean hasDestinationPos();
    /**
     * <code>.Vector destination_pos = 3;</code>
     * @return The destinationPos.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getDestinationPos();
    /**
     * <code>.Vector destination_pos = 3;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder();

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

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

    /**
     * <code>uint32 scene_id = 4;</code>
     * @return The sceneId.
     */
    int getSceneId();
  }
  /**
   * <pre>
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 6179;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   *   IS_ALLOW_CLIENT = 1;
   * }
   * </pre>
   *
   * 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;
      filterType_ = 0;
      astarMethod_ = 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 16: {

              queryId_ = input.readInt32();
              break;
            }
            case 26: {
              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 32: {

              sceneId_ = input.readUInt32();
              break;
            }
            case 40: {
              int rawValue = input.readEnum();

              queryType_ = rawValue;
              break;
            }
            case 48: {

              unk3300OFGONAMNIJG_ = input.readBool();
              break;
            }
            case 56: {

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

              unk3300BBLMBILIOGP_ = input.readBool();
              break;
            }
            case 90: {
              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 96: {
              int rawValue = input.readEnum();

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

              filterType_ = 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.OptionType}
     */
    public enum OptionType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>OPTION_TYPE_NONE = 0;</code>
       */
      OPTION_TYPE_NONE(0),
      /**
       * <code>OPTION_TYPE_NORMAL = 1;</code>
       */
      OPTION_TYPE_NORMAL(1),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>OPTION_TYPE_NONE = 0;</code>
       */
      public static final int OPTION_TYPE_NONE_VALUE = 0;
      /**
       * <code>OPTION_TYPE_NORMAL = 1;</code>
       */
      public static final int OPTION_TYPE_NORMAL_VALUE = 1;


      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 OptionType 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 OptionType forNumber(int value) {
        switch (value) {
          case 0: return OPTION_TYPE_NONE;
          case 1: return OPTION_TYPE_NORMAL;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<OptionType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          OptionType> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<OptionType>() {
              public OptionType findValueByNumber(int number) {
                return OptionType.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.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.getDescriptor().getEnumTypes().get(0);
      }

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

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

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

    /**
     * Protobuf enum {@code ToTheMoonQueryPathReq.AStarMethod}
     */
    public enum AStarMethod
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>A_STAR_METHOD_CLASSIC = 0;</code>
       */
      A_STAR_METHOD_CLASSIC(0),
      /**
       * <code>A_STAR_METHOD_TENDENCY = 1;</code>
       */
      A_STAR_METHOD_TENDENCY(1),
      /**
       * <code>A_STAR_METHOD_ADAPTIVE = 2;</code>
       */
      A_STAR_METHOD_ADAPTIVE(2),
      /**
       * <code>A_STAR_METHOD_INFLECTION = 3;</code>
       */
      A_STAR_METHOD_INFLECTION(3),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>A_STAR_METHOD_CLASSIC = 0;</code>
       */
      public static final int A_STAR_METHOD_CLASSIC_VALUE = 0;
      /**
       * <code>A_STAR_METHOD_TENDENCY = 1;</code>
       */
      public static final int A_STAR_METHOD_TENDENCY_VALUE = 1;
      /**
       * <code>A_STAR_METHOD_ADAPTIVE = 2;</code>
       */
      public static final int A_STAR_METHOD_ADAPTIVE_VALUE = 2;
      /**
       * <code>A_STAR_METHOD_INFLECTION = 3;</code>
       */
      public static final int A_STAR_METHOD_INFLECTION_VALUE = 3;


      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 AStarMethod 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 AStarMethod forNumber(int value) {
        switch (value) {
          case 0: return A_STAR_METHOD_CLASSIC;
          case 1: return A_STAR_METHOD_TENDENCY;
          case 2: return A_STAR_METHOD_ADAPTIVE;
          case 3: return A_STAR_METHOD_INFLECTION;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<AStarMethod>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          AStarMethod> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<AStarMethod>() {
              public AStarMethod findValueByNumber(int number) {
                return AStarMethod.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.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.getDescriptor().getEnumTypes().get(1);
      }

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

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

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

    /**
     * Protobuf enum {@code ToTheMoonQueryPathReq.FilterType}
     */
    public enum FilterType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>FILTER_TYPE_ALL = 0;</code>
       */
      FILTER_TYPE_ALL(0),
      /**
       * <code>FILTER_TYPE_AIR = 1;</code>
       */
      FILTER_TYPE_AIR(1),
      /**
       * <code>FILTER_TYPE_WATER = 2;</code>
       */
      FILTER_TYPE_WATER(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>FILTER_TYPE_ALL = 0;</code>
       */
      public static final int FILTER_TYPE_ALL_VALUE = 0;
      /**
       * <code>FILTER_TYPE_AIR = 1;</code>
       */
      public static final int FILTER_TYPE_AIR_VALUE = 1;
      /**
       * <code>FILTER_TYPE_WATER = 2;</code>
       */
      public static final int FILTER_TYPE_WATER_VALUE = 2;


      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 FilterType 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 FilterType forNumber(int value) {
        switch (value) {
          case 0: return FILTER_TYPE_ALL;
          case 1: return FILTER_TYPE_AIR;
          case 2: return FILTER_TYPE_WATER;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<FilterType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          FilterType> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<FilterType>() {
              public FilterType findValueByNumber(int number) {
                return FilterType.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.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.getDescriptor().getEnumTypes().get(2);
      }

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

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

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

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

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

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

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

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

    public static final int SOURCE_POS_FIELD_NUMBER = 11;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector sourcePos_;
    /**
     * <code>.Vector source_pos = 11;</code>
     * @return Whether the sourcePos field is set.
     */
    @java.lang.Override
    public boolean hasSourcePos() {
      return sourcePos_ != null;
    }
    /**
     * <code>.Vector source_pos = 11;</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 source_pos = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSourcePosOrBuilder() {
      return getSourcePos();
    }

    public static final int DESTINATION_POS_FIELD_NUMBER = 3;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector destinationPos_;
    /**
     * <code>.Vector destination_pos = 3;</code>
     * @return Whether the destinationPos field is set.
     */
    @java.lang.Override
    public boolean hasDestinationPos() {
      return destinationPos_ != null;
    }
    /**
     * <code>.Vector destination_pos = 3;</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 destination_pos = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getDestinationPosOrBuilder() {
      return getDestinationPos();
    }

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

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

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

    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 (queryId_ != 0) {
        output.writeInt32(2, queryId_);
      }
      if (destinationPos_ != null) {
        output.writeMessage(3, getDestinationPos());
      }
      if (sceneId_ != 0) {
        output.writeUInt32(4, sceneId_);
      }
      if (queryType_ != emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType.OPTION_TYPE_NONE.getNumber()) {
        output.writeEnum(5, queryType_);
      }
      if (unk3300OFGONAMNIJG_ != false) {
        output.writeBool(6, unk3300OFGONAMNIJG_);
      }
      if (fuzzyRange_ != 0) {
        output.writeInt32(7, fuzzyRange_);
      }
      if (unk3300BBLMBILIOGP_ != false) {
        output.writeBool(8, unk3300BBLMBILIOGP_);
      }
      if (sourcePos_ != null) {
        output.writeMessage(11, getSourcePos());
      }
      if (astarMethod_ != emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.AStarMethod.A_STAR_METHOD_CLASSIC.getNumber()) {
        output.writeEnum(12, astarMethod_);
      }
      if (filterType_ != emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.FilterType.FILTER_TYPE_ALL.getNumber()) {
        output.writeEnum(13, filterType_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (queryId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, queryId_);
      }
      if (destinationPos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getDestinationPos());
      }
      if (sceneId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, sceneId_);
      }
      if (queryType_ != emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType.OPTION_TYPE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(5, queryType_);
      }
      if (unk3300OFGONAMNIJG_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(6, unk3300OFGONAMNIJG_);
      }
      if (fuzzyRange_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, fuzzyRange_);
      }
      if (unk3300BBLMBILIOGP_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(8, unk3300BBLMBILIOGP_);
      }
      if (sourcePos_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, getSourcePos());
      }
      if (astarMethod_ != emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.AStarMethod.A_STAR_METHOD_CLASSIC.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(12, astarMethod_);
      }
      if (filterType_ != emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.FilterType.FILTER_TYPE_ALL.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(13, filterType_);
      }
      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 (getUnk3300BBLMBILIOGP()
          != other.getUnk3300BBLMBILIOGP()) return false;
      if (filterType_ != other.filterType_) return false;
      if (getQueryId()
          != other.getQueryId()) return false;
      if (astarMethod_ != other.astarMethod_) return false;
      if (hasSourcePos() != other.hasSourcePos()) return false;
      if (hasSourcePos()) {
        if (!getSourcePos()
            .equals(other.getSourcePos())) return false;
      }
      if (hasDestinationPos() != other.hasDestinationPos()) return false;
      if (hasDestinationPos()) {
        if (!getDestinationPos()
            .equals(other.getDestinationPos())) return false;
      }
      if (getFuzzyRange()
          != other.getFuzzyRange()) return false;
      if (getUnk3300OFGONAMNIJG()
          != other.getUnk3300OFGONAMNIJG()) return false;
      if (getSceneId()
          != other.getSceneId()) 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) + QUERY_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + queryType_;
      hash = (37 * hash) + UNK3300_BBLMBILIOGP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300BBLMBILIOGP());
      hash = (37 * hash) + FILTER_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + filterType_;
      hash = (37 * hash) + QUERY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getQueryId();
      hash = (37 * hash) + ASTAR_METHOD_FIELD_NUMBER;
      hash = (53 * hash) + astarMethod_;
      if (hasSourcePos()) {
        hash = (37 * hash) + SOURCE_POS_FIELD_NUMBER;
        hash = (53 * hash) + getSourcePos().hashCode();
      }
      if (hasDestinationPos()) {
        hash = (37 * hash) + DESTINATION_POS_FIELD_NUMBER;
        hash = (53 * hash) + getDestinationPos().hashCode();
      }
      hash = (37 * hash) + FUZZY_RANGE_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) + SCENE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSceneId();
      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;
    }
    /**
     * <pre>
     * enum CmdId {
     *   option allow_alias = true;
     *   NONE = 0;
     *   CMD_ID = 6179;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     *   IS_ALLOW_CLIENT = 1;
     * }
     * </pre>
     *
     * 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;

        unk3300BBLMBILIOGP_ = false;

        filterType_ = 0;

        queryId_ = 0;

        astarMethod_ = 0;

        if (sourcePosBuilder_ == null) {
          sourcePos_ = null;
        } else {
          sourcePos_ = null;
          sourcePosBuilder_ = null;
        }
        if (destinationPosBuilder_ == null) {
          destinationPos_ = null;
        } else {
          destinationPos_ = null;
          destinationPosBuilder_ = null;
        }
        fuzzyRange_ = 0;

        unk3300OFGONAMNIJG_ = false;

        sceneId_ = 0;

        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.unk3300BBLMBILIOGP_ = unk3300BBLMBILIOGP_;
        result.filterType_ = filterType_;
        result.queryId_ = queryId_;
        result.astarMethod_ = astarMethod_;
        if (sourcePosBuilder_ == null) {
          result.sourcePos_ = sourcePos_;
        } else {
          result.sourcePos_ = sourcePosBuilder_.build();
        }
        if (destinationPosBuilder_ == null) {
          result.destinationPos_ = destinationPos_;
        } else {
          result.destinationPos_ = destinationPosBuilder_.build();
        }
        result.fuzzyRange_ = fuzzyRange_;
        result.unk3300OFGONAMNIJG_ = unk3300OFGONAMNIJG_;
        result.sceneId_ = sceneId_;
        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.getUnk3300BBLMBILIOGP() != false) {
          setUnk3300BBLMBILIOGP(other.getUnk3300BBLMBILIOGP());
        }
        if (other.filterType_ != 0) {
          setFilterTypeValue(other.getFilterTypeValue());
        }
        if (other.getQueryId() != 0) {
          setQueryId(other.getQueryId());
        }
        if (other.astarMethod_ != 0) {
          setAstarMethodValue(other.getAstarMethodValue());
        }
        if (other.hasSourcePos()) {
          mergeSourcePos(other.getSourcePos());
        }
        if (other.hasDestinationPos()) {
          mergeDestinationPos(other.getDestinationPos());
        }
        if (other.getFuzzyRange() != 0) {
          setFuzzyRange(other.getFuzzyRange());
        }
        if (other.getUnk3300OFGONAMNIJG() != false) {
          setUnk3300OFGONAMNIJG(other.getUnk3300OFGONAMNIJG());
        }
        if (other.getSceneId() != 0) {
          setSceneId(other.getSceneId());
        }
        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>.ToTheMoonQueryPathReq.OptionType query_type = 5;</code>
       * @return The enum numeric value on the wire for queryType.
       */
      @java.lang.Override public int getQueryTypeValue() {
        return queryType_;
      }
      /**
       * <code>.ToTheMoonQueryPathReq.OptionType query_type = 5;</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>.ToTheMoonQueryPathReq.OptionType query_type = 5;</code>
       * @return The queryType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType getQueryType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType result = emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType.valueOf(queryType_);
        return result == null ? emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType.UNRECOGNIZED : result;
      }
      /**
       * <code>.ToTheMoonQueryPathReq.OptionType query_type = 5;</code>
       * @param value The queryType to set.
       * @return This builder for chaining.
       */
      public Builder setQueryType(emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.OptionType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        queryType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.ToTheMoonQueryPathReq.OptionType query_type = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryType() {
        
        queryType_ = 0;
        onChanged();
        return this;
      }

      private boolean unk3300BBLMBILIOGP_ ;
      /**
       * <code>bool Unk3300_BBLMBILIOGP = 8;</code>
       * @return The unk3300BBLMBILIOGP.
       */
      @java.lang.Override
      public boolean getUnk3300BBLMBILIOGP() {
        return unk3300BBLMBILIOGP_;
      }
      /**
       * <code>bool Unk3300_BBLMBILIOGP = 8;</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 = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300BBLMBILIOGP() {
        
        unk3300BBLMBILIOGP_ = false;
        onChanged();
        return this;
      }

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

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

      private int astarMethod_ = 0;
      /**
       * <code>.ToTheMoonQueryPathReq.AStarMethod astar_method = 12;</code>
       * @return The enum numeric value on the wire for astarMethod.
       */
      @java.lang.Override public int getAstarMethodValue() {
        return astarMethod_;
      }
      /**
       * <code>.ToTheMoonQueryPathReq.AStarMethod astar_method = 12;</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>.ToTheMoonQueryPathReq.AStarMethod astar_method = 12;</code>
       * @return The astarMethod.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.AStarMethod getAstarMethod() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.AStarMethod result = emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.AStarMethod.valueOf(astarMethod_);
        return result == null ? emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.AStarMethod.UNRECOGNIZED : result;
      }
      /**
       * <code>.ToTheMoonQueryPathReq.AStarMethod astar_method = 12;</code>
       * @param value The astarMethod to set.
       * @return This builder for chaining.
       */
      public Builder setAstarMethod(emu.grasscutter.net.proto.ToTheMoonQueryPathReqOuterClass.ToTheMoonQueryPathReq.AStarMethod value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        astarMethod_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.ToTheMoonQueryPathReq.AStarMethod astar_method = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearAstarMethod() {
        
        astarMethod_ = 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 source_pos = 11;</code>
       * @return Whether the sourcePos field is set.
       */
      public boolean hasSourcePos() {
        return sourcePosBuilder_ != null || sourcePos_ != null;
      }
      /**
       * <code>.Vector source_pos = 11;</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 source_pos = 11;</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 source_pos = 11;</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 source_pos = 11;</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 source_pos = 11;</code>
       */
      public Builder clearSourcePos() {
        if (sourcePosBuilder_ == null) {
          sourcePos_ = null;
          onChanged();
        } else {
          sourcePos_ = null;
          sourcePosBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector source_pos = 11;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getSourcePosBuilder() {
        
        onChanged();
        return getSourcePosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector source_pos = 11;</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 source_pos = 11;</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 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 destination_pos = 3;</code>
       * @return Whether the destinationPos field is set.
       */
      public boolean hasDestinationPos() {
        return destinationPosBuilder_ != null || destinationPos_ != null;
      }
      /**
       * <code>.Vector destination_pos = 3;</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 destination_pos = 3;</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 destination_pos = 3;</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 destination_pos = 3;</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 destination_pos = 3;</code>
       */
      public Builder clearDestinationPos() {
        if (destinationPosBuilder_ == null) {
          destinationPos_ = null;
          onChanged();
        } else {
          destinationPos_ = null;
          destinationPosBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector destination_pos = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getDestinationPosBuilder() {
        
        onChanged();
        return getDestinationPosFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector destination_pos = 3;</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 destination_pos = 3;</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_;
      }

      private int fuzzyRange_ ;
      /**
       * <code>int32 fuzzy_range = 7;</code>
       * @return The fuzzyRange.
       */
      @java.lang.Override
      public int getFuzzyRange() {
        return fuzzyRange_;
      }
      /**
       * <code>int32 fuzzy_range = 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 fuzzy_range = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearFuzzyRange() {
        
        fuzzyRange_ = 0;
        onChanged();
        return this;
      }

      private boolean unk3300OFGONAMNIJG_ ;
      /**
       * <code>bool Unk3300_OFGONAMNIJG = 6;</code>
       * @return The unk3300OFGONAMNIJG.
       */
      @java.lang.Override
      public boolean getUnk3300OFGONAMNIJG() {
        return unk3300OFGONAMNIJG_;
      }
      /**
       * <code>bool Unk3300_OFGONAMNIJG = 6;</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 = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300OFGONAMNIJG() {
        
        unk3300OFGONAMNIJG_ = false;
        onChanged();
        return this;
      }

      private int sceneId_ ;
      /**
       * <code>uint32 scene_id = 4;</code>
       * @return The sceneId.
       */
      @java.lang.Override
      public int getSceneId() {
        return sceneId_;
      }
      /**
       * <code>uint32 scene_id = 4;</code>
       * @param value The sceneId to set.
       * @return This builder for chaining.
       */
      public Builder setSceneId(int value) {
        
        sceneId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 scene_id = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearSceneId() {
        
        sceneId_ = 0;
        onChanged();
        return this;
      }
      @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\014Vector.pr" +
      "oto\"\375\004\n\025ToTheMoonQueryPathReq\0225\n\nquery_t" +
      "ype\030\005 \001(\0162!.ToTheMoonQueryPathReq.Option" +
      "Type\022\033\n\023Unk3300_BBLMBILIOGP\030\010 \001(\010\0226\n\013fil" +
      "ter_type\030\r \001(\0162!.ToTheMoonQueryPathReq.F" +
      "ilterType\022\020\n\010query_id\030\002 \001(\005\0228\n\014astar_met" +
      "hod\030\014 \001(\0162\".ToTheMoonQueryPathReq.AStarM" +
      "ethod\022\033\n\nsource_pos\030\013 \001(\0132\007.Vector\022 \n\017de" +
      "stination_pos\030\003 \001(\0132\007.Vector\022\023\n\013fuzzy_ra" +
      "nge\030\007 \001(\005\022\033\n\023Unk3300_OFGONAMNIJG\030\006 \001(\010\022\020" +
      "\n\010scene_id\030\004 \001(\r\":\n\nOptionType\022\024\n\020OPTION" +
      "_TYPE_NONE\020\000\022\026\n\022OPTION_TYPE_NORMAL\020\001\"~\n\013" +
      "AStarMethod\022\031\n\025A_STAR_METHOD_CLASSIC\020\000\022\032" +
      "\n\026A_STAR_METHOD_TENDENCY\020\001\022\032\n\026A_STAR_MET" +
      "HOD_ADAPTIVE\020\002\022\034\n\030A_STAR_METHOD_INFLECTI" +
      "ON\020\003\"M\n\nFilterType\022\023\n\017FILTER_TYPE_ALL\020\000\022" +
      "\023\n\017FILTER_TYPE_AIR\020\001\022\025\n\021FILTER_TYPE_WATE" +
      "R\020\002B\033\n\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.VectorOuterClass.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", "Unk3300BBLMBILIOGP", "FilterType", "QueryId", "AstarMethod", "SourcePos", "DestinationPos", "FuzzyRange", "Unk3300OFGONAMNIJG", "SceneId", });
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
