// 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>bool is_resist_text = 1858;</code>
     * @return The isResistText.
     */
    boolean getIsResistText();

    /**
     * <code>uint32 Unk2700_GBANCFEPPIM = 1011;</code>
     * @return The unk2700GBANCFEPPIM.
     */
    int getUnk2700GBANCFEPPIM();

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * <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>.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>float damage_shield = 1202;</code>
     * @return The damageShield.
     */
    float getDamageShield();

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * <code>uint32 gadget_damage_action_idx = 1110;</code>
     * @return The gadgetDamageActionIdx.
     */
    int getGadgetDamageActionIdx();
  }
  /**
   * 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 10: {
              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 16: {

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

              animEventId_ = s;
              break;
            }
            case 40: {

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

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

              endureBreak_ = input.readUInt32();
              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 72: {

              hitRetreatAngleCompat_ = input.readInt32();
              break;
            }
            case 82: {
              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 88: {

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

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

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

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

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

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

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

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

              unk2700GBANCFEPPIM_ = input.readUInt32();
              break;
            }
            case 8880: {

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

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

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

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

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

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

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

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

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

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

              amplifyReactionType_ = 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 IS_RESIST_TEXT_FIELD_NUMBER = 1858;
    private boolean isResistText_;
    /**
     * <code>bool is_resist_text = 1858;</code>
     * @return The isResistText.
     */
    @java.lang.Override
    public boolean getIsResistText() {
      return isResistText_;
    }

    public static final int UNK2700_GBANCFEPPIM_FIELD_NUMBER = 1011;
    private int unk2700GBANCFEPPIM_;
    /**
     * <code>uint32 Unk2700_GBANCFEPPIM = 1011;</code>
     * @return The unk2700GBANCFEPPIM.
     */
    @java.lang.Override
    public int getUnk2700GBANCFEPPIM() {
      return unk2700GBANCFEPPIM_;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    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 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 DAMAGE_SHIELD_FIELD_NUMBER = 1202;
    private float damageShield_;
    /**
     * <code>float damage_shield = 1202;</code>
     * @return The damageShield.
     */
    @java.lang.Override
    public float getDamageShield() {
      return damageShield_;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    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 (resolvedDir_ != null) {
        output.writeMessage(1, getResolvedDir());
      }
      if (hitPosType_ != 0) {
        output.writeUInt32(2, hitPosType_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(animEventId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, animEventId_);
      }
      if (elementType_ != 0) {
        output.writeUInt32(5, elementType_);
      }
      if (damage_ != 0F) {
        output.writeFloat(6, damage_);
      }
      if (endureBreak_ != 0) {
        output.writeUInt32(7, endureBreak_);
      }
      if (hitEffResult_ != null) {
        output.writeMessage(8, getHitEffResult());
      }
      if (hitRetreatAngleCompat_ != 0) {
        output.writeInt32(9, hitRetreatAngleCompat_);
      }
      if (hitCollision_ != null) {
        output.writeMessage(10, getHitCollision());
      }
      if (attackerId_ != 0) {
        output.writeUInt32(11, attackerId_);
      }
      if (isCrit_ != false) {
        output.writeBool(13, isCrit_);
      }
      if (abilityIdentifier_ != null) {
        output.writeMessage(14, getAbilityIdentifier());
      }
      if (defenseId_ != 0) {
        output.writeUInt32(15, defenseId_);
      }
      if (bulletFlyTimeMs_ != 0) {
        output.writeUInt32(91, bulletFlyTimeMs_);
      }
      if (hashedAnimEventId_ != 0) {
        output.writeUInt32(278, hashedAnimEventId_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        output.writeFloat(425, elementDurabilityAttenuation_);
      }
      if (endureDelta_ != 0F) {
        output.writeFloat(430, endureDelta_);
      }
      if (elementAmplifyRate_ != 0F) {
        output.writeFloat(900, elementAmplifyRate_);
      }
      if (unk2700GBANCFEPPIM_ != 0) {
        output.writeUInt32(1011, unk2700GBANCFEPPIM_);
      }
      if (gadgetDamageActionIdx_ != 0) {
        output.writeUInt32(1110, gadgetDamageActionIdx_);
      }
      if (attackTimestampMs_ != 0) {
        output.writeUInt32(1188, attackTimestampMs_);
      }
      if (damageShield_ != 0F) {
        output.writeFloat(1202, damageShield_);
      }
      if (targetType_ != 0) {
        output.writeUInt32(1366, targetType_);
      }
      if (useGadgetDamageAction_ != false) {
        output.writeBool(1418, useGadgetDamageAction_);
      }
      if (muteElementHurt_ != false) {
        output.writeBool(1530, muteElementHurt_);
      }
      if (attackCount_ != 0) {
        output.writeUInt32(1564, attackCount_);
      }
      if (criticalRand_ != 0) {
        output.writeUInt32(1664, criticalRand_);
      }
      if (isResistText_ != false) {
        output.writeBool(1858, isResistText_);
      }
      if (addhurtReactionType_ != 0) {
        output.writeUInt32(1887, addhurtReactionType_);
      }
      if (amplifyReactionType_ != 0) {
        output.writeUInt32(2005, amplifyReactionType_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (resolvedDir_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getResolvedDir());
      }
      if (hitPosType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, hitPosType_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(animEventId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, animEventId_);
      }
      if (elementType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, elementType_);
      }
      if (damage_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(6, damage_);
      }
      if (endureBreak_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, endureBreak_);
      }
      if (hitEffResult_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, getHitEffResult());
      }
      if (hitRetreatAngleCompat_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(9, hitRetreatAngleCompat_);
      }
      if (hitCollision_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, getHitCollision());
      }
      if (attackerId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, attackerId_);
      }
      if (isCrit_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(13, isCrit_);
      }
      if (abilityIdentifier_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, getAbilityIdentifier());
      }
      if (defenseId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(15, defenseId_);
      }
      if (bulletFlyTimeMs_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(91, bulletFlyTimeMs_);
      }
      if (hashedAnimEventId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(278, hashedAnimEventId_);
      }
      if (elementDurabilityAttenuation_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(425, elementDurabilityAttenuation_);
      }
      if (endureDelta_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(430, endureDelta_);
      }
      if (elementAmplifyRate_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(900, elementAmplifyRate_);
      }
      if (unk2700GBANCFEPPIM_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1011, unk2700GBANCFEPPIM_);
      }
      if (gadgetDamageActionIdx_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1110, gadgetDamageActionIdx_);
      }
      if (attackTimestampMs_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1188, attackTimestampMs_);
      }
      if (damageShield_ != 0F) {
        size += com.google.protobuf.CodedOutputStream
          .computeFloatSize(1202, damageShield_);
      }
      if (targetType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1366, targetType_);
      }
      if (useGadgetDamageAction_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1418, useGadgetDamageAction_);
      }
      if (muteElementHurt_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1530, muteElementHurt_);
      }
      if (attackCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1564, attackCount_);
      }
      if (criticalRand_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1664, criticalRand_);
      }
      if (isResistText_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1858, isResistText_);
      }
      if (addhurtReactionType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1887, addhurtReactionType_);
      }
      if (amplifyReactionType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2005, amplifyReactionType_);
      }
      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 (getIsResistText()
          != other.getIsResistText()) return false;
      if (getUnk2700GBANCFEPPIM()
          != other.getUnk2700GBANCFEPPIM()) return false;
      if (getAmplifyReactionType()
          != other.getAmplifyReactionType()) return false;
      if (getEndureBreak()
          != other.getEndureBreak()) return false;
      if (getElementType()
          != other.getElementType()) return false;
      if (java.lang.Float.floatToIntBits(getElementDurabilityAttenuation())
          != java.lang.Float.floatToIntBits(
              other.getElementDurabilityAttenuation())) return false;
      if (getDefenseId()
          != other.getDefenseId()) return false;
      if (getAttackTimestampMs()
          != other.getAttackTimestampMs()) return false;
      if (getBulletFlyTimeMs()
          != other.getBulletFlyTimeMs()) return false;
      if (getIsCrit()
          != other.getIsCrit()) return false;
      if (java.lang.Float.floatToIntBits(getElementAmplifyRate())
          != java.lang.Float.floatToIntBits(
              other.getElementAmplifyRate())) return false;
      if (getAttackCount()
          != other.getAttackCount()) return false;
      if (getCriticalRand()
          != other.getCriticalRand()) return false;
      if (getHitPosType()
          != other.getHitPosType()) return false;
      if (!getAnimEventId()
          .equals(other.getAnimEventId())) return false;
      if (hasHitEffResult() != other.hasHitEffResult()) return false;
      if (hasHitEffResult()) {
        if (!getHitEffResult()
            .equals(other.getHitEffResult())) return false;
      }
      if (java.lang.Float.floatToIntBits(getDamageShield())
          != java.lang.Float.floatToIntBits(
              other.getDamageShield())) return false;
      if (java.lang.Float.floatToIntBits(getEndureDelta())
          != java.lang.Float.floatToIntBits(
              other.getEndureDelta())) return false;
      if (hasResolvedDir() != other.hasResolvedDir()) return false;
      if (hasResolvedDir()) {
        if (!getResolvedDir()
            .equals(other.getResolvedDir())) return false;
      }
      if (java.lang.Float.floatToIntBits(getDamage())
          != java.lang.Float.floatToIntBits(
              other.getDamage())) return false;
      if (getAddhurtReactionType()
          != other.getAddhurtReactionType()) return false;
      if (getHashedAnimEventId()
          != other.getHashedAnimEventId()) return false;
      if (getUseGadgetDamageAction()
          != other.getUseGadgetDamageAction()) return false;
      if (getHitRetreatAngleCompat()
          != other.getHitRetreatAngleCompat()) return false;
      if (hasAbilityIdentifier() != other.hasAbilityIdentifier()) return false;
      if (hasAbilityIdentifier()) {
        if (!getAbilityIdentifier()
            .equals(other.getAbilityIdentifier())) return false;
      }
      if (getAttackerId()
          != other.getAttackerId()) return false;
      if (getMuteElementHurt()
          != other.getMuteElementHurt()) return false;
      if (getTargetType()
          != other.getTargetType()) return false;
      if (hasHitCollision() != other.hasHitCollision()) return false;
      if (hasHitCollision()) {
        if (!getHitCollision()
            .equals(other.getHitCollision())) return false;
      }
      if (getGadgetDamageActionIdx()
          != other.getGadgetDamageActionIdx()) 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) + IS_RESIST_TEXT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsResistText());
      hash = (37 * hash) + UNK2700_GBANCFEPPIM_FIELD_NUMBER;
      hash = (53 * hash) + getUnk2700GBANCFEPPIM();
      hash = (37 * hash) + AMPLIFY_REACTION_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getAmplifyReactionType();
      hash = (37 * hash) + ENDURE_BREAK_FIELD_NUMBER;
      hash = (53 * hash) + getEndureBreak();
      hash = (37 * hash) + ELEMENT_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getElementType();
      hash = (37 * hash) + ELEMENT_DURABILITY_ATTENUATION_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementDurabilityAttenuation());
      hash = (37 * hash) + DEFENSE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getDefenseId();
      hash = (37 * hash) + ATTACK_TIMESTAMP_MS_FIELD_NUMBER;
      hash = (53 * hash) + getAttackTimestampMs();
      hash = (37 * hash) + BULLET_FLY_TIME_MS_FIELD_NUMBER;
      hash = (53 * hash) + getBulletFlyTimeMs();
      hash = (37 * hash) + IS_CRIT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsCrit());
      hash = (37 * hash) + ELEMENT_AMPLIFY_RATE_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getElementAmplifyRate());
      hash = (37 * hash) + ATTACK_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getAttackCount();
      hash = (37 * hash) + CRITICAL_RAND_FIELD_NUMBER;
      hash = (53 * hash) + getCriticalRand();
      hash = (37 * hash) + HIT_POS_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getHitPosType();
      hash = (37 * hash) + ANIM_EVENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getAnimEventId().hashCode();
      if (hasHitEffResult()) {
        hash = (37 * hash) + HIT_EFF_RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getHitEffResult().hashCode();
      }
      hash = (37 * hash) + DAMAGE_SHIELD_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getDamageShield());
      hash = (37 * hash) + ENDURE_DELTA_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getEndureDelta());
      if (hasResolvedDir()) {
        hash = (37 * hash) + RESOLVED_DIR_FIELD_NUMBER;
        hash = (53 * hash) + getResolvedDir().hashCode();
      }
      hash = (37 * hash) + DAMAGE_FIELD_NUMBER;
      hash = (53 * hash) + java.lang.Float.floatToIntBits(
          getDamage());
      hash = (37 * hash) + ADDHURT_REACTION_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getAddhurtReactionType();
      hash = (37 * hash) + HASHED_ANIM_EVENT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getHashedAnimEventId();
      hash = (37 * hash) + USE_GADGET_DAMAGE_ACTION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUseGadgetDamageAction());
      hash = (37 * hash) + HIT_RETREAT_ANGLE_COMPAT_FIELD_NUMBER;
      hash = (53 * hash) + getHitRetreatAngleCompat();
      if (hasAbilityIdentifier()) {
        hash = (37 * hash) + ABILITY_IDENTIFIER_FIELD_NUMBER;
        hash = (53 * hash) + getAbilityIdentifier().hashCode();
      }
      hash = (37 * hash) + ATTACKER_ID_FIELD_NUMBER;
      hash = (53 * hash) + getAttackerId();
      hash = (37 * hash) + MUTE_ELEMENT_HURT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getMuteElementHurt());
      hash = (37 * hash) + TARGET_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getTargetType();
      if (hasHitCollision()) {
        hash = (37 * hash) + HIT_COLLISION_FIELD_NUMBER;
        hash = (53 * hash) + getHitCollision().hashCode();
      }
      hash = (37 * hash) + GADGET_DAMAGE_ACTION_IDX_FIELD_NUMBER;
      hash = (53 * hash) + getGadgetDamageActionIdx();
      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();
        isResistText_ = false;

        unk2700GBANCFEPPIM_ = 0;

        amplifyReactionType_ = 0;

        endureBreak_ = 0;

        elementType_ = 0;

        elementDurabilityAttenuation_ = 0F;

        defenseId_ = 0;

        attackTimestampMs_ = 0;

        bulletFlyTimeMs_ = 0;

        isCrit_ = false;

        elementAmplifyRate_ = 0F;

        attackCount_ = 0;

        criticalRand_ = 0;

        hitPosType_ = 0;

        animEventId_ = "";

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

        endureDelta_ = 0F;

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

        addhurtReactionType_ = 0;

        hashedAnimEventId_ = 0;

        useGadgetDamageAction_ = false;

        hitRetreatAngleCompat_ = 0;

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

        muteElementHurt_ = false;

        targetType_ = 0;

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

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult buildPartial() {
        emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult result = new emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult(this);
        result.isResistText_ = isResistText_;
        result.unk2700GBANCFEPPIM_ = unk2700GBANCFEPPIM_;
        result.amplifyReactionType_ = amplifyReactionType_;
        result.endureBreak_ = endureBreak_;
        result.elementType_ = elementType_;
        result.elementDurabilityAttenuation_ = elementDurabilityAttenuation_;
        result.defenseId_ = defenseId_;
        result.attackTimestampMs_ = attackTimestampMs_;
        result.bulletFlyTimeMs_ = bulletFlyTimeMs_;
        result.isCrit_ = isCrit_;
        result.elementAmplifyRate_ = elementAmplifyRate_;
        result.attackCount_ = attackCount_;
        result.criticalRand_ = criticalRand_;
        result.hitPosType_ = hitPosType_;
        result.animEventId_ = animEventId_;
        if (hitEffResultBuilder_ == null) {
          result.hitEffResult_ = hitEffResult_;
        } else {
          result.hitEffResult_ = hitEffResultBuilder_.build();
        }
        result.damageShield_ = damageShield_;
        result.endureDelta_ = endureDelta_;
        if (resolvedDirBuilder_ == null) {
          result.resolvedDir_ = resolvedDir_;
        } else {
          result.resolvedDir_ = resolvedDirBuilder_.build();
        }
        result.damage_ = damage_;
        result.addhurtReactionType_ = addhurtReactionType_;
        result.hashedAnimEventId_ = hashedAnimEventId_;
        result.useGadgetDamageAction_ = useGadgetDamageAction_;
        result.hitRetreatAngleCompat_ = hitRetreatAngleCompat_;
        if (abilityIdentifierBuilder_ == null) {
          result.abilityIdentifier_ = abilityIdentifier_;
        } else {
          result.abilityIdentifier_ = abilityIdentifierBuilder_.build();
        }
        result.attackerId_ = attackerId_;
        result.muteElementHurt_ = muteElementHurt_;
        result.targetType_ = targetType_;
        if (hitCollisionBuilder_ == null) {
          result.hitCollision_ = hitCollision_;
        } else {
          result.hitCollision_ = hitCollisionBuilder_.build();
        }
        result.gadgetDamageActionIdx_ = gadgetDamageActionIdx_;
        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.getIsResistText() != false) {
          setIsResistText(other.getIsResistText());
        }
        if (other.getUnk2700GBANCFEPPIM() != 0) {
          setUnk2700GBANCFEPPIM(other.getUnk2700GBANCFEPPIM());
        }
        if (other.getAmplifyReactionType() != 0) {
          setAmplifyReactionType(other.getAmplifyReactionType());
        }
        if (other.getEndureBreak() != 0) {
          setEndureBreak(other.getEndureBreak());
        }
        if (other.getElementType() != 0) {
          setElementType(other.getElementType());
        }
        if (other.getElementDurabilityAttenuation() != 0F) {
          setElementDurabilityAttenuation(other.getElementDurabilityAttenuation());
        }
        if (other.getDefenseId() != 0) {
          setDefenseId(other.getDefenseId());
        }
        if (other.getAttackTimestampMs() != 0) {
          setAttackTimestampMs(other.getAttackTimestampMs());
        }
        if (other.getBulletFlyTimeMs() != 0) {
          setBulletFlyTimeMs(other.getBulletFlyTimeMs());
        }
        if (other.getIsCrit() != false) {
          setIsCrit(other.getIsCrit());
        }
        if (other.getElementAmplifyRate() != 0F) {
          setElementAmplifyRate(other.getElementAmplifyRate());
        }
        if (other.getAttackCount() != 0) {
          setAttackCount(other.getAttackCount());
        }
        if (other.getCriticalRand() != 0) {
          setCriticalRand(other.getCriticalRand());
        }
        if (other.getHitPosType() != 0) {
          setHitPosType(other.getHitPosType());
        }
        if (!other.getAnimEventId().isEmpty()) {
          animEventId_ = other.animEventId_;
          onChanged();
        }
        if (other.hasHitEffResult()) {
          mergeHitEffResult(other.getHitEffResult());
        }
        if (other.getDamageShield() != 0F) {
          setDamageShield(other.getDamageShield());
        }
        if (other.getEndureDelta() != 0F) {
          setEndureDelta(other.getEndureDelta());
        }
        if (other.hasResolvedDir()) {
          mergeResolvedDir(other.getResolvedDir());
        }
        if (other.getDamage() != 0F) {
          setDamage(other.getDamage());
        }
        if (other.getAddhurtReactionType() != 0) {
          setAddhurtReactionType(other.getAddhurtReactionType());
        }
        if (other.getHashedAnimEventId() != 0) {
          setHashedAnimEventId(other.getHashedAnimEventId());
        }
        if (other.getUseGadgetDamageAction() != false) {
          setUseGadgetDamageAction(other.getUseGadgetDamageAction());
        }
        if (other.getHitRetreatAngleCompat() != 0) {
          setHitRetreatAngleCompat(other.getHitRetreatAngleCompat());
        }
        if (other.hasAbilityIdentifier()) {
          mergeAbilityIdentifier(other.getAbilityIdentifier());
        }
        if (other.getAttackerId() != 0) {
          setAttackerId(other.getAttackerId());
        }
        if (other.getMuteElementHurt() != false) {
          setMuteElementHurt(other.getMuteElementHurt());
        }
        if (other.getTargetType() != 0) {
          setTargetType(other.getTargetType());
        }
        if (other.hasHitCollision()) {
          mergeHitCollision(other.getHitCollision());
        }
        if (other.getGadgetDamageActionIdx() != 0) {
          setGadgetDamageActionIdx(other.getGadgetDamageActionIdx());
        }
        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 boolean isResistText_ ;
      /**
       * <code>bool is_resist_text = 1858;</code>
       * @return The isResistText.
       */
      @java.lang.Override
      public boolean getIsResistText() {
        return isResistText_;
      }
      /**
       * <code>bool is_resist_text = 1858;</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 = 1858;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsResistText() {
        
        isResistText_ = false;
        onChanged();
        return this;
      }

      private int unk2700GBANCFEPPIM_ ;
      /**
       * <code>uint32 Unk2700_GBANCFEPPIM = 1011;</code>
       * @return The unk2700GBANCFEPPIM.
       */
      @java.lang.Override
      public int getUnk2700GBANCFEPPIM() {
        return unk2700GBANCFEPPIM_;
      }
      /**
       * <code>uint32 Unk2700_GBANCFEPPIM = 1011;</code>
       * @param value The unk2700GBANCFEPPIM to set.
       * @return This builder for chaining.
       */
      public Builder setUnk2700GBANCFEPPIM(int value) {
        
        unk2700GBANCFEPPIM_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk2700_GBANCFEPPIM = 1011;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk2700GBANCFEPPIM() {
        
        unk2700GBANCFEPPIM_ = 0;
        onChanged();
        return this;
      }

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

      private int endureBreak_ ;
      /**
       * <code>uint32 endure_break = 7;</code>
       * @return The endureBreak.
       */
      @java.lang.Override
      public int getEndureBreak() {
        return endureBreak_;
      }
      /**
       * <code>uint32 endure_break = 7;</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 = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndureBreak() {
        
        endureBreak_ = 0;
        onChanged();
        return this;
      }

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

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

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

      private int attackTimestampMs_ ;
      /**
       * <code>uint32 attack_timestamp_ms = 1188;</code>
       * @return The attackTimestampMs.
       */
      @java.lang.Override
      public int getAttackTimestampMs() {
        return attackTimestampMs_;
      }
      /**
       * <code>uint32 attack_timestamp_ms = 1188;</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 = 1188;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackTimestampMs() {
        
        attackTimestampMs_ = 0;
        onChanged();
        return this;
      }

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

      private boolean isCrit_ ;
      /**
       * <code>bool is_crit = 13;</code>
       * @return The isCrit.
       */
      @java.lang.Override
      public boolean getIsCrit() {
        return isCrit_;
      }
      /**
       * <code>bool is_crit = 13;</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 = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsCrit() {
        
        isCrit_ = false;
        onChanged();
        return this;
      }

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

      private int attackCount_ ;
      /**
       * <code>uint32 attack_count = 1564;</code>
       * @return The attackCount.
       */
      @java.lang.Override
      public int getAttackCount() {
        return attackCount_;
      }
      /**
       * <code>uint32 attack_count = 1564;</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 = 1564;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackCount() {
        
        attackCount_ = 0;
        onChanged();
        return this;
      }

      private int criticalRand_ ;
      /**
       * <code>uint32 critical_rand = 1664;</code>
       * @return The criticalRand.
       */
      @java.lang.Override
      public int getCriticalRand() {
        return criticalRand_;
      }
      /**
       * <code>uint32 critical_rand = 1664;</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 = 1664;</code>
       * @return This builder for chaining.
       */
      public Builder clearCriticalRand() {
        
        criticalRand_ = 0;
        onChanged();
        return this;
      }

      private int hitPosType_ ;
      /**
       * <code>uint32 hit_pos_type = 2;</code>
       * @return The hitPosType.
       */
      @java.lang.Override
      public int getHitPosType() {
        return hitPosType_;
      }
      /**
       * <code>uint32 hit_pos_type = 2;</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 = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearHitPosType() {
        
        hitPosType_ = 0;
        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 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 float damageShield_ ;
      /**
       * <code>float damage_shield = 1202;</code>
       * @return The damageShield.
       */
      @java.lang.Override
      public float getDamageShield() {
        return damageShield_;
      }
      /**
       * <code>float damage_shield = 1202;</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 = 1202;</code>
       * @return This builder for chaining.
       */
      public Builder clearDamageShield() {
        
        damageShield_ = 0F;
        onChanged();
        return this;
      }

      private float endureDelta_ ;
      /**
       * <code>float endure_delta = 430;</code>
       * @return The endureDelta.
       */
      @java.lang.Override
      public float getEndureDelta() {
        return endureDelta_;
      }
      /**
       * <code>float endure_delta = 430;</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 = 430;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndureDelta() {
        
        endureDelta_ = 0F;
        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 = 1;</code>
       * @return Whether the resolvedDir field is set.
       */
      public boolean hasResolvedDir() {
        return resolvedDirBuilder_ != null || resolvedDir_ != null;
      }
      /**
       * <code>.Vector resolved_dir = 1;</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 = 1;</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 = 1;</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 = 1;</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 = 1;</code>
       */
      public Builder clearResolvedDir() {
        if (resolvedDirBuilder_ == null) {
          resolvedDir_ = null;
          onChanged();
        } else {
          resolvedDir_ = null;
          resolvedDirBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Vector resolved_dir = 1;</code>
       */
      public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getResolvedDirBuilder() {
        
        onChanged();
        return getResolvedDirFieldBuilder().getBuilder();
      }
      /**
       * <code>.Vector resolved_dir = 1;</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 = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> 
          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 damage_ ;
      /**
       * <code>float damage = 6;</code>
       * @return The damage.
       */
      @java.lang.Override
      public float getDamage() {
        return damage_;
      }
      /**
       * <code>float damage = 6;</code>
       * @param value The damage to set.
       * @return This builder for chaining.
       */
      public Builder setDamage(float value) {
        
        damage_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>float damage = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearDamage() {
        
        damage_ = 0F;
        onChanged();
        return this;
      }

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

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

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

      private int hitRetreatAngleCompat_ ;
      /**
       * <code>int32 hit_retreat_angle_compat = 9;</code>
       * @return The hitRetreatAngleCompat.
       */
      @java.lang.Override
      public int getHitRetreatAngleCompat() {
        return hitRetreatAngleCompat_;
      }
      /**
       * <code>int32 hit_retreat_angle_compat = 9;</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 = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearHitRetreatAngleCompat() {
        
        hitRetreatAngleCompat_ = 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 = 14;</code>
       * @return Whether the abilityIdentifier field is set.
       */
      public boolean hasAbilityIdentifier() {
        return abilityIdentifierBuilder_ != null || abilityIdentifier_ != null;
      }
      /**
       * <code>.AbilityIdentifier ability_identifier = 14;</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 = 14;</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 = 14;</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 = 14;</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 = 14;</code>
       */
      public Builder clearAbilityIdentifier() {
        if (abilityIdentifierBuilder_ == null) {
          abilityIdentifier_ = null;
          onChanged();
        } else {
          abilityIdentifier_ = null;
          abilityIdentifierBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilityIdentifier ability_identifier = 14;</code>
       */
      public emu.grasscutter.net.proto.AbilityIdentifierOuterClass.AbilityIdentifier.Builder getAbilityIdentifierBuilder() {
        
        onChanged();
        return getAbilityIdentifierFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilityIdentifier ability_identifier = 14;</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 = 14;</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 attackerId_ ;
      /**
       * <code>uint32 attacker_id = 11;</code>
       * @return The attackerId.
       */
      @java.lang.Override
      public int getAttackerId() {
        return attackerId_;
      }
      /**
       * <code>uint32 attacker_id = 11;</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 = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackerId() {
        
        attackerId_ = 0;
        onChanged();
        return this;
      }

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

      private int targetType_ ;
      /**
       * <code>uint32 target_type = 1366;</code>
       * @return The targetType.
       */
      @java.lang.Override
      public int getTargetType() {
        return targetType_;
      }
      /**
       * <code>uint32 target_type = 1366;</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 = 1366;</code>
       * @return This builder for chaining.
       */
      public Builder clearTargetType() {
        
        targetType_ = 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 = 10;</code>
       * @return Whether the hitCollision field is set.
       */
      public boolean hasHitCollision() {
        return hitCollisionBuilder_ != null || hitCollision_ != null;
      }
      /**
       * <code>.HitCollision hit_collision = 10;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</code>
       */
      public Builder clearHitCollision() {
        if (hitCollisionBuilder_ == null) {
          hitCollision_ = null;
          onChanged();
        } else {
          hitCollision_ = null;
          hitCollisionBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.HitCollision hit_collision = 10;</code>
       */
      public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder getHitCollisionBuilder() {
        
        onChanged();
        return getHitCollisionFieldBuilder().getBuilder();
      }
      /**
       * <code>.HitCollision hit_collision = 10;</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 = 10;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder> 
          getHitCollisionFieldBuilder() {
        if (hitCollisionBuilder_ == null) {
          hitCollisionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder>(
                  getHitCollision(),
                  getParentForChildren(),
                  isClean());
          hitCollision_ = null;
        }
        return hitCollisionBuilder_;
      }

      private int gadgetDamageActionIdx_ ;
      /**
       * <code>uint32 gadget_damage_action_idx = 1110;</code>
       * @return The gadgetDamageActionIdx.
       */
      @java.lang.Override
      public int getGadgetDamageActionIdx() {
        return gadgetDamageActionIdx_;
      }
      /**
       * <code>uint32 gadget_damage_action_idx = 1110;</code>
       * @param value The gadgetDamageActionIdx to set.
       * @return This builder for chaining.
       */
      public Builder setGadgetDamageActionIdx(int value) {
        
        gadgetDamageActionIdx_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gadget_damage_action_idx = 1110;</code>
       * @return This builder for chaining.
       */
      public Builder clearGadgetDamageActionIdx() {
        
        gadgetDamageActionIdx_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:AttackResult)
    }

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

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

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

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

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

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

  }

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

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\022AttackResult.proto\032\027AbilityIdentifier." +
      "proto\032\033AttackHitEffectResult.proto\032\022HitC" +
      "ollision.proto\032\014Vector.proto\"\346\006\n\014AttackR" +
      "esult\022\027\n\016is_resist_text\030\302\016 \001(\010\022\034\n\023Unk270" +
      "0_GBANCFEPPIM\030\363\007 \001(\r\022\036\n\025amplify_reaction" +
      "_type\030\325\017 \001(\r\022\024\n\014endure_break\030\007 \001(\r\022\024\n\014el" +
      "ement_type\030\005 \001(\r\022\'\n\036element_durability_a" +
      "ttenuation\030\251\003 \001(\002\022\022\n\ndefense_id\030\017 \001(\r\022\034\n" +
      "\023attack_timestamp_ms\030\244\t \001(\r\022\032\n\022bullet_fl" +
      "y_time_ms\030[ \001(\r\022\017\n\007is_crit\030\r \001(\010\022\035\n\024elem" +
      "ent_amplify_rate\030\204\007 \001(\002\022\025\n\014attack_count\030" +
      "\234\014 \001(\r\022\026\n\rcritical_rand\030\200\r \001(\r\022\024\n\014hit_po" +
      "s_type\030\002 \001(\r\022\025\n\ranim_event_id\030\004 \001(\t\022.\n\016h" +
      "it_eff_result\030\010 \001(\0132\026.AttackHitEffectRes" +
      "ult\022\026\n\rdamage_shield\030\262\t \001(\002\022\025\n\014endure_de" +
      "lta\030\256\003 \001(\002\022\035\n\014resolved_dir\030\001 \001(\0132\007.Vecto" +
      "r\022\016\n\006damage\030\006 \001(\002\022\036\n\025addhurt_reaction_ty" +
      "pe\030\337\016 \001(\r\022\035\n\024hashed_anim_event_id\030\226\002 \001(\r" +
      "\022!\n\030use_gadget_damage_action\030\212\013 \001(\010\022 \n\030h" +
      "it_retreat_angle_compat\030\t \001(\005\022.\n\022ability" +
      "_identifier\030\016 \001(\0132\022.AbilityIdentifier\022\023\n" +
      "\013attacker_id\030\013 \001(\r\022\032\n\021mute_element_hurt\030" +
      "\372\013 \001(\010\022\024\n\013target_type\030\326\n \001(\r\022$\n\rhit_coll" +
      "ision\030\n \001(\0132\r.HitCollision\022!\n\030gadget_dam" +
      "age_action_idx\030\326\010 \001(\rB\033\n\031emu.grasscutter" +
      ".net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.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[] { "IsResistText", "Unk2700GBANCFEPPIM", "AmplifyReactionType", "EndureBreak", "ElementType", "ElementDurabilityAttenuation", "DefenseId", "AttackTimestampMs", "BulletFlyTimeMs", "IsCrit", "ElementAmplifyRate", "AttackCount", "CriticalRand", "HitPosType", "AnimEventId", "HitEffResult", "DamageShield", "EndureDelta", "ResolvedDir", "Damage", "AddhurtReactionType", "HashedAnimEventId", "UseGadgetDamageAction", "HitRetreatAngleCompat", "AbilityIdentifier", "AttackerId", "MuteElementHurt", "TargetType", "HitCollision", "GadgetDamageActionIdx", });
    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)
}
