// 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 endureBreak = 6;</code>
     * @return The endureBreak.
     */
    int getEndureBreak();

    /**
     * <code>uint32 Unk3300_BALCPHMFIBC = 1940;</code>
     * @return The unk3300BALCPHMFIBC.
     */
    int getUnk3300BALCPHMFIBC();

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

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

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

    /**
     * <code>float elementDurabilityAttenuation = 1333;</code>
     * @return The elementDurabilityAttenuation.
     */
    float getElementDurabilityAttenuation();

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

    /**
     * <code>bool Unk3300_DOMAOPGPHMD = 1698;</code>
     * @return The unk3300DOMAOPGPHMD.
     */
    boolean getUnk3300DOMAOPGPHMD();

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

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

    /**
     * <code>bool Unk3300_MGIMJGMIPLD = 531;</code>
     * @return The unk3300MGIMJGMIPLD.
     */
    boolean getUnk3300MGIMJGMIPLD();

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

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

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

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

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

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

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

    /**
     * <code>uint32 Unk3300_JMJHGJCAOBH = 55;</code>
     * @return The unk3300JMJHGJCAOBH.
     */
    int getUnk3300JMJHGJCAOBH();

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

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

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

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

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

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

    /**
     * <code>uint32 Unk3300_KPKAECBFABP = 1569;</code>
     * @return The unk3300KPKAECBFABP.
     */
    int getUnk3300KPKAECBFABP();

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

    /**
     * <code>uint32 Unk3300_GBPJCELJKJA = 701;</code>
     * @return The unk3300GBPJCELJKJA.
     */
    int getUnk3300GBPJCELJKJA();

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

    /**
     * <code>uint32 Unk3300_ABJJNNNKGBB = 888;</code>
     * @return The unk3300ABJJNNNKGBB.
     */
    int getUnk3300ABJJNNNKGBB();
  }
  /**
   * 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: {

              elementType_ = input.readUInt32();
              break;
            }
            case 18: {
              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 32: {

              attackerId_ = input.readUInt32();
              break;
            }
            case 42: {
              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 48: {

              endureBreak_ = input.readUInt32();
              break;
            }
            case 56: {

              hitPosType_ = input.readUInt32();
              break;
            }
            case 66: {
              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 72: {

              isCrit_ = input.readBool();
              break;
            }
            case 90: {
              java.lang.String s = input.readStringRequireUtf8();

              animEventId_ = s;
              break;
            }
            case 101: {

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

              defenseId_ = input.readUInt32();
              break;
            }
            case 114: {
              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 120: {

              hitRetreatAngleCompat_ = input.readInt32();
              break;
            }
            case 440: {

              unk3300JMJHGJCAOBH_ = input.readUInt32();
              break;
            }
            case 1589: {

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

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

              unk3300MGIMJGMIPLD_ = input.readBool();
              break;
            }
            case 4440: {

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

              unk3300GBPJCELJKJA_ = input.readUInt32();
              break;
            }
            case 7104: {

              unk3300ABJJNNNKGBB_ = input.readUInt32();
              break;
            }
            case 9357: {

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

              elementDurabilityAttenuation_ = input.readFloat();
              break;
            }
            case 12552: {

              unk3300KPKAECBFABP_ = input.readUInt32();
              break;
            }
            case 12608: {

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

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

              unk3300DOMAOPGPHMD_ = input.readBool();
              break;
            }
            case 14632: {

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

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

              unk3300BALCPHMFIBC_ = input.readUInt32();
              break;
            }
            case 16072: {

              hashedAnimEventId_ = input.readUInt32();
              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 ENDUREBREAK_FIELD_NUMBER = 6;
    private int endureBreak_;
    /**
     * <code>uint32 endureBreak = 6;</code>
     * @return The endureBreak.
     */
    @java.lang.Override
    public int getEndureBreak() {
      return endureBreak_;
    }

    public static final int UNK3300_BALCPHMFIBC_FIELD_NUMBER = 1940;
    private int unk3300BALCPHMFIBC_;
    /**
     * <code>uint32 Unk3300_BALCPHMFIBC = 1940;</code>
     * @return The unk3300BALCPHMFIBC.
     */
    @java.lang.Override
    public int getUnk3300BALCPHMFIBC() {
      return unk3300BALCPHMFIBC_;
    }

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

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

    public static final int HITEFFRESULT_FIELD_NUMBER = 5;
    private emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult hitEffResult_;
    /**
     * <code>.AttackHitEffectResult hitEffResult = 5;</code>
     * @return Whether the hitEffResult field is set.
     */
    @java.lang.Override
    public boolean hasHitEffResult() {
      return hitEffResult_ != null;
    }
    /**
     * <code>.AttackHitEffectResult hitEffResult = 5;</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 = 5;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder getHitEffResultOrBuilder() {
      return getHitEffResult();
    }

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

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

    public static final int UNK3300_DOMAOPGPHMD_FIELD_NUMBER = 1698;
    private boolean unk3300DOMAOPGPHMD_;
    /**
     * <code>bool Unk3300_DOMAOPGPHMD = 1698;</code>
     * @return The unk3300DOMAOPGPHMD.
     */
    @java.lang.Override
    public boolean getUnk3300DOMAOPGPHMD() {
      return unk3300DOMAOPGPHMD_;
    }

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

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

    public static final int UNK3300_MGIMJGMIPLD_FIELD_NUMBER = 531;
    private boolean unk3300MGIMJGMIPLD_;
    /**
     * <code>bool Unk3300_MGIMJGMIPLD = 531;</code>
     * @return The unk3300MGIMJGMIPLD.
     */
    @java.lang.Override
    public boolean getUnk3300MGIMJGMIPLD() {
      return unk3300MGIMJGMIPLD_;
    }

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

    public static final int ABILITYIDENTIFIER_FIELD_NUMBER = 2;
    private emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier abilityIdentifier_;
    /**
     * <code>.AbilityIdentifier abilityIdentifier = 2;</code>
     * @return Whether the abilityIdentifier field is set.
     */
    @java.lang.Override
    public boolean hasAbilityIdentifier() {
      return abilityIdentifier_ != null;
    }
    /**
     * <code>.AbilityIdentifier abilityIdentifier = 2;</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 = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifierOrBuilder getAbilityIdentifierOrBuilder() {
      return getAbilityIdentifier();
    }

    public static final int HITCOLLISION_FIELD_NUMBER = 14;
    private emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision hitCollision_;
    /**
     * <code>.HitCollision hitCollision = 14;</code>
     * @return Whether the hitCollision field is set.
     */
    @java.lang.Override
    public boolean hasHitCollision() {
      return hitCollision_ != null;
    }
    /**
     * <code>.HitCollision hitCollision = 14;</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 = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder getHitCollisionOrBuilder() {
      return getHitCollision();
    }

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

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

    public static final int ANIMEVENTID_FIELD_NUMBER = 11;
    private volatile java.lang.Object animEventId_;
    /**
     * <code>string animEventId = 11;</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 = 11;</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 HITRETREATANGLECOMPAT_FIELD_NUMBER = 15;
    private int hitRetreatAngleCompat_;
    /**
     * <code>int32 hitRetreatAngleCompat = 15;</code>
     * @return The hitRetreatAngleCompat.
     */
    @java.lang.Override
    public int getHitRetreatAngleCompat() {
      return hitRetreatAngleCompat_;
    }

    public static final int UNK3300_JMJHGJCAOBH_FIELD_NUMBER = 55;
    private int unk3300JMJHGJCAOBH_;
    /**
     * <code>uint32 Unk3300_JMJHGJCAOBH = 55;</code>
     * @return The unk3300JMJHGJCAOBH.
     */
    @java.lang.Override
    public int getUnk3300JMJHGJCAOBH() {
      return unk3300JMJHGJCAOBH_;
    }

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

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

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

    public static final int RESOLVEDDIR_FIELD_NUMBER = 8;
    private emu.grasscutter.net.proto.VectorOuterClass.Vector resolvedDir_;
    /**
     * <code>.Vector resolvedDir = 8;</code>
     * @return Whether the resolvedDir field is set.
     */
    @java.lang.Override
    public boolean hasResolvedDir() {
      return resolvedDir_ != null;
    }
    /**
     * <code>.Vector resolvedDir = 8;</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 = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getResolvedDirOrBuilder() {
      return getResolvedDir();
    }

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

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

    public static final int UNK3300_KPKAECBFABP_FIELD_NUMBER = 1569;
    private int unk3300KPKAECBFABP_;
    /**
     * <code>uint32 Unk3300_KPKAECBFABP = 1569;</code>
     * @return The unk3300KPKAECBFABP.
     */
    @java.lang.Override
    public int getUnk3300KPKAECBFABP() {
      return unk3300KPKAECBFABP_;
    }

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

    public static final int UNK3300_GBPJCELJKJA_FIELD_NUMBER = 701;
    private int unk3300GBPJCELJKJA_;
    /**
     * <code>uint32 Unk3300_GBPJCELJKJA = 701;</code>
     * @return The unk3300GBPJCELJKJA.
     */
    @java.lang.Override
    public int getUnk3300GBPJCELJKJA() {
      return unk3300GBPJCELJKJA_;
    }

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

    public static final int UNK3300_ABJJNNNKGBB_FIELD_NUMBER = 888;
    private int unk3300ABJJNNNKGBB_;
    /**
     * <code>uint32 Unk3300_ABJJNNNKGBB = 888;</code>
     * @return The unk3300ABJJNNNKGBB.
     */
    @java.lang.Override
    public int getUnk3300ABJJNNNKGBB() {
      return unk3300ABJJNNNKGBB_;
    }

    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 (elementType_ != 0) {
        output.writeUInt32(1, elementType_);
      }
      if (abilityIdentifier_ != null) {
        output.writeMessage(2, getAbilityIdentifier());
      }
      if (attackerId_ != 0) {
        output.writeUInt32(4, attackerId_);
      }
      if (hitEffResult_ != null) {
        output.writeMessage(5, getHitEffResult());
      }
      if (endureBreak_ != 0) {
        output.writeUInt32(6, endureBreak_);
      }
      if (hitPosType_ != 0) {
        output.writeUInt32(7, hitPosType_);
      }
      if (resolvedDir_ != null) {
        output.writeMessage(8, getResolvedDir());
      }
      if (isCrit_ != false) {
        output.writeBool(9, isCrit_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(animEventId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, animEventId_);
      }
      if (damage_ != 0F) {
        output.writeFloat(12, damage_);
      }
      if (defenseId_ != 0) {
        output.writeUInt32(13, defenseId_);
      }
      if (hitCollision_ != null) {
        output.writeMessage(14, getHitCollision());
      }
      if (hitRetreatAngleCompat_ != 0) {
        output.writeInt32(15, hitRetreatAngleCompat_);
      }
      if (unk3300JMJHGJCAOBH_ != 0) {
        output.writeUInt32(55, unk3300JMJHGJCAOBH_);
      }
      if (damageShield_ != 0F) {
        output.writeFloat(198, damageShield_);
      }
      if (targetType_ != 0) {
        output.writeUInt32(346, targetType_);
      }
      if (unk3300MGIMJGMIPLD_ != false) {
        output.writeBool(531, unk3300MGIMJGMIPLD_);
      }
      if (isResistText_ != false) {
        output.writeBool(555, isResistText_);
      }
      if (unk3300GBPJCELJKJA_ != 0) {
        output.writeUInt32(701, unk3300GBPJCELJKJA_);
      }
      if (unk3300ABJJNNNKGBB_ != 0) {
        output.writeUInt32(888, unk3300ABJJNNNKGBB_);
      }
      if (endureDelta_ != 0F) {
        output.writeFloat(1169, endureDelta_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        output.writeFloat(1333, elementDurabilityAttenuation_);
      }
      if (unk3300KPKAECBFABP_ != 0) {
        output.writeUInt32(1569, unk3300KPKAECBFABP_);
      }
      if (criticalRand_ != 0) {
        output.writeUInt32(1576, criticalRand_);
      }
      if (attackCount_ != 0) {
        output.writeUInt32(1593, attackCount_);
      }
      if (unk3300DOMAOPGPHMD_ != false) {
        output.writeBool(1698, unk3300DOMAOPGPHMD_);
      }
      if (attackTimestampMs_ != 0) {
        output.writeUInt32(1829, attackTimestampMs_);
      }
      if (elementAmplifyRate_ != 0F) {
        output.writeFloat(1858, elementAmplifyRate_);
      }
      if (unk3300BALCPHMFIBC_ != 0) {
        output.writeUInt32(1940, unk3300BALCPHMFIBC_);
      }
      if (hashedAnimEventId_ != 0) {
        output.writeUInt32(2009, hashedAnimEventId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (elementType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, elementType_);
      }
      if (abilityIdentifier_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getAbilityIdentifier());
      }
      if (attackerId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, attackerId_);
      }
      if (hitEffResult_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, getHitEffResult());
      }
      if (endureBreak_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, endureBreak_);
      }
      if (hitPosType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, hitPosType_);
      }
      if (resolvedDir_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, getResolvedDir());
      }
      if (isCrit_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(9, isCrit_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(animEventId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, animEventId_);
      }
      if (damage_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(12, damage_);
      }
      if (defenseId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, defenseId_);
      }
      if (hitCollision_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, getHitCollision());
      }
      if (hitRetreatAngleCompat_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(15, hitRetreatAngleCompat_);
      }
      if (unk3300JMJHGJCAOBH_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(55, unk3300JMJHGJCAOBH_);
      }
      if (damageShield_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(198, damageShield_);
      }
      if (targetType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(346, targetType_);
      }
      if (unk3300MGIMJGMIPLD_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(531, unk3300MGIMJGMIPLD_);
      }
      if (isResistText_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(555, isResistText_);
      }
      if (unk3300GBPJCELJKJA_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(701, unk3300GBPJCELJKJA_);
      }
      if (unk3300ABJJNNNKGBB_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(888, unk3300ABJJNNNKGBB_);
      }
      if (endureDelta_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(1169, endureDelta_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(1333, elementDurabilityAttenuation_);
      }
      if (unk3300KPKAECBFABP_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1569, unk3300KPKAECBFABP_);
      }
      if (criticalRand_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1576, criticalRand_);
      }
      if (attackCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1593, attackCount_);
      }
      if (unk3300DOMAOPGPHMD_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1698, unk3300DOMAOPGPHMD_);
      }
      if (attackTimestampMs_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1829, attackTimestampMs_);
      }
      if (elementAmplifyRate_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(1858, elementAmplifyRate_);
      }
      if (unk3300BALCPHMFIBC_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1940, unk3300BALCPHMFIBC_);
      }
      if (hashedAnimEventId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2009, hashedAnimEventId_);
      }
      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 (getEndureBreak()
          != other.getEndureBreak()) return false;
      if (getUnk3300BALCPHMFIBC()
          != other.getUnk3300BALCPHMFIBC()) return false;
      if (java.lang.Float.floatToIntBits(getDamage())
          != java.lang.Float.floatToIntBits(
              other.getDamage())) return false;
      if (getIsCrit()
          != other.getIsCrit()) return false;
      if (hasHitEffResult() != other.hasHitEffResult()) return false;
      if (hasHitEffResult()) {
        if (!getHitEffResult()
            .equals(other.getHitEffResult())) return false;
      }
      if (java.lang.Float.floatToIntBits(getElementDurabilityAttenuation())
          != java.lang.Float.floatToIntBits(
              other.getElementDurabilityAttenuation())) return false;
      if (java.lang.Float.floatToIntBits(getDamageShield())
          != java.lang.Float.floatToIntBits(
              other.getDamageShield())) return false;
      if (getUnk3300DOMAOPGPHMD()
          != other.getUnk3300DOMAOPGPHMD()) return false;
      if (getElementType()
          != other.getElementType()) return false;
      if (getTargetType()
          != other.getTargetType()) return false;
      if (getUnk3300MGIMJGMIPLD()
          != other.getUnk3300MGIMJGMIPLD()) return false;
      if (getCriticalRand()
          != other.getCriticalRand()) return false;
      if (hasAbilityIdentifier() != other.hasAbilityIdentifier()) return false;
      if (hasAbilityIdentifier()) {
        if (!getAbilityIdentifier()
            .equals(other.getAbilityIdentifier())) return false;
      }
      if (hasHitCollision() != other.hasHitCollision()) return false;
      if (hasHitCollision()) {
        if (!getHitCollision()
            .equals(other.getHitCollision())) return false;
      }
      if (getAttackTimestampMs()
          != other.getAttackTimestampMs()) return false;
      if (getAttackerId()
          != other.getAttackerId()) return false;
      if (!getAnimEventId()
          .equals(other.getAnimEventId())) return false;
      if (getHitRetreatAngleCompat()
          != other.getHitRetreatAngleCompat()) return false;
      if (getUnk3300JMJHGJCAOBH()
          != other.getUnk3300JMJHGJCAOBH()) return false;
      if (getDefenseId()
          != other.getDefenseId()) return false;
      if (getIsResistText()
          != other.getIsResistText()) return false;
      if (getAttackCount()
          != other.getAttackCount()) return false;
      if (hasResolvedDir() != other.hasResolvedDir()) return false;
      if (hasResolvedDir()) {
        if (!getResolvedDir()
            .equals(other.getResolvedDir())) return false;
      }
      if (getHitPosType()
          != other.getHitPosType()) return false;
      if (getHashedAnimEventId()
          != other.getHashedAnimEventId()) return false;
      if (getUnk3300KPKAECBFABP()
          != other.getUnk3300KPKAECBFABP()) return false;
      if (java.lang.Float.floatToIntBits(getEndureDelta())
          != java.lang.Float.floatToIntBits(
              other.getEndureDelta())) return false;
      if (getUnk3300GBPJCELJKJA()
          != other.getUnk3300GBPJCELJKJA()) return false;
      if (java.lang.Float.floatToIntBits(getElementAmplifyRate())
          != java.lang.Float.floatToIntBits(
              other.getElementAmplifyRate())) return false;
      if (getUnk3300ABJJNNNKGBB()
          != other.getUnk3300ABJJNNNKGBB()) 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) + ENDUREBREAK_FIELD_NUMBER;
      hash = (53 * hash) + getEndureBreak();
      hash = (37 * hash) + UNK3300_BALCPHMFIBC_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300BALCPHMFIBC();
      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 (hasHitEffResult()) {
        hash = (37 * hash) + HITEFFRESULT_FIELD_NUMBER;
        hash = (53 * hash) + getHitEffResult().hashCode();
      }
      hash = (37 * hash) + ELEMENTDURABILITYATTENUATION_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementDurabilityAttenuation());
      hash = (37 * hash) + DAMAGESHIELD_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getDamageShield());
      hash = (37 * hash) + UNK3300_DOMAOPGPHMD_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300DOMAOPGPHMD());
      hash = (37 * hash) + ELEMENTTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getElementType();
      hash = (37 * hash) + TARGETTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getTargetType();
      hash = (37 * hash) + UNK3300_MGIMJGMIPLD_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300MGIMJGMIPLD());
      hash = (37 * hash) + CRITICALRAND_FIELD_NUMBER;
      hash = (53 * hash) + getCriticalRand();
      if (hasAbilityIdentifier()) {
        hash = (37 * hash) + ABILITYIDENTIFIER_FIELD_NUMBER;
        hash = (53 * hash) + getAbilityIdentifier().hashCode();
      }
      if (hasHitCollision()) {
        hash = (37 * hash) + HITCOLLISION_FIELD_NUMBER;
        hash = (53 * hash) + getHitCollision().hashCode();
      }
      hash = (37 * hash) + ATTACKTIMESTAMPMS_FIELD_NUMBER;
      hash = (53 * hash) + getAttackTimestampMs();
      hash = (37 * hash) + ATTACKERID_FIELD_NUMBER;
      hash = (53 * hash) + getAttackerId();
      hash = (37 * hash) + ANIMEVENTID_FIELD_NUMBER;
      hash = (53 * hash) + getAnimEventId().hashCode();
      hash = (37 * hash) + HITRETREATANGLECOMPAT_FIELD_NUMBER;
      hash = (53 * hash) + getHitRetreatAngleCompat();
      hash = (37 * hash) + UNK3300_JMJHGJCAOBH_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300JMJHGJCAOBH();
      hash = (37 * hash) + DEFENSEID_FIELD_NUMBER;
      hash = (53 * hash) + getDefenseId();
      hash = (37 * hash) + ISRESISTTEXT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsResistText());
      hash = (37 * hash) + ATTACKCOUNT_FIELD_NUMBER;
      hash = (53 * hash) + getAttackCount();
      if (hasResolvedDir()) {
        hash = (37 * hash) + RESOLVEDDIR_FIELD_NUMBER;
        hash = (53 * hash) + getResolvedDir().hashCode();
      }
      hash = (37 * hash) + HITPOSTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getHitPosType();
      hash = (37 * hash) + HASHEDANIMEVENTID_FIELD_NUMBER;
      hash = (53 * hash) + getHashedAnimEventId();
      hash = (37 * hash) + UNK3300_KPKAECBFABP_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300KPKAECBFABP();
      hash = (37 * hash) + ENDUREDELTA_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getEndureDelta());
      hash = (37 * hash) + UNK3300_GBPJCELJKJA_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300GBPJCELJKJA();
      hash = (37 * hash) + ELEMENTAMPLIFYRATE_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementAmplifyRate());
      hash = (37 * hash) + UNK3300_ABJJNNNKGBB_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300ABJJNNNKGBB();
      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();
        endureBreak_ = 0;

        unk3300BALCPHMFIBC_ = 0;

        damage_ = 0F;

        isCrit_ = false;

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

        damageShield_ = 0F;

        unk3300DOMAOPGPHMD_ = false;

        elementType_ = 0;

        targetType_ = 0;

        unk3300MGIMJGMIPLD_ = false;

        criticalRand_ = 0;

        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifier_ = null;
        } else {
          abilityIdentifier_ = null;
          abilityIdentifierBuilder_ = null;
        }
        if (hitCollisionBuilder_ == null) {
          hitCollision_ = null;
        } else {
          hitCollision_ = null;
          hitCollisionBuilder_ = null;
        }
        attackTimestampMs_ = 0;

        attackerId_ = 0;

        animEventId_ = "";

        hitRetreatAngleCompat_ = 0;

        unk3300JMJHGJCAOBH_ = 0;

        defenseId_ = 0;

        isResistText_ = false;

        attackCount_ = 0;

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

        hashedAnimEventId_ = 0;

        unk3300KPKAECBFABP_ = 0;

        endureDelta_ = 0F;

        unk3300GBPJCELJKJA_ = 0;

        elementAmplifyRate_ = 0F;

        unk3300ABJJNNNKGBB_ = 0;

        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.endureBreak_ = endureBreak_;
        result.unk3300BALCPHMFIBC_ = unk3300BALCPHMFIBC_;
        result.damage_ = damage_;
        result.isCrit_ = isCrit_;
        if (hitEffResultBuilder_ == null) {
          result.hitEffResult_ = hitEffResult_;
        } else {
          result.hitEffResult_ = hitEffResultBuilder_.build();
        }
        result.elementDurabilityAttenuation_ = elementDurabilityAttenuation_;
        result.damageShield_ = damageShield_;
        result.unk3300DOMAOPGPHMD_ = unk3300DOMAOPGPHMD_;
        result.elementType_ = elementType_;
        result.targetType_ = targetType_;
        result.unk3300MGIMJGMIPLD_ = unk3300MGIMJGMIPLD_;
        result.criticalRand_ = criticalRand_;
        if (abilityIdentifierBuilder_ == null) {
          result.abilityIdentifier_ = abilityIdentifier_;
        } else {
          result.abilityIdentifier_ = abilityIdentifierBuilder_.build();
        }
        if (hitCollisionBuilder_ == null) {
          result.hitCollision_ = hitCollision_;
        } else {
          result.hitCollision_ = hitCollisionBuilder_.build();
        }
        result.attackTimestampMs_ = attackTimestampMs_;
        result.attackerId_ = attackerId_;
        result.animEventId_ = animEventId_;
        result.hitRetreatAngleCompat_ = hitRetreatAngleCompat_;
        result.unk3300JMJHGJCAOBH_ = unk3300JMJHGJCAOBH_;
        result.defenseId_ = defenseId_;
        result.isResistText_ = isResistText_;
        result.attackCount_ = attackCount_;
        if (resolvedDirBuilder_ == null) {
          result.resolvedDir_ = resolvedDir_;
        } else {
          result.resolvedDir_ = resolvedDirBuilder_.build();
        }
        result.hitPosType_ = hitPosType_;
        result.hashedAnimEventId_ = hashedAnimEventId_;
        result.unk3300KPKAECBFABP_ = unk3300KPKAECBFABP_;
        result.endureDelta_ = endureDelta_;
        result.unk3300GBPJCELJKJA_ = unk3300GBPJCELJKJA_;
        result.elementAmplifyRate_ = elementAmplifyRate_;
        result.unk3300ABJJNNNKGBB_ = unk3300ABJJNNNKGBB_;
        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.getEndureBreak() != 0) {
          setEndureBreak(other.getEndureBreak());
        }
        if (other.getUnk3300BALCPHMFIBC() != 0) {
          setUnk3300BALCPHMFIBC(other.getUnk3300BALCPHMFIBC());
        }
        if (other.getDamage() != 0F) {
          setDamage(other.getDamage());
        }
        if (other.getIsCrit() != false) {
          setIsCrit(other.getIsCrit());
        }
        if (other.hasHitEffResult()) {
          mergeHitEffResult(other.getHitEffResult());
        }
        if (other.getElementDurabilityAttenuation() != 0F) {
          setElementDurabilityAttenuation(other.getElementDurabilityAttenuation());
        }
        if (other.getDamageShield() != 0F) {
          setDamageShield(other.getDamageShield());
        }
        if (other.getUnk3300DOMAOPGPHMD() != false) {
          setUnk3300DOMAOPGPHMD(other.getUnk3300DOMAOPGPHMD());
        }
        if (other.getElementType() != 0) {
          setElementType(other.getElementType());
        }
        if (other.getTargetType() != 0) {
          setTargetType(other.getTargetType());
        }
        if (other.getUnk3300MGIMJGMIPLD() != false) {
          setUnk3300MGIMJGMIPLD(other.getUnk3300MGIMJGMIPLD());
        }
        if (other.getCriticalRand() != 0) {
          setCriticalRand(other.getCriticalRand());
        }
        if (other.hasAbilityIdentifier()) {
          mergeAbilityIdentifier(other.getAbilityIdentifier());
        }
        if (other.hasHitCollision()) {
          mergeHitCollision(other.getHitCollision());
        }
        if (other.getAttackTimestampMs() != 0) {
          setAttackTimestampMs(other.getAttackTimestampMs());
        }
        if (other.getAttackerId() != 0) {
          setAttackerId(other.getAttackerId());
        }
        if (!other.getAnimEventId().isEmpty()) {
          animEventId_ = other.animEventId_;
          onChanged();
        }
        if (other.getHitRetreatAngleCompat() != 0) {
          setHitRetreatAngleCompat(other.getHitRetreatAngleCompat());
        }
        if (other.getUnk3300JMJHGJCAOBH() != 0) {
          setUnk3300JMJHGJCAOBH(other.getUnk3300JMJHGJCAOBH());
        }
        if (other.getDefenseId() != 0) {
          setDefenseId(other.getDefenseId());
        }
        if (other.getIsResistText() != false) {
          setIsResistText(other.getIsResistText());
        }
        if (other.getAttackCount() != 0) {
          setAttackCount(other.getAttackCount());
        }
        if (other.hasResolvedDir()) {
          mergeResolvedDir(other.getResolvedDir());
        }
        if (other.getHitPosType() != 0) {
          setHitPosType(other.getHitPosType());
        }
        if (other.getHashedAnimEventId() != 0) {
          setHashedAnimEventId(other.getHashedAnimEventId());
        }
        if (other.getUnk3300KPKAECBFABP() != 0) {
          setUnk3300KPKAECBFABP(other.getUnk3300KPKAECBFABP());
        }
        if (other.getEndureDelta() != 0F) {
          setEndureDelta(other.getEndureDelta());
        }
        if (other.getUnk3300GBPJCELJKJA() != 0) {
          setUnk3300GBPJCELJKJA(other.getUnk3300GBPJCELJKJA());
        }
        if (other.getElementAmplifyRate() != 0F) {
          setElementAmplifyRate(other.getElementAmplifyRate());
        }
        if (other.getUnk3300ABJJNNNKGBB() != 0) {
          setUnk3300ABJJNNNKGBB(other.getUnk3300ABJJNNNKGBB());
        }
        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 endureBreak_ ;
      /**
       * <code>uint32 endureBreak = 6;</code>
       * @return The endureBreak.
       */
      @java.lang.Override
      public int getEndureBreak() {
        return endureBreak_;
      }
      /**
       * <code>uint32 endureBreak = 6;</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 = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndureBreak() {
        
        endureBreak_ = 0;
        onChanged();
        return this;
      }

      private int unk3300BALCPHMFIBC_ ;
      /**
       * <code>uint32 Unk3300_BALCPHMFIBC = 1940;</code>
       * @return The unk3300BALCPHMFIBC.
       */
      @java.lang.Override
      public int getUnk3300BALCPHMFIBC() {
        return unk3300BALCPHMFIBC_;
      }
      /**
       * <code>uint32 Unk3300_BALCPHMFIBC = 1940;</code>
       * @param value The unk3300BALCPHMFIBC to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300BALCPHMFIBC(int value) {
        
        unk3300BALCPHMFIBC_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_BALCPHMFIBC = 1940;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300BALCPHMFIBC() {
        
        unk3300BALCPHMFIBC_ = 0;
        onChanged();
        return this;
      }

      private float damage_ ;
      /**
       * <code>float damage = 12;</code>
       * @return The damage.
       */
      @java.lang.Override
      public float getDamage() {
        return damage_;
      }
      /**
       * <code>float damage = 12;</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 = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearDamage() {
        
        damage_ = 0F;
        onChanged();
        return this;
      }

      private boolean isCrit_ ;
      /**
       * <code>bool isCrit = 9;</code>
       * @return The isCrit.
       */
      @java.lang.Override
      public boolean getIsCrit() {
        return isCrit_;
      }
      /**
       * <code>bool isCrit = 9;</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 = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsCrit() {
        
        isCrit_ = false;
        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 = 5;</code>
       * @return Whether the hitEffResult field is set.
       */
      public boolean hasHitEffResult() {
        return hitEffResultBuilder_ != null || hitEffResult_ != null;
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 5;</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 = 5;</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 = 5;</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 = 5;</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 = 5;</code>
       */
      public Builder clearHitEffResult() {
        if (hitEffResultBuilder_ == null) {
          hitEffResult_ = null;
          onChanged();
        } else {
          hitEffResult_ = null;
          hitEffResultBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 5;</code>
       */
      public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder getHitEffResultBuilder() {
        
        onChanged();
        return getHitEffResultFieldBuilder().getBuilder();
      }
      /**
       * <code>.AttackHitEffectResult hitEffResult = 5;</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 = 5;</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 float elementDurabilityAttenuation_ ;
      /**
       * <code>float elementDurabilityAttenuation = 1333;</code>
       * @return The elementDurabilityAttenuation.
       */
      @java.lang.Override
      public float getElementDurabilityAttenuation() {
        return elementDurabilityAttenuation_;
      }
      /**
       * <code>float elementDurabilityAttenuation = 1333;</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 = 1333;</code>
       * @return This builder for chaining.
       */
      public Builder clearElementDurabilityAttenuation() {
        
        elementDurabilityAttenuation_ = 0F;
        onChanged();
        return this;
      }

      private float damageShield_ ;
      /**
       * <code>float damageShield = 198;</code>
       * @return The damageShield.
       */
      @java.lang.Override
      public float getDamageShield() {
        return damageShield_;
      }
      /**
       * <code>float damageShield = 198;</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 = 198;</code>
       * @return This builder for chaining.
       */
      public Builder clearDamageShield() {
        
        damageShield_ = 0F;
        onChanged();
        return this;
      }

      private boolean unk3300DOMAOPGPHMD_ ;
      /**
       * <code>bool Unk3300_DOMAOPGPHMD = 1698;</code>
       * @return The unk3300DOMAOPGPHMD.
       */
      @java.lang.Override
      public boolean getUnk3300DOMAOPGPHMD() {
        return unk3300DOMAOPGPHMD_;
      }
      /**
       * <code>bool Unk3300_DOMAOPGPHMD = 1698;</code>
       * @param value The unk3300DOMAOPGPHMD to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300DOMAOPGPHMD(boolean value) {
        
        unk3300DOMAOPGPHMD_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool Unk3300_DOMAOPGPHMD = 1698;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300DOMAOPGPHMD() {
        
        unk3300DOMAOPGPHMD_ = false;
        onChanged();
        return this;
      }

      private int elementType_ ;
      /**
       * <code>uint32 elementType = 1;</code>
       * @return The elementType.
       */
      @java.lang.Override
      public int getElementType() {
        return elementType_;
      }
      /**
       * <code>uint32 elementType = 1;</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 = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearElementType() {
        
        elementType_ = 0;
        onChanged();
        return this;
      }

      private int targetType_ ;
      /**
       * <code>uint32 targetType = 346;</code>
       * @return The targetType.
       */
      @java.lang.Override
      public int getTargetType() {
        return targetType_;
      }
      /**
       * <code>uint32 targetType = 346;</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 = 346;</code>
       * @return This builder for chaining.
       */
      public Builder clearTargetType() {
        
        targetType_ = 0;
        onChanged();
        return this;
      }

      private boolean unk3300MGIMJGMIPLD_ ;
      /**
       * <code>bool Unk3300_MGIMJGMIPLD = 531;</code>
       * @return The unk3300MGIMJGMIPLD.
       */
      @java.lang.Override
      public boolean getUnk3300MGIMJGMIPLD() {
        return unk3300MGIMJGMIPLD_;
      }
      /**
       * <code>bool Unk3300_MGIMJGMIPLD = 531;</code>
       * @param value The unk3300MGIMJGMIPLD to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300MGIMJGMIPLD(boolean value) {
        
        unk3300MGIMJGMIPLD_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool Unk3300_MGIMJGMIPLD = 531;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300MGIMJGMIPLD() {
        
        unk3300MGIMJGMIPLD_ = false;
        onChanged();
        return this;
      }

      private int criticalRand_ ;
      /**
       * <code>uint32 criticalRand = 1576;</code>
       * @return The criticalRand.
       */
      @java.lang.Override
      public int getCriticalRand() {
        return criticalRand_;
      }
      /**
       * <code>uint32 criticalRand = 1576;</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 = 1576;</code>
       * @return This builder for chaining.
       */
      public Builder clearCriticalRand() {
        
        criticalRand_ = 0;
        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 = 2;</code>
       * @return Whether the abilityIdentifier field is set.
       */
      public boolean hasAbilityIdentifier() {
        return abilityIdentifierBuilder_ != null || abilityIdentifier_ != null;
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 2;</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 = 2;</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 = 2;</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 = 2;</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 = 2;</code>
       */
      public Builder clearAbilityIdentifier() {
        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifier_ = null;
          onChanged();
        } else {
          abilityIdentifier_ = null;
          abilityIdentifierBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 2;</code>
       */
      public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder getAbilityIdentifierBuilder() {
        
        onChanged();
        return getAbilityIdentifierFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilityIdentifier abilityIdentifier = 2;</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 = 2;</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 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 = 14;</code>
       * @return Whether the hitCollision field is set.
       */
      public boolean hasHitCollision() {
        return hitCollisionBuilder_ != null || hitCollision_ != null;
      }
      /**
       * <code>.HitCollision hitCollision = 14;</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 = 14;</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 = 14;</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 = 14;</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 = 14;</code>
       */
      public Builder clearHitCollision() {
        if (hitCollisionBuilder_ == null) {
          hitCollision_ = null;
          onChanged();
        } else {
          hitCollision_ = null;
          hitCollisionBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.HitCollision hitCollision = 14;</code>
       */
      public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder getHitCollisionBuilder() {
        
        onChanged();
        return getHitCollisionFieldBuilder().getBuilder();
      }
      /**
       * <code>.HitCollision hitCollision = 14;</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 = 14;</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 attackTimestampMs_ ;
      /**
       * <code>uint32 attackTimestampMs = 1829;</code>
       * @return The attackTimestampMs.
       */
      @java.lang.Override
      public int getAttackTimestampMs() {
        return attackTimestampMs_;
      }
      /**
       * <code>uint32 attackTimestampMs = 1829;</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 = 1829;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackTimestampMs() {
        
        attackTimestampMs_ = 0;
        onChanged();
        return this;
      }

      private int attackerId_ ;
      /**
       * <code>uint32 attackerId = 4;</code>
       * @return The attackerId.
       */
      @java.lang.Override
      public int getAttackerId() {
        return attackerId_;
      }
      /**
       * <code>uint32 attackerId = 4;</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 = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackerId() {
        
        attackerId_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object animEventId_ = "";
      /**
       * <code>string animEventId = 11;</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 = 11;</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 = 11;</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 = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearAnimEventId() {
        
        animEventId_ = getDefaultInstance().getAnimEventId();
        onChanged();
        return this;
      }
      /**
       * <code>string animEventId = 11;</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 int hitRetreatAngleCompat_ ;
      /**
       * <code>int32 hitRetreatAngleCompat = 15;</code>
       * @return The hitRetreatAngleCompat.
       */
      @java.lang.Override
      public int getHitRetreatAngleCompat() {
        return hitRetreatAngleCompat_;
      }
      /**
       * <code>int32 hitRetreatAngleCompat = 15;</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 = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearHitRetreatAngleCompat() {
        
        hitRetreatAngleCompat_ = 0;
        onChanged();
        return this;
      }

      private int unk3300JMJHGJCAOBH_ ;
      /**
       * <code>uint32 Unk3300_JMJHGJCAOBH = 55;</code>
       * @return The unk3300JMJHGJCAOBH.
       */
      @java.lang.Override
      public int getUnk3300JMJHGJCAOBH() {
        return unk3300JMJHGJCAOBH_;
      }
      /**
       * <code>uint32 Unk3300_JMJHGJCAOBH = 55;</code>
       * @param value The unk3300JMJHGJCAOBH to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300JMJHGJCAOBH(int value) {
        
        unk3300JMJHGJCAOBH_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_JMJHGJCAOBH = 55;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300JMJHGJCAOBH() {
        
        unk3300JMJHGJCAOBH_ = 0;
        onChanged();
        return this;
      }

      private int defenseId_ ;
      /**
       * <code>uint32 defenseId = 13;</code>
       * @return The defenseId.
       */
      @java.lang.Override
      public int getDefenseId() {
        return defenseId_;
      }
      /**
       * <code>uint32 defenseId = 13;</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 = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearDefenseId() {
        
        defenseId_ = 0;
        onChanged();
        return this;
      }

      private boolean isResistText_ ;
      /**
       * <code>bool isResistText = 555;</code>
       * @return The isResistText.
       */
      @java.lang.Override
      public boolean getIsResistText() {
        return isResistText_;
      }
      /**
       * <code>bool isResistText = 555;</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 = 555;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsResistText() {
        
        isResistText_ = false;
        onChanged();
        return this;
      }

      private int attackCount_ ;
      /**
       * <code>uint32 attackCount = 1593;</code>
       * @return The attackCount.
       */
      @java.lang.Override
      public int getAttackCount() {
        return attackCount_;
      }
      /**
       * <code>uint32 attackCount = 1593;</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 = 1593;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackCount() {
        
        attackCount_ = 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 = 8;</code>
       * @return Whether the resolvedDir field is set.
       */
      public boolean hasResolvedDir() {
        return resolvedDirBuilder_ != null || resolvedDir_ != null;
      }
      /**
       * <code>.Vector resolvedDir = 8;</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 = 8;</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 = 8;</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 = 8;</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 = 8;</code>
       */
      public Builder clearResolvedDir() {
        if (resolvedDirBuilder_ == null) {
          resolvedDir_ = null;
          onChanged();
        } else {
          resolvedDir_ = null;
          resolvedDirBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector resolvedDir = 8;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getResolvedDirBuilder() {
        
        onChanged();
        return getResolvedDirFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector resolvedDir = 8;</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 = 8;</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 hitPosType_ ;
      /**
       * <code>uint32 hitPosType = 7;</code>
       * @return The hitPosType.
       */
      @java.lang.Override
      public int getHitPosType() {
        return hitPosType_;
      }
      /**
       * <code>uint32 hitPosType = 7;</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 = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearHitPosType() {
        
        hitPosType_ = 0;
        onChanged();
        return this;
      }

      private int hashedAnimEventId_ ;
      /**
       * <code>uint32 hashedAnimEventId = 2009;</code>
       * @return The hashedAnimEventId.
       */
      @java.lang.Override
      public int getHashedAnimEventId() {
        return hashedAnimEventId_;
      }
      /**
       * <code>uint32 hashedAnimEventId = 2009;</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 = 2009;</code>
       * @return This builder for chaining.
       */
      public Builder clearHashedAnimEventId() {
        
        hashedAnimEventId_ = 0;
        onChanged();
        return this;
      }

      private int unk3300KPKAECBFABP_ ;
      /**
       * <code>uint32 Unk3300_KPKAECBFABP = 1569;</code>
       * @return The unk3300KPKAECBFABP.
       */
      @java.lang.Override
      public int getUnk3300KPKAECBFABP() {
        return unk3300KPKAECBFABP_;
      }
      /**
       * <code>uint32 Unk3300_KPKAECBFABP = 1569;</code>
       * @param value The unk3300KPKAECBFABP to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300KPKAECBFABP(int value) {
        
        unk3300KPKAECBFABP_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_KPKAECBFABP = 1569;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300KPKAECBFABP() {
        
        unk3300KPKAECBFABP_ = 0;
        onChanged();
        return this;
      }

      private float endureDelta_ ;
      /**
       * <code>float endureDelta = 1169;</code>
       * @return The endureDelta.
       */
      @java.lang.Override
      public float getEndureDelta() {
        return endureDelta_;
      }
      /**
       * <code>float endureDelta = 1169;</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 = 1169;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndureDelta() {
        
        endureDelta_ = 0F;
        onChanged();
        return this;
      }

      private int unk3300GBPJCELJKJA_ ;
      /**
       * <code>uint32 Unk3300_GBPJCELJKJA = 701;</code>
       * @return The unk3300GBPJCELJKJA.
       */
      @java.lang.Override
      public int getUnk3300GBPJCELJKJA() {
        return unk3300GBPJCELJKJA_;
      }
      /**
       * <code>uint32 Unk3300_GBPJCELJKJA = 701;</code>
       * @param value The unk3300GBPJCELJKJA to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300GBPJCELJKJA(int value) {
        
        unk3300GBPJCELJKJA_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_GBPJCELJKJA = 701;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300GBPJCELJKJA() {
        
        unk3300GBPJCELJKJA_ = 0;
        onChanged();
        return this;
      }

      private float elementAmplifyRate_ ;
      /**
       * <code>float elementAmplifyRate = 1858;</code>
       * @return The elementAmplifyRate.
       */
      @java.lang.Override
      public float getElementAmplifyRate() {
        return elementAmplifyRate_;
      }
      /**
       * <code>float elementAmplifyRate = 1858;</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 = 1858;</code>
       * @return This builder for chaining.
       */
      public Builder clearElementAmplifyRate() {
        
        elementAmplifyRate_ = 0F;
        onChanged();
        return this;
      }

      private int unk3300ABJJNNNKGBB_ ;
      /**
       * <code>uint32 Unk3300_ABJJNNNKGBB = 888;</code>
       * @return The unk3300ABJJNNNKGBB.
       */
      @java.lang.Override
      public int getUnk3300ABJJNNNKGBB() {
        return unk3300ABJJNNNKGBB_;
      }
      /**
       * <code>uint32 Unk3300_ABJJNNNKGBB = 888;</code>
       * @param value The unk3300ABJJNNNKGBB to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300ABJJNNNKGBB(int value) {
        
        unk3300ABJJNNNKGBB_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_ABJJNNNKGBB = 888;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300ABJJNNNKGBB() {
        
        unk3300ABJJNNNKGBB_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope: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\033AttackHitEffectRes" +
      "ult.proto\032\027AbilityIdentifier.proto\032\022HitC" +
      "ollision.proto\032\014Vector.proto\"\272\006\n\014AttackR" +
      "esult\022\023\n\013endureBreak\030\006 \001(\r\022\034\n\023Unk3300_BA" +
      "LCPHMFIBC\030\224\017 \001(\r\022\016\n\006damage\030\014 \001(\002\022\016\n\006isCr" +
      "it\030\t \001(\010\022,\n\014hitEffResult\030\005 \001(\0132\026.AttackH" +
      "itEffectResult\022%\n\034elementDurabilityAtten" +
      "uation\030\265\n \001(\002\022\025\n\014damageShield\030\306\001 \001(\002\022\034\n\023" +
      "Unk3300_DOMAOPGPHMD\030\242\r \001(\010\022\023\n\013elementTyp" +
      "e\030\001 \001(\r\022\023\n\ntargetType\030\332\002 \001(\r\022\034\n\023Unk3300_" +
      "MGIMJGMIPLD\030\223\004 \001(\010\022\025\n\014criticalRand\030\250\014 \001(" +
      "\r\022-\n\021abilityIdentifier\030\002 \001(\0132\022.AbilityId" +
      "entifier\022#\n\014hitCollision\030\016 \001(\0132\r.HitColl" +
      "ision\022\032\n\021attackTimestampMs\030\245\016 \001(\r\022\022\n\natt" +
      "ackerId\030\004 \001(\r\022\023\n\013animEventId\030\013 \001(\t\022\035\n\025hi" +
      "tRetreatAngleCompat\030\017 \001(\005\022\033\n\023Unk3300_JMJ" +
      "HGJCAOBH\0307 \001(\r\022\021\n\tdefenseId\030\r \001(\r\022\025\n\014isR" +
      "esistText\030\253\004 \001(\010\022\024\n\013attackCount\030\271\014 \001(\r\022\034" +
      "\n\013resolvedDir\030\010 \001(\0132\007.Vector\022\022\n\nhitPosTy" +
      "pe\030\007 \001(\r\022\032\n\021hashedAnimEventId\030\331\017 \001(\r\022\034\n\023" +
      "Unk3300_KPKAECBFABP\030\241\014 \001(\r\022\024\n\013endureDelt" +
      "a\030\221\t \001(\002\022\034\n\023Unk3300_GBPJCELJKJA\030\275\005 \001(\r\022\033" +
      "\n\022elementAmplifyRate\030\302\016 \001(\002\022\034\n\023Unk3300_A" +
      "BJJNNNKGBB\030\370\006 \001(\rB\033\n\031emu.grasscutter.net" +
      ".protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.AbilityIdentifierOuterClass.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[] { "EndureBreak", "Unk3300BALCPHMFIBC", "Damage", "IsCrit", "HitEffResult", "ElementDurabilityAttenuation", "DamageShield", "Unk3300DOMAOPGPHMD", "ElementType", "TargetType", "Unk3300MGIMJGMIPLD", "CriticalRand", "AbilityIdentifier", "HitCollision", "AttackTimestampMs", "AttackerId", "AnimEventId", "HitRetreatAngleCompat", "Unk3300JMJHGJCAOBH", "DefenseId", "IsResistText", "AttackCount", "ResolvedDir", "HitPosType", "HashedAnimEventId", "Unk3300KPKAECBFABP", "EndureDelta", "Unk3300GBPJCELJKJA", "ElementAmplifyRate", "Unk3300ABJJNNNKGBB", });
    emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.getDescriptor();
    emu.grasscutter.net.proto.AbilityIdentifierOuterClass.getDescriptor();
    emu.grasscutter.net.proto.HitCollisionOuterClass.getDescriptor();
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
