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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint32 attackerId = 1;</code>
     * @return The attackerId.
     */
    int getAttackerId();

    /**
     * <code>uint32 defenseId = 2;</code>
     * @return The defenseId.
     */
    int getDefenseId();

    /**
     * <code>string animEventId = 3;</code>
     * @return The animEventId.
     */
    java.lang.String getAnimEventId();
    /**
     * <code>string animEventId = 3;</code>
     * @return The bytes for animEventId.
     */
    com.google.protobuf.ByteString
        getAnimEventIdBytes();

    /**
     * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
     * @return Whether the abilityIdentifier field is set.
     */
    boolean hasAbilityIdentifier();
    /**
     * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
     * @return The abilityIdentifier.
     */
    emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier getAbilityIdentifier();
    /**
     * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
     */
    emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifierOrBuilder getAbilityIdentifierOrBuilder();

    /**
     * <code>float damage = 6;</code>
     * @return The damage.
     */
    float getDamage();

    /**
     * <code>bool isCrit = 7;</code>
     * @return The isCrit.
     */
    boolean getIsCrit();

    /**
     * <code>.HitCollision hitCollision = 8;</code>
     * @return Whether the hitCollision field is set.
     */
    boolean hasHitCollision();
    /**
     * <code>.HitCollision hitCollision = 8;</code>
     * @return The hitCollision.
     */
    emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getHitCollision();
    /**
     * <code>.HitCollision hitCollision = 8;</code>
     */
    emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder getHitCollisionOrBuilder();

    /**
     * <code>uint32 hitPosType = 9;</code>
     * @return The hitPosType.
     */
    int getHitPosType();

    /**
     * <code>uint32 endureBreak = 10;</code>
     * @return The endureBreak.
     */
    int getEndureBreak();

    /**
     * <code>.Vector resolvedDir = 11;</code>
     * @return Whether the resolvedDir field is set.
     */
    boolean hasResolvedDir();
    /**
     * <code>.Vector resolvedDir = 11;</code>
     * @return The resolvedDir.
     */
    emu.grasscutter.net.proto.VectorOuterClass.Vector getResolvedDir();
    /**
     * <code>.Vector resolvedDir = 11;</code>
     */
    emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getResolvedDirOrBuilder();

    /**
     * <code>int32 hitRetreatAngleCompat = 12;</code>
     * @return The hitRetreatAngleCompat.
     */
    int getHitRetreatAngleCompat();

    /**
     * <code>.AttackHitEffectResult hitEffResult = 13;</code>
     * @return Whether the hitEffResult field is set.
     */
    boolean hasHitEffResult();
    /**
     * <code>.AttackHitEffectResult hitEffResult = 13;</code>
     * @return The hitEffResult.
     */
    emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult getHitEffResult();
    /**
     * <code>.AttackHitEffectResult hitEffResult = 13;</code>
     */
    emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder getHitEffResultOrBuilder();

    /**
     * <code>uint32 elementType = 14;</code>
     * @return The elementType.
     */
    int getElementType();

    /**
     * <code>bool useGadgetDamageAction = 19;</code>
     * @return The useGadgetDamageAction.
     */
    boolean getUseGadgetDamageAction();

    /**
     * <code>uint32 gadgetDamageActionIdx = 20;</code>
     * @return The gadgetDamageActionIdx.
     */
    int getGadgetDamageActionIdx();

    /**
     * <code>bool isResistText = 22;</code>
     * @return The isResistText.
     */
    boolean getIsResistText();

    /**
     * <code>uint32 criticalRand = 23;</code>
     * @return The criticalRand.
     */
    int getCriticalRand();

    /**
     * <code>float elementAmplifyRate = 24;</code>
     * @return The elementAmplifyRate.
     */
    float getElementAmplifyRate();

    /**
     * <code>float damageShield = 26;</code>
     * @return The damageShield.
     */
    float getDamageShield();

    /**
     * <code>bool muteElementHurt = 27;</code>
     * @return The muteElementHurt.
     */
    boolean getMuteElementHurt();

    /**
     * <code>uint32 amplifyReactionType = 30;</code>
     * @return The amplifyReactionType.
     */
    int getAmplifyReactionType();

    /**
     * <code>uint32 addhurtReactionType = 31;</code>
     * @return The addhurtReactionType.
     */
    int getAddhurtReactionType();

    /**
     * <code>uint32 bulletFlyTimeMs = 32;</code>
     * @return The bulletFlyTimeMs.
     */
    int getBulletFlyTimeMs();

    /**
     * <code>uint32 attackCount = 33;</code>
     * @return The attackCount.
     */
    int getAttackCount();

    /**
     * <code>uint32 hashedAnimEventId = 34;</code>
     * @return The hashedAnimEventId.
     */
    int getHashedAnimEventId();

    /**
     * <code>uint32 attackTimestampMs = 36;</code>
     * @return The attackTimestampMs.
     */
    int getAttackTimestampMs();

    /**
     * <code>float endureDelta = 37;</code>
     * @return The endureDelta.
     */
    float getEndureDelta();

    /**
     * <code>uint32 targetType = 38;</code>
     * @return The targetType.
     */
    int getTargetType();

    /**
     * <code>float elementDurabilityAttenuation = 39;</code>
     * @return The elementDurabilityAttenuation.
     */
    float getElementDurabilityAttenuation();
  }
  /**
   * Protobuf type {@code AttackResult}
   */
  public static final class AttackResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:AttackResult)
      AttackResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AttackResult.newBuilder() to construct.
    private AttackResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AttackResult() {
      animEventId_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AttackResult(
        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 8: {

              attackerId_ = input.readUInt32();
              break;
            }
            case 16: {

              defenseId_ = input.readUInt32();
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              animEventId_ = s;
              break;
            }
            case 34: {
              emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder subBuilder = null;
              if (abilityIdentifier_ != null) {
                subBuilder = abilityIdentifier_.toBuilder();
              }
              abilityIdentifier_ = input.readMessage(emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(abilityIdentifier_);
                abilityIdentifier_ = subBuilder.buildPartial();
              }

              break;
            }
            case 53: {

              damage_ = input.readFloat();
              break;
            }
            case 56: {

              isCrit_ = input.readBool();
              break;
            }
            case 66: {
              emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder subBuilder = null;
              if (hitCollision_ != null) {
                subBuilder = hitCollision_.toBuilder();
              }
              hitCollision_ = input.readMessage(emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(hitCollision_);
                hitCollision_ = subBuilder.buildPartial();
              }

              break;
            }
            case 72: {

              hitPosType_ = input.readUInt32();
              break;
            }
            case 80: {

              endureBreak_ = input.readUInt32();
              break;
            }
            case 90: {
              emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
              if (resolvedDir_ != null) {
                subBuilder = resolvedDir_.toBuilder();
              }
              resolvedDir_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(resolvedDir_);
                resolvedDir_ = subBuilder.buildPartial();
              }

              break;
            }
            case 96: {

              hitRetreatAngleCompat_ = input.readInt32();
              break;
            }
            case 106: {
              emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder subBuilder = null;
              if (hitEffResult_ != null) {
                subBuilder = hitEffResult_.toBuilder();
              }
              hitEffResult_ = input.readMessage(emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(hitEffResult_);
                hitEffResult_ = subBuilder.buildPartial();
              }

              break;
            }
            case 112: {

              elementType_ = input.readUInt32();
              break;
            }
            case 152: {

              useGadgetDamageAction_ = input.readBool();
              break;
            }
            case 160: {

              gadgetDamageActionIdx_ = input.readUInt32();
              break;
            }
            case 176: {

              isResistText_ = input.readBool();
              break;
            }
            case 184: {

              criticalRand_ = input.readUInt32();
              break;
            }
            case 197: {

              elementAmplifyRate_ = input.readFloat();
              break;
            }
            case 213: {

              damageShield_ = input.readFloat();
              break;
            }
            case 216: {

              muteElementHurt_ = input.readBool();
              break;
            }
            case 240: {

              amplifyReactionType_ = input.readUInt32();
              break;
            }
            case 248: {

              addhurtReactionType_ = input.readUInt32();
              break;
            }
            case 256: {

              bulletFlyTimeMs_ = input.readUInt32();
              break;
            }
            case 264: {

              attackCount_ = input.readUInt32();
              break;
            }
            case 272: {

              hashedAnimEventId_ = input.readUInt32();
              break;
            }
            case 288: {

              attackTimestampMs_ = input.readUInt32();
              break;
            }
            case 301: {

              endureDelta_ = input.readFloat();
              break;
            }
            case 304: {

              targetType_ = input.readUInt32();
              break;
            }
            case 317: {

              elementDurabilityAttenuation_ = 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.AttackResultOuterClass.internal_static_AttackResult_descriptor;
    }

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

    public static final int ATTACKERID_FIELD_NUMBER = 1;
    private int attackerId_;
    /**
     * <code>uint32 attackerId = 1;</code>
     * @return The attackerId.
     */
    @java.lang.Override
    public int getAttackerId() {
      return attackerId_;
    }

    public static final int DEFENSEID_FIELD_NUMBER = 2;
    private int defenseId_;
    /**
     * <code>uint32 defenseId = 2;</code>
     * @return The defenseId.
     */
    @java.lang.Override
    public int getDefenseId() {
      return defenseId_;
    }

    public static final int ANIMEVENTID_FIELD_NUMBER = 3;
    private volatile java.lang.Object animEventId_;
    /**
     * <code>string animEventId = 3;</code>
     * @return The animEventId.
     */
    @java.lang.Override
    public java.lang.String getAnimEventId() {
      java.lang.Object ref = animEventId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        animEventId_ = s;
        return s;
      }
    }
    /**
     * <code>string animEventId = 3;</code>
     * @return The bytes for animEventId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getAnimEventIdBytes() {
      java.lang.Object ref = animEventId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        animEventId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ABILITYIDENTIFIER_FIELD_NUMBER = 4;
    private emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier abilityIdentifier_;
    /**
     * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
     * @return Whether the abilityIdentifier field is set.
     */
    @java.lang.Override
    public boolean hasAbilityIdentifier() {
      return abilityIdentifier_ != null;
    }
    /**
     * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
     * @return The abilityIdentifier.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier getAbilityIdentifier() {
      return abilityIdentifier_ == null ? emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.getDefaultInstance() : abilityIdentifier_;
    }
    /**
     * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifierOrBuilder getAbilityIdentifierOrBuilder() {
      return getAbilityIdentifier();
    }

    public static final int DAMAGE_FIELD_NUMBER = 6;
    private float damage_;
    /**
     * <code>float damage = 6;</code>
     * @return The damage.
     */
    @java.lang.Override
    public float getDamage() {
      return damage_;
    }

    public static final int ISCRIT_FIELD_NUMBER = 7;
    private boolean isCrit_;
    /**
     * <code>bool isCrit = 7;</code>
     * @return The isCrit.
     */
    @java.lang.Override
    public boolean getIsCrit() {
      return isCrit_;
    }

    public static final int HITCOLLISION_FIELD_NUMBER = 8;
    private emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision hitCollision_;
    /**
     * <code>.HitCollision hitCollision = 8;</code>
     * @return Whether the hitCollision field is set.
     */
    @java.lang.Override
    public boolean hasHitCollision() {
      return hitCollision_ != null;
    }
    /**
     * <code>.HitCollision hitCollision = 8;</code>
     * @return The hitCollision.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getHitCollision() {
      return hitCollision_ == null ? emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.getDefaultInstance() : hitCollision_;
    }
    /**
     * <code>.HitCollision hitCollision = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder getHitCollisionOrBuilder() {
      return getHitCollision();
    }

    public static final int HITPOSTYPE_FIELD_NUMBER = 9;
    private int hitPosType_;
    /**
     * <code>uint32 hitPosType = 9;</code>
     * @return The hitPosType.
     */
    @java.lang.Override
    public int getHitPosType() {
      return hitPosType_;
    }

    public static final int ENDUREBREAK_FIELD_NUMBER = 10;
    private int endureBreak_;
    /**
     * <code>uint32 endureBreak = 10;</code>
     * @return The endureBreak.
     */
    @java.lang.Override
    public int getEndureBreak() {
      return endureBreak_;
    }

    public static final int RESOLVEDDIR_FIELD_NUMBER = 11;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector resolvedDir_;
    /**
     * <code>.Vector resolvedDir = 11;</code>
     * @return Whether the resolvedDir field is set.
     */
    @java.lang.Override
    public boolean hasResolvedDir() {
      return resolvedDir_ != null;
    }
    /**
     * <code>.Vector resolvedDir = 11;</code>
     * @return The resolvedDir.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.Vector getResolvedDir() {
      return resolvedDir_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : resolvedDir_;
    }
    /**
     * <code>.Vector resolvedDir = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getResolvedDirOrBuilder() {
      return getResolvedDir();
    }

    public static final int HITRETREATANGLECOMPAT_FIELD_NUMBER = 12;
    private int hitRetreatAngleCompat_;
    /**
     * <code>int32 hitRetreatAngleCompat = 12;</code>
     * @return The hitRetreatAngleCompat.
     */
    @java.lang.Override
    public int getHitRetreatAngleCompat() {
      return hitRetreatAngleCompat_;
    }

    public static final int HITEFFRESULT_FIELD_NUMBER = 13;
    private emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult hitEffResult_;
    /**
     * <code>.AttackHitEffectResult hitEffResult = 13;</code>
     * @return Whether the hitEffResult field is set.
     */
    @java.lang.Override
    public boolean hasHitEffResult() {
      return hitEffResult_ != null;
    }
    /**
     * <code>.AttackHitEffectResult hitEffResult = 13;</code>
     * @return The hitEffResult.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult getHitEffResult() {
      return hitEffResult_ == null ? emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.getDefaultInstance() : hitEffResult_;
    }
    /**
     * <code>.AttackHitEffectResult hitEffResult = 13;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder getHitEffResultOrBuilder() {
      return getHitEffResult();
    }

    public static final int ELEMENTTYPE_FIELD_NUMBER = 14;
    private int elementType_;
    /**
     * <code>uint32 elementType = 14;</code>
     * @return The elementType.
     */
    @java.lang.Override
    public int getElementType() {
      return elementType_;
    }

    public static final int USEGADGETDAMAGEACTION_FIELD_NUMBER = 19;
    private boolean useGadgetDamageAction_;
    /**
     * <code>bool useGadgetDamageAction = 19;</code>
     * @return The useGadgetDamageAction.
     */
    @java.lang.Override
    public boolean getUseGadgetDamageAction() {
      return useGadgetDamageAction_;
    }

    public static final int GADGETDAMAGEACTIONIDX_FIELD_NUMBER = 20;
    private int gadgetDamageActionIdx_;
    /**
     * <code>uint32 gadgetDamageActionIdx = 20;</code>
     * @return The gadgetDamageActionIdx.
     */
    @java.lang.Override
    public int getGadgetDamageActionIdx() {
      return gadgetDamageActionIdx_;
    }

    public static final int ISRESISTTEXT_FIELD_NUMBER = 22;
    private boolean isResistText_;
    /**
     * <code>bool isResistText = 22;</code>
     * @return The isResistText.
     */
    @java.lang.Override
    public boolean getIsResistText() {
      return isResistText_;
    }

    public static final int CRITICALRAND_FIELD_NUMBER = 23;
    private int criticalRand_;
    /**
     * <code>uint32 criticalRand = 23;</code>
     * @return The criticalRand.
     */
    @java.lang.Override
    public int getCriticalRand() {
      return criticalRand_;
    }

    public static final int ELEMENTAMPLIFYRATE_FIELD_NUMBER = 24;
    private float elementAmplifyRate_;
    /**
     * <code>float elementAmplifyRate = 24;</code>
     * @return The elementAmplifyRate.
     */
    @java.lang.Override
    public float getElementAmplifyRate() {
      return elementAmplifyRate_;
    }

    public static final int DAMAGESHIELD_FIELD_NUMBER = 26;
    private float damageShield_;
    /**
     * <code>float damageShield = 26;</code>
     * @return The damageShield.
     */
    @java.lang.Override
    public float getDamageShield() {
      return damageShield_;
    }

    public static final int MUTEELEMENTHURT_FIELD_NUMBER = 27;
    private boolean muteElementHurt_;
    /**
     * <code>bool muteElementHurt = 27;</code>
     * @return The muteElementHurt.
     */
    @java.lang.Override
    public boolean getMuteElementHurt() {
      return muteElementHurt_;
    }

    public static final int AMPLIFYREACTIONTYPE_FIELD_NUMBER = 30;
    private int amplifyReactionType_;
    /**
     * <code>uint32 amplifyReactionType = 30;</code>
     * @return The amplifyReactionType.
     */
    @java.lang.Override
    public int getAmplifyReactionType() {
      return amplifyReactionType_;
    }

    public static final int ADDHURTREACTIONTYPE_FIELD_NUMBER = 31;
    private int addhurtReactionType_;
    /**
     * <code>uint32 addhurtReactionType = 31;</code>
     * @return The addhurtReactionType.
     */
    @java.lang.Override
    public int getAddhurtReactionType() {
      return addhurtReactionType_;
    }

    public static final int BULLETFLYTIMEMS_FIELD_NUMBER = 32;
    private int bulletFlyTimeMs_;
    /**
     * <code>uint32 bulletFlyTimeMs = 32;</code>
     * @return The bulletFlyTimeMs.
     */
    @java.lang.Override
    public int getBulletFlyTimeMs() {
      return bulletFlyTimeMs_;
    }

    public static final int ATTACKCOUNT_FIELD_NUMBER = 33;
    private int attackCount_;
    /**
     * <code>uint32 attackCount = 33;</code>
     * @return The attackCount.
     */
    @java.lang.Override
    public int getAttackCount() {
      return attackCount_;
    }

    public static final int HASHEDANIMEVENTID_FIELD_NUMBER = 34;
    private int hashedAnimEventId_;
    /**
     * <code>uint32 hashedAnimEventId = 34;</code>
     * @return The hashedAnimEventId.
     */
    @java.lang.Override
    public int getHashedAnimEventId() {
      return hashedAnimEventId_;
    }

    public static final int ATTACKTIMESTAMPMS_FIELD_NUMBER = 36;
    private int attackTimestampMs_;
    /**
     * <code>uint32 attackTimestampMs = 36;</code>
     * @return The attackTimestampMs.
     */
    @java.lang.Override
    public int getAttackTimestampMs() {
      return attackTimestampMs_;
    }

    public static final int ENDUREDELTA_FIELD_NUMBER = 37;
    private float endureDelta_;
    /**
     * <code>float endureDelta = 37;</code>
     * @return The endureDelta.
     */
    @java.lang.Override
    public float getEndureDelta() {
      return endureDelta_;
    }

    public static final int TARGETTYPE_FIELD_NUMBER = 38;
    private int targetType_;
    /**
     * <code>uint32 targetType = 38;</code>
     * @return The targetType.
     */
    @java.lang.Override
    public int getTargetType() {
      return targetType_;
    }

    public static final int ELEMENTDURABILITYATTENUATION_FIELD_NUMBER = 39;
    private float elementDurabilityAttenuation_;
    /**
     * <code>float elementDurabilityAttenuation = 39;</code>
     * @return The elementDurabilityAttenuation.
     */
    @java.lang.Override
    public float getElementDurabilityAttenuation() {
      return elementDurabilityAttenuation_;
    }

    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 (attackerId_ != 0) {
        output.writeUInt32(1, attackerId_);
      }
      if (defenseId_ != 0) {
        output.writeUInt32(2, defenseId_);
      }
      if (!getAnimEventIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, animEventId_);
      }
      if (abilityIdentifier_ != null) {
        output.writeMessage(4, getAbilityIdentifier());
      }
      if (damage_ != 0F) {
        output.writeFloat(6, damage_);
      }
      if (isCrit_ != false) {
        output.writeBool(7, isCrit_);
      }
      if (hitCollision_ != null) {
        output.writeMessage(8, getHitCollision());
      }
      if (hitPosType_ != 0) {
        output.writeUInt32(9, hitPosType_);
      }
      if (endureBreak_ != 0) {
        output.writeUInt32(10, endureBreak_);
      }
      if (resolvedDir_ != null) {
        output.writeMessage(11, getResolvedDir());
      }
      if (hitRetreatAngleCompat_ != 0) {
        output.writeInt32(12, hitRetreatAngleCompat_);
      }
      if (hitEffResult_ != null) {
        output.writeMessage(13, getHitEffResult());
      }
      if (elementType_ != 0) {
        output.writeUInt32(14, elementType_);
      }
      if (useGadgetDamageAction_ != false) {
        output.writeBool(19, useGadgetDamageAction_);
      }
      if (gadgetDamageActionIdx_ != 0) {
        output.writeUInt32(20, gadgetDamageActionIdx_);
      }
      if (isResistText_ != false) {
        output.writeBool(22, isResistText_);
      }
      if (criticalRand_ != 0) {
        output.writeUInt32(23, criticalRand_);
      }
      if (elementAmplifyRate_ != 0F) {
        output.writeFloat(24, elementAmplifyRate_);
      }
      if (damageShield_ != 0F) {
        output.writeFloat(26, damageShield_);
      }
      if (muteElementHurt_ != false) {
        output.writeBool(27, muteElementHurt_);
      }
      if (amplifyReactionType_ != 0) {
        output.writeUInt32(30, amplifyReactionType_);
      }
      if (addhurtReactionType_ != 0) {
        output.writeUInt32(31, addhurtReactionType_);
      }
      if (bulletFlyTimeMs_ != 0) {
        output.writeUInt32(32, bulletFlyTimeMs_);
      }
      if (attackCount_ != 0) {
        output.writeUInt32(33, attackCount_);
      }
      if (hashedAnimEventId_ != 0) {
        output.writeUInt32(34, hashedAnimEventId_);
      }
      if (attackTimestampMs_ != 0) {
        output.writeUInt32(36, attackTimestampMs_);
      }
      if (endureDelta_ != 0F) {
        output.writeFloat(37, endureDelta_);
      }
      if (targetType_ != 0) {
        output.writeUInt32(38, targetType_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        output.writeFloat(39, elementDurabilityAttenuation_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (attackerId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, attackerId_);
      }
      if (defenseId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, defenseId_);
      }
      if (!getAnimEventIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, animEventId_);
      }
      if (abilityIdentifier_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getAbilityIdentifier());
      }
      if (damage_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(6, damage_);
      }
      if (isCrit_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, isCrit_);
      }
      if (hitCollision_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, getHitCollision());
      }
      if (hitPosType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, hitPosType_);
      }
      if (endureBreak_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, endureBreak_);
      }
      if (resolvedDir_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, getResolvedDir());
      }
      if (hitRetreatAngleCompat_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(12, hitRetreatAngleCompat_);
      }
      if (hitEffResult_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, getHitEffResult());
      }
      if (elementType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, elementType_);
      }
      if (useGadgetDamageAction_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(19, useGadgetDamageAction_);
      }
      if (gadgetDamageActionIdx_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(20, gadgetDamageActionIdx_);
      }
      if (isResistText_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(22, isResistText_);
      }
      if (criticalRand_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(23, criticalRand_);
      }
      if (elementAmplifyRate_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(24, elementAmplifyRate_);
      }
      if (damageShield_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(26, damageShield_);
      }
      if (muteElementHurt_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(27, muteElementHurt_);
      }
      if (amplifyReactionType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(30, amplifyReactionType_);
      }
      if (addhurtReactionType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(31, addhurtReactionType_);
      }
      if (bulletFlyTimeMs_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(32, bulletFlyTimeMs_);
      }
      if (attackCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(33, attackCount_);
      }
      if (hashedAnimEventId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(34, hashedAnimEventId_);
      }
      if (attackTimestampMs_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(36, attackTimestampMs_);
      }
      if (endureDelta_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(37, endureDelta_);
      }
      if (targetType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(38, targetType_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(39, elementDurabilityAttenuation_);
      }
      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.AttackResultOuterClass.AttackResult)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult other = (emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult) obj;

      if (getAttackerId()
          != other.getAttackerId()) return false;
      if (getDefenseId()
          != other.getDefenseId()) return false;
      if (!getAnimEventId()
          .equals(other.getAnimEventId())) return false;
      if (hasAbilityIdentifier() != other.hasAbilityIdentifier()) return false;
      if (hasAbilityIdentifier()) {
        if (!getAbilityIdentifier()
            .equals(other.getAbilityIdentifier())) return false;
      }
      if (java.lang.Float.floatToIntBits(getDamage())
          != java.lang.Float.floatToIntBits(
              other.getDamage())) return false;
      if (getIsCrit()
          != other.getIsCrit()) return false;
      if (hasHitCollision() != other.hasHitCollision()) return false;
      if (hasHitCollision()) {
        if (!getHitCollision()
            .equals(other.getHitCollision())) return false;
      }
      if (getHitPosType()
          != other.getHitPosType()) return false;
      if (getEndureBreak()
          != other.getEndureBreak()) return false;
      if (hasResolvedDir() != other.hasResolvedDir()) return false;
      if (hasResolvedDir()) {
        if (!getResolvedDir()
            .equals(other.getResolvedDir())) return false;
      }
      if (getHitRetreatAngleCompat()
          != other.getHitRetreatAngleCompat()) return false;
      if (hasHitEffResult() != other.hasHitEffResult()) return false;
      if (hasHitEffResult()) {
        if (!getHitEffResult()
            .equals(other.getHitEffResult())) return false;
      }
      if (getElementType()
          != other.getElementType()) return false;
      if (getUseGadgetDamageAction()
          != other.getUseGadgetDamageAction()) return false;
      if (getGadgetDamageActionIdx()
          != other.getGadgetDamageActionIdx()) return false;
      if (getIsResistText()
          != other.getIsResistText()) return false;
      if (getCriticalRand()
          != other.getCriticalRand()) return false;
      if (java.lang.Float.floatToIntBits(getElementAmplifyRate())
          != java.lang.Float.floatToIntBits(
              other.getElementAmplifyRate())) return false;
      if (java.lang.Float.floatToIntBits(getDamageShield())
          != java.lang.Float.floatToIntBits(
              other.getDamageShield())) return false;
      if (getMuteElementHurt()
          != other.getMuteElementHurt()) return false;
      if (getAmplifyReactionType()
          != other.getAmplifyReactionType()) return false;
      if (getAddhurtReactionType()
          != other.getAddhurtReactionType()) return false;
      if (getBulletFlyTimeMs()
          != other.getBulletFlyTimeMs()) return false;
      if (getAttackCount()
          != other.getAttackCount()) return false;
      if (getHashedAnimEventId()
          != other.getHashedAnimEventId()) return false;
      if (getAttackTimestampMs()
          != other.getAttackTimestampMs()) return false;
      if (java.lang.Float.floatToIntBits(getEndureDelta())
          != java.lang.Float.floatToIntBits(
              other.getEndureDelta())) return false;
      if (getTargetType()
          != other.getTargetType()) return false;
      if (java.lang.Float.floatToIntBits(getElementDurabilityAttenuation())
          != java.lang.Float.floatToIntBits(
              other.getElementDurabilityAttenuation())) 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) + ATTACKERID_FIELD_NUMBER;
      hash = (53 * hash) + getAttackerId();
      hash = (37 * hash) + DEFENSEID_FIELD_NUMBER;
      hash = (53 * hash) + getDefenseId();
      hash = (37 * hash) + ANIMEVENTID_FIELD_NUMBER;
      hash = (53 * hash) + getAnimEventId().hashCode();
      if (hasAbilityIdentifier()) {
        hash = (37 * hash) + ABILITYIDENTIFIER_FIELD_NUMBER;
        hash = (53 * hash) + getAbilityIdentifier().hashCode();
      }
      hash = (37 * hash) + DAMAGE_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getDamage());
      hash = (37 * hash) + ISCRIT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsCrit());
      if (hasHitCollision()) {
        hash = (37 * hash) + HITCOLLISION_FIELD_NUMBER;
        hash = (53 * hash) + getHitCollision().hashCode();
      }
      hash = (37 * hash) + HITPOSTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getHitPosType();
      hash = (37 * hash) + ENDUREBREAK_FIELD_NUMBER;
      hash = (53 * hash) + getEndureBreak();
      if (hasResolvedDir()) {
        hash = (37 * hash) + RESOLVEDDIR_FIELD_NUMBER;
        hash = (53 * hash) + getResolvedDir().hashCode();
      }
      hash = (37 * hash) + HITRETREATANGLECOMPAT_FIELD_NUMBER;
      hash = (53 * hash) + getHitRetreatAngleCompat();
      if (hasHitEffResult()) {
        hash = (37 * hash) + HITEFFRESULT_FIELD_NUMBER;
        hash = (53 * hash) + getHitEffResult().hashCode();
      }
      hash = (37 * hash) + ELEMENTTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getElementType();
      hash = (37 * hash) + USEGADGETDAMAGEACTION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUseGadgetDamageAction());
      hash = (37 * hash) + GADGETDAMAGEACTIONIDX_FIELD_NUMBER;
      hash = (53 * hash) + getGadgetDamageActionIdx();
      hash = (37 * hash) + ISRESISTTEXT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsResistText());
      hash = (37 * hash) + CRITICALRAND_FIELD_NUMBER;
      hash = (53 * hash) + getCriticalRand();
      hash = (37 * hash) + ELEMENTAMPLIFYRATE_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementAmplifyRate());
      hash = (37 * hash) + DAMAGESHIELD_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getDamageShield());
      hash = (37 * hash) + MUTEELEMENTHURT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getMuteElementHurt());
      hash = (37 * hash) + AMPLIFYREACTIONTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getAmplifyReactionType();
      hash = (37 * hash) + ADDHURTREACTIONTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getAddhurtReactionType();
      hash = (37 * hash) + BULLETFLYTIMEMS_FIELD_NUMBER;
      hash = (53 * hash) + getBulletFlyTimeMs();
      hash = (37 * hash) + ATTACKCOUNT_FIELD_NUMBER;
      hash = (53 * hash) + getAttackCount();
      hash = (37 * hash) + HASHEDANIMEVENTID_FIELD_NUMBER;
      hash = (53 * hash) + getHashedAnimEventId();
      hash = (37 * hash) + ATTACKTIMESTAMPMS_FIELD_NUMBER;
      hash = (53 * hash) + getAttackTimestampMs();
      hash = (37 * hash) + ENDUREDELTA_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getEndureDelta());
      hash = (37 * hash) + TARGETTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getTargetType();
      hash = (37 * hash) + ELEMENTDURABILITYATTENUATION_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementDurabilityAttenuation());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult.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();
        attackerId_ = 0;

        defenseId_ = 0;

        animEventId_ = "";

        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifier_ = null;
        } else {
          abilityIdentifier_ = null;
          abilityIdentifierBuilder_ = null;
        }
        damage_ = 0F;

        isCrit_ = false;

        if (hitCollisionBuilder_ == null) {
          hitCollision_ = null;
        } else {
          hitCollision_ = null;
          hitCollisionBuilder_ = null;
        }
        hitPosType_ = 0;

        endureBreak_ = 0;

        if (resolvedDirBuilder_ == null) {
          resolvedDir_ = null;
        } else {
          resolvedDir_ = null;
          resolvedDirBuilder_ = null;
        }
        hitRetreatAngleCompat_ = 0;

        if (hitEffResultBuilder_ == null) {
          hitEffResult_ = null;
        } else {
          hitEffResult_ = null;
          hitEffResultBuilder_ = null;
        }
        elementType_ = 0;

        useGadgetDamageAction_ = false;

        gadgetDamageActionIdx_ = 0;

        isResistText_ = false;

        criticalRand_ = 0;

        elementAmplifyRate_ = 0F;

        damageShield_ = 0F;

        muteElementHurt_ = false;

        amplifyReactionType_ = 0;

        addhurtReactionType_ = 0;

        bulletFlyTimeMs_ = 0;

        attackCount_ = 0;

        hashedAnimEventId_ = 0;

        attackTimestampMs_ = 0;

        endureDelta_ = 0F;

        targetType_ = 0;

        elementDurabilityAttenuation_ = 0F;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult buildPartial() {
        emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult result = new emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult(this);
        result.attackerId_ = attackerId_;
        result.defenseId_ = defenseId_;
        result.animEventId_ = animEventId_;
        if (abilityIdentifierBuilder_ == null) {
          result.abilityIdentifier_ = abilityIdentifier_;
        } else {
          result.abilityIdentifier_ = abilityIdentifierBuilder_.build();
        }
        result.damage_ = damage_;
        result.isCrit_ = isCrit_;
        if (hitCollisionBuilder_ == null) {
          result.hitCollision_ = hitCollision_;
        } else {
          result.hitCollision_ = hitCollisionBuilder_.build();
        }
        result.hitPosType_ = hitPosType_;
        result.endureBreak_ = endureBreak_;
        if (resolvedDirBuilder_ == null) {
          result.resolvedDir_ = resolvedDir_;
        } else {
          result.resolvedDir_ = resolvedDirBuilder_.build();
        }
        result.hitRetreatAngleCompat_ = hitRetreatAngleCompat_;
        if (hitEffResultBuilder_ == null) {
          result.hitEffResult_ = hitEffResult_;
        } else {
          result.hitEffResult_ = hitEffResultBuilder_.build();
        }
        result.elementType_ = elementType_;
        result.useGadgetDamageAction_ = useGadgetDamageAction_;
        result.gadgetDamageActionIdx_ = gadgetDamageActionIdx_;
        result.isResistText_ = isResistText_;
        result.criticalRand_ = criticalRand_;
        result.elementAmplifyRate_ = elementAmplifyRate_;
        result.damageShield_ = damageShield_;
        result.muteElementHurt_ = muteElementHurt_;
        result.amplifyReactionType_ = amplifyReactionType_;
        result.addhurtReactionType_ = addhurtReactionType_;
        result.bulletFlyTimeMs_ = bulletFlyTimeMs_;
        result.attackCount_ = attackCount_;
        result.hashedAnimEventId_ = hashedAnimEventId_;
        result.attackTimestampMs_ = attackTimestampMs_;
        result.endureDelta_ = endureDelta_;
        result.targetType_ = targetType_;
        result.elementDurabilityAttenuation_ = elementDurabilityAttenuation_;
        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.AttackResultOuterClass.AttackResult) {
          return mergeFrom((emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult other) {
        if (other == emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult.getDefaultInstance()) return this;
        if (other.getAttackerId() != 0) {
          setAttackerId(other.getAttackerId());
        }
        if (other.getDefenseId() != 0) {
          setDefenseId(other.getDefenseId());
        }
        if (!other.getAnimEventId().isEmpty()) {
          animEventId_ = other.animEventId_;
          onChanged();
        }
        if (other.hasAbilityIdentifier()) {
          mergeAbilityIdentifier(other.getAbilityIdentifier());
        }
        if (other.getDamage() != 0F) {
          setDamage(other.getDamage());
        }
        if (other.getIsCrit() != false) {
          setIsCrit(other.getIsCrit());
        }
        if (other.hasHitCollision()) {
          mergeHitCollision(other.getHitCollision());
        }
        if (other.getHitPosType() != 0) {
          setHitPosType(other.getHitPosType());
        }
        if (other.getEndureBreak() != 0) {
          setEndureBreak(other.getEndureBreak());
        }
        if (other.hasResolvedDir()) {
          mergeResolvedDir(other.getResolvedDir());
        }
        if (other.getHitRetreatAngleCompat() != 0) {
          setHitRetreatAngleCompat(other.getHitRetreatAngleCompat());
        }
        if (other.hasHitEffResult()) {
          mergeHitEffResult(other.getHitEffResult());
        }
        if (other.getElementType() != 0) {
          setElementType(other.getElementType());
        }
        if (other.getUseGadgetDamageAction() != false) {
          setUseGadgetDamageAction(other.getUseGadgetDamageAction());
        }
        if (other.getGadgetDamageActionIdx() != 0) {
          setGadgetDamageActionIdx(other.getGadgetDamageActionIdx());
        }
        if (other.getIsResistText() != false) {
          setIsResistText(other.getIsResistText());
        }
        if (other.getCriticalRand() != 0) {
          setCriticalRand(other.getCriticalRand());
        }
        if (other.getElementAmplifyRate() != 0F) {
          setElementAmplifyRate(other.getElementAmplifyRate());
        }
        if (other.getDamageShield() != 0F) {
          setDamageShield(other.getDamageShield());
        }
        if (other.getMuteElementHurt() != false) {
          setMuteElementHurt(other.getMuteElementHurt());
        }
        if (other.getAmplifyReactionType() != 0) {
          setAmplifyReactionType(other.getAmplifyReactionType());
        }
        if (other.getAddhurtReactionType() != 0) {
          setAddhurtReactionType(other.getAddhurtReactionType());
        }
        if (other.getBulletFlyTimeMs() != 0) {
          setBulletFlyTimeMs(other.getBulletFlyTimeMs());
        }
        if (other.getAttackCount() != 0) {
          setAttackCount(other.getAttackCount());
        }
        if (other.getHashedAnimEventId() != 0) {
          setHashedAnimEventId(other.getHashedAnimEventId());
        }
        if (other.getAttackTimestampMs() != 0) {
          setAttackTimestampMs(other.getAttackTimestampMs());
        }
        if (other.getEndureDelta() != 0F) {
          setEndureDelta(other.getEndureDelta());
        }
        if (other.getTargetType() != 0) {
          setTargetType(other.getTargetType());
        }
        if (other.getElementDurabilityAttenuation() != 0F) {
          setElementDurabilityAttenuation(other.getElementDurabilityAttenuation());
        }
        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.AttackResultOuterClass.AttackResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int attackerId_ ;
      /**
       * <code>uint32 attackerId = 1;</code>
       * @return The attackerId.
       */
      @java.lang.Override
      public int getAttackerId() {
        return attackerId_;
      }
      /**
       * <code>uint32 attackerId = 1;</code>
       * @param value The attackerId to set.
       * @return This builder for chaining.
       */
      public Builder setAttackerId(int value) {
        
        attackerId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 attackerId = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackerId() {
        
        attackerId_ = 0;
        onChanged();
        return this;
      }

      private int defenseId_ ;
      /**
       * <code>uint32 defenseId = 2;</code>
       * @return The defenseId.
       */
      @java.lang.Override
      public int getDefenseId() {
        return defenseId_;
      }
      /**
       * <code>uint32 defenseId = 2;</code>
       * @param value The defenseId to set.
       * @return This builder for chaining.
       */
      public Builder setDefenseId(int value) {
        
        defenseId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 defenseId = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDefenseId() {
        
        defenseId_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object animEventId_ = "";
      /**
       * <code>string animEventId = 3;</code>
       * @return The animEventId.
       */
      public java.lang.String getAnimEventId() {
        java.lang.Object ref = animEventId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          animEventId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string animEventId = 3;</code>
       * @return The bytes for animEventId.
       */
      public com.google.protobuf.ByteString
          getAnimEventIdBytes() {
        java.lang.Object ref = animEventId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          animEventId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string animEventId = 3;</code>
       * @param value The animEventId to set.
       * @return This builder for chaining.
       */
      public Builder setAnimEventId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        animEventId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string animEventId = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearAnimEventId() {
        
        animEventId_ = getDefaultInstance().getAnimEventId();
        onChanged();
        return this;
      }
      /**
       * <code>string animEventId = 3;</code>
       * @param value The bytes for animEventId to set.
       * @return This builder for chaining.
       */
      public Builder setAnimEventIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        animEventId_ = value;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier abilityIdentifier_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier, emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder, emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifierOrBuilder> abilityIdentifierBuilder_;
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       * @return Whether the abilityIdentifier field is set.
       */
      public boolean hasAbilityIdentifier() {
        return abilityIdentifierBuilder_ != null || abilityIdentifier_ != null;
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       * @return The abilityIdentifier.
       */
      public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier getAbilityIdentifier() {
        if (abilityIdentifierBuilder_ == null) {
          return abilityIdentifier_ == null ? emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.getDefaultInstance() : abilityIdentifier_;
        } else {
          return abilityIdentifierBuilder_.getMessage();
        }
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       */
      public Builder setAbilityIdentifier(emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier value) {
        if (abilityIdentifierBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          abilityIdentifier_ = value;
          onChanged();
        } else {
          abilityIdentifierBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       */
      public Builder setAbilityIdentifier(
          emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder builderForValue) {
        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifier_ = builderForValue.build();
          onChanged();
        } else {
          abilityIdentifierBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       */
      public Builder mergeAbilityIdentifier(emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier value) {
        if (abilityIdentifierBuilder_ == null) {
          if (abilityIdentifier_ != null) {
            abilityIdentifier_ =
              emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.newBuilder(abilityIdentifier_).mergeFrom(value).buildPartial();
          } else {
            abilityIdentifier_ = value;
          }
          onChanged();
        } else {
          abilityIdentifierBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       */
      public Builder clearAbilityIdentifier() {
        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifier_ = null;
          onChanged();
        } else {
          abilityIdentifier_ = null;
          abilityIdentifierBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       */
      public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder getAbilityIdentifierBuilder() {
        
        onChanged();
        return getAbilityIdentifierFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       */
      public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifierOrBuilder getAbilityIdentifierOrBuilder() {
        if (abilityIdentifierBuilder_ != null) {
          return abilityIdentifierBuilder_.getMessageOrBuilder();
        } else {
          return abilityIdentifier_ == null ?
              emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.getDefaultInstance() : abilityIdentifier_;
        }
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier, emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder, emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifierOrBuilder> 
          getAbilityIdentifierFieldBuilder() {
        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier, emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder, emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifierOrBuilder>(
                  getAbilityIdentifier(),
                  getParentForChildren(),
                  isClean());
          abilityIdentifier_ = null;
        }
        return abilityIdentifierBuilder_;
      }

      private float damage_ ;
      /**
       * <code>float damage = 6;</code>
       * @return The damage.
       */
      @java.lang.Override
      public float getDamage() {
        return damage_;
      }
      /**
       * <code>float damage = 6;</code>
       * @param value The damage to set.
       * @return This builder for chaining.
       */
      public Builder setDamage(float value) {
        
        damage_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float damage = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearDamage() {
        
        damage_ = 0F;
        onChanged();
        return this;
      }

      private boolean isCrit_ ;
      /**
       * <code>bool isCrit = 7;</code>
       * @return The isCrit.
       */
      @java.lang.Override
      public boolean getIsCrit() {
        return isCrit_;
      }
      /**
       * <code>bool isCrit = 7;</code>
       * @param value The isCrit to set.
       * @return This builder for chaining.
       */
      public Builder setIsCrit(boolean value) {
        
        isCrit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isCrit = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsCrit() {
        
        isCrit_ = false;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision hitCollision_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder> hitCollisionBuilder_;
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       * @return Whether the hitCollision field is set.
       */
      public boolean hasHitCollision() {
        return hitCollisionBuilder_ != null || hitCollision_ != null;
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       * @return The hitCollision.
       */
      public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getHitCollision() {
        if (hitCollisionBuilder_ == null) {
          return hitCollision_ == null ? emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.getDefaultInstance() : hitCollision_;
        } else {
          return hitCollisionBuilder_.getMessage();
        }
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       */
      public Builder setHitCollision(emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision value) {
        if (hitCollisionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          hitCollision_ = value;
          onChanged();
        } else {
          hitCollisionBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       */
      public Builder setHitCollision(
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder builderForValue) {
        if (hitCollisionBuilder_ == null) {
          hitCollision_ = builderForValue.build();
          onChanged();
        } else {
          hitCollisionBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       */
      public Builder mergeHitCollision(emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision value) {
        if (hitCollisionBuilder_ == null) {
          if (hitCollision_ != null) {
            hitCollision_ =
              emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.newBuilder(hitCollision_).mergeFrom(value).buildPartial();
          } else {
            hitCollision_ = value;
          }
          onChanged();
        } else {
          hitCollisionBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       */
      public Builder clearHitCollision() {
        if (hitCollisionBuilder_ == null) {
          hitCollision_ = null;
          onChanged();
        } else {
          hitCollision_ = null;
          hitCollisionBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       */
      public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder getHitCollisionBuilder() {
        
        onChanged();
        return getHitCollisionFieldBuilder().getBuilder();
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       */
      public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder getHitCollisionOrBuilder() {
        if (hitCollisionBuilder_ != null) {
          return hitCollisionBuilder_.getMessageOrBuilder();
        } else {
          return hitCollision_ == null ?
              emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.getDefaultInstance() : hitCollision_;
        }
      }
      /**
       * <code>.HitCollision hitCollision = 8;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder> 
          getHitCollisionFieldBuilder() {
        if (hitCollisionBuilder_ == null) {
          hitCollisionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder>(
                  getHitCollision(),
                  getParentForChildren(),
                  isClean());
          hitCollision_ = null;
        }
        return hitCollisionBuilder_;
      }

      private int hitPosType_ ;
      /**
       * <code>uint32 hitPosType = 9;</code>
       * @return The hitPosType.
       */
      @java.lang.Override
      public int getHitPosType() {
        return hitPosType_;
      }
      /**
       * <code>uint32 hitPosType = 9;</code>
       * @param value The hitPosType to set.
       * @return This builder for chaining.
       */
      public Builder setHitPosType(int value) {
        
        hitPosType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 hitPosType = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearHitPosType() {
        
        hitPosType_ = 0;
        onChanged();
        return this;
      }

      private int endureBreak_ ;
      /**
       * <code>uint32 endureBreak = 10;</code>
       * @return The endureBreak.
       */
      @java.lang.Override
      public int getEndureBreak() {
        return endureBreak_;
      }
      /**
       * <code>uint32 endureBreak = 10;</code>
       * @param value The endureBreak to set.
       * @return This builder for chaining.
       */
      public Builder setEndureBreak(int value) {
        
        endureBreak_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 endureBreak = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndureBreak() {
        
        endureBreak_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.VectorOuterClass.Vector resolvedDir_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> resolvedDirBuilder_;
      /**
       * <code>.Vector resolvedDir = 11;</code>
       * @return Whether the resolvedDir field is set.
       */
      public boolean hasResolvedDir() {
        return resolvedDirBuilder_ != null || resolvedDir_ != null;
      }
      /**
       * <code>.Vector resolvedDir = 11;</code>
       * @return The resolvedDir.
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getResolvedDir() {
        if (resolvedDirBuilder_ == null) {
          return resolvedDir_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : resolvedDir_;
        } else {
          return resolvedDirBuilder_.getMessage();
        }
      }
      /**
       * <code>.Vector resolvedDir = 11;</code>
       */
      public Builder setResolvedDir(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (resolvedDirBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          resolvedDir_ = value;
          onChanged();
        } else {
          resolvedDirBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.Vector resolvedDir = 11;</code>
       */
      public Builder setResolvedDir(
          emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
        if (resolvedDirBuilder_ == null) {
          resolvedDir_ = builderForValue.build();
          onChanged();
        } else {
          resolvedDirBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.Vector resolvedDir = 11;</code>
       */
      public Builder mergeResolvedDir(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (resolvedDirBuilder_ == null) {
          if (resolvedDir_ != null) {
            resolvedDir_ =
              emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(resolvedDir_).mergeFrom(value).buildPartial();
          } else {
            resolvedDir_ = value;
          }
          onChanged();
        } else {
          resolvedDirBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.Vector resolvedDir = 11;</code>
       */
      public Builder clearResolvedDir() {
        if (resolvedDirBuilder_ == null) {
          resolvedDir_ = null;
          onChanged();
        } else {
          resolvedDir_ = null;
          resolvedDirBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector resolvedDir = 11;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getResolvedDirBuilder() {
        
        onChanged();
        return getResolvedDirFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector resolvedDir = 11;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getResolvedDirOrBuilder() {
        if (resolvedDirBuilder_ != null) {
          return resolvedDirBuilder_.getMessageOrBuilder();
        } else {
          return resolvedDir_ == null ?
              emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : resolvedDir_;
        }
      }
      /**
       * <code>.Vector resolvedDir = 11;</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> 
          getResolvedDirFieldBuilder() {
        if (resolvedDirBuilder_ == null) {
          resolvedDirBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                  getResolvedDir(),
                  getParentForChildren(),
                  isClean());
          resolvedDir_ = null;
        }
        return resolvedDirBuilder_;
      }

      private int hitRetreatAngleCompat_ ;
      /**
       * <code>int32 hitRetreatAngleCompat = 12;</code>
       * @return The hitRetreatAngleCompat.
       */
      @java.lang.Override
      public int getHitRetreatAngleCompat() {
        return hitRetreatAngleCompat_;
      }
      /**
       * <code>int32 hitRetreatAngleCompat = 12;</code>
       * @param value The hitRetreatAngleCompat to set.
       * @return This builder for chaining.
       */
      public Builder setHitRetreatAngleCompat(int value) {
        
        hitRetreatAngleCompat_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 hitRetreatAngleCompat = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearHitRetreatAngleCompat() {
        
        hitRetreatAngleCompat_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult hitEffResult_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder> hitEffResultBuilder_;
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       * @return Whether the hitEffResult field is set.
       */
      public boolean hasHitEffResult() {
        return hitEffResultBuilder_ != null || hitEffResult_ != null;
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       * @return The hitEffResult.
       */
      public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult getHitEffResult() {
        if (hitEffResultBuilder_ == null) {
          return hitEffResult_ == null ? emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.getDefaultInstance() : hitEffResult_;
        } else {
          return hitEffResultBuilder_.getMessage();
        }
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       */
      public Builder setHitEffResult(emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult value) {
        if (hitEffResultBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          hitEffResult_ = value;
          onChanged();
        } else {
          hitEffResultBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       */
      public Builder setHitEffResult(
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder builderForValue) {
        if (hitEffResultBuilder_ == null) {
          hitEffResult_ = builderForValue.build();
          onChanged();
        } else {
          hitEffResultBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       */
      public Builder mergeHitEffResult(emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult value) {
        if (hitEffResultBuilder_ == null) {
          if (hitEffResult_ != null) {
            hitEffResult_ =
              emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.newBuilder(hitEffResult_).mergeFrom(value).buildPartial();
          } else {
            hitEffResult_ = value;
          }
          onChanged();
        } else {
          hitEffResultBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       */
      public Builder clearHitEffResult() {
        if (hitEffResultBuilder_ == null) {
          hitEffResult_ = null;
          onChanged();
        } else {
          hitEffResult_ = null;
          hitEffResultBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       */
      public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder getHitEffResultBuilder() {
        
        onChanged();
        return getHitEffResultFieldBuilder().getBuilder();
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       */
      public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder getHitEffResultOrBuilder() {
        if (hitEffResultBuilder_ != null) {
          return hitEffResultBuilder_.getMessageOrBuilder();
        } else {
          return hitEffResult_ == null ?
              emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.getDefaultInstance() : hitEffResult_;
        }
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 13;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder> 
          getHitEffResultFieldBuilder() {
        if (hitEffResultBuilder_ == null) {
          hitEffResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder>(
                  getHitEffResult(),
                  getParentForChildren(),
                  isClean());
          hitEffResult_ = null;
        }
        return hitEffResultBuilder_;
      }

      private int elementType_ ;
      /**
       * <code>uint32 elementType = 14;</code>
       * @return The elementType.
       */
      @java.lang.Override
      public int getElementType() {
        return elementType_;
      }
      /**
       * <code>uint32 elementType = 14;</code>
       * @param value The elementType to set.
       * @return This builder for chaining.
       */
      public Builder setElementType(int value) {
        
        elementType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 elementType = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearElementType() {
        
        elementType_ = 0;
        onChanged();
        return this;
      }

      private boolean useGadgetDamageAction_ ;
      /**
       * <code>bool useGadgetDamageAction = 19;</code>
       * @return The useGadgetDamageAction.
       */
      @java.lang.Override
      public boolean getUseGadgetDamageAction() {
        return useGadgetDamageAction_;
      }
      /**
       * <code>bool useGadgetDamageAction = 19;</code>
       * @param value The useGadgetDamageAction to set.
       * @return This builder for chaining.
       */
      public Builder setUseGadgetDamageAction(boolean value) {
        
        useGadgetDamageAction_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool useGadgetDamageAction = 19;</code>
       * @return This builder for chaining.
       */
      public Builder clearUseGadgetDamageAction() {
        
        useGadgetDamageAction_ = false;
        onChanged();
        return this;
      }

      private int gadgetDamageActionIdx_ ;
      /**
       * <code>uint32 gadgetDamageActionIdx = 20;</code>
       * @return The gadgetDamageActionIdx.
       */
      @java.lang.Override
      public int getGadgetDamageActionIdx() {
        return gadgetDamageActionIdx_;
      }
      /**
       * <code>uint32 gadgetDamageActionIdx = 20;</code>
       * @param value The gadgetDamageActionIdx to set.
       * @return This builder for chaining.
       */
      public Builder setGadgetDamageActionIdx(int value) {
        
        gadgetDamageActionIdx_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gadgetDamageActionIdx = 20;</code>
       * @return This builder for chaining.
       */
      public Builder clearGadgetDamageActionIdx() {
        
        gadgetDamageActionIdx_ = 0;
        onChanged();
        return this;
      }

      private boolean isResistText_ ;
      /**
       * <code>bool isResistText = 22;</code>
       * @return The isResistText.
       */
      @java.lang.Override
      public boolean getIsResistText() {
        return isResistText_;
      }
      /**
       * <code>bool isResistText = 22;</code>
       * @param value The isResistText to set.
       * @return This builder for chaining.
       */
      public Builder setIsResistText(boolean value) {
        
        isResistText_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isResistText = 22;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsResistText() {
        
        isResistText_ = false;
        onChanged();
        return this;
      }

      private int criticalRand_ ;
      /**
       * <code>uint32 criticalRand = 23;</code>
       * @return The criticalRand.
       */
      @java.lang.Override
      public int getCriticalRand() {
        return criticalRand_;
      }
      /**
       * <code>uint32 criticalRand = 23;</code>
       * @param value The criticalRand to set.
       * @return This builder for chaining.
       */
      public Builder setCriticalRand(int value) {
        
        criticalRand_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 criticalRand = 23;</code>
       * @return This builder for chaining.
       */
      public Builder clearCriticalRand() {
        
        criticalRand_ = 0;
        onChanged();
        return this;
      }

      private float elementAmplifyRate_ ;
      /**
       * <code>float elementAmplifyRate = 24;</code>
       * @return The elementAmplifyRate.
       */
      @java.lang.Override
      public float getElementAmplifyRate() {
        return elementAmplifyRate_;
      }
      /**
       * <code>float elementAmplifyRate = 24;</code>
       * @param value The elementAmplifyRate to set.
       * @return This builder for chaining.
       */
      public Builder setElementAmplifyRate(float value) {
        
        elementAmplifyRate_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float elementAmplifyRate = 24;</code>
       * @return This builder for chaining.
       */
      public Builder clearElementAmplifyRate() {
        
        elementAmplifyRate_ = 0F;
        onChanged();
        return this;
      }

      private float damageShield_ ;
      /**
       * <code>float damageShield = 26;</code>
       * @return The damageShield.
       */
      @java.lang.Override
      public float getDamageShield() {
        return damageShield_;
      }
      /**
       * <code>float damageShield = 26;</code>
       * @param value The damageShield to set.
       * @return This builder for chaining.
       */
      public Builder setDamageShield(float value) {
        
        damageShield_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float damageShield = 26;</code>
       * @return This builder for chaining.
       */
      public Builder clearDamageShield() {
        
        damageShield_ = 0F;
        onChanged();
        return this;
      }

      private boolean muteElementHurt_ ;
      /**
       * <code>bool muteElementHurt = 27;</code>
       * @return The muteElementHurt.
       */
      @java.lang.Override
      public boolean getMuteElementHurt() {
        return muteElementHurt_;
      }
      /**
       * <code>bool muteElementHurt = 27;</code>
       * @param value The muteElementHurt to set.
       * @return This builder for chaining.
       */
      public Builder setMuteElementHurt(boolean value) {
        
        muteElementHurt_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool muteElementHurt = 27;</code>
       * @return This builder for chaining.
       */
      public Builder clearMuteElementHurt() {
        
        muteElementHurt_ = false;
        onChanged();
        return this;
      }

      private int amplifyReactionType_ ;
      /**
       * <code>uint32 amplifyReactionType = 30;</code>
       * @return The amplifyReactionType.
       */
      @java.lang.Override
      public int getAmplifyReactionType() {
        return amplifyReactionType_;
      }
      /**
       * <code>uint32 amplifyReactionType = 30;</code>
       * @param value The amplifyReactionType to set.
       * @return This builder for chaining.
       */
      public Builder setAmplifyReactionType(int value) {
        
        amplifyReactionType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 amplifyReactionType = 30;</code>
       * @return This builder for chaining.
       */
      public Builder clearAmplifyReactionType() {
        
        amplifyReactionType_ = 0;
        onChanged();
        return this;
      }

      private int addhurtReactionType_ ;
      /**
       * <code>uint32 addhurtReactionType = 31;</code>
       * @return The addhurtReactionType.
       */
      @java.lang.Override
      public int getAddhurtReactionType() {
        return addhurtReactionType_;
      }
      /**
       * <code>uint32 addhurtReactionType = 31;</code>
       * @param value The addhurtReactionType to set.
       * @return This builder for chaining.
       */
      public Builder setAddhurtReactionType(int value) {
        
        addhurtReactionType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 addhurtReactionType = 31;</code>
       * @return This builder for chaining.
       */
      public Builder clearAddhurtReactionType() {
        
        addhurtReactionType_ = 0;
        onChanged();
        return this;
      }

      private int bulletFlyTimeMs_ ;
      /**
       * <code>uint32 bulletFlyTimeMs = 32;</code>
       * @return The bulletFlyTimeMs.
       */
      @java.lang.Override
      public int getBulletFlyTimeMs() {
        return bulletFlyTimeMs_;
      }
      /**
       * <code>uint32 bulletFlyTimeMs = 32;</code>
       * @param value The bulletFlyTimeMs to set.
       * @return This builder for chaining.
       */
      public Builder setBulletFlyTimeMs(int value) {
        
        bulletFlyTimeMs_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 bulletFlyTimeMs = 32;</code>
       * @return This builder for chaining.
       */
      public Builder clearBulletFlyTimeMs() {
        
        bulletFlyTimeMs_ = 0;
        onChanged();
        return this;
      }

      private int attackCount_ ;
      /**
       * <code>uint32 attackCount = 33;</code>
       * @return The attackCount.
       */
      @java.lang.Override
      public int getAttackCount() {
        return attackCount_;
      }
      /**
       * <code>uint32 attackCount = 33;</code>
       * @param value The attackCount to set.
       * @return This builder for chaining.
       */
      public Builder setAttackCount(int value) {
        
        attackCount_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 attackCount = 33;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackCount() {
        
        attackCount_ = 0;
        onChanged();
        return this;
      }

      private int hashedAnimEventId_ ;
      /**
       * <code>uint32 hashedAnimEventId = 34;</code>
       * @return The hashedAnimEventId.
       */
      @java.lang.Override
      public int getHashedAnimEventId() {
        return hashedAnimEventId_;
      }
      /**
       * <code>uint32 hashedAnimEventId = 34;</code>
       * @param value The hashedAnimEventId to set.
       * @return This builder for chaining.
       */
      public Builder setHashedAnimEventId(int value) {
        
        hashedAnimEventId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 hashedAnimEventId = 34;</code>
       * @return This builder for chaining.
       */
      public Builder clearHashedAnimEventId() {
        
        hashedAnimEventId_ = 0;
        onChanged();
        return this;
      }

      private int attackTimestampMs_ ;
      /**
       * <code>uint32 attackTimestampMs = 36;</code>
       * @return The attackTimestampMs.
       */
      @java.lang.Override
      public int getAttackTimestampMs() {
        return attackTimestampMs_;
      }
      /**
       * <code>uint32 attackTimestampMs = 36;</code>
       * @param value The attackTimestampMs to set.
       * @return This builder for chaining.
       */
      public Builder setAttackTimestampMs(int value) {
        
        attackTimestampMs_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 attackTimestampMs = 36;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackTimestampMs() {
        
        attackTimestampMs_ = 0;
        onChanged();
        return this;
      }

      private float endureDelta_ ;
      /**
       * <code>float endureDelta = 37;</code>
       * @return The endureDelta.
       */
      @java.lang.Override
      public float getEndureDelta() {
        return endureDelta_;
      }
      /**
       * <code>float endureDelta = 37;</code>
       * @param value The endureDelta to set.
       * @return This builder for chaining.
       */
      public Builder setEndureDelta(float value) {
        
        endureDelta_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float endureDelta = 37;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndureDelta() {
        
        endureDelta_ = 0F;
        onChanged();
        return this;
      }

      private int targetType_ ;
      /**
       * <code>uint32 targetType = 38;</code>
       * @return The targetType.
       */
      @java.lang.Override
      public int getTargetType() {
        return targetType_;
      }
      /**
       * <code>uint32 targetType = 38;</code>
       * @param value The targetType to set.
       * @return This builder for chaining.
       */
      public Builder setTargetType(int value) {
        
        targetType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 targetType = 38;</code>
       * @return This builder for chaining.
       */
      public Builder clearTargetType() {
        
        targetType_ = 0;
        onChanged();
        return this;
      }

      private float elementDurabilityAttenuation_ ;
      /**
       * <code>float elementDurabilityAttenuation = 39;</code>
       * @return The elementDurabilityAttenuation.
       */
      @java.lang.Override
      public float getElementDurabilityAttenuation() {
        return elementDurabilityAttenuation_;
      }
      /**
       * <code>float elementDurabilityAttenuation = 39;</code>
       * @param value The elementDurabilityAttenuation to set.
       * @return This builder for chaining.
       */
      public Builder setElementDurabilityAttenuation(float value) {
        
        elementDurabilityAttenuation_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float elementDurabilityAttenuation = 39;</code>
       * @return This builder for chaining.
       */
      public Builder clearElementDurabilityAttenuation() {
        
        elementDurabilityAttenuation_ = 0F;
        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:AttackResult)
    }

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

    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AttackResult_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AttackResult_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\022AttackResult.proto\032\027AbilityIdentifier." +
      "proto\032\033AttackHitEffectResult.proto\032\022HitC" +
      "ollision.proto\032\014Vector.proto\"\211\006\n\014AttackR" +
      "esult\022\022\n\nattackerId\030\001 \001(\r\022\021\n\tdefenseId\030\002" +
      " \001(\r\022\023\n\013animEventId\030\003 \001(\t\022-\n\021abilityIden" +
      "tifier\030\004 \001(\0132\022.AbilityIdentifier\022\016\n\006dama" +
      "ge\030\006 \001(\002\022\016\n\006isCrit\030\007 \001(\010\022#\n\014hitCollision" +
      "\030\010 \001(\0132\r.HitCollision\022\022\n\nhitPosType\030\t \001(" +
      "\r\022\023\n\013endureBreak\030\n \001(\r\022\034\n\013resolvedDir\030\013 " +
      "\001(\0132\007.Vector\022\035\n\025hitRetreatAngleCompat\030\014 " +
      "\001(\005\022,\n\014hitEffResult\030\r \001(\0132\026.AttackHitEff" +
      "ectResult\022\023\n\013elementType\030\016 \001(\r\022\035\n\025useGad" +
      "getDamageAction\030\023 \001(\010\022\035\n\025gadgetDamageAct" +
      "ionIdx\030\024 \001(\r\022\024\n\014isResistText\030\026 \001(\010\022\024\n\014cr" +
      "iticalRand\030\027 \001(\r\022\032\n\022elementAmplifyRate\030\030" +
      " \001(\002\022\024\n\014damageShield\030\032 \001(\002\022\027\n\017muteElemen" +
      "tHurt\030\033 \001(\010\022\033\n\023amplifyReactionType\030\036 \001(\r" +
      "\022\033\n\023addhurtReactionType\030\037 \001(\r\022\027\n\017bulletF" +
      "lyTimeMs\030  \001(\r\022\023\n\013attackCount\030! \001(\r\022\031\n\021h" +
      "ashedAnimEventId\030\" \001(\r\022\031\n\021attackTimestam" +
      "pMs\030$ \001(\r\022\023\n\013endureDelta\030% \001(\002\022\022\n\ntarget" +
      "Type\030& \001(\r\022$\n\034elementDurabilityAttenuati" +
      "on\030\' \001(\002B\033\n\031emu.grasscutter.net.protob\006p" +
      "roto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.AbilityIdentifierOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.HitCollisionOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
        });
    internal_static_AttackResult_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_AttackResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AttackResult_descriptor,
        new java.lang.String[] { "AttackerId", "DefenseId", "AnimEventId", "AbilityIdentifier", "Damage", "IsCrit", "HitCollision", "HitPosType", "EndureBreak", "ResolvedDir", "HitRetreatAngleCompat", "HitEffResult", "ElementType", "UseGadgetDamageAction", "GadgetDamageActionIdx", "IsResistText", "CriticalRand", "ElementAmplifyRate", "DamageShield", "MuteElementHurt", "AmplifyReactionType", "AddhurtReactionType", "BulletFlyTimeMs", "AttackCount", "HashedAnimEventId", "AttackTimestampMs", "EndureDelta", "TargetType", "ElementDurabilityAttenuation", });
    emu.grasscutter.net.proto.AbilityIdentifierOuterClass.getDescriptor();
    emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.getDescriptor();
    emu.grasscutter.net.proto.HitCollisionOuterClass.getDescriptor();
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
