// 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 defense_id = 2;</code>
     * @return The defenseId.
     */
    int getDefenseId();

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

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

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

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

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

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

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

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

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

    /**
     * <code>uint32 Unk3300_ABJJNNNKGBB = 1742;</code>
     * @return The unk3300ABJJNNNKGBB.
     */
    int getUnk3300ABJJNNNKGBB();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AttackResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

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

              defenseId_ = input.readUInt32();
              break;
            }
            case 24: {

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

              animEventId_ = s;
              break;
            }
            case 40: {

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

              isCrit_ = input.readBool();
              break;
            }
            case 58: {
              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 66: {
              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 85: {

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

              break;
            }
            case 96: {

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

              endureBreak_ = input.readUInt32();
              break;
            }
            case 122: {
              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 229: {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

              unk3300KPKAECBFABP_ = 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 DEFENSE_ID_FIELD_NUMBER = 2;
    private int defenseId_;
    /**
     * <code>uint32 defense_id = 2;</code>
     * @return The defenseId.
     */
    @java.lang.Override
    public int getDefenseId() {
      return defenseId_;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    public static final int ANIM_EVENT_ID_FIELD_NUMBER = 4;
    private volatile java.lang.Object animEventId_;
    /**
     * <code>string anim_event_id = 4;</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 anim_event_id = 4;</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 UNK3300_GBPJCELJKJA_FIELD_NUMBER = 1844;
    private int unk3300GBPJCELJKJA_;
    /**
     * <code>uint32 Unk3300_GBPJCELJKJA = 1844;</code>
     * @return The unk3300GBPJCELJKJA.
     */
    @java.lang.Override
    public int getUnk3300GBPJCELJKJA() {
      return unk3300GBPJCELJKJA_;
    }

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

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

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (attackerId_ != 0) {
        output.writeUInt32(1, attackerId_);
      }
      if (defenseId_ != 0) {
        output.writeUInt32(2, defenseId_);
      }
      if (hitPosType_ != 0) {
        output.writeUInt32(3, hitPosType_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(animEventId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, animEventId_);
      }
      if (hitRetreatAngleCompat_ != 0) {
        output.writeInt32(5, hitRetreatAngleCompat_);
      }
      if (isCrit_ != false) {
        output.writeBool(6, isCrit_);
      }
      if (abilityIdentifier_ != null) {
        output.writeMessage(7, getAbilityIdentifier());
      }
      if (hitEffResult_ != null) {
        output.writeMessage(8, getHitEffResult());
      }
      if (damage_ != 0F) {
        output.writeFloat(10, damage_);
      }
      if (resolvedDir_ != null) {
        output.writeMessage(11, getResolvedDir());
      }
      if (elementType_ != 0) {
        output.writeUInt32(12, elementType_);
      }
      if (endureBreak_ != 0) {
        output.writeUInt32(14, endureBreak_);
      }
      if (hitCollision_ != null) {
        output.writeMessage(15, getHitCollision());
      }
      if (elementAmplifyRate_ != 0F) {
        output.writeFloat(28, elementAmplifyRate_);
      }
      if (unk3300DOMAOPGPHMD_ != false) {
        output.writeBool(454, unk3300DOMAOPGPHMD_);
      }
      if (isResistText_ != false) {
        output.writeBool(633, isResistText_);
      }
      if (criticalRand_ != 0) {
        output.writeUInt32(645, criticalRand_);
      }
      if (unk3300MGIMJGMIPLD_ != false) {
        output.writeBool(732, unk3300MGIMJGMIPLD_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        output.writeFloat(775, elementDurabilityAttenuation_);
      }
      if (endureDelta_ != 0F) {
        output.writeFloat(803, endureDelta_);
      }
      if (unk3300JMJHGJCAOBH_ != 0) {
        output.writeUInt32(914, unk3300JMJHGJCAOBH_);
      }
      if (hashedAnimEventId_ != 0) {
        output.writeUInt32(1115, hashedAnimEventId_);
      }
      if (unk3300BALCPHMFIBC_ != 0) {
        output.writeUInt32(1438, unk3300BALCPHMFIBC_);
      }
      if (attackCount_ != 0) {
        output.writeUInt32(1484, attackCount_);
      }
      if (unk3300ABJJNNNKGBB_ != 0) {
        output.writeUInt32(1742, unk3300ABJJNNNKGBB_);
      }
      if (attackTimestampMs_ != 0) {
        output.writeUInt32(1782, attackTimestampMs_);
      }
      if (unk3300GBPJCELJKJA_ != 0) {
        output.writeUInt32(1844, unk3300GBPJCELJKJA_);
      }
      if (targetType_ != 0) {
        output.writeUInt32(1870, targetType_);
      }
      if (damageShield_ != 0F) {
        output.writeFloat(1932, damageShield_);
      }
      if (unk3300KPKAECBFABP_ != 0) {
        output.writeUInt32(2012, unk3300KPKAECBFABP_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (attackerId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, attackerId_);
      }
      if (defenseId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, defenseId_);
      }
      if (hitPosType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, hitPosType_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(animEventId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, animEventId_);
      }
      if (hitRetreatAngleCompat_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(5, hitRetreatAngleCompat_);
      }
      if (isCrit_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(6, isCrit_);
      }
      if (abilityIdentifier_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, getAbilityIdentifier());
      }
      if (hitEffResult_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, getHitEffResult());
      }
      if (damage_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(10, damage_);
      }
      if (resolvedDir_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, getResolvedDir());
      }
      if (elementType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(12, elementType_);
      }
      if (endureBreak_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, endureBreak_);
      }
      if (hitCollision_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, getHitCollision());
      }
      if (elementAmplifyRate_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(28, elementAmplifyRate_);
      }
      if (unk3300DOMAOPGPHMD_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(454, unk3300DOMAOPGPHMD_);
      }
      if (isResistText_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(633, isResistText_);
      }
      if (criticalRand_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(645, criticalRand_);
      }
      if (unk3300MGIMJGMIPLD_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(732, unk3300MGIMJGMIPLD_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(775, elementDurabilityAttenuation_);
      }
      if (endureDelta_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(803, endureDelta_);
      }
      if (unk3300JMJHGJCAOBH_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(914, unk3300JMJHGJCAOBH_);
      }
      if (hashedAnimEventId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1115, hashedAnimEventId_);
      }
      if (unk3300BALCPHMFIBC_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1438, unk3300BALCPHMFIBC_);
      }
      if (attackCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1484, attackCount_);
      }
      if (unk3300ABJJNNNKGBB_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1742, unk3300ABJJNNNKGBB_);
      }
      if (attackTimestampMs_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1782, attackTimestampMs_);
      }
      if (unk3300GBPJCELJKJA_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1844, unk3300GBPJCELJKJA_);
      }
      if (targetType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1870, targetType_);
      }
      if (damageShield_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(1932, damageShield_);
      }
      if (unk3300KPKAECBFABP_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2012, unk3300KPKAECBFABP_);
      }
      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 (getDefenseId()
          != other.getDefenseId()) return false;
      if (getAttackerId()
          != other.getAttackerId()) return false;
      if (getTargetType()
          != other.getTargetType()) return false;
      if (java.lang.Float.floatToIntBits(getEndureDelta())
          != java.lang.Float.floatToIntBits(
              other.getEndureDelta())) return false;
      if (getUnk3300DOMAOPGPHMD()
          != other.getUnk3300DOMAOPGPHMD()) return false;
      if (getElementType()
          != other.getElementType()) return false;
      if (getUnk3300BALCPHMFIBC()
          != other.getUnk3300BALCPHMFIBC()) return false;
      if (java.lang.Float.floatToIntBits(getDamage())
          != java.lang.Float.floatToIntBits(
              other.getDamage())) return false;
      if (getHashedAnimEventId()
          != other.getHashedAnimEventId()) return false;
      if (getCriticalRand()
          != other.getCriticalRand()) return false;
      if (getUnk3300ABJJNNNKGBB()
          != other.getUnk3300ABJJNNNKGBB()) return false;
      if (getUnk3300KPKAECBFABP()
          != other.getUnk3300KPKAECBFABP()) return false;
      if (hasHitEffResult() != other.hasHitEffResult()) return false;
      if (hasHitEffResult()) {
        if (!getHitEffResult()
            .equals(other.getHitEffResult())) return false;
      }
      if (getEndureBreak()
          != other.getEndureBreak()) return false;
      if (hasAbilityIdentifier() != other.hasAbilityIdentifier()) return false;
      if (hasAbilityIdentifier()) {
        if (!getAbilityIdentifier()
            .equals(other.getAbilityIdentifier())) return false;
      }
      if (getHitPosType()
          != other.getHitPosType()) return false;
      if (getAttackTimestampMs()
          != other.getAttackTimestampMs()) return false;
      if (java.lang.Float.floatToIntBits(getDamageShield())
          != java.lang.Float.floatToIntBits(
              other.getDamageShield())) return false;
      if (getAttackCount()
          != other.getAttackCount()) return false;
      if (getIsResistText()
          != other.getIsResistText()) return false;
      if (getHitRetreatAngleCompat()
          != other.getHitRetreatAngleCompat()) return false;
      if (hasHitCollision() != other.hasHitCollision()) return false;
      if (hasHitCollision()) {
        if (!getHitCollision()
            .equals(other.getHitCollision())) return false;
      }
      if (getUnk3300MGIMJGMIPLD()
          != other.getUnk3300MGIMJGMIPLD()) return false;
      if (getIsCrit()
          != other.getIsCrit()) return false;
      if (hasResolvedDir() != other.hasResolvedDir()) return false;
      if (hasResolvedDir()) {
        if (!getResolvedDir()
            .equals(other.getResolvedDir())) return false;
      }
      if (java.lang.Float.floatToIntBits(getElementAmplifyRate())
          != java.lang.Float.floatToIntBits(
              other.getElementAmplifyRate())) return false;
      if (!getAnimEventId()
          .equals(other.getAnimEventId())) return false;
      if (getUnk3300GBPJCELJKJA()
          != other.getUnk3300GBPJCELJKJA()) return false;
      if (getUnk3300JMJHGJCAOBH()
          != other.getUnk3300JMJHGJCAOBH()) return false;
      if (java.lang.Float.floatToIntBits(getElementDurabilityAttenuation())
          != java.lang.Float.floatToIntBits(
              other.getElementDurabilityAttenuation())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + DEFENSE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getDefenseId();
      hash = (37 * hash) + ATTACKER_ID_FIELD_NUMBER;
      hash = (53 * hash) + getAttackerId();
      hash = (37 * hash) + TARGET_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getTargetType();
      hash = (37 * hash) + ENDURE_DELTA_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getEndureDelta());
      hash = (37 * hash) + UNK3300_DOMAOPGPHMD_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300DOMAOPGPHMD());
      hash = (37 * hash) + ELEMENT_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getElementType();
      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) + HASHED_ANIM_EVENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getHashedAnimEventId();
      hash = (37 * hash) + CRITICAL_RAND_FIELD_NUMBER;
      hash = (53 * hash) + getCriticalRand();
      hash = (37 * hash) + UNK3300_ABJJNNNKGBB_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300ABJJNNNKGBB();
      hash = (37 * hash) + UNK3300_KPKAECBFABP_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300KPKAECBFABP();
      if (hasHitEffResult()) {
        hash = (37 * hash) + HIT_EFF_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getHitEffResult().hashCode();
      }
      hash = (37 * hash) + ENDURE_BREAK_FIELD_NUMBER;
      hash = (53 * hash) + getEndureBreak();
      if (hasAbilityIdentifier()) {
        hash = (37 * hash) + ABILITY_IDENTIFIER_FIELD_NUMBER;
        hash = (53 * hash) + getAbilityIdentifier().hashCode();
      }
      hash = (37 * hash) + HIT_POS_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getHitPosType();
      hash = (37 * hash) + ATTACK_TIMESTAMP_MS_FIELD_NUMBER;
      hash = (53 * hash) + getAttackTimestampMs();
      hash = (37 * hash) + DAMAGE_SHIELD_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getDamageShield());
      hash = (37 * hash) + ATTACK_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getAttackCount();
      hash = (37 * hash) + IS_RESIST_TEXT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsResistText());
      hash = (37 * hash) + HIT_RETREAT_ANGLE_COMPAT_FIELD_NUMBER;
      hash = (53 * hash) + getHitRetreatAngleCompat();
      if (hasHitCollision()) {
        hash = (37 * hash) + HIT_COLLISION_FIELD_NUMBER;
        hash = (53 * hash) + getHitCollision().hashCode();
      }
      hash = (37 * hash) + UNK3300_MGIMJGMIPLD_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUnk3300MGIMJGMIPLD());
      hash = (37 * hash) + IS_CRIT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsCrit());
      if (hasResolvedDir()) {
        hash = (37 * hash) + RESOLVED_DIR_FIELD_NUMBER;
        hash = (53 * hash) + getResolvedDir().hashCode();
      }
      hash = (37 * hash) + ELEMENT_AMPLIFY_RATE_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementAmplifyRate());
      hash = (37 * hash) + ANIM_EVENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getAnimEventId().hashCode();
      hash = (37 * hash) + UNK3300_GBPJCELJKJA_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300GBPJCELJKJA();
      hash = (37 * hash) + UNK3300_JMJHGJCAOBH_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300JMJHGJCAOBH();
      hash = (37 * hash) + ELEMENT_DURABILITY_ATTENUATION_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementDurabilityAttenuation());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code AttackResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:AttackResult)
        emu.grasscutter.net.proto.AttackResultOuterClass.AttackResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.AttackResultOuterClass.internal_static_AttackResult_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        defenseId_ = 0;

        attackerId_ = 0;

        targetType_ = 0;

        endureDelta_ = 0F;

        unk3300DOMAOPGPHMD_ = false;

        elementType_ = 0;

        unk3300BALCPHMFIBC_ = 0;

        damage_ = 0F;

        hashedAnimEventId_ = 0;

        criticalRand_ = 0;

        unk3300ABJJNNNKGBB_ = 0;

        unk3300KPKAECBFABP_ = 0;

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

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

        attackTimestampMs_ = 0;

        damageShield_ = 0F;

        attackCount_ = 0;

        isResistText_ = false;

        hitRetreatAngleCompat_ = 0;

        if (hitCollisionBuilder_ == null) {
          hitCollision_ = null;
        } else {
          hitCollision_ = null;
          hitCollisionBuilder_ = null;
        }
        unk3300MGIMJGMIPLD_ = false;

        isCrit_ = false;

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

        animEventId_ = "";

        unk3300GBPJCELJKJA_ = 0;

        unk3300JMJHGJCAOBH_ = 0;

        elementDurabilityAttenuation_ = 0F;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult buildPartial() {
        emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult result = new emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult(this);
        result.defenseId_ = defenseId_;
        result.attackerId_ = attackerId_;
        result.targetType_ = targetType_;
        result.endureDelta_ = endureDelta_;
        result.unk3300DOMAOPGPHMD_ = unk3300DOMAOPGPHMD_;
        result.elementType_ = elementType_;
        result.unk3300BALCPHMFIBC_ = unk3300BALCPHMFIBC_;
        result.damage_ = damage_;
        result.hashedAnimEventId_ = hashedAnimEventId_;
        result.criticalRand_ = criticalRand_;
        result.unk3300ABJJNNNKGBB_ = unk3300ABJJNNNKGBB_;
        result.unk3300KPKAECBFABP_ = unk3300KPKAECBFABP_;
        if (hitEffResultBuilder_ == null) {
          result.hitEffResult_ = hitEffResult_;
        } else {
          result.hitEffResult_ = hitEffResultBuilder_.build();
        }
        result.endureBreak_ = endureBreak_;
        if (abilityIdentifierBuilder_ == null) {
          result.abilityIdentifier_ = abilityIdentifier_;
        } else {
          result.abilityIdentifier_ = abilityIdentifierBuilder_.build();
        }
        result.hitPosType_ = hitPosType_;
        result.attackTimestampMs_ = attackTimestampMs_;
        result.damageShield_ = damageShield_;
        result.attackCount_ = attackCount_;
        result.isResistText_ = isResistText_;
        result.hitRetreatAngleCompat_ = hitRetreatAngleCompat_;
        if (hitCollisionBuilder_ == null) {
          result.hitCollision_ = hitCollision_;
        } else {
          result.hitCollision_ = hitCollisionBuilder_.build();
        }
        result.unk3300MGIMJGMIPLD_ = unk3300MGIMJGMIPLD_;
        result.isCrit_ = isCrit_;
        if (resolvedDirBuilder_ == null) {
          result.resolvedDir_ = resolvedDir_;
        } else {
          result.resolvedDir_ = resolvedDirBuilder_.build();
        }
        result.elementAmplifyRate_ = elementAmplifyRate_;
        result.animEventId_ = animEventId_;
        result.unk3300GBPJCELJKJA_ = unk3300GBPJCELJKJA_;
        result.unk3300JMJHGJCAOBH_ = unk3300JMJHGJCAOBH_;
        result.elementDurabilityAttenuation_ = elementDurabilityAttenuation_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult) {
          return mergeFrom((emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult other) {
        if (other == emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult.getDefaultInstance()) return this;
        if (other.getDefenseId() != 0) {
          setDefenseId(other.getDefenseId());
        }
        if (other.getAttackerId() != 0) {
          setAttackerId(other.getAttackerId());
        }
        if (other.getTargetType() != 0) {
          setTargetType(other.getTargetType());
        }
        if (other.getEndureDelta() != 0F) {
          setEndureDelta(other.getEndureDelta());
        }
        if (other.getUnk3300DOMAOPGPHMD() != false) {
          setUnk3300DOMAOPGPHMD(other.getUnk3300DOMAOPGPHMD());
        }
        if (other.getElementType() != 0) {
          setElementType(other.getElementType());
        }
        if (other.getUnk3300BALCPHMFIBC() != 0) {
          setUnk3300BALCPHMFIBC(other.getUnk3300BALCPHMFIBC());
        }
        if (other.getDamage() != 0F) {
          setDamage(other.getDamage());
        }
        if (other.getHashedAnimEventId() != 0) {
          setHashedAnimEventId(other.getHashedAnimEventId());
        }
        if (other.getCriticalRand() != 0) {
          setCriticalRand(other.getCriticalRand());
        }
        if (other.getUnk3300ABJJNNNKGBB() != 0) {
          setUnk3300ABJJNNNKGBB(other.getUnk3300ABJJNNNKGBB());
        }
        if (other.getUnk3300KPKAECBFABP() != 0) {
          setUnk3300KPKAECBFABP(other.getUnk3300KPKAECBFABP());
        }
        if (other.hasHitEffResult()) {
          mergeHitEffResult(other.getHitEffResult());
        }
        if (other.getEndureBreak() != 0) {
          setEndureBreak(other.getEndureBreak());
        }
        if (other.hasAbilityIdentifier()) {
          mergeAbilityIdentifier(other.getAbilityIdentifier());
        }
        if (other.getHitPosType() != 0) {
          setHitPosType(other.getHitPosType());
        }
        if (other.getAttackTimestampMs() != 0) {
          setAttackTimestampMs(other.getAttackTimestampMs());
        }
        if (other.getDamageShield() != 0F) {
          setDamageShield(other.getDamageShield());
        }
        if (other.getAttackCount() != 0) {
          setAttackCount(other.getAttackCount());
        }
        if (other.getIsResistText() != false) {
          setIsResistText(other.getIsResistText());
        }
        if (other.getHitRetreatAngleCompat() != 0) {
          setHitRetreatAngleCompat(other.getHitRetreatAngleCompat());
        }
        if (other.hasHitCollision()) {
          mergeHitCollision(other.getHitCollision());
        }
        if (other.getUnk3300MGIMJGMIPLD() != false) {
          setUnk3300MGIMJGMIPLD(other.getUnk3300MGIMJGMIPLD());
        }
        if (other.getIsCrit() != false) {
          setIsCrit(other.getIsCrit());
        }
        if (other.hasResolvedDir()) {
          mergeResolvedDir(other.getResolvedDir());
        }
        if (other.getElementAmplifyRate() != 0F) {
          setElementAmplifyRate(other.getElementAmplifyRate());
        }
        if (!other.getAnimEventId().isEmpty()) {
          animEventId_ = other.animEventId_;
          onChanged();
        }
        if (other.getUnk3300GBPJCELJKJA() != 0) {
          setUnk3300GBPJCELJKJA(other.getUnk3300GBPJCELJKJA());
        }
        if (other.getUnk3300JMJHGJCAOBH() != 0) {
          setUnk3300JMJHGJCAOBH(other.getUnk3300JMJHGJCAOBH());
        }
        if (other.getElementDurabilityAttenuation() != 0F) {
          setElementDurabilityAttenuation(other.getElementDurabilityAttenuation());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

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

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

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

      private boolean unk3300DOMAOPGPHMD_ ;
      /**
       * <code>bool Unk3300_DOMAOPGPHMD = 454;</code>
       * @return The unk3300DOMAOPGPHMD.
       */
      @java.lang.Override
      public boolean getUnk3300DOMAOPGPHMD() {
        return unk3300DOMAOPGPHMD_;
      }
      /**
       * <code>bool Unk3300_DOMAOPGPHMD = 454;</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 = 454;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300DOMAOPGPHMD() {
        
        unk3300DOMAOPGPHMD_ = false;
        onChanged();
        return this;
      }

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

      private int unk3300BALCPHMFIBC_ ;
      /**
       * <code>uint32 Unk3300_BALCPHMFIBC = 1438;</code>
       * @return The unk3300BALCPHMFIBC.
       */
      @java.lang.Override
      public int getUnk3300BALCPHMFIBC() {
        return unk3300BALCPHMFIBC_;
      }
      /**
       * <code>uint32 Unk3300_BALCPHMFIBC = 1438;</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 = 1438;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300BALCPHMFIBC() {
        
        unk3300BALCPHMFIBC_ = 0;
        onChanged();
        return this;
      }

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

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

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

      private int unk3300ABJJNNNKGBB_ ;
      /**
       * <code>uint32 Unk3300_ABJJNNNKGBB = 1742;</code>
       * @return The unk3300ABJJNNNKGBB.
       */
      @java.lang.Override
      public int getUnk3300ABJJNNNKGBB() {
        return unk3300ABJJNNNKGBB_;
      }
      /**
       * <code>uint32 Unk3300_ABJJNNNKGBB = 1742;</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 = 1742;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300ABJJNNNKGBB() {
        
        unk3300ABJJNNNKGBB_ = 0;
        onChanged();
        return this;
      }

      private int unk3300KPKAECBFABP_ ;
      /**
       * <code>uint32 Unk3300_KPKAECBFABP = 2012;</code>
       * @return The unk3300KPKAECBFABP.
       */
      @java.lang.Override
      public int getUnk3300KPKAECBFABP() {
        return unk3300KPKAECBFABP_;
      }
      /**
       * <code>uint32 Unk3300_KPKAECBFABP = 2012;</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 = 2012;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300KPKAECBFABP() {
        
        unk3300KPKAECBFABP_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult hitEffResult_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder> hitEffResultBuilder_;
      /**
       * <code>.AttackHitEffectResult hit_eff_result = 8;</code>
       * @return Whether the hitEffResult field is set.
       */
      public boolean hasHitEffResult() {
        return hitEffResultBuilder_ != null || hitEffResult_ != null;
      }
      /**
       * <code>.AttackHitEffectResult hit_eff_result = 8;</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 hit_eff_result = 8;</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 hit_eff_result = 8;</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 hit_eff_result = 8;</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 hit_eff_result = 8;</code>
       */
      public Builder clearHitEffResult() {
        if (hitEffResultBuilder_ == null) {
          hitEffResult_ = null;
          onChanged();
        } else {
          hitEffResult_ = null;
          hitEffResultBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AttackHitEffectResult hit_eff_result = 8;</code>
       */
      public emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder getHitEffResultBuilder() {
        
        onChanged();
        return getHitEffResultFieldBuilder().getBuilder();
      }
      /**
       * <code>.AttackHitEffectResult hit_eff_result = 8;</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 hit_eff_result = 8;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder> 
          getHitEffResultFieldBuilder() {
        if (hitEffResultBuilder_ == null) {
          hitEffResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResult.Builder, emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.AttackHitEffectResultOrBuilder>(
                  getHitEffResult(),
                  getParentForChildren(),
                  isClean());
          hitEffResult_ = null;
        }
        return hitEffResultBuilder_;
      }

      private int endureBreak_ ;
      /**
       * <code>uint32 endure_break = 14;</code>
       * @return The endureBreak.
       */
      @java.lang.Override
      public int getEndureBreak() {
        return endureBreak_;
      }
      /**
       * <code>uint32 endure_break = 14;</code>
       * @param value The endureBreak to set.
       * @return This builder for chaining.
       */
      public Builder setEndureBreak(int value) {
        
        endureBreak_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 endure_break = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndureBreak() {
        
        endureBreak_ = 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 ability_identifier = 7;</code>
       * @return Whether the abilityIdentifier field is set.
       */
      public boolean hasAbilityIdentifier() {
        return abilityIdentifierBuilder_ != null || abilityIdentifier_ != null;
      }
      /**
       * <code>.AbilityIdentifier ability_identifier = 7;</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 ability_identifier = 7;</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 ability_identifier = 7;</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 ability_identifier = 7;</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 ability_identifier = 7;</code>
       */
      public Builder clearAbilityIdentifier() {
        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifier_ = null;
          onChanged();
        } else {
          abilityIdentifier_ = null;
          abilityIdentifierBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilityIdentifier ability_identifier = 7;</code>
       */
      public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder getAbilityIdentifierBuilder() {
        
        onChanged();
        return getAbilityIdentifierFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilityIdentifier ability_identifier = 7;</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 ability_identifier = 7;</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 int hitPosType_ ;
      /**
       * <code>uint32 hit_pos_type = 3;</code>
       * @return The hitPosType.
       */
      @java.lang.Override
      public int getHitPosType() {
        return hitPosType_;
      }
      /**
       * <code>uint32 hit_pos_type = 3;</code>
       * @param value The hitPosType to set.
       * @return This builder for chaining.
       */
      public Builder setHitPosType(int value) {
        
        hitPosType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 hit_pos_type = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearHitPosType() {
        
        hitPosType_ = 0;
        onChanged();
        return this;
      }

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

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

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

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

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

      private emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision hitCollision_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder> hitCollisionBuilder_;
      /**
       * <code>.HitCollision hit_collision = 15;</code>
       * @return Whether the hitCollision field is set.
       */
      public boolean hasHitCollision() {
        return hitCollisionBuilder_ != null || hitCollision_ != null;
      }
      /**
       * <code>.HitCollision hit_collision = 15;</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 hit_collision = 15;</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 hit_collision = 15;</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 hit_collision = 15;</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 hit_collision = 15;</code>
       */
      public Builder clearHitCollision() {
        if (hitCollisionBuilder_ == null) {
          hitCollision_ = null;
          onChanged();
        } else {
          hitCollision_ = null;
          hitCollisionBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.HitCollision hit_collision = 15;</code>
       */
      public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder getHitCollisionBuilder() {
        
        onChanged();
        return getHitCollisionFieldBuilder().getBuilder();
      }
      /**
       * <code>.HitCollision hit_collision = 15;</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 hit_collision = 15;</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 boolean unk3300MGIMJGMIPLD_ ;
      /**
       * <code>bool Unk3300_MGIMJGMIPLD = 732;</code>
       * @return The unk3300MGIMJGMIPLD.
       */
      @java.lang.Override
      public boolean getUnk3300MGIMJGMIPLD() {
        return unk3300MGIMJGMIPLD_;
      }
      /**
       * <code>bool Unk3300_MGIMJGMIPLD = 732;</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 = 732;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300MGIMJGMIPLD() {
        
        unk3300MGIMJGMIPLD_ = false;
        onChanged();
        return this;
      }

      private boolean isCrit_ ;
      /**
       * <code>bool is_crit = 6;</code>
       * @return The isCrit.
       */
      @java.lang.Override
      public boolean getIsCrit() {
        return isCrit_;
      }
      /**
       * <code>bool is_crit = 6;</code>
       * @param value The isCrit to set.
       * @return This builder for chaining.
       */
      public Builder setIsCrit(boolean value) {
        
        isCrit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_crit = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsCrit() {
        
        isCrit_ = false;
        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 resolved_dir = 11;</code>
       * @return Whether the resolvedDir field is set.
       */
      public boolean hasResolvedDir() {
        return resolvedDirBuilder_ != null || resolvedDir_ != null;
      }
      /**
       * <code>.Vector resolved_dir = 11;</code>
       * @return The resolvedDir.
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getResolvedDir() {
        if (resolvedDirBuilder_ == null) {
          return resolvedDir_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : resolvedDir_;
        } else {
          return resolvedDirBuilder_.getMessage();
        }
      }
      /**
       * <code>.Vector resolved_dir = 11;</code>
       */
      public Builder setResolvedDir(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
        if (resolvedDirBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          resolvedDir_ = value;
          onChanged();
        } else {
          resolvedDirBuilder_.setMessage(value);
        }

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

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

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

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

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

      private java.lang.Object animEventId_ = "";
      /**
       * <code>string anim_event_id = 4;</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 anim_event_id = 4;</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 anim_event_id = 4;</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 anim_event_id = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearAnimEventId() {
        
        animEventId_ = getDefaultInstance().getAnimEventId();
        onChanged();
        return this;
      }
      /**
       * <code>string anim_event_id = 4;</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 unk3300GBPJCELJKJA_ ;
      /**
       * <code>uint32 Unk3300_GBPJCELJKJA = 1844;</code>
       * @return The unk3300GBPJCELJKJA.
       */
      @java.lang.Override
      public int getUnk3300GBPJCELJKJA() {
        return unk3300GBPJCELJKJA_;
      }
      /**
       * <code>uint32 Unk3300_GBPJCELJKJA = 1844;</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 = 1844;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300GBPJCELJKJA() {
        
        unk3300GBPJCELJKJA_ = 0;
        onChanged();
        return this;
      }

      private int unk3300JMJHGJCAOBH_ ;
      /**
       * <code>uint32 Unk3300_JMJHGJCAOBH = 914;</code>
       * @return The unk3300JMJHGJCAOBH.
       */
      @java.lang.Override
      public int getUnk3300JMJHGJCAOBH() {
        return unk3300JMJHGJCAOBH_;
      }
      /**
       * <code>uint32 Unk3300_JMJHGJCAOBH = 914;</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 = 914;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300JMJHGJCAOBH() {
        
        unk3300JMJHGJCAOBH_ = 0;
        onChanged();
        return this;
      }

      private float elementDurabilityAttenuation_ ;
      /**
       * <code>float element_durability_attenuation = 775;</code>
       * @return The elementDurabilityAttenuation.
       */
      @java.lang.Override
      public float getElementDurabilityAttenuation() {
        return elementDurabilityAttenuation_;
      }
      /**
       * <code>float element_durability_attenuation = 775;</code>
       * @param value The elementDurabilityAttenuation to set.
       * @return This builder for chaining.
       */
      public Builder setElementDurabilityAttenuation(float value) {
        
        elementDurabilityAttenuation_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float element_durability_attenuation = 775;</code>
       * @return This builder for chaining.
       */
      public Builder clearElementDurabilityAttenuation() {
        
        elementDurabilityAttenuation_ = 0F;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:AttackResult)
    }

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

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

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AttackResult_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AttackResult_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\022AttackResult.proto\032\027AbilityIdentifier." +
      "proto\032\033AttackHitEffectResult.proto\032\022HitC" +
      "ollision.proto\032\014Vector.proto\"\333\006\n\014AttackR" +
      "esult\022\022\n\ndefense_id\030\002 \001(\r\022\023\n\013attacker_id" +
      "\030\001 \001(\r\022\024\n\013target_type\030\316\016 \001(\r\022\025\n\014endure_d" +
      "elta\030\243\006 \001(\002\022\034\n\023Unk3300_DOMAOPGPHMD\030\306\003 \001(" +
      "\010\022\024\n\014element_type\030\014 \001(\r\022\034\n\023Unk3300_BALCP" +
      "HMFIBC\030\236\013 \001(\r\022\016\n\006damage\030\n \001(\002\022\035\n\024hashed_" +
      "anim_event_id\030\333\010 \001(\r\022\026\n\rcritical_rand\030\205\005" +
      " \001(\r\022\034\n\023Unk3300_ABJJNNNKGBB\030\316\r \001(\r\022\034\n\023Un" +
      "k3300_KPKAECBFABP\030\334\017 \001(\r\022.\n\016hit_eff_resu" +
      "lt\030\010 \001(\0132\026.AttackHitEffectResult\022\024\n\014endu" +
      "re_break\030\016 \001(\r\022.\n\022ability_identifier\030\007 \001" +
      "(\0132\022.AbilityIdentifier\022\024\n\014hit_pos_type\030\003" +
      " \001(\r\022\034\n\023attack_timestamp_ms\030\366\r \001(\r\022\026\n\rda" +
      "mage_shield\030\214\017 \001(\002\022\025\n\014attack_count\030\314\013 \001(" +
      "\r\022\027\n\016is_resist_text\030\371\004 \001(\010\022 \n\030hit_retrea" +
      "t_angle_compat\030\005 \001(\005\022$\n\rhit_collision\030\017 " +
      "\001(\0132\r.HitCollision\022\034\n\023Unk3300_MGIMJGMIPL" +
      "D\030\334\005 \001(\010\022\017\n\007is_crit\030\006 \001(\010\022\035\n\014resolved_di" +
      "r\030\013 \001(\0132\007.Vector\022\034\n\024element_amplify_rate" +
      "\030\034 \001(\002\022\025\n\ranim_event_id\030\004 \001(\t\022\034\n\023Unk3300" +
      "_GBPJCELJKJA\030\264\016 \001(\r\022\034\n\023Unk3300_JMJHGJCAO" +
      "BH\030\222\007 \001(\r\022\'\n\036element_durability_attenuat" +
      "ion\030\207\006 \001(\002B\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.AbilityIdentifierOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.HitCollisionOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
        });
    internal_static_AttackResult_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_AttackResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AttackResult_descriptor,
        new java.lang.String[] { "DefenseId", "AttackerId", "TargetType", "EndureDelta", "Unk3300DOMAOPGPHMD", "ElementType", "Unk3300BALCPHMFIBC", "Damage", "HashedAnimEventId", "CriticalRand", "Unk3300ABJJNNNKGBB", "Unk3300KPKAECBFABP", "HitEffResult", "EndureBreak", "AbilityIdentifier", "HitPosType", "AttackTimestampMs", "DamageShield", "AttackCount", "IsResistText", "HitRetreatAngleCompat", "HitCollision", "Unk3300MGIMJGMIPLD", "IsCrit", "ResolvedDir", "ElementAmplifyRate", "AnimEventId", "Unk3300GBPJCELJKJA", "Unk3300JMJHGJCAOBH", "ElementDurabilityAttenuation", });
    emu.grasscutter.net.proto.AbilityIdentifierOuterClass.getDescriptor();
    emu.grasscutter.net.proto.AttackHitEffectResultOuterClass.getDescriptor();
    emu.grasscutter.net.proto.HitCollisionOuterClass.getDescriptor();
    emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
