content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: HitCollision.proto
  
  package emu.grasscutter.net.proto;
  
  public final class HitCollisionOuterClass {
    private HitCollisionOuterClass() {}
    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 HitCollisionOrBuilder extends
        // @@protoc_insertion_point(interface_extends:HitCollision)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>float attackeeHitEntityAngle = 12;</code>
       * @return The attackeeHitEntityAngle.
       */
      float getAttackeeHitEntityAngle();
  
      /**
       * <code>.Vector hitDir = 4;</code>
       * @return Whether the hitDir field is set.
       */
      boolean hasHitDir();
      /**
       * <code>.Vector hitDir = 4;</code>
       * @return The hitDir.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getHitDir();
      /**
       * <code>.Vector hitDir = 4;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitDirOrBuilder();
  
      /**
       * <code>.Vector hitPoint = 3;</code>
       * @return Whether the hitPoint field is set.
       */
      boolean hasHitPoint();
      /**
       * <code>.Vector hitPoint = 3;</code>
       * @return The hitPoint.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getHitPoint();
      /**
       * <code>.Vector hitPoint = 3;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitPointOrBuilder();
  
      /**
       * <code>int32 hitBoxIndex = 10;</code>
       * @return The hitBoxIndex.
       */
      int getHitBoxIndex();
  
      /**
       * <code>float attackeeHitForceAngle = 15;</code>
       * @return The attackeeHitForceAngle.
       */
      float getAttackeeHitForceAngle();
  
      /**
       * <code>.HitColliderType hitColliderType = 9;</code>
       * @return The enum numeric value on the wire for hitColliderType.
       */
      int getHitColliderTypeValue();
      /**
       * <code>.HitColliderType hitColliderType = 9;</code>
       * @return The hitColliderType.
       */
      emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType getHitColliderType();
    }
    /**
     * Protobuf type {@code HitCollision}
     */
    public static final class HitCollision extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:HitCollision)
        HitCollisionOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use HitCollision.newBuilder() to construct.
      private HitCollision(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private HitCollision() {
        hitColliderType_ = 0;
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new HitCollision();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private HitCollision(
          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 26: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (hitPoint_ != null) {
                  subBuilder = hitPoint_.toBuilder();
                }
                hitPoint_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(hitPoint_);
                  hitPoint_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 34: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (hitDir_ != null) {
                  subBuilder = hitDir_.toBuilder();
                }
                hitDir_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(hitDir_);
                  hitDir_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 72: {
                int rawValue = input.readEnum();
  
                hitColliderType_ = rawValue;
                break;
              }
              case 80: {
  
                hitBoxIndex_ = input.readInt32();
                break;
              }
              case 101: {
  
                attackeeHitEntityAngle_ = input.readFloat();
                break;
              }
              case 125: {
  
                attackeeHitForceAngle_ = input.readFloat();
                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.HitCollisionOuterClass.internal_static_HitCollision_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.class, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder.class);
      }
  
      public static final int ATTACKEEHITENTITYANGLE_FIELD_NUMBER = 12;
      private float attackeeHitEntityAngle_;
      /**
       * <code>float attackeeHitEntityAngle = 12;</code>
       * @return The attackeeHitEntityAngle.
       */
      @java.lang.Override
      public float getAttackeeHitEntityAngle() {
        return attackeeHitEntityAngle_;
      }
  
      public static final int HITDIR_FIELD_NUMBER = 4;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector hitDir_;
      /**
       * <code>.Vector hitDir = 4;</code>
       * @return Whether the hitDir field is set.
       */
      @java.lang.Override
      public boolean hasHitDir() {
        return hitDir_ != null;
      }
      /**
       * <code>.Vector hitDir = 4;</code>
       * @return The hitDir.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitDir() {
        return hitDir_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitDir_;
      }
      /**
       * <code>.Vector hitDir = 4;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitDirOrBuilder() {
        return getHitDir();
      }
  
      public static final int HITPOINT_FIELD_NUMBER = 3;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector hitPoint_;
      /**
       * <code>.Vector hitPoint = 3;</code>
       * @return Whether the hitPoint field is set.
       */
      @java.lang.Override
      public boolean hasHitPoint() {
        return hitPoint_ != null;
      }
      /**
       * <code>.Vector hitPoint = 3;</code>
       * @return The hitPoint.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitPoint() {
        return hitPoint_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitPoint_;
      }
      /**
       * <code>.Vector hitPoint = 3;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitPointOrBuilder() {
        return getHitPoint();
      }
  
      public static final int HITBOXINDEX_FIELD_NUMBER = 10;
      private int hitBoxIndex_;
      /**
       * <code>int32 hitBoxIndex = 10;</code>
       * @return The hitBoxIndex.
       */
      @java.lang.Override
      public int getHitBoxIndex() {
        return hitBoxIndex_;
      }
  
      public static final int ATTACKEEHITFORCEANGLE_FIELD_NUMBER = 15;
      private float attackeeHitForceAngle_;
      /**
       * <code>float attackeeHitForceAngle = 15;</code>
       * @return The attackeeHitForceAngle.
       */
      @java.lang.Override
      public float getAttackeeHitForceAngle() {
        return attackeeHitForceAngle_;
      }
  
      public static final int HITCOLLIDERTYPE_FIELD_NUMBER = 9;
      private int hitColliderType_;
      /**
       * <code>.HitColliderType hitColliderType = 9;</code>
       * @return The enum numeric value on the wire for hitColliderType.
       */
      @java.lang.Override public int getHitColliderTypeValue() {
        return hitColliderType_;
      }
      /**
       * <code>.HitColliderType hitColliderType = 9;</code>
       * @return The hitColliderType.
       */
      @java.lang.Override public emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType getHitColliderType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType result = emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.valueOf(hitColliderType_);
        return result == null ? emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.UNRECOGNIZED : result;
      }
  
      private byte memoizedIsInitialized = -1;
      @java.lang.Override
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized == 1) return true;
        if (isInitialized == 0) return false;
  
        memoizedIsInitialized = 1;
        return true;
      }
  
      @java.lang.Override
      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        if (hitPoint_ != null) {
          output.writeMessage(3, getHitPoint());
        }
        if (hitDir_ != null) {
          output.writeMessage(4, getHitDir());
        }
        if (hitColliderType_ != emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.HIT_COLLIDER_TYPE_INVALID.getNumber()) {
          output.writeEnum(9, hitColliderType_);
        }
        if (hitBoxIndex_ != 0) {
          output.writeInt32(10, hitBoxIndex_);
        }
        if (attackeeHitEntityAngle_ != 0F) {
          output.writeFloat(12, attackeeHitEntityAngle_);
        }
        if (attackeeHitForceAngle_ != 0F) {
          output.writeFloat(15, attackeeHitForceAngle_);
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (hitPoint_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(3, getHitPoint());
        }
        if (hitDir_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, getHitDir());
        }
        if (hitColliderType_ != emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.HIT_COLLIDER_TYPE_INVALID.getNumber()) {
          size += com.google.protobuf.CodedOutputStream
            .computeEnumSize(9, hitColliderType_);
        }
        if (hitBoxIndex_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeInt32Size(10, hitBoxIndex_);
        }
        if (attackeeHitEntityAngle_ != 0F) {
          size += com.google.protobuf.CodedOutputStream
            .computeFloatSize(12, attackeeHitEntityAngle_);
        }
        if (attackeeHitForceAngle_ != 0F) {
          size += com.google.protobuf.CodedOutputStream
            .computeFloatSize(15, attackeeHitForceAngle_);
        }
        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.HitCollisionOuterClass.HitCollision)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision other = (emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision) obj;
  
        if (java.lang.Float.floatToIntBits(getAttackeeHitEntityAngle())
            != java.lang.Float.floatToIntBits(
                other.getAttackeeHitEntityAngle())) return false;
        if (hasHitDir() != other.hasHitDir()) return false;
        if (hasHitDir()) {
          if (!getHitDir()
              .equals(other.getHitDir())) return false;
        }
        if (hasHitPoint() != other.hasHitPoint()) return false;
        if (hasHitPoint()) {
          if (!getHitPoint()
              .equals(other.getHitPoint())) return false;
        }
        if (getHitBoxIndex()
            != other.getHitBoxIndex()) return false;
        if (java.lang.Float.floatToIntBits(getAttackeeHitForceAngle())
            != java.lang.Float.floatToIntBits(
                other.getAttackeeHitForceAngle())) return false;
        if (hitColliderType_ != other.hitColliderType_) return false;
        if (!unknownFields.equals(other.unknownFields)) return false;
        return true;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + ATTACKEEHITENTITYANGLE_FIELD_NUMBER;
        hash = (53 * hash) + java.lang.Float.floatToIntBits(
            getAttackeeHitEntityAngle());
        if (hasHitDir()) {
          hash = (37 * hash) + HITDIR_FIELD_NUMBER;
          hash = (53 * hash) + getHitDir().hashCode();
        }
        if (hasHitPoint()) {
          hash = (37 * hash) + HITPOINT_FIELD_NUMBER;
          hash = (53 * hash) + getHitPoint().hashCode();
        }
        hash = (37 * hash) + HITBOXINDEX_FIELD_NUMBER;
        hash = (53 * hash) + getHitBoxIndex();
        hash = (37 * hash) + ATTACKEEHITFORCEANGLE_FIELD_NUMBER;
        hash = (53 * hash) + java.lang.Float.floatToIntBits(
            getAttackeeHitForceAngle());
        hash = (37 * hash) + HITCOLLIDERTYPE_FIELD_NUMBER;
        hash = (53 * hash) + hitColliderType_;
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision 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 HitCollision}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:HitCollision)
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_descriptor;
        }
  
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.class, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.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();
          attackeeHitEntityAngle_ = 0F;
  
          if (hitDirBuilder_ == null) {
            hitDir_ = null;
          } else {
            hitDir_ = null;
            hitDirBuilder_ = null;
          }
          if (hitPointBuilder_ == null) {
            hitPoint_ = null;
          } else {
            hitPoint_ = null;
            hitPointBuilder_ = null;
          }
          hitBoxIndex_ = 0;
  
          attackeeHitForceAngle_ = 0F;
  
          hitColliderType_ = 0;
  
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision build() {
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision buildPartial() {
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision result = new emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision(this);
          result.attackeeHitEntityAngle_ = attackeeHitEntityAngle_;
          if (hitDirBuilder_ == null) {
            result.hitDir_ = hitDir_;
          } else {
            result.hitDir_ = hitDirBuilder_.build();
          }
          if (hitPointBuilder_ == null) {
            result.hitPoint_ = hitPoint_;
          } else {
            result.hitPoint_ = hitPointBuilder_.build();
          }
          result.hitBoxIndex_ = hitBoxIndex_;
          result.attackeeHitForceAngle_ = attackeeHitForceAngle_;
          result.hitColliderType_ = hitColliderType_;
          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.HitCollisionOuterClass.HitCollision) {
            return mergeFrom((emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision other) {
          if (other == emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.getDefaultInstance()) return this;
          if (other.getAttackeeHitEntityAngle() != 0F) {
            setAttackeeHitEntityAngle(other.getAttackeeHitEntityAngle());
          }
          if (other.hasHitDir()) {
            mergeHitDir(other.getHitDir());
          }
          if (other.hasHitPoint()) {
            mergeHitPoint(other.getHitPoint());
          }
          if (other.getHitBoxIndex() != 0) {
            setHitBoxIndex(other.getHitBoxIndex());
          }
          if (other.getAttackeeHitForceAngle() != 0F) {
            setAttackeeHitForceAngle(other.getAttackeeHitForceAngle());
          }
          if (other.hitColliderType_ != 0) {
            setHitColliderTypeValue(other.getHitColliderTypeValue());
          }
          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.HitCollisionOuterClass.HitCollision parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
  
        private float attackeeHitEntityAngle_ ;
        /**
         * <code>float attackeeHitEntityAngle = 12;</code>
         * @return The attackeeHitEntityAngle.
         */
        @java.lang.Override
        public float getAttackeeHitEntityAngle() {
          return attackeeHitEntityAngle_;
        }
        /**
         * <code>float attackeeHitEntityAngle = 12;</code>
         * @param value The attackeeHitEntityAngle to set.
         * @return This builder for chaining.
         */
        public Builder setAttackeeHitEntityAngle(float value) {
          
          attackeeHitEntityAngle_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>float attackeeHitEntityAngle = 12;</code>
         * @return This builder for chaining.
         */
        public Builder clearAttackeeHitEntityAngle() {
          
          attackeeHitEntityAngle_ = 0F;
          onChanged();
          return this;
        }
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector hitDir_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> hitDirBuilder_;
        /**
         * <code>.Vector hitDir = 4;</code>
         * @return Whether the hitDir field is set.
         */
        public boolean hasHitDir() {
          return hitDirBuilder_ != null || hitDir_ != null;
        }
        /**
         * <code>.Vector hitDir = 4;</code>
         * @return The hitDir.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitDir() {
          if (hitDirBuilder_ == null) {
            return hitDir_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitDir_;
          } else {
            return hitDirBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector hitDir = 4;</code>
         */
        public Builder setHitDir(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (hitDirBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            hitDir_ = value;
            onChanged();
          } else {
            hitDirBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector hitDir = 4;</code>
         */
        public Builder setHitDir(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (hitDirBuilder_ == null) {
            hitDir_ = builderForValue.build();
            onChanged();
          } else {
            hitDirBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector hitDir = 4;</code>
         */
        public Builder mergeHitDir(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (hitDirBuilder_ == null) {
            if (hitDir_ != null) {
              hitDir_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(hitDir_).mergeFrom(value).buildPartial();
            } else {
              hitDir_ = value;
            }
            onChanged();
          } else {
            hitDirBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector hitDir = 4;</code>
         */
        public Builder clearHitDir() {
          if (hitDirBuilder_ == null) {
            hitDir_ = null;
            onChanged();
          } else {
            hitDir_ = null;
            hitDirBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector hitDir = 4;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getHitDirBuilder() {
          
          onChanged();
          return getHitDirFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector hitDir = 4;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitDirOrBuilder() {
          if (hitDirBuilder_ != null) {
            return hitDirBuilder_.getMessageOrBuilder();
          } else {
            return hitDir_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitDir_;
          }
        }
        /**
         * <code>.Vector hitDir = 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> 
            getHitDirFieldBuilder() {
          if (hitDirBuilder_ == null) {
            hitDirBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getHitDir(),
                    getParentForChildren(),
                    isClean());
            hitDir_ = null;
          }
          return hitDirBuilder_;
        }
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector hitPoint_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> hitPointBuilder_;
        /**
         * <code>.Vector hitPoint = 3;</code>
         * @return Whether the hitPoint field is set.
         */
        public boolean hasHitPoint() {
          return hitPointBuilder_ != null || hitPoint_ != null;
        }
        /**
         * <code>.Vector hitPoint = 3;</code>
         * @return The hitPoint.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitPoint() {
          if (hitPointBuilder_ == null) {
            return hitPoint_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitPoint_;
          } else {
            return hitPointBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector hitPoint = 3;</code>
         */
        public Builder setHitPoint(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (hitPointBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            hitPoint_ = value;
            onChanged();
          } else {
            hitPointBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector hitPoint = 3;</code>
         */
        public Builder setHitPoint(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (hitPointBuilder_ == null) {
            hitPoint_ = builderForValue.build();
            onChanged();
          } else {
            hitPointBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector hitPoint = 3;</code>
         */
        public Builder mergeHitPoint(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (hitPointBuilder_ == null) {
            if (hitPoint_ != null) {
              hitPoint_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(hitPoint_).mergeFrom(value).buildPartial();
            } else {
              hitPoint_ = value;
            }
            onChanged();
          } else {
            hitPointBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector hitPoint = 3;</code>
         */
        public Builder clearHitPoint() {
          if (hitPointBuilder_ == null) {
            hitPoint_ = null;
            onChanged();
          } else {
            hitPoint_ = null;
            hitPointBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector hitPoint = 3;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getHitPointBuilder() {
          
          onChanged();
          return getHitPointFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector hitPoint = 3;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitPointOrBuilder() {
          if (hitPointBuilder_ != null) {
            return hitPointBuilder_.getMessageOrBuilder();
          } else {
            return hitPoint_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitPoint_;
          }
        }
        /**
         * <code>.Vector hitPoint = 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> 
            getHitPointFieldBuilder() {
          if (hitPointBuilder_ == null) {
            hitPointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getHitPoint(),
                    getParentForChildren(),
                    isClean());
            hitPoint_ = null;
          }
          return hitPointBuilder_;
        }
  
        private int hitBoxIndex_ ;
        /**
         * <code>int32 hitBoxIndex = 10;</code>
         * @return The hitBoxIndex.
         */
        @java.lang.Override
        public int getHitBoxIndex() {
          return hitBoxIndex_;
        }
        /**
         * <code>int32 hitBoxIndex = 10;</code>
         * @param value The hitBoxIndex to set.
         * @return This builder for chaining.
         */
        public Builder setHitBoxIndex(int value) {
          
          hitBoxIndex_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>int32 hitBoxIndex = 10;</code>
         * @return This builder for chaining.
         */
        public Builder clearHitBoxIndex() {
          
          hitBoxIndex_ = 0;
          onChanged();
          return this;
        }
  
        private float attackeeHitForceAngle_ ;
        /**
         * <code>float attackeeHitForceAngle = 15;</code>
         * @return The attackeeHitForceAngle.
         */
        @java.lang.Override
        public float getAttackeeHitForceAngle() {
          return attackeeHitForceAngle_;
        }
        /**
         * <code>float attackeeHitForceAngle = 15;</code>
         * @param value The attackeeHitForceAngle to set.
         * @return This builder for chaining.
         */
        public Builder setAttackeeHitForceAngle(float value) {
          
          attackeeHitForceAngle_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>float attackeeHitForceAngle = 15;</code>
         * @return This builder for chaining.
         */
        public Builder clearAttackeeHitForceAngle() {
          
          attackeeHitForceAngle_ = 0F;
          onChanged();
          return this;
        }
  
        private int hitColliderType_ = 0;
        /**
         * <code>.HitColliderType hitColliderType = 9;</code>
         * @return The enum numeric value on the wire for hitColliderType.
         */
        @java.lang.Override public int getHitColliderTypeValue() {
          return hitColliderType_;
        }
        /**
         * <code>.HitColliderType hitColliderType = 9;</code>
         * @param value The enum numeric value on the wire for hitColliderType to set.
         * @return This builder for chaining.
         */
        public Builder setHitColliderTypeValue(int value) {
          
          hitColliderType_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>.HitColliderType hitColliderType = 9;</code>
         * @return The hitColliderType.
         */
        @java.lang.Override
        public emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType getHitColliderType() {
          @SuppressWarnings("deprecation")
          emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType result = emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.valueOf(hitColliderType_);
          return result == null ? emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.UNRECOGNIZED : result;
        }
        /**
         * <code>.HitColliderType hitColliderType = 9;</code>
         * @param value The hitColliderType to set.
         * @return This builder for chaining.
         */
        public Builder setHitColliderType(emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType value) {
          if (value == null) {
            throw new NullPointerException();
          }
          
          hitColliderType_ = value.getNumber();
          onChanged();
          return this;
        }
        /**
         * <code>.HitColliderType hitColliderType = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearHitColliderType() {
          
          hitColliderType_ = 0;
          onChanged();
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }
  
        @java.lang.Override
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope:HitCollision)
      }
  
      // @@protoc_insertion_point(class_scope:HitCollision)
      private static final emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision();
      }
  
      public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<HitCollision>
          PARSER = new com.google.protobuf.AbstractParser<HitCollision>() {
        @java.lang.Override
        public HitCollision parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new HitCollision(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<HitCollision> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<HitCollision> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_HitCollision_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_HitCollision_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\022HitCollision.proto\032\014Vector.proto\032\025HitC" +
        "olliderType.proto\"\301\001\n\014HitCollision\022\036\n\026at" +
        "tackeeHitEntityAngle\030\014 \001(\002\022\027\n\006hitDir\030\004 \001" +
        "(\0132\007.Vector\022\031\n\010hitPoint\030\003 \001(\0132\007.Vector\022\023" +
        "\n\013hitBoxIndex\030\n \001(\005\022\035\n\025attackeeHitForceA" +
        "ngle\030\017 \001(\002\022)\n\017hitColliderType\030\t \001(\0162\020.Hi" +
        "tColliderTypeB\033\n\031emu.grasscutter.net.pro" +
        "tob\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.HitColliderTypeOuterClass.getDescriptor(),
          });
      internal_static_HitCollision_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_HitCollision_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_HitCollision_descriptor,
          new java.lang.String[] { "AttackeeHitEntityAngle", "HitDir", "HitPoint", "HitBoxIndex", "AttackeeHitForceAngle", "HitColliderType", });
      emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
      emu.grasscutter.net.proto.HitColliderTypeOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  