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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> 
        getVecsList();
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getVecs(int index);
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    int getVecsCount();
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
        getVecsOrBuilderList();
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getVecsOrBuilder(
        int index);

    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    java.util.List<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly> 
        getPolysList();
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly getPolys(int index);
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    int getPolysCount();
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder> 
        getPolysOrBuilderList();
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder getPolysOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Obf: PPNJOACGDIN
   * </pre>
   *
   * Protobuf type {@code PBNavMeshTile}
   */
  public static final class PBNavMeshTile extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:PBNavMeshTile)
      PBNavMeshTileOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PBNavMeshTile.newBuilder() to construct.
    private PBNavMeshTile(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PBNavMeshTile() {
      vecs_ = java.util.Collections.emptyList();
      polys_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PBNavMeshTile(
        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_ & 0x00000001) != 0)) {
                vecs_ = new java.util.ArrayList<emu.grasscutter.net.proto.VectorOuterClass.Vector>();
                mutable_bitField0_ |= 0x00000001;
              }
              vecs_.add(
                  input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry));
              break;
            }
            case 42: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                polys_ = new java.util.ArrayList<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly>();
                mutable_bitField0_ |= 0x00000002;
              }
              polys_.add(
                  input.readMessage(emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.parser(), extensionRegistry));
              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_ & 0x00000001) != 0)) {
          vecs_ = java.util.Collections.unmodifiableList(vecs_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          polys_ = java.util.Collections.unmodifiableList(polys_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.PBNavMeshTileOuterClass.internal_static_PBNavMeshTile_descriptor;
    }

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

    public static final int VECS_FIELD_NUMBER = 3;
    private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> vecs_;
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getVecsList() {
      return vecs_;
    }
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
        getVecsOrBuilderList() {
      return vecs_;
    }
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    @java.lang.Override
    public int getVecsCount() {
      return vecs_.size();
    }
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.Vector getVecs(int index) {
      return vecs_.get(index);
    }
    /**
     * <code>repeated .Vector vecs = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getVecsOrBuilder(
        int index) {
      return vecs_.get(index);
    }

    public static final int POLYS_FIELD_NUMBER = 5;
    private java.util.List<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly> polys_;
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly> getPolysList() {
      return polys_;
    }
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder> 
        getPolysOrBuilderList() {
      return polys_;
    }
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    @java.lang.Override
    public int getPolysCount() {
      return polys_.size();
    }
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly getPolys(int index) {
      return polys_.get(index);
    }
    /**
     * <code>repeated .PBNavMeshPoly polys = 5;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder getPolysOrBuilder(
        int index) {
      return polys_.get(index);
    }

    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 {
      for (int i = 0; i < vecs_.size(); i++) {
        output.writeMessage(3, vecs_.get(i));
      }
      for (int i = 0; i < polys_.size(); i++) {
        output.writeMessage(5, polys_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < vecs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, vecs_.get(i));
      }
      for (int i = 0; i < polys_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, polys_.get(i));
      }
      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.PBNavMeshTileOuterClass.PBNavMeshTile)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile other = (emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile) obj;

      if (!getVecsList()
          .equals(other.getVecsList())) return false;
      if (!getPolysList()
          .equals(other.getPolysList())) 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 (getVecsCount() > 0) {
        hash = (37 * hash) + VECS_FIELD_NUMBER;
        hash = (53 * hash) + getVecsList().hashCode();
      }
      if (getPolysCount() > 0) {
        hash = (37 * hash) + POLYS_FIELD_NUMBER;
        hash = (53 * hash) + getPolysList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getVecsFieldBuilder();
          getPolysFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (vecsBuilder_ == null) {
          vecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          vecsBuilder_.clear();
        }
        if (polysBuilder_ == null) {
          polys_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          polysBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile buildPartial() {
        emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile result = new emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile(this);
        int from_bitField0_ = bitField0_;
        if (vecsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            vecs_ = java.util.Collections.unmodifiableList(vecs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.vecs_ = vecs_;
        } else {
          result.vecs_ = vecsBuilder_.build();
        }
        if (polysBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            polys_ = java.util.Collections.unmodifiableList(polys_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.polys_ = polys_;
        } else {
          result.polys_ = polysBuilder_.build();
        }
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile other) {
        if (other == emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile.getDefaultInstance()) return this;
        if (vecsBuilder_ == null) {
          if (!other.vecs_.isEmpty()) {
            if (vecs_.isEmpty()) {
              vecs_ = other.vecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureVecsIsMutable();
              vecs_.addAll(other.vecs_);
            }
            onChanged();
          }
        } else {
          if (!other.vecs_.isEmpty()) {
            if (vecsBuilder_.isEmpty()) {
              vecsBuilder_.dispose();
              vecsBuilder_ = null;
              vecs_ = other.vecs_;
              bitField0_ = (bitField0_ & ~0x00000001);
              vecsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getVecsFieldBuilder() : null;
            } else {
              vecsBuilder_.addAllMessages(other.vecs_);
            }
          }
        }
        if (polysBuilder_ == null) {
          if (!other.polys_.isEmpty()) {
            if (polys_.isEmpty()) {
              polys_ = other.polys_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensurePolysIsMutable();
              polys_.addAll(other.polys_);
            }
            onChanged();
          }
        } else {
          if (!other.polys_.isEmpty()) {
            if (polysBuilder_.isEmpty()) {
              polysBuilder_.dispose();
              polysBuilder_ = null;
              polys_ = other.polys_;
              bitField0_ = (bitField0_ & ~0x00000002);
              polysBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getPolysFieldBuilder() : null;
            } else {
              polysBuilder_.addAllMessages(other.polys_);
            }
          }
        }
        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.PBNavMeshTileOuterClass.PBNavMeshTile parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

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

      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getVecsList() {
        if (vecsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(vecs_);
        } else {
          return vecsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public int getVecsCount() {
        if (vecsBuilder_ == null) {
          return vecs_.size();
        } else {
          return vecsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getVecs(int index) {
        if (vecsBuilder_ == null) {
          return vecs_.get(index);
        } else {
          return vecsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder setVecs(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (vecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVecsIsMutable();
          vecs_.set(index, value);
          onChanged();
        } else {
          vecsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder setVecs(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (vecsBuilder_ == null) {
          ensureVecsIsMutable();
          vecs_.set(index, builderForValue.build());
          onChanged();
        } else {
          vecsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder addVecs(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (vecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVecsIsMutable();
          vecs_.add(value);
          onChanged();
        } else {
          vecsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder addVecs(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (vecsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVecsIsMutable();
          vecs_.add(index, value);
          onChanged();
        } else {
          vecsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder addVecs(
          emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (vecsBuilder_ == null) {
          ensureVecsIsMutable();
          vecs_.add(builderForValue.build());
          onChanged();
        } else {
          vecsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder addVecs(
          int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (vecsBuilder_ == null) {
          ensureVecsIsMutable();
          vecs_.add(index, builderForValue.build());
          onChanged();
        } else {
          vecsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder addAllVecs(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.VectorOuterClass.Vector> values) {
        if (vecsBuilder_ == null) {
          ensureVecsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, vecs_);
          onChanged();
        } else {
          vecsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder clearVecs() {
        if (vecsBuilder_ == null) {
          vecs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          vecsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public Builder removeVecs(int index) {
        if (vecsBuilder_ == null) {
          ensureVecsIsMutable();
          vecs_.remove(index);
          onChanged();
        } else {
          vecsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getVecsBuilder(
          int index) {
        return getVecsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getVecsOrBuilder(
          int index) {
        if (vecsBuilder_ == null) {
          return vecs_.get(index);  } else {
          return vecsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
           getVecsOrBuilderList() {
        if (vecsBuilder_ != null) {
          return vecsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(vecs_);
        }
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addVecsBuilder() {
        return getVecsFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addVecsBuilder(
          int index) {
        return getVecsFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
      }
      /**
       * <code>repeated .Vector vecs = 3;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder> 
           getVecsBuilderList() {
        return getVecsFieldBuilder().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> 
          getVecsFieldBuilder() {
        if (vecsBuilder_ == null) {
          vecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                  vecs_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          vecs_ = null;
        }
        return vecsBuilder_;
      }

      private java.util.List<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly> polys_ =
        java.util.Collections.emptyList();
      private void ensurePolysIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          polys_ = new java.util.ArrayList<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly>(polys_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder> polysBuilder_;

      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly> getPolysList() {
        if (polysBuilder_ == null) {
          return java.util.Collections.unmodifiableList(polys_);
        } else {
          return polysBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public int getPolysCount() {
        if (polysBuilder_ == null) {
          return polys_.size();
        } else {
          return polysBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly getPolys(int index) {
        if (polysBuilder_ == null) {
          return polys_.get(index);
        } else {
          return polysBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder setPolys(
          int index, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly value) {
        if (polysBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePolysIsMutable();
          polys_.set(index, value);
          onChanged();
        } else {
          polysBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder setPolys(
          int index, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder builderForValue) {
        if (polysBuilder_ == null) {
          ensurePolysIsMutable();
          polys_.set(index, builderForValue.build());
          onChanged();
        } else {
          polysBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder addPolys(emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly value) {
        if (polysBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePolysIsMutable();
          polys_.add(value);
          onChanged();
        } else {
          polysBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder addPolys(
          int index, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly value) {
        if (polysBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePolysIsMutable();
          polys_.add(index, value);
          onChanged();
        } else {
          polysBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder addPolys(
          emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder builderForValue) {
        if (polysBuilder_ == null) {
          ensurePolysIsMutable();
          polys_.add(builderForValue.build());
          onChanged();
        } else {
          polysBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder addPolys(
          int index, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder builderForValue) {
        if (polysBuilder_ == null) {
          ensurePolysIsMutable();
          polys_.add(index, builderForValue.build());
          onChanged();
        } else {
          polysBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder addAllPolys(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly> values) {
        if (polysBuilder_ == null) {
          ensurePolysIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, polys_);
          onChanged();
        } else {
          polysBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder clearPolys() {
        if (polysBuilder_ == null) {
          polys_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          polysBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public Builder removePolys(int index) {
        if (polysBuilder_ == null) {
          ensurePolysIsMutable();
          polys_.remove(index);
          onChanged();
        } else {
          polysBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder getPolysBuilder(
          int index) {
        return getPolysFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder getPolysOrBuilder(
          int index) {
        if (polysBuilder_ == null) {
          return polys_.get(index);  } else {
          return polysBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder> 
           getPolysOrBuilderList() {
        if (polysBuilder_ != null) {
          return polysBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(polys_);
        }
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder addPolysBuilder() {
        return getPolysFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.getDefaultInstance());
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder addPolysBuilder(
          int index) {
        return getPolysFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.getDefaultInstance());
      }
      /**
       * <code>repeated .PBNavMeshPoly polys = 5;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder> 
           getPolysBuilderList() {
        return getPolysFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder> 
          getPolysFieldBuilder() {
        if (polysBuilder_ == null) {
          polysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPoly.Builder, emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.PBNavMeshPolyOrBuilder>(
                  polys_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          polys_ = null;
        }
        return polysBuilder_;
      }
      @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:PBNavMeshTile)
    }

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

    public static emu.grasscutter.net.proto.PBNavMeshTileOuterClass.PBNavMeshTile getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_PBNavMeshTile_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_PBNavMeshTile_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\023PBNavMeshTile.proto\032\014Vector.proto\032\023PBN" +
      "avMeshPoly.proto\"E\n\rPBNavMeshTile\022\025\n\004vec" +
      "s\030\003 \003(\0132\007.Vector\022\035\n\005polys\030\005 \003(\0132\016.PBNavM" +
      "eshPolyB\033\n\031emu.grasscutter.net.protob\006pr" +
      "oto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.getDescriptor(),
        });
    internal_static_PBNavMeshTile_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_PBNavMeshTile_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_PBNavMeshTile_descriptor,
        new java.lang.String[] { "Vecs", "Polys", });
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
    emu.grasscutter.net.proto.PBNavMeshPolyOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
