content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: MotionInfo.proto
  
  package emu.grasscutter.net.proto;
  
  public final class MotionInfoOuterClass {
    private MotionInfoOuterClass() {}
    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 MotionInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:MotionInfo)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>.Vector pos = 1;</code>
       * @return Whether the pos field is set.
       */
      boolean hasPos();
      /**
       * <code>.Vector pos = 1;</code>
       * @return The pos.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getPos();
      /**
       * <code>.Vector pos = 1;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder();
  
      /**
       * <code>.Vector rot = 2;</code>
       * @return Whether the rot field is set.
       */
      boolean hasRot();
      /**
       * <code>.Vector rot = 2;</code>
       * @return The rot.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getRot();
      /**
       * <code>.Vector rot = 2;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotOrBuilder();
  
      /**
       * <code>.Vector speed = 3;</code>
       * @return Whether the speed field is set.
       */
      boolean hasSpeed();
      /**
       * <code>.Vector speed = 3;</code>
       * @return The speed.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getSpeed();
      /**
       * <code>.Vector speed = 3;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSpeedOrBuilder();
  
      /**
       * <code>.MotionState state = 4;</code>
       * @return The enum numeric value on the wire for state.
       */
      int getStateValue();
      /**
       * <code>.MotionState state = 4;</code>
       * @return The state.
       */
      emu.grasscutter.net.proto.MotionStateOuterClass.MotionState getState();
  
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> 
          getParamsList();
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getParams(int index);
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      int getParamsCount();
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          getParamsOrBuilderList();
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getParamsOrBuilder(
          int index);
  
      /**
       * <code>.Vector refPos = 6;</code>
       * @return Whether the refPos field is set.
       */
      boolean hasRefPos();
      /**
       * <code>.Vector refPos = 6;</code>
       * @return The refPos.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getRefPos();
      /**
       * <code>.Vector refPos = 6;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRefPosOrBuilder();
  
      /**
       * <code>uint32 refId = 7;</code>
       * @return The refId.
       */
      int getRefId();
  
      /**
       * <code>uint32 sceneTime = 8;</code>
       * @return The sceneTime.
       */
      int getSceneTime();
  
      /**
       * <code>uint64 intervalVelocity = 9;</code>
       * @return The intervalVelocity.
       */
      long getIntervalVelocity();
    }
    /**
     * Protobuf type {@code MotionInfo}
     */
    public static final class MotionInfo extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:MotionInfo)
        MotionInfoOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use MotionInfo.newBuilder() to construct.
      private MotionInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private MotionInfo() {
        state_ = 0;
        params_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new MotionInfo();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private MotionInfo(
          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 10: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (pos_ != null) {
                  subBuilder = pos_.toBuilder();
                }
                pos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(pos_);
                  pos_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 18: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (rot_ != null) {
                  subBuilder = rot_.toBuilder();
                }
                rot_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(rot_);
                  rot_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 26: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (speed_ != null) {
                  subBuilder = speed_.toBuilder();
                }
                speed_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(speed_);
                  speed_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 32: {
                int rawValue = input.readEnum();
  
                state_ = rawValue;
                break;
              }
              case 42: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  params_ = new java.util.ArrayList<emu.grasscutter.net.proto.VectorOuterClass.Vector>();
                  mutable_bitField0_ |= 0x00000001;
                }
                params_.add(
                    input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry));
                break;
              }
              case 50: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (refPos_ != null) {
                  subBuilder = refPos_.toBuilder();
                }
                refPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(refPos_);
                  refPos_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 56: {
  
                refId_ = input.readUInt32();
                break;
              }
              case 64: {
  
                sceneTime_ = input.readUInt32();
                break;
              }
              case 72: {
  
                intervalVelocity_ = input.readUInt64();
                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)) {
            params_ = java.util.Collections.unmodifiableList(params_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.MotionInfoOuterClass.internal_static_MotionInfo_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.MotionInfoOuterClass.internal_static_MotionInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.class, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder.class);
      }
  
      public static final int POS_FIELD_NUMBER = 1;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
      /**
       * <code>.Vector pos = 1;</code>
       * @return Whether the pos field is set.
       */
      @java.lang.Override
      public boolean hasPos() {
        return pos_ != null;
      }
      /**
       * <code>.Vector pos = 1;</code>
       * @return The pos.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
        return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
      }
      /**
       * <code>.Vector pos = 1;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
        return getPos();
      }
  
      public static final int ROT_FIELD_NUMBER = 2;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector rot_;
      /**
       * <code>.Vector rot = 2;</code>
       * @return Whether the rot field is set.
       */
      @java.lang.Override
      public boolean hasRot() {
        return rot_ != null;
      }
      /**
       * <code>.Vector rot = 2;</code>
       * @return The rot.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getRot() {
        return rot_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : rot_;
      }
      /**
       * <code>.Vector rot = 2;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotOrBuilder() {
        return getRot();
      }
  
      public static final int SPEED_FIELD_NUMBER = 3;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector speed_;
      /**
       * <code>.Vector speed = 3;</code>
       * @return Whether the speed field is set.
       */
      @java.lang.Override
      public boolean hasSpeed() {
        return speed_ != null;
      }
      /**
       * <code>.Vector speed = 3;</code>
       * @return The speed.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getSpeed() {
        return speed_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : speed_;
      }
      /**
       * <code>.Vector speed = 3;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSpeedOrBuilder() {
        return getSpeed();
      }
  
      public static final int STATE_FIELD_NUMBER = 4;
      private int state_;
      /**
       * <code>.MotionState state = 4;</code>
       * @return The enum numeric value on the wire for state.
       */
      @java.lang.Override public int getStateValue() {
        return state_;
      }
      /**
       * <code>.MotionState state = 4;</code>
       * @return The state.
       */
      @java.lang.Override public emu.grasscutter.net.proto.MotionStateOuterClass.MotionState getState() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.MotionStateOuterClass.MotionState result = emu.grasscutter.net.proto.MotionStateOuterClass.MotionState.valueOf(state_);
        return result == null ? emu.grasscutter.net.proto.MotionStateOuterClass.MotionState.UNRECOGNIZED : result;
      }
  
      public static final int PARAMS_FIELD_NUMBER = 5;
      private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> params_;
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getParamsList() {
        return params_;
      }
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          getParamsOrBuilderList() {
        return params_;
      }
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      @java.lang.Override
      public int getParamsCount() {
        return params_.size();
      }
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getParams(int index) {
        return params_.get(index);
      }
      /**
       * <code>repeated .Vector params = 5;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getParamsOrBuilder(
          int index) {
        return params_.get(index);
      }
  
      public static final int REFPOS_FIELD_NUMBER = 6;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector refPos_;
      /**
       * <code>.Vector refPos = 6;</code>
       * @return Whether the refPos field is set.
       */
      @java.lang.Override
      public boolean hasRefPos() {
        return refPos_ != null;
      }
      /**
       * <code>.Vector refPos = 6;</code>
       * @return The refPos.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getRefPos() {
        return refPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : refPos_;
      }
      /**
       * <code>.Vector refPos = 6;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRefPosOrBuilder() {
        return getRefPos();
      }
  
      public static final int REFID_FIELD_NUMBER = 7;
      private int refId_;
      /**
       * <code>uint32 refId = 7;</code>
       * @return The refId.
       */
      @java.lang.Override
      public int getRefId() {
        return refId_;
      }
  
      public static final int SCENETIME_FIELD_NUMBER = 8;
      private int sceneTime_;
      /**
       * <code>uint32 sceneTime = 8;</code>
       * @return The sceneTime.
       */
      @java.lang.Override
      public int getSceneTime() {
        return sceneTime_;
      }
  
      public static final int INTERVALVELOCITY_FIELD_NUMBER = 9;
      private long intervalVelocity_;
      /**
       * <code>uint64 intervalVelocity = 9;</code>
       * @return The intervalVelocity.
       */
      @java.lang.Override
      public long getIntervalVelocity() {
        return intervalVelocity_;
      }
  
      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 (pos_ != null) {
          output.writeMessage(1, getPos());
        }
        if (rot_ != null) {
          output.writeMessage(2, getRot());
        }
        if (speed_ != null) {
          output.writeMessage(3, getSpeed());
        }
        if (state_ != emu.grasscutter.net.proto.MotionStateOuterClass.MotionState.MOTION_STATE_NONE.getNumber()) {
          output.writeEnum(4, state_);
        }
        for (int i = 0; i < params_.size(); i++) {
          output.writeMessage(5, params_.get(i));
        }
        if (refPos_ != null) {
          output.writeMessage(6, getRefPos());
        }
        if (refId_ != 0) {
          output.writeUInt32(7, refId_);
        }
        if (sceneTime_ != 0) {
          output.writeUInt32(8, sceneTime_);
        }
        if (intervalVelocity_ != 0L) {
          output.writeUInt64(9, intervalVelocity_);
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (pos_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(1, getPos());
        }
        if (rot_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, getRot());
        }
        if (speed_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(3, getSpeed());
        }
        if (state_ != emu.grasscutter.net.proto.MotionStateOuterClass.MotionState.MOTION_STATE_NONE.getNumber()) {
          size += com.google.protobuf.CodedOutputStream
            .computeEnumSize(4, state_);
        }
        for (int i = 0; i < params_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(5, params_.get(i));
        }
        if (refPos_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(6, getRefPos());
        }
        if (refId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(7, refId_);
        }
        if (sceneTime_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(8, sceneTime_);
        }
        if (intervalVelocity_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt64Size(9, intervalVelocity_);
        }
        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.MotionInfoOuterClass.MotionInfo)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo other = (emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo) obj;
  
        if (hasPos() != other.hasPos()) return false;
        if (hasPos()) {
          if (!getPos()
              .equals(other.getPos())) return false;
        }
        if (hasRot() != other.hasRot()) return false;
        if (hasRot()) {
          if (!getRot()
              .equals(other.getRot())) return false;
        }
        if (hasSpeed() != other.hasSpeed()) return false;
        if (hasSpeed()) {
          if (!getSpeed()
              .equals(other.getSpeed())) return false;
        }
        if (state_ != other.state_) return false;
        if (!getParamsList()
            .equals(other.getParamsList())) return false;
        if (hasRefPos() != other.hasRefPos()) return false;
        if (hasRefPos()) {
          if (!getRefPos()
              .equals(other.getRefPos())) return false;
        }
        if (getRefId()
            != other.getRefId()) return false;
        if (getSceneTime()
            != other.getSceneTime()) return false;
        if (getIntervalVelocity()
            != other.getIntervalVelocity()) 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 (hasPos()) {
          hash = (37 * hash) + POS_FIELD_NUMBER;
          hash = (53 * hash) + getPos().hashCode();
        }
        if (hasRot()) {
          hash = (37 * hash) + ROT_FIELD_NUMBER;
          hash = (53 * hash) + getRot().hashCode();
        }
        if (hasSpeed()) {
          hash = (37 * hash) + SPEED_FIELD_NUMBER;
          hash = (53 * hash) + getSpeed().hashCode();
        }
        hash = (37 * hash) + STATE_FIELD_NUMBER;
        hash = (53 * hash) + state_;
        if (getParamsCount() > 0) {
          hash = (37 * hash) + PARAMS_FIELD_NUMBER;
          hash = (53 * hash) + getParamsList().hashCode();
        }
        if (hasRefPos()) {
          hash = (37 * hash) + REFPOS_FIELD_NUMBER;
          hash = (53 * hash) + getRefPos().hashCode();
        }
        hash = (37 * hash) + REFID_FIELD_NUMBER;
        hash = (53 * hash) + getRefId();
        hash = (37 * hash) + SCENETIME_FIELD_NUMBER;
        hash = (53 * hash) + getSceneTime();
        hash = (37 * hash) + INTERVALVELOCITY_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getIntervalVelocity());
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo 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.MotionInfoOuterClass.MotionInfo parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo 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.MotionInfoOuterClass.MotionInfo parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo 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.MotionInfoOuterClass.MotionInfo parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo 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.MotionInfoOuterClass.MotionInfo parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo 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.MotionInfoOuterClass.MotionInfo 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 MotionInfo}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:MotionInfo)
          emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfoOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.MotionInfoOuterClass.internal_static_MotionInfo_descriptor;
        }
  
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.MotionInfoOuterClass.internal_static_MotionInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.class, emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getParamsFieldBuilder();
          }
        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          if (posBuilder_ == null) {
            pos_ = null;
          } else {
            pos_ = null;
            posBuilder_ = null;
          }
          if (rotBuilder_ == null) {
            rot_ = null;
          } else {
            rot_ = null;
            rotBuilder_ = null;
          }
          if (speedBuilder_ == null) {
            speed_ = null;
          } else {
            speed_ = null;
            speedBuilder_ = null;
          }
          state_ = 0;
  
          if (paramsBuilder_ == null) {
            params_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            paramsBuilder_.clear();
          }
          if (refPosBuilder_ == null) {
            refPos_ = null;
          } else {
            refPos_ = null;
            refPosBuilder_ = null;
          }
          refId_ = 0;
  
          sceneTime_ = 0;
  
          intervalVelocity_ = 0L;
  
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.MotionInfoOuterClass.internal_static_MotionInfo_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo build() {
          emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo buildPartial() {
          emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo result = new emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo(this);
          int from_bitField0_ = bitField0_;
          if (posBuilder_ == null) {
            result.pos_ = pos_;
          } else {
            result.pos_ = posBuilder_.build();
          }
          if (rotBuilder_ == null) {
            result.rot_ = rot_;
          } else {
            result.rot_ = rotBuilder_.build();
          }
          if (speedBuilder_ == null) {
            result.speed_ = speed_;
          } else {
            result.speed_ = speedBuilder_.build();
          }
          result.state_ = state_;
          if (paramsBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              params_ = java.util.Collections.unmodifiableList(params_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.params_ = params_;
          } else {
            result.params_ = paramsBuilder_.build();
          }
          if (refPosBuilder_ == null) {
            result.refPos_ = refPos_;
          } else {
            result.refPos_ = refPosBuilder_.build();
          }
          result.refId_ = refId_;
          result.sceneTime_ = sceneTime_;
          result.intervalVelocity_ = intervalVelocity_;
          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.MotionInfoOuterClass.MotionInfo) {
            return mergeFrom((emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo other) {
          if (other == emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo.getDefaultInstance()) return this;
          if (other.hasPos()) {
            mergePos(other.getPos());
          }
          if (other.hasRot()) {
            mergeRot(other.getRot());
          }
          if (other.hasSpeed()) {
            mergeSpeed(other.getSpeed());
          }
          if (other.state_ != 0) {
            setStateValue(other.getStateValue());
          }
          if (paramsBuilder_ == null) {
            if (!other.params_.isEmpty()) {
              if (params_.isEmpty()) {
                params_ = other.params_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureParamsIsMutable();
                params_.addAll(other.params_);
              }
              onChanged();
            }
          } else {
            if (!other.params_.isEmpty()) {
              if (paramsBuilder_.isEmpty()) {
                paramsBuilder_.dispose();
                paramsBuilder_ = null;
                params_ = other.params_;
                bitField0_ = (bitField0_ & ~0x00000001);
                paramsBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getParamsFieldBuilder() : null;
              } else {
                paramsBuilder_.addAllMessages(other.params_);
              }
            }
          }
          if (other.hasRefPos()) {
            mergeRefPos(other.getRefPos());
          }
          if (other.getRefId() != 0) {
            setRefId(other.getRefId());
          }
          if (other.getSceneTime() != 0) {
            setSceneTime(other.getSceneTime());
          }
          if (other.getIntervalVelocity() != 0L) {
            setIntervalVelocity(other.getIntervalVelocity());
          }
          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.MotionInfoOuterClass.MotionInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> posBuilder_;
        /**
         * <code>.Vector pos = 1;</code>
         * @return Whether the pos field is set.
         */
        public boolean hasPos() {
          return posBuilder_ != null || pos_ != null;
        }
        /**
         * <code>.Vector pos = 1;</code>
         * @return The pos.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
          if (posBuilder_ == null) {
            return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
          } else {
            return posBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector pos = 1;</code>
         */
        public Builder setPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (posBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            pos_ = value;
            onChanged();
          } else {
            posBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector pos = 1;</code>
         */
        public Builder setPos(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (posBuilder_ == null) {
            pos_ = builderForValue.build();
            onChanged();
          } else {
            posBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector pos = 1;</code>
         */
        public Builder mergePos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (posBuilder_ == null) {
            if (pos_ != null) {
              pos_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(pos_).mergeFrom(value).buildPartial();
            } else {
              pos_ = value;
            }
            onChanged();
          } else {
            posBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector pos = 1;</code>
         */
        public Builder clearPos() {
          if (posBuilder_ == null) {
            pos_ = null;
            onChanged();
          } else {
            pos_ = null;
            posBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector pos = 1;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPosBuilder() {
          
          onChanged();
          return getPosFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector pos = 1;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
          if (posBuilder_ != null) {
            return posBuilder_.getMessageOrBuilder();
          } else {
            return pos_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
          }
        }
        /**
         * <code>.Vector pos = 1;</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> 
            getPosFieldBuilder() {
          if (posBuilder_ == null) {
            posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getPos(),
                    getParentForChildren(),
                    isClean());
            pos_ = null;
          }
          return posBuilder_;
        }
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector rot_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> rotBuilder_;
        /**
         * <code>.Vector rot = 2;</code>
         * @return Whether the rot field is set.
         */
        public boolean hasRot() {
          return rotBuilder_ != null || rot_ != null;
        }
        /**
         * <code>.Vector rot = 2;</code>
         * @return The rot.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getRot() {
          if (rotBuilder_ == null) {
            return rot_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : rot_;
          } else {
            return rotBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector rot = 2;</code>
         */
        public Builder setRot(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (rotBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            rot_ = value;
            onChanged();
          } else {
            rotBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector rot = 2;</code>
         */
        public Builder setRot(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (rotBuilder_ == null) {
            rot_ = builderForValue.build();
            onChanged();
          } else {
            rotBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector rot = 2;</code>
         */
        public Builder mergeRot(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (rotBuilder_ == null) {
            if (rot_ != null) {
              rot_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(rot_).mergeFrom(value).buildPartial();
            } else {
              rot_ = value;
            }
            onChanged();
          } else {
            rotBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector rot = 2;</code>
         */
        public Builder clearRot() {
          if (rotBuilder_ == null) {
            rot_ = null;
            onChanged();
          } else {
            rot_ = null;
            rotBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector rot = 2;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getRotBuilder() {
          
          onChanged();
          return getRotFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector rot = 2;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotOrBuilder() {
          if (rotBuilder_ != null) {
            return rotBuilder_.getMessageOrBuilder();
          } else {
            return rot_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : rot_;
          }
        }
        /**
         * <code>.Vector rot = 2;</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> 
            getRotFieldBuilder() {
          if (rotBuilder_ == null) {
            rotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getRot(),
                    getParentForChildren(),
                    isClean());
            rot_ = null;
          }
          return rotBuilder_;
        }
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector speed_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> speedBuilder_;
        /**
         * <code>.Vector speed = 3;</code>
         * @return Whether the speed field is set.
         */
        public boolean hasSpeed() {
          return speedBuilder_ != null || speed_ != null;
        }
        /**
         * <code>.Vector speed = 3;</code>
         * @return The speed.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getSpeed() {
          if (speedBuilder_ == null) {
            return speed_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : speed_;
          } else {
            return speedBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector speed = 3;</code>
         */
        public Builder setSpeed(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (speedBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            speed_ = value;
            onChanged();
          } else {
            speedBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector speed = 3;</code>
         */
        public Builder setSpeed(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (speedBuilder_ == null) {
            speed_ = builderForValue.build();
            onChanged();
          } else {
            speedBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector speed = 3;</code>
         */
        public Builder mergeSpeed(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (speedBuilder_ == null) {
            if (speed_ != null) {
              speed_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(speed_).mergeFrom(value).buildPartial();
            } else {
              speed_ = value;
            }
            onChanged();
          } else {
            speedBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector speed = 3;</code>
         */
        public Builder clearSpeed() {
          if (speedBuilder_ == null) {
            speed_ = null;
            onChanged();
          } else {
            speed_ = null;
            speedBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector speed = 3;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getSpeedBuilder() {
          
          onChanged();
          return getSpeedFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector speed = 3;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getSpeedOrBuilder() {
          if (speedBuilder_ != null) {
            return speedBuilder_.getMessageOrBuilder();
          } else {
            return speed_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : speed_;
          }
        }
        /**
         * <code>.Vector speed = 3;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
            getSpeedFieldBuilder() {
          if (speedBuilder_ == null) {
            speedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getSpeed(),
                    getParentForChildren(),
                    isClean());
            speed_ = null;
          }
          return speedBuilder_;
        }
  
        private int state_ = 0;
        /**
         * <code>.MotionState state = 4;</code>
         * @return The enum numeric value on the wire for state.
         */
        @java.lang.Override public int getStateValue() {
          return state_;
        }
        /**
         * <code>.MotionState state = 4;</code>
         * @param value The enum numeric value on the wire for state to set.
         * @return This builder for chaining.
         */
        public Builder setStateValue(int value) {
          
          state_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>.MotionState state = 4;</code>
         * @return The state.
         */
        @java.lang.Override
        public emu.grasscutter.net.proto.MotionStateOuterClass.MotionState getState() {
          @SuppressWarnings("deprecation")
          emu.grasscutter.net.proto.MotionStateOuterClass.MotionState result = emu.grasscutter.net.proto.MotionStateOuterClass.MotionState.valueOf(state_);
          return result == null ? emu.grasscutter.net.proto.MotionStateOuterClass.MotionState.UNRECOGNIZED : result;
        }
        /**
         * <code>.MotionState state = 4;</code>
         * @param value The state to set.
         * @return This builder for chaining.
         */
        public Builder setState(emu.grasscutter.net.proto.MotionStateOuterClass.MotionState value) {
          if (value == null) {
            throw new NullPointerException();
          }
          
          state_ = value.getNumber();
          onChanged();
          return this;
        }
        /**
         * <code>.MotionState state = 4;</code>
         * @return This builder for chaining.
         */
        public Builder clearState() {
          
          state_ = 0;
          onChanged();
          return this;
        }
  
        private java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> params_ =
          java.util.Collections.emptyList();
        private void ensureParamsIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            params_ = new java.util.ArrayList<emu.grasscutter.net.proto.VectorOuterClass.Vector>(params_);
            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> paramsBuilder_;
  
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector> getParamsList() {
          if (paramsBuilder_ == null) {
            return java.util.Collections.unmodifiableList(params_);
          } else {
            return paramsBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public int getParamsCount() {
          if (paramsBuilder_ == null) {
            return params_.size();
          } else {
            return paramsBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getParams(int index) {
          if (paramsBuilder_ == null) {
            return params_.get(index);
          } else {
            return paramsBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder setParams(
            int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (paramsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureParamsIsMutable();
            params_.set(index, value);
            onChanged();
          } else {
            paramsBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder setParams(
            int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (paramsBuilder_ == null) {
            ensureParamsIsMutable();
            params_.set(index, builderForValue.build());
            onChanged();
          } else {
            paramsBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder addParams(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (paramsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureParamsIsMutable();
            params_.add(value);
            onChanged();
          } else {
            paramsBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder addParams(
            int index, emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (paramsBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureParamsIsMutable();
            params_.add(index, value);
            onChanged();
          } else {
            paramsBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder addParams(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (paramsBuilder_ == null) {
            ensureParamsIsMutable();
            params_.add(builderForValue.build());
            onChanged();
          } else {
            paramsBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder addParams(
            int index, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (paramsBuilder_ == null) {
            ensureParamsIsMutable();
            params_.add(index, builderForValue.build());
            onChanged();
          } else {
            paramsBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder addAllParams(
            java.lang.Iterable<? extends emu.grasscutter.net.proto.VectorOuterClass.Vector> values) {
          if (paramsBuilder_ == null) {
            ensureParamsIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, params_);
            onChanged();
          } else {
            paramsBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder clearParams() {
          if (paramsBuilder_ == null) {
            params_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            paramsBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public Builder removeParams(int index) {
          if (paramsBuilder_ == null) {
            ensureParamsIsMutable();
            params_.remove(index);
            onChanged();
          } else {
            paramsBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getParamsBuilder(
            int index) {
          return getParamsFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getParamsOrBuilder(
            int index) {
          if (paramsBuilder_ == null) {
            return params_.get(index);  } else {
            return paramsBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public java.util.List<? extends emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
             getParamsOrBuilderList() {
          if (paramsBuilder_ != null) {
            return paramsBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(params_);
          }
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addParamsBuilder() {
          return getParamsFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder addParamsBuilder(
            int index) {
          return getParamsFieldBuilder().addBuilder(
              index, emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance());
        }
        /**
         * <code>repeated .Vector params = 5;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder> 
             getParamsBuilderList() {
          return getParamsFieldBuilder().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> 
            getParamsFieldBuilder() {
          if (paramsBuilder_ == null) {
            paramsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    params_,
                    ((bitField0_ & 0x00000001) != 0),
                    getParentForChildren(),
                    isClean());
            params_ = null;
          }
          return paramsBuilder_;
        }
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector refPos_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> refPosBuilder_;
        /**
         * <code>.Vector refPos = 6;</code>
         * @return Whether the refPos field is set.
         */
        public boolean hasRefPos() {
          return refPosBuilder_ != null || refPos_ != null;
        }
        /**
         * <code>.Vector refPos = 6;</code>
         * @return The refPos.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getRefPos() {
          if (refPosBuilder_ == null) {
            return refPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : refPos_;
          } else {
            return refPosBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector refPos = 6;</code>
         */
        public Builder setRefPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (refPosBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            refPos_ = value;
            onChanged();
          } else {
            refPosBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector refPos = 6;</code>
         */
        public Builder setRefPos(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (refPosBuilder_ == null) {
            refPos_ = builderForValue.build();
            onChanged();
          } else {
            refPosBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector refPos = 6;</code>
         */
        public Builder mergeRefPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (refPosBuilder_ == null) {
            if (refPos_ != null) {
              refPos_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(refPos_).mergeFrom(value).buildPartial();
            } else {
              refPos_ = value;
            }
            onChanged();
          } else {
            refPosBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector refPos = 6;</code>
         */
        public Builder clearRefPos() {
          if (refPosBuilder_ == null) {
            refPos_ = null;
            onChanged();
          } else {
            refPos_ = null;
            refPosBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector refPos = 6;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getRefPosBuilder() {
          
          onChanged();
          return getRefPosFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector refPos = 6;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRefPosOrBuilder() {
          if (refPosBuilder_ != null) {
            return refPosBuilder_.getMessageOrBuilder();
          } else {
            return refPos_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : refPos_;
          }
        }
        /**
         * <code>.Vector refPos = 6;</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> 
            getRefPosFieldBuilder() {
          if (refPosBuilder_ == null) {
            refPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getRefPos(),
                    getParentForChildren(),
                    isClean());
            refPos_ = null;
          }
          return refPosBuilder_;
        }
  
        private int refId_ ;
        /**
         * <code>uint32 refId = 7;</code>
         * @return The refId.
         */
        @java.lang.Override
        public int getRefId() {
          return refId_;
        }
        /**
         * <code>uint32 refId = 7;</code>
         * @param value The refId to set.
         * @return This builder for chaining.
         */
        public Builder setRefId(int value) {
          
          refId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 refId = 7;</code>
         * @return This builder for chaining.
         */
        public Builder clearRefId() {
          
          refId_ = 0;
          onChanged();
          return this;
        }
  
        private int sceneTime_ ;
        /**
         * <code>uint32 sceneTime = 8;</code>
         * @return The sceneTime.
         */
        @java.lang.Override
        public int getSceneTime() {
          return sceneTime_;
        }
        /**
         * <code>uint32 sceneTime = 8;</code>
         * @param value The sceneTime to set.
         * @return This builder for chaining.
         */
        public Builder setSceneTime(int value) {
          
          sceneTime_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 sceneTime = 8;</code>
         * @return This builder for chaining.
         */
        public Builder clearSceneTime() {
          
          sceneTime_ = 0;
          onChanged();
          return this;
        }
  
        private long intervalVelocity_ ;
        /**
         * <code>uint64 intervalVelocity = 9;</code>
         * @return The intervalVelocity.
         */
        @java.lang.Override
        public long getIntervalVelocity() {
          return intervalVelocity_;
        }
        /**
         * <code>uint64 intervalVelocity = 9;</code>
         * @param value The intervalVelocity to set.
         * @return This builder for chaining.
         */
        public Builder setIntervalVelocity(long value) {
          
          intervalVelocity_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint64 intervalVelocity = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearIntervalVelocity() {
          
          intervalVelocity_ = 0L;
          onChanged();
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }
  
        @java.lang.Override
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:MotionInfo)
      }
  
      // @@protoc_insertion_point(class_scope:MotionInfo)
      private static final emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo();
      }
  
      public static emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<MotionInfo>
          PARSER = new com.google.protobuf.AbstractParser<MotionInfo>() {
        @java.lang.Override
        public MotionInfo parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new MotionInfo(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<MotionInfo> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<MotionInfo> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.MotionInfoOuterClass.MotionInfo getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_MotionInfo_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_MotionInfo_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\020MotionInfo.proto\032\014Vector.proto\032\021Motion" +
        "State.proto\"\333\001\n\nMotionInfo\022\024\n\003pos\030\001 \001(\0132" +
        "\007.Vector\022\024\n\003rot\030\002 \001(\0132\007.Vector\022\026\n\005speed\030" +
        "\003 \001(\0132\007.Vector\022\033\n\005state\030\004 \001(\0162\014.MotionSt" +
        "ate\022\027\n\006params\030\005 \003(\0132\007.Vector\022\027\n\006refPos\030\006" +
        " \001(\0132\007.Vector\022\r\n\005refId\030\007 \001(\r\022\021\n\tsceneTim" +
        "e\030\010 \001(\r\022\030\n\020intervalVelocity\030\t \001(\004B\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.MotionStateOuterClass.getDescriptor(),
          });
      internal_static_MotionInfo_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_MotionInfo_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_MotionInfo_descriptor,
          new java.lang.String[] { "Pos", "Rot", "Speed", "State", "Params", "RefPos", "RefId", "SceneTime", "IntervalVelocity", });
      emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
      emu.grasscutter.net.proto.MotionStateOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  