content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: ObstacleInfo.proto
  
  package emu.grasscutter.net.proto;
  
  public final class ObstacleInfoOuterClass {
    private ObstacleInfoOuterClass() {}
    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 ObstacleInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:ObstacleInfo)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>.Vector center = 4;</code>
       * @return Whether the center field is set.
       */
      boolean hasCenter();
      /**
       * <code>.Vector center = 4;</code>
       * @return The center.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getCenter();
      /**
       * <code>.Vector center = 4;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCenterOrBuilder();
  
      /**
       * <code>.Vector3Int extents = 12;</code>
       * @return Whether the extents field is set.
       */
      boolean hasExtents();
      /**
       * <code>.Vector3Int extents = 12;</code>
       * @return The extents.
       */
      emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getExtents();
      /**
       * <code>.Vector3Int extents = 12;</code>
       */
      emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getExtentsOrBuilder();
  
      /**
       * <code>.ShapeType shape = 5;</code>
       * @return The enum numeric value on the wire for shape.
       */
      int getShapeValue();
      /**
       * <code>.ShapeType shape = 5;</code>
       * @return The shape.
       */
      emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType getShape();
  
      /**
       * <code>int32 obstacleId = 9;</code>
       * @return The obstacleId.
       */
      int getObstacleId();
  
      /**
       * <code>.MathQuaternion Vector = 2;</code>
       * @return Whether the vector field is set.
       */
      boolean hasVector();
      /**
       * <code>.MathQuaternion Vector = 2;</code>
       * @return The vector.
       */
      emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getVector();
      /**
       * <code>.MathQuaternion Vector = 2;</code>
       */
      emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getVectorOrBuilder();
    }
    /**
     * Protobuf type {@code ObstacleInfo}
     */
    public static final class ObstacleInfo extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:ObstacleInfo)
        ObstacleInfoOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use ObstacleInfo.newBuilder() to construct.
      private ObstacleInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private ObstacleInfo() {
        shape_ = 0;
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new ObstacleInfo();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private ObstacleInfo(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
            com.google.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 18: {
                emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder subBuilder = null;
                if (vector_ != null) {
                  subBuilder = vector_.toBuilder();
                }
                vector_ = input.readMessage(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(vector_);
                  vector_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 34: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (center_ != null) {
                  subBuilder = center_.toBuilder();
                }
                center_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(center_);
                  center_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 40: {
                int rawValue = input.readEnum();
  
                shape_ = rawValue;
                break;
              }
              case 72: {
  
                obstacleId_ = input.readInt32();
                break;
              }
              case 98: {
                emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder subBuilder = null;
                if (extents_ != null) {
                  subBuilder = extents_.toBuilder();
                }
                extents_ = input.readMessage(emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(extents_);
                  extents_ = subBuilder.buildPartial();
                }
  
                break;
              }
              default: {
                if (!parseUnknownField(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ObstacleInfoOuterClass.internal_static_ObstacleInfo_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.ObstacleInfoOuterClass.internal_static_ObstacleInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo.class, emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo.Builder.class);
      }
  
      public static final int CENTER_FIELD_NUMBER = 4;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector center_;
      /**
       * <code>.Vector center = 4;</code>
       * @return Whether the center field is set.
       */
      @java.lang.Override
      public boolean hasCenter() {
        return center_ != null;
      }
      /**
       * <code>.Vector center = 4;</code>
       * @return The center.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getCenter() {
        return center_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : center_;
      }
      /**
       * <code>.Vector center = 4;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCenterOrBuilder() {
        return getCenter();
      }
  
      public static final int EXTENTS_FIELD_NUMBER = 12;
      private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int extents_;
      /**
       * <code>.Vector3Int extents = 12;</code>
       * @return Whether the extents field is set.
       */
      @java.lang.Override
      public boolean hasExtents() {
        return extents_ != null;
      }
      /**
       * <code>.Vector3Int extents = 12;</code>
       * @return The extents.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getExtents() {
        return extents_ == null ? emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : extents_;
      }
      /**
       * <code>.Vector3Int extents = 12;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getExtentsOrBuilder() {
        return getExtents();
      }
  
      public static final int SHAPE_FIELD_NUMBER = 5;
      private int shape_;
      /**
       * <code>.ShapeType shape = 5;</code>
       * @return The enum numeric value on the wire for shape.
       */
      @java.lang.Override public int getShapeValue() {
        return shape_;
      }
      /**
       * <code>.ShapeType shape = 5;</code>
       * @return The shape.
       */
      @java.lang.Override public emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType getShape() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType result = emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType.valueOf(shape_);
        return result == null ? emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType.UNRECOGNIZED : result;
      }
  
      public static final int OBSTACLEID_FIELD_NUMBER = 9;
      private int obstacleId_;
      /**
       * <code>int32 obstacleId = 9;</code>
       * @return The obstacleId.
       */
      @java.lang.Override
      public int getObstacleId() {
        return obstacleId_;
      }
  
      public static final int VECTOR_FIELD_NUMBER = 2;
      private emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion vector_;
      /**
       * <code>.MathQuaternion Vector = 2;</code>
       * @return Whether the vector field is set.
       */
      @java.lang.Override
      public boolean hasVector() {
        return vector_ != null;
      }
      /**
       * <code>.MathQuaternion Vector = 2;</code>
       * @return The vector.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getVector() {
        return vector_ == null ? emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance() : vector_;
      }
      /**
       * <code>.MathQuaternion Vector = 2;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getVectorOrBuilder() {
        return getVector();
      }
  
      private byte memoizedIsInitialized = -1;
      @java.lang.Override
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;
  
        memoizedIsInitialized = 1;
        return true;
      }
  
      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        if (vector_ != null) {
          output.writeMessage(2, getVector());
        }
        if (center_ != null) {
          output.writeMessage(4, getCenter());
        }
        if (shape_ != emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType.SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE.getNumber()) {
          output.writeEnum(5, shape_);
        }
        if (obstacleId_ != 0) {
          output.writeInt32(9, obstacleId_);
        }
        if (extents_ != null) {
          output.writeMessage(12, getExtents());
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (vector_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, getVector());
        }
        if (center_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, getCenter());
        }
        if (shape_ != emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType.SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE.getNumber()) {
          size += com.google.protobuf.CodedOutputStream
            .computeEnumSize(5, shape_);
        }
        if (obstacleId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt32Size(9, obstacleId_);
        }
        if (extents_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(12, getExtents());
        }
        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.ObstacleInfoOuterClass.ObstacleInfo)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo other = (emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo) obj;
  
        if (hasCenter() != other.hasCenter()) return false;
        if (hasCenter()) {
          if (!getCenter()
              .equals(other.getCenter())) return false;
        }
        if (hasExtents() != other.hasExtents()) return false;
        if (hasExtents()) {
          if (!getExtents()
              .equals(other.getExtents())) return false;
        }
        if (shape_ != other.shape_) return false;
        if (getObstacleId()
            != other.getObstacleId()) return false;
        if (hasVector() != other.hasVector()) return false;
        if (hasVector()) {
          if (!getVector()
              .equals(other.getVector())) 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 (hasCenter()) {
          hash = (37 * hash) + CENTER_FIELD_NUMBER;
          hash = (53 * hash) + getCenter().hashCode();
        }
        if (hasExtents()) {
          hash = (37 * hash) + EXTENTS_FIELD_NUMBER;
          hash = (53 * hash) + getExtents().hashCode();
        }
        hash = (37 * hash) + SHAPE_FIELD_NUMBER;
        hash = (53 * hash) + shape_;
        hash = (37 * hash) + OBSTACLEID_FIELD_NUMBER;
        hash = (53 * hash) + getObstacleId();
        if (hasVector()) {
          hash = (37 * hash) + VECTOR_FIELD_NUMBER;
          hash = (53 * hash) + getVector().hashCode();
        }
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo 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.ObstacleInfoOuterClass.ObstacleInfo parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo 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.ObstacleInfoOuterClass.ObstacleInfo parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo 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.ObstacleInfoOuterClass.ObstacleInfo parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo 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.ObstacleInfoOuterClass.ObstacleInfo parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo 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.ObstacleInfoOuterClass.ObstacleInfo prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      @java.lang.Override
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }
  
      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code ObstacleInfo}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:ObstacleInfo)
          emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfoOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.ObstacleInfoOuterClass.internal_static_ObstacleInfo_descriptor;
        }
  
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.ObstacleInfoOuterClass.internal_static_ObstacleInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo.class, emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
          }
        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          if (centerBuilder_ == null) {
            center_ = null;
          } else {
            center_ = null;
            centerBuilder_ = null;
          }
          if (extentsBuilder_ == null) {
            extents_ = null;
          } else {
            extents_ = null;
            extentsBuilder_ = null;
          }
          shape_ = 0;
  
          obstacleId_ = 0;
  
          if (vectorBuilder_ == null) {
            vector_ = null;
          } else {
            vector_ = null;
            vectorBuilder_ = null;
          }
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.ObstacleInfoOuterClass.internal_static_ObstacleInfo_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo build() {
          emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo buildPartial() {
          emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo result = new emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo(this);
          if (centerBuilder_ == null) {
            result.center_ = center_;
          } else {
            result.center_ = centerBuilder_.build();
          }
          if (extentsBuilder_ == null) {
            result.extents_ = extents_;
          } else {
            result.extents_ = extentsBuilder_.build();
          }
          result.shape_ = shape_;
          result.obstacleId_ = obstacleId_;
          if (vectorBuilder_ == null) {
            result.vector_ = vector_;
          } else {
            result.vector_ = vectorBuilder_.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.ObstacleInfoOuterClass.ObstacleInfo) {
            return mergeFrom((emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo other) {
          if (other == emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo.getDefaultInstance()) return this;
          if (other.hasCenter()) {
            mergeCenter(other.getCenter());
          }
          if (other.hasExtents()) {
            mergeExtents(other.getExtents());
          }
          if (other.shape_ != 0) {
            setShapeValue(other.getShapeValue());
          }
          if (other.getObstacleId() != 0) {
            setObstacleId(other.getObstacleId());
          }
          if (other.hasVector()) {
            mergeVector(other.getVector());
          }
          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.ObstacleInfoOuterClass.ObstacleInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector center_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> centerBuilder_;
        /**
         * <code>.Vector center = 4;</code>
         * @return Whether the center field is set.
         */
        public boolean hasCenter() {
          return centerBuilder_ != null || center_ != null;
        }
        /**
         * <code>.Vector center = 4;</code>
         * @return The center.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getCenter() {
          if (centerBuilder_ == null) {
            return center_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : center_;
          } else {
            return centerBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector center = 4;</code>
         */
        public Builder setCenter(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (centerBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            center_ = value;
            onChanged();
          } else {
            centerBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector center = 4;</code>
         */
        public Builder setCenter(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (centerBuilder_ == null) {
            center_ = builderForValue.build();
            onChanged();
          } else {
            centerBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector center = 4;</code>
         */
        public Builder mergeCenter(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (centerBuilder_ == null) {
            if (center_ != null) {
              center_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(center_).mergeFrom(value).buildPartial();
            } else {
              center_ = value;
            }
            onChanged();
          } else {
            centerBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector center = 4;</code>
         */
        public Builder clearCenter() {
          if (centerBuilder_ == null) {
            center_ = null;
            onChanged();
          } else {
            center_ = null;
            centerBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector center = 4;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getCenterBuilder() {
          
          onChanged();
          return getCenterFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector center = 4;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCenterOrBuilder() {
          if (centerBuilder_ != null) {
            return centerBuilder_.getMessageOrBuilder();
          } else {
            return center_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : center_;
          }
        }
        /**
         * <code>.Vector center = 4;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
            getCenterFieldBuilder() {
          if (centerBuilder_ == null) {
            centerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getCenter(),
                    getParentForChildren(),
                    isClean());
            center_ = null;
          }
          return centerBuilder_;
        }
  
        private emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int extents_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder> extentsBuilder_;
        /**
         * <code>.Vector3Int extents = 12;</code>
         * @return Whether the extents field is set.
         */
        public boolean hasExtents() {
          return extentsBuilder_ != null || extents_ != null;
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         * @return The extents.
         */
        public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int getExtents() {
          if (extentsBuilder_ == null) {
            return extents_ == null ? emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : extents_;
          } else {
            return extentsBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         */
        public Builder setExtents(emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int value) {
          if (extentsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            extents_ = value;
            onChanged();
          } else {
            extentsBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         */
        public Builder setExtents(
            emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder builderForValue) {
          if (extentsBuilder_ == null) {
            extents_ = builderForValue.build();
            onChanged();
          } else {
            extentsBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         */
        public Builder mergeExtents(emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int value) {
          if (extentsBuilder_ == null) {
            if (extents_ != null) {
              extents_ =
                emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.newBuilder(extents_).mergeFrom(value).buildPartial();
            } else {
              extents_ = value;
            }
            onChanged();
          } else {
            extentsBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         */
        public Builder clearExtents() {
          if (extentsBuilder_ == null) {
            extents_ = null;
            onChanged();
          } else {
            extents_ = null;
            extentsBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         */
        public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder getExtentsBuilder() {
          
          onChanged();
          return getExtentsFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         */
        public emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder getExtentsOrBuilder() {
          if (extentsBuilder_ != null) {
            return extentsBuilder_.getMessageOrBuilder();
          } else {
            return extents_ == null ?
                emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.getDefaultInstance() : extents_;
          }
        }
        /**
         * <code>.Vector3Int extents = 12;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder> 
            getExtentsFieldBuilder() {
          if (extentsBuilder_ == null) {
            extentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3Int.Builder, emu.grasscutter.net.proto.Vector3IntOuterClass.Vector3IntOrBuilder>(
                    getExtents(),
                    getParentForChildren(),
                    isClean());
            extents_ = null;
          }
          return extentsBuilder_;
        }
  
        private int shape_ = 0;
        /**
         * <code>.ShapeType shape = 5;</code>
         * @return The enum numeric value on the wire for shape.
         */
        @java.lang.Override public int getShapeValue() {
          return shape_;
        }
        /**
         * <code>.ShapeType shape = 5;</code>
         * @param value The enum numeric value on the wire for shape to set.
         * @return This builder for chaining.
         */
        public Builder setShapeValue(int value) {
          
          shape_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>.ShapeType shape = 5;</code>
         * @return The shape.
         */
        @java.lang.Override
        public emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType getShape() {
          @SuppressWarnings("deprecation")
          emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType result = emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType.valueOf(shape_);
          return result == null ? emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType.UNRECOGNIZED : result;
        }
        /**
         * <code>.ShapeType shape = 5;</code>
         * @param value The shape to set.
         * @return This builder for chaining.
         */
        public Builder setShape(emu.grasscutter.net.proto.ShapeTypeOuterClass.ShapeType value) {
          if (value == null) {
            throw new NullPointerException();
          }
          
          shape_ = value.getNumber();
          onChanged();
          return this;
        }
        /**
         * <code>.ShapeType shape = 5;</code>
         * @return This builder for chaining.
         */
        public Builder clearShape() {
          
          shape_ = 0;
          onChanged();
          return this;
        }
  
        private int obstacleId_ ;
        /**
         * <code>int32 obstacleId = 9;</code>
         * @return The obstacleId.
         */
        @java.lang.Override
        public int getObstacleId() {
          return obstacleId_;
        }
        /**
         * <code>int32 obstacleId = 9;</code>
         * @param value The obstacleId to set.
         * @return This builder for chaining.
         */
        public Builder setObstacleId(int value) {
          
          obstacleId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int32 obstacleId = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearObstacleId() {
          
          obstacleId_ = 0;
          onChanged();
          return this;
        }
  
        private emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion vector_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder> vectorBuilder_;
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         * @return Whether the vector field is set.
         */
        public boolean hasVector() {
          return vectorBuilder_ != null || vector_ != null;
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         * @return The vector.
         */
        public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getVector() {
          if (vectorBuilder_ == null) {
            return vector_ == null ? emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance() : vector_;
          } else {
            return vectorBuilder_.getMessage();
          }
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         */
        public Builder setVector(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion value) {
          if (vectorBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            vector_ = value;
            onChanged();
          } else {
            vectorBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         */
        public Builder setVector(
            emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder builderForValue) {
          if (vectorBuilder_ == null) {
            vector_ = builderForValue.build();
            onChanged();
          } else {
            vectorBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         */
        public Builder mergeVector(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion value) {
          if (vectorBuilder_ == null) {
            if (vector_ != null) {
              vector_ =
                emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.newBuilder(vector_).mergeFrom(value).buildPartial();
            } else {
              vector_ = value;
            }
            onChanged();
          } else {
            vectorBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         */
        public Builder clearVector() {
          if (vectorBuilder_ == null) {
            vector_ = null;
            onChanged();
          } else {
            vector_ = null;
            vectorBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         */
        public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder getVectorBuilder() {
          
          onChanged();
          return getVectorFieldBuilder().getBuilder();
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         */
        public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getVectorOrBuilder() {
          if (vectorBuilder_ != null) {
            return vectorBuilder_.getMessageOrBuilder();
          } else {
            return vector_ == null ?
                emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance() : vector_;
          }
        }
        /**
         * <code>.MathQuaternion Vector = 2;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder> 
            getVectorFieldBuilder() {
          if (vectorBuilder_ == null) {
            vectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder>(
                    getVector(),
                    getParentForChildren(),
                    isClean());
            vector_ = null;
          }
          return vectorBuilder_;
        }
        @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:ObstacleInfo)
      }
  
      // @@protoc_insertion_point(class_scope:ObstacleInfo)
      private static final emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo();
      }
  
      public static emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<ObstacleInfo>
          PARSER = new com.google.protobuf.AbstractParser<ObstacleInfo>() {
        @java.lang.Override
        public ObstacleInfo parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new ObstacleInfo(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<ObstacleInfo> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<ObstacleInfo> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.ObstacleInfoOuterClass.ObstacleInfo getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_ObstacleInfo_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_ObstacleInfo_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\022ObstacleInfo.proto\032\014Vector.proto\032\020Vect" +
        "or3Int.proto\032\017ShapeType.proto\032\024MathQuate" +
        "rnion.proto\"\225\001\n\014ObstacleInfo\022\027\n\006center\030\004" +
        " \001(\0132\007.Vector\022\034\n\007extents\030\014 \001(\0132\013.Vector3" +
        "Int\022\031\n\005shape\030\005 \001(\0162\n.ShapeType\022\022\n\nobstac" +
        "leId\030\t \001(\005\022\037\n\006Vector\030\002 \001(\0132\017.MathQuatern" +
        "ionB\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(),
            emu.grasscutter.net.proto.Vector3IntOuterClass.getDescriptor(),
            emu.grasscutter.net.proto.ShapeTypeOuterClass.getDescriptor(),
            emu.grasscutter.net.proto.MathQuaternionOuterClass.getDescriptor(),
          });
      internal_static_ObstacleInfo_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_ObstacleInfo_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_ObstacleInfo_descriptor,
          new java.lang.String[] { "Center", "Extents", "Shape", "ObstacleId", "Vector", });
      emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
      emu.grasscutter.net.proto.Vector3IntOuterClass.getDescriptor();
      emu.grasscutter.net.proto.ShapeTypeOuterClass.getDescriptor();
      emu.grasscutter.net.proto.MathQuaternionOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  