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

package emu.grasscutter.net.proto;

public final class ToTheMoonQueryPathRspOuterClass {
  private ToTheMoonQueryPathRspOuterClass() {}
  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 ToTheMoonQueryPathRspOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ToTheMoonQueryPathRsp)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated int64 index = 5;</code>
     * @return A list containing the index.
     */
    java.util.List<java.lang.Long> getIndexList();
    /**
     * <code>repeated int64 index = 5;</code>
     * @return The count of index.
     */
    int getIndexCount();
    /**
     * <code>repeated int64 index = 5;</code>
     * @param index The index of the element to return.
     * @return The index at the given index.
     */
    long getIndex(int index);

    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> 
        getCornersList();
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getCorners(int index);
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    int getCornersCount();
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
        getCornersOrBuilderList();
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCornersOrBuilder(
        int index);

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

    /**
     * <code>int32 retcode = 10;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>repeated int32 level = 8;</code>
     * @return A list containing the level.
     */
    java.util.List<java.lang.Integer> getLevelList();
    /**
     * <code>repeated int32 level = 8;</code>
     * @return The count of level.
     */
    int getLevelCount();
    /**
     * <code>repeated int32 level = 8;</code>
     * @param index The index of the element to return.
     * @return The level at the given index.
     */
    int getLevel(int index);

    /**
     * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
     * @return The enum numeric value on the wire for queryStatus.
     */
    int getQueryStatusValue();
    /**
     * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
     * @return The queryStatus.
     */
    emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType getQueryStatus();
  }
  /**
   * <pre>
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 6130;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   * }
   * </pre>
   *
   * Protobuf type {@code ToTheMoonQueryPathRsp}
   */
  public static final class ToTheMoonQueryPathRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ToTheMoonQueryPathRsp)
      ToTheMoonQueryPathRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ToTheMoonQueryPathRsp.newBuilder() to construct.
    private ToTheMoonQueryPathRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ToTheMoonQueryPathRsp() {
      index_ = emptyLongList();
      corners_ = java.util.Collections.emptyList();
      level_ = emptyIntList();
      queryStatus_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ToTheMoonQueryPathRsp(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      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 26: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                corners_ = new java.util.ArrayList<emu.grasscutter.net.proto.VectorOuterClass.Vector>();
                mutable_bitField0_ |= 0x00000002;
              }
              corners_.add(
                  input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry));
              break;
            }
            case 40: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                index_ = newLongList();
                mutable_bitField0_ |= 0x00000001;
              }
              index_.addLong(input.readInt64());
              break;
            }
            case 42: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                index_ = newLongList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                index_.addLong(input.readInt64());
              }
              input.popLimit(limit);
              break;
            }
            case 64: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                level_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              level_.addInt(input.readInt32());
              break;
            }
            case 66: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
                level_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              while (input.getBytesUntilLimit() > 0) {
                level_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 80: {

              retcode_ = input.readInt32();
              break;
            }
            case 112: {
              int rawValue = input.readEnum();

              queryStatus_ = rawValue;
              break;
            }
            case 120: {

              queryId_ = input.readInt32();
              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 {
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          corners_ = java.util.Collections.unmodifiableList(corners_);
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          index_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          level_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.internal_static_ToTheMoonQueryPathRsp_descriptor;
    }

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

    /**
     * Protobuf enum {@code ToTheMoonQueryPathRsp.PathStatusType}
     */
    public enum PathStatusType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>PATH_STATUS_TYPE_FAIL = 0;</code>
       */
      PATH_STATUS_TYPE_FAIL(0),
      /**
       * <code>PATH_STATUS_TYPE_SUCC = 1;</code>
       */
      PATH_STATUS_TYPE_SUCC(1),
      /**
       * <code>PATH_STATUS_TYPE_PARTIAL = 2;</code>
       */
      PATH_STATUS_TYPE_PARTIAL(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>PATH_STATUS_TYPE_FAIL = 0;</code>
       */
      public static final int PATH_STATUS_TYPE_FAIL_VALUE = 0;
      /**
       * <code>PATH_STATUS_TYPE_SUCC = 1;</code>
       */
      public static final int PATH_STATUS_TYPE_SUCC_VALUE = 1;
      /**
       * <code>PATH_STATUS_TYPE_PARTIAL = 2;</code>
       */
      public static final int PATH_STATUS_TYPE_PARTIAL_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 PathStatusType 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 PathStatusType forNumber(int value) {
        switch (value) {
          case 0: return PATH_STATUS_TYPE_FAIL;
          case 1: return PATH_STATUS_TYPE_SUCC;
          case 2: return PATH_STATUS_TYPE_PARTIAL;
          default: return null;
        }
      }

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

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

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

      // @@protoc_insertion_point(enum_scope:ToTheMoonQueryPathRsp.PathStatusType)
    }

    public static final int INDEX_FIELD_NUMBER = 5;
    private com.google.protobuf.Internal.LongList index_;
    /**
     * <code>repeated int64 index = 5;</code>
     * @return A list containing the index.
     */
    @java.lang.Override
    public java.util.List<java.lang.Long>
        getIndexList() {
      return index_;
    }
    /**
     * <code>repeated int64 index = 5;</code>
     * @return The count of index.
     */
    public int getIndexCount() {
      return index_.size();
    }
    /**
     * <code>repeated int64 index = 5;</code>
     * @param index The index of the element to return.
     * @return The index at the given index.
     */
    public long getIndex(int index) {
      return index_.getLong(index);
    }
    private int indexMemoizedSerializedSize = -1;

    public static final int CORNERS_FIELD_NUMBER = 3;
    private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> corners_;
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getCornersList() {
      return corners_;
    }
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
        getCornersOrBuilderList() {
      return corners_;
    }
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    @java.lang.Override
    public int getCornersCount() {
      return corners_.size();
    }
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.Vector getCorners(int index) {
      return corners_.get(index);
    }
    /**
     * <code>repeated .Vector corners = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCornersOrBuilder(
        int index) {
      return corners_.get(index);
    }

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

    public static final int RETCODE_FIELD_NUMBER = 10;
    private int retcode_;
    /**
     * <code>int32 retcode = 10;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int LEVEL_FIELD_NUMBER = 8;
    private com.google.protobuf.Internal.IntList level_;
    /**
     * <code>repeated int32 level = 8;</code>
     * @return A list containing the level.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getLevelList() {
      return level_;
    }
    /**
     * <code>repeated int32 level = 8;</code>
     * @return The count of level.
     */
    public int getLevelCount() {
      return level_.size();
    }
    /**
     * <code>repeated int32 level = 8;</code>
     * @param index The index of the element to return.
     * @return The level at the given index.
     */
    public int getLevel(int index) {
      return level_.getInt(index);
    }
    private int levelMemoizedSerializedSize = -1;

    public static final int QUERY_STATUS_FIELD_NUMBER = 14;
    private int queryStatus_;
    /**
     * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
     * @return The enum numeric value on the wire for queryStatus.
     */
    @java.lang.Override public int getQueryStatusValue() {
      return queryStatus_;
    }
    /**
     * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
     * @return The queryStatus.
     */
    @java.lang.Override public emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType getQueryStatus() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType result = emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType.valueOf(queryStatus_);
      return result == null ? emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType.UNRECOGNIZED : result;
    }

    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 {
      getSerializedSize();
      for (int i = 0; i < corners_.size(); i++) {
        output.writeMessage(3, corners_.get(i));
      }
      if (getIndexList().size() > 0) {
        output.writeUInt32NoTag(42);
        output.writeUInt32NoTag(indexMemoizedSerializedSize);
      }
      for (int i = 0; i < index_.size(); i++) {
        output.writeInt64NoTag(index_.getLong(i));
      }
      if (getLevelList().size() > 0) {
        output.writeUInt32NoTag(66);
        output.writeUInt32NoTag(levelMemoizedSerializedSize);
      }
      for (int i = 0; i < level_.size(); i++) {
        output.writeInt32NoTag(level_.getInt(i));
      }
      if (retcode_ != 0) {
        output.writeInt32(10, retcode_);
      }
      if (queryStatus_ != emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType.PATH_STATUS_TYPE_FAIL.getNumber()) {
        output.writeEnum(14, queryStatus_);
      }
      if (queryId_ != 0) {
        output.writeInt32(15, queryId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < corners_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, corners_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < index_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt64SizeNoTag(index_.getLong(i));
        }
        size += dataSize;
        if (!getIndexList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        indexMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < level_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(level_.getInt(i));
        }
        size += dataSize;
        if (!getLevelList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        levelMemoizedSerializedSize = dataSize;
      }
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(10, retcode_);
      }
      if (queryStatus_ != emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType.PATH_STATUS_TYPE_FAIL.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(14, queryStatus_);
      }
      if (queryId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(15, queryId_);
      }
      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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp other = (emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp) obj;

      if (!getIndexList()
          .equals(other.getIndexList())) return false;
      if (!getCornersList()
          .equals(other.getCornersList())) return false;
      if (getQueryId()
          != other.getQueryId()) return false;
      if (getRetcode()
          != other.getRetcode()) return false;
      if (!getLevelList()
          .equals(other.getLevelList())) return false;
      if (queryStatus_ != other.queryStatus_) 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();
      if (getIndexCount() > 0) {
        hash = (37 * hash) + INDEX_FIELD_NUMBER;
        hash = (53 * hash) + getIndexList().hashCode();
      }
      if (getCornersCount() > 0) {
        hash = (37 * hash) + CORNERS_FIELD_NUMBER;
        hash = (53 * hash) + getCornersList().hashCode();
      }
      hash = (37 * hash) + QUERY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getQueryId();
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      if (getLevelCount() > 0) {
        hash = (37 * hash) + LEVEL_FIELD_NUMBER;
        hash = (53 * hash) + getLevelList().hashCode();
      }
      hash = (37 * hash) + QUERY_STATUS_FIELD_NUMBER;
      hash = (53 * hash) + queryStatus_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp 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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp 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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp 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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp 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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp 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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp 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 = 6130;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     * }
     * </pre>
     *
     * Protobuf type {@code ToTheMoonQueryPathRsp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ToTheMoonQueryPathRsp)
        emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRspOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.internal_static_ToTheMoonQueryPathRsp_descriptor;
      }

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getCornersFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        index_ = emptyLongList();
        bitField0_ = (bitField0_ & ~0x00000001);
        if (cornersBuilder_ == null) {
          corners_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          cornersBuilder_.clear();
        }
        queryId_ = 0;

        retcode_ = 0;

        level_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        queryStatus_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp buildPartial() {
        emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp result = new emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          index_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.index_ = index_;
        if (cornersBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            corners_ = java.util.Collections.unmodifiableList(corners_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.corners_ = corners_;
        } else {
          result.corners_ = cornersBuilder_.build();
        }
        result.queryId_ = queryId_;
        result.retcode_ = retcode_;
        if (((bitField0_ & 0x00000004) != 0)) {
          level_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.level_ = level_;
        result.queryStatus_ = queryStatus_;
        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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp) {
          return mergeFrom((emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp other) {
        if (other == emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.getDefaultInstance()) return this;
        if (!other.index_.isEmpty()) {
          if (index_.isEmpty()) {
            index_ = other.index_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureIndexIsMutable();
            index_.addAll(other.index_);
          }
          onChanged();
        }
        if (cornersBuilder_ == null) {
          if (!other.corners_.isEmpty()) {
            if (corners_.isEmpty()) {
              corners_ = other.corners_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureCornersIsMutable();
              corners_.addAll(other.corners_);
            }
            onChanged();
          }
        } else {
          if (!other.corners_.isEmpty()) {
            if (cornersBuilder_.isEmpty()) {
              cornersBuilder_.dispose();
              cornersBuilder_ = null;
              corners_ = other.corners_;
              bitField0_ = (bitField0_ & ~0x00000002);
              cornersBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getCornersFieldBuilder() : null;
            } else {
              cornersBuilder_.addAllMessages(other.corners_);
            }
          }
        }
        if (other.getQueryId() != 0) {
          setQueryId(other.getQueryId());
        }
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (!other.level_.isEmpty()) {
          if (level_.isEmpty()) {
            level_ = other.level_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureLevelIsMutable();
            level_.addAll(other.level_);
          }
          onChanged();
        }
        if (other.queryStatus_ != 0) {
          setQueryStatusValue(other.getQueryStatusValue());
        }
        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.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.Internal.LongList index_ = emptyLongList();
      private void ensureIndexIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          index_ = mutableCopy(index_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated int64 index = 5;</code>
       * @return A list containing the index.
       */
      public java.util.List<java.lang.Long>
          getIndexList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(index_) : index_;
      }
      /**
       * <code>repeated int64 index = 5;</code>
       * @return The count of index.
       */
      public int getIndexCount() {
        return index_.size();
      }
      /**
       * <code>repeated int64 index = 5;</code>
       * @param index The index of the element to return.
       * @return The index at the given index.
       */
      public long getIndex(int index) {
        return index_.getLong(index);
      }
      /**
       * <code>repeated int64 index = 5;</code>
       * @param index The index to set the value at.
       * @param value The index to set.
       * @return This builder for chaining.
       */
      public Builder setIndex(
          int index, long value) {
        ensureIndexIsMutable();
        index_.setLong(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int64 index = 5;</code>
       * @param value The index to add.
       * @return This builder for chaining.
       */
      public Builder addIndex(long value) {
        ensureIndexIsMutable();
        index_.addLong(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int64 index = 5;</code>
       * @param values The index to add.
       * @return This builder for chaining.
       */
      public Builder addAllIndex(
          java.lang.Iterable<? extends java.lang.Long> values) {
        ensureIndexIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, index_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int64 index = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearIndex() {
        index_ = emptyLongList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> corners_ =
        java.util.Collections.emptyList();
      private void ensureCornersIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          corners_ = new java.util.ArrayList<emu.grasscutter.net.proto.VectorOuterClass.Vector>(corners_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> cornersBuilder_;

      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getCornersList() {
        if (cornersBuilder_ == null) {
          return java.util.Collections.unmodifiableList(corners_);
        } else {
          return cornersBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public int getCornersCount() {
        if (cornersBuilder_ == null) {
          return corners_.size();
        } else {
          return cornersBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getCorners(int index) {
        if (cornersBuilder_ == null) {
          return corners_.get(index);
        } else {
          return cornersBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder setCorners(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (cornersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCornersIsMutable();
          corners_.set(index, value);
          onChanged();
        } else {
          cornersBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder setCorners(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (cornersBuilder_ == null) {
          ensureCornersIsMutable();
          corners_.set(index, builderForValue.build());
          onChanged();
        } else {
          cornersBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder addCorners(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (cornersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCornersIsMutable();
          corners_.add(value);
          onChanged();
        } else {
          cornersBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder addCorners(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (cornersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureCornersIsMutable();
          corners_.add(index, value);
          onChanged();
        } else {
          cornersBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder addCorners(
          emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (cornersBuilder_ == null) {
          ensureCornersIsMutable();
          corners_.add(builderForValue.build());
          onChanged();
        } else {
          cornersBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder addCorners(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (cornersBuilder_ == null) {
          ensureCornersIsMutable();
          corners_.add(index, builderForValue.build());
          onChanged();
        } else {
          cornersBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder addAllCorners(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.VectorOuterClass.Vector> values) {
        if (cornersBuilder_ == null) {
          ensureCornersIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, corners_);
          onChanged();
        } else {
          cornersBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder clearCorners() {
        if (cornersBuilder_ == null) {
          corners_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          cornersBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public Builder removeCorners(int index) {
        if (cornersBuilder_ == null) {
          ensureCornersIsMutable();
          corners_.remove(index);
          onChanged();
        } else {
          cornersBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getCornersBuilder(
          int index) {
        return getCornersFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCornersOrBuilder(
          int index) {
        if (cornersBuilder_ == null) {
          return corners_.get(index);  } else {
          return cornersBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
           getCornersOrBuilderList() {
        if (cornersBuilder_ != null) {
          return cornersBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(corners_);
        }
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addCornersBuilder() {
        return getCornersFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addCornersBuilder(
          int index) {
        return getCornersFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
      }
      /**
       * <code>repeated .Vector corners = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder> 
           getCornersBuilderList() {
        return getCornersFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          getCornersFieldBuilder() {
        if (cornersBuilder_ == null) {
          cornersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                  corners_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          corners_ = null;
        }
        return cornersBuilder_;
      }

      private int queryId_ ;
      /**
       * <code>int32 query_id = 15;</code>
       * @return The queryId.
       */
      @java.lang.Override
      public int getQueryId() {
        return queryId_;
      }
      /**
       * <code>int32 query_id = 15;</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 = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryId() {
        
        queryId_ = 0;
        onChanged();
        return this;
      }

      private int retcode_ ;
      /**
       * <code>int32 retcode = 10;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 10;</code>
       * @param value The retcode to set.
       * @return This builder for chaining.
       */
      public Builder setRetcode(int value) {
        
        retcode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 retcode = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList level_ = emptyIntList();
      private void ensureLevelIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          level_ = mutableCopy(level_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * <code>repeated int32 level = 8;</code>
       * @return A list containing the level.
       */
      public java.util.List<java.lang.Integer>
          getLevelList() {
        return ((bitField0_ & 0x00000004) != 0) ?
                 java.util.Collections.unmodifiableList(level_) : level_;
      }
      /**
       * <code>repeated int32 level = 8;</code>
       * @return The count of level.
       */
      public int getLevelCount() {
        return level_.size();
      }
      /**
       * <code>repeated int32 level = 8;</code>
       * @param index The index of the element to return.
       * @return The level at the given index.
       */
      public int getLevel(int index) {
        return level_.getInt(index);
      }
      /**
       * <code>repeated int32 level = 8;</code>
       * @param index The index to set the value at.
       * @param value The level to set.
       * @return This builder for chaining.
       */
      public Builder setLevel(
          int index, int value) {
        ensureLevelIsMutable();
        level_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 level = 8;</code>
       * @param value The level to add.
       * @return This builder for chaining.
       */
      public Builder addLevel(int value) {
        ensureLevelIsMutable();
        level_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 level = 8;</code>
       * @param values The level to add.
       * @return This builder for chaining.
       */
      public Builder addAllLevel(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureLevelIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, level_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 level = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearLevel() {
        level_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private int queryStatus_ = 0;
      /**
       * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
       * @return The enum numeric value on the wire for queryStatus.
       */
      @java.lang.Override public int getQueryStatusValue() {
        return queryStatus_;
      }
      /**
       * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
       * @param value The enum numeric value on the wire for queryStatus to set.
       * @return This builder for chaining.
       */
      public Builder setQueryStatusValue(int value) {
        
        queryStatus_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
       * @return The queryStatus.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType getQueryStatus() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType result = emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType.valueOf(queryStatus_);
        return result == null ? emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType.UNRECOGNIZED : result;
      }
      /**
       * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
       * @param value The queryStatus to set.
       * @return This builder for chaining.
       */
      public Builder setQueryStatus(emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp.PathStatusType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        queryStatus_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.ToTheMoonQueryPathRsp.PathStatusType query_status = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryStatus() {
        
        queryStatus_ = 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:ToTheMoonQueryPathRsp)
    }

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

    public static emu.grasscutter.net.proto.ToTheMoonQueryPathRspOuterClass.ToTheMoonQueryPathRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ToTheMoonQueryPathRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ToTheMoonQueryPathRsp_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\033ToTheMoonQueryPathRsp.proto\032\014Vector.pr" +
      "oto\"\225\002\n\025ToTheMoonQueryPathRsp\022\r\n\005index\030\005" +
      " \003(\003\022\030\n\007corners\030\003 \003(\0132\007.Vector\022\020\n\010query_" +
      "id\030\017 \001(\005\022\017\n\007retcode\030\n \001(\005\022\r\n\005level\030\010 \003(\005" +
      "\022;\n\014query_status\030\016 \001(\0162%.ToTheMoonQueryP" +
      "athRsp.PathStatusType\"d\n\016PathStatusType\022" +
      "\031\n\025PATH_STATUS_TYPE_FAIL\020\000\022\031\n\025PATH_STATU" +
      "S_TYPE_SUCC\020\001\022\034\n\030PATH_STATUS_TYPE_PARTIA" +
      "L\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_ToTheMoonQueryPathRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ToTheMoonQueryPathRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ToTheMoonQueryPathRsp_descriptor,
        new java.lang.String[] { "Index", "Corners", "QueryId", "Retcode", "Level", "QueryStatus", });
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
