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

package emu.grasscutter.net.proto;

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

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

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

    /**
     * <code>uint32 configId = 3;</code>
     * @return The configId.
     */
    int getConfigId();

    /**
     * <code>.SceneWeaponInfo weaponList = 4;</code>
     * @return Whether the weaponList field is set.
     */
    boolean hasWeaponList();
    /**
     * <code>.SceneWeaponInfo weaponList = 4;</code>
     * @return The weaponList.
     */
    emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeaponList();
    /**
     * <code>.SceneWeaponInfo weaponList = 4;</code>
     */
    emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponListOrBuilder();

    /**
     * <code>uint32 authorityPeerId = 5;</code>
     * @return The authorityPeerId.
     */
    int getAuthorityPeerId();

    /**
     * <code>repeated uint32 affixList = 6;</code>
     * @return A list containing the affixList.
     */
    java.util.List<java.lang.Integer> getAffixListList();
    /**
     * <code>repeated uint32 affixList = 6;</code>
     * @return The count of affixList.
     */
    int getAffixListCount();
    /**
     * <code>repeated uint32 affixList = 6;</code>
     * @param index The index of the element to return.
     * @return The affixList at the given index.
     */
    int getAffixList(int index);

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

    /**
     * <code>uint32 ownerEntityId = 8;</code>
     * @return The ownerEntityId.
     */
    int getOwnerEntityId();

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

    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */
    int getSummonTagMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */
    boolean containsSummonTagMap(
        int key);
    /**
     * Use {@link #getSummonTagMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getSummonTagMap();
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getSummonTagMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */

    int getSummonTagMapOrDefault(
        int key,
        int defaultValue);
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */

    int getSummonTagMapOrThrow(
        int key);

    /**
     * <code>uint32 poseId = 11;</code>
     * @return The poseId.
     */
    int getPoseId();

    /**
     * <code>.MonsterBornType bornType = 12;</code>
     * @return The enum numeric value on the wire for bornType.
     */
    int getBornTypeValue();
    /**
     * <code>.MonsterBornType bornType = 12;</code>
     * @return The bornType.
     */
    emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType getBornType();

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

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

    /**
     * <code>uint32 titleId = 15;</code>
     * @return The titleId.
     */
    int getTitleId();

    /**
     * <code>uint32 specialNameId = 16;</code>
     * @return The specialNameId.
     */
    int getSpecialNameId();

    /**
     * <code>uint32 attackTargetId = 17;</code>
     * @return The attackTargetId.
     */
    int getAttackTargetId();

    /**
     * <code>.MonsterRoute monsterRoute = 18;</code>
     * @return Whether the monsterRoute field is set.
     */
    boolean hasMonsterRoute();
    /**
     * <code>.MonsterRoute monsterRoute = 18;</code>
     * @return The monsterRoute.
     */
    emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute getMonsterRoute();
    /**
     * <code>.MonsterRoute monsterRoute = 18;</code>
     */
    emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRouteOrBuilder getMonsterRouteOrBuilder();

    /**
     * <code>uint32 aiConfigId = 19;</code>
     * @return The aiConfigId.
     */
    int getAiConfigId();

    /**
     * <code>uint32 unk1 = 21;</code>
     * @return The unk1.
     */
    int getUnk1();
  }
  /**
   * Protobuf type {@code SceneMonsterInfo}
   */
  public static final class SceneMonsterInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:SceneMonsterInfo)
      SceneMonsterInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SceneMonsterInfo.newBuilder() to construct.
    private SceneMonsterInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SceneMonsterInfo() {
      affixList_ = emptyIntList();
      bornType_ = 0;
    }

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

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

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

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

              configId_ = input.readUInt32();
              break;
            }
            case 34: {
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder subBuilder = null;
              if (weaponList_ != null) {
                subBuilder = weaponList_.toBuilder();
              }
              weaponList_ = input.readMessage(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(weaponList_);
                weaponList_ = subBuilder.buildPartial();
              }

              break;
            }
            case 40: {

              authorityPeerId_ = input.readUInt32();
              break;
            }
            case 48: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                affixList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              affixList_.addInt(input.readUInt32());
              break;
            }
            case 50: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                affixList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                affixList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 56: {

              isElite_ = input.readBool();
              break;
            }
            case 64: {

              ownerEntityId_ = input.readUInt32();
              break;
            }
            case 72: {

              summonedTag_ = input.readUInt32();
              break;
            }
            case 82: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                summonTagMap_ = com.google.protobuf.MapField.newMapField(
                    SummonTagMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000002;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
              summonTagMap__ = input.readMessage(
                  SummonTagMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              summonTagMap_.getMutableMap().put(
                  summonTagMap__.getKey(), summonTagMap__.getValue());
              break;
            }
            case 88: {

              poseId_ = input.readUInt32();
              break;
            }
            case 96: {
              int rawValue = input.readEnum();

              bornType_ = rawValue;
              break;
            }
            case 104: {

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

              markFlag_ = input.readUInt32();
              break;
            }
            case 120: {

              titleId_ = input.readUInt32();
              break;
            }
            case 128: {

              specialNameId_ = input.readUInt32();
              break;
            }
            case 136: {

              attackTargetId_ = input.readUInt32();
              break;
            }
            case 146: {
              emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.Builder subBuilder = null;
              if (monsterRoute_ != null) {
                subBuilder = monsterRoute_.toBuilder();
              }
              monsterRoute_ = input.readMessage(emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(monsterRoute_);
                monsterRoute_ = subBuilder.buildPartial();
              }

              break;
            }
            case 152: {

              aiConfigId_ = input.readUInt32();
              break;
            }
            case 168: {

              unk1_ = 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 {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          affixList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.internal_static_SceneMonsterInfo_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 10:
          return internalGetSummonTagMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.internal_static_SceneMonsterInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo.class, emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo.Builder.class);
    }

    public static final int MONSTERID_FIELD_NUMBER = 1;
    private int monsterId_;
    /**
     * <code>uint32 monsterId = 1;</code>
     * @return The monsterId.
     */
    @java.lang.Override
    public int getMonsterId() {
      return monsterId_;
    }

    public static final int GROUPID_FIELD_NUMBER = 2;
    private int groupId_;
    /**
     * <code>uint32 groupId = 2;</code>
     * @return The groupId.
     */
    @java.lang.Override
    public int getGroupId() {
      return groupId_;
    }

    public static final int CONFIGID_FIELD_NUMBER = 3;
    private int configId_;
    /**
     * <code>uint32 configId = 3;</code>
     * @return The configId.
     */
    @java.lang.Override
    public int getConfigId() {
      return configId_;
    }

    public static final int WEAPONLIST_FIELD_NUMBER = 4;
    private emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo weaponList_;
    /**
     * <code>.SceneWeaponInfo weaponList = 4;</code>
     * @return Whether the weaponList field is set.
     */
    @java.lang.Override
    public boolean hasWeaponList() {
      return weaponList_ != null;
    }
    /**
     * <code>.SceneWeaponInfo weaponList = 4;</code>
     * @return The weaponList.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeaponList() {
      return weaponList_ == null ? emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weaponList_;
    }
    /**
     * <code>.SceneWeaponInfo weaponList = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponListOrBuilder() {
      return getWeaponList();
    }

    public static final int AUTHORITYPEERID_FIELD_NUMBER = 5;
    private int authorityPeerId_;
    /**
     * <code>uint32 authorityPeerId = 5;</code>
     * @return The authorityPeerId.
     */
    @java.lang.Override
    public int getAuthorityPeerId() {
      return authorityPeerId_;
    }

    public static final int AFFIXLIST_FIELD_NUMBER = 6;
    private com.google.protobuf.Internal.IntList affixList_;
    /**
     * <code>repeated uint32 affixList = 6;</code>
     * @return A list containing the affixList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getAffixListList() {
      return affixList_;
    }
    /**
     * <code>repeated uint32 affixList = 6;</code>
     * @return The count of affixList.
     */
    public int getAffixListCount() {
      return affixList_.size();
    }
    /**
     * <code>repeated uint32 affixList = 6;</code>
     * @param index The index of the element to return.
     * @return The affixList at the given index.
     */
    public int getAffixList(int index) {
      return affixList_.getInt(index);
    }
    private int affixListMemoizedSerializedSize = -1;

    public static final int ISELITE_FIELD_NUMBER = 7;
    private boolean isElite_;
    /**
     * <code>bool isElite = 7;</code>
     * @return The isElite.
     */
    @java.lang.Override
    public boolean getIsElite() {
      return isElite_;
    }

    public static final int OWNERENTITYID_FIELD_NUMBER = 8;
    private int ownerEntityId_;
    /**
     * <code>uint32 ownerEntityId = 8;</code>
     * @return The ownerEntityId.
     */
    @java.lang.Override
    public int getOwnerEntityId() {
      return ownerEntityId_;
    }

    public static final int SUMMONEDTAG_FIELD_NUMBER = 9;
    private int summonedTag_;
    /**
     * <code>uint32 summonedTag = 9;</code>
     * @return The summonedTag.
     */
    @java.lang.Override
    public int getSummonedTag() {
      return summonedTag_;
    }

    public static final int SUMMONTAGMAP_FIELD_NUMBER = 10;
    private static final class SummonTagMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Integer, java.lang.Integer> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                  emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.internal_static_SceneMonsterInfo_SummonTagMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0,
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0);
    }
    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> summonTagMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetSummonTagMap() {
      if (summonTagMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            SummonTagMapDefaultEntryHolder.defaultEntry);
      }
      return summonTagMap_;
    }

    public int getSummonTagMapCount() {
      return internalGetSummonTagMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */

    @java.lang.Override
    public boolean containsSummonTagMap(
        int key) {
      
      return internalGetSummonTagMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getSummonTagMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getSummonTagMap() {
      return getSummonTagMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getSummonTagMapMap() {
      return internalGetSummonTagMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */
    @java.lang.Override

    public int getSummonTagMapOrDefault(
        int key,
        int defaultValue) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSummonTagMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
     */
    @java.lang.Override

    public int getSummonTagMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSummonTagMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int POSEID_FIELD_NUMBER = 11;
    private int poseId_;
    /**
     * <code>uint32 poseId = 11;</code>
     * @return The poseId.
     */
    @java.lang.Override
    public int getPoseId() {
      return poseId_;
    }

    public static final int BORNTYPE_FIELD_NUMBER = 12;
    private int bornType_;
    /**
     * <code>.MonsterBornType bornType = 12;</code>
     * @return The enum numeric value on the wire for bornType.
     */
    @java.lang.Override public int getBornTypeValue() {
      return bornType_;
    }
    /**
     * <code>.MonsterBornType bornType = 12;</code>
     * @return The bornType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType getBornType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType result = emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType.valueOf(bornType_);
      return result == null ? emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType.UNRECOGNIZED : result;
    }

    public static final int BLOCKID_FIELD_NUMBER = 13;
    private int blockId_;
    /**
     * <code>uint32 blockId = 13;</code>
     * @return The blockId.
     */
    @java.lang.Override
    public int getBlockId() {
      return blockId_;
    }

    public static final int MARKFLAG_FIELD_NUMBER = 14;
    private int markFlag_;
    /**
     * <code>uint32 markFlag = 14;</code>
     * @return The markFlag.
     */
    @java.lang.Override
    public int getMarkFlag() {
      return markFlag_;
    }

    public static final int TITLEID_FIELD_NUMBER = 15;
    private int titleId_;
    /**
     * <code>uint32 titleId = 15;</code>
     * @return The titleId.
     */
    @java.lang.Override
    public int getTitleId() {
      return titleId_;
    }

    public static final int SPECIALNAMEID_FIELD_NUMBER = 16;
    private int specialNameId_;
    /**
     * <code>uint32 specialNameId = 16;</code>
     * @return The specialNameId.
     */
    @java.lang.Override
    public int getSpecialNameId() {
      return specialNameId_;
    }

    public static final int ATTACKTARGETID_FIELD_NUMBER = 17;
    private int attackTargetId_;
    /**
     * <code>uint32 attackTargetId = 17;</code>
     * @return The attackTargetId.
     */
    @java.lang.Override
    public int getAttackTargetId() {
      return attackTargetId_;
    }

    public static final int MONSTERROUTE_FIELD_NUMBER = 18;
    private emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute monsterRoute_;
    /**
     * <code>.MonsterRoute monsterRoute = 18;</code>
     * @return Whether the monsterRoute field is set.
     */
    @java.lang.Override
    public boolean hasMonsterRoute() {
      return monsterRoute_ != null;
    }
    /**
     * <code>.MonsterRoute monsterRoute = 18;</code>
     * @return The monsterRoute.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute getMonsterRoute() {
      return monsterRoute_ == null ? emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.getDefaultInstance() : monsterRoute_;
    }
    /**
     * <code>.MonsterRoute monsterRoute = 18;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRouteOrBuilder getMonsterRouteOrBuilder() {
      return getMonsterRoute();
    }

    public static final int AICONFIGID_FIELD_NUMBER = 19;
    private int aiConfigId_;
    /**
     * <code>uint32 aiConfigId = 19;</code>
     * @return The aiConfigId.
     */
    @java.lang.Override
    public int getAiConfigId() {
      return aiConfigId_;
    }

    public static final int UNK1_FIELD_NUMBER = 21;
    private int unk1_;
    /**
     * <code>uint32 unk1 = 21;</code>
     * @return The unk1.
     */
    @java.lang.Override
    public int getUnk1() {
      return unk1_;
    }

    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 {
      getSerializedSize();
      if (monsterId_ != 0) {
        output.writeUInt32(1, monsterId_);
      }
      if (groupId_ != 0) {
        output.writeUInt32(2, groupId_);
      }
      if (configId_ != 0) {
        output.writeUInt32(3, configId_);
      }
      if (weaponList_ != null) {
        output.writeMessage(4, getWeaponList());
      }
      if (authorityPeerId_ != 0) {
        output.writeUInt32(5, authorityPeerId_);
      }
      if (getAffixListList().size() > 0) {
        output.writeUInt32NoTag(50);
        output.writeUInt32NoTag(affixListMemoizedSerializedSize);
      }
      for (int i = 0; i < affixList_.size(); i++) {
        output.writeUInt32NoTag(affixList_.getInt(i));
      }
      if (isElite_ != false) {
        output.writeBool(7, isElite_);
      }
      if (ownerEntityId_ != 0) {
        output.writeUInt32(8, ownerEntityId_);
      }
      if (summonedTag_ != 0) {
        output.writeUInt32(9, summonedTag_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetSummonTagMap(),
          SummonTagMapDefaultEntryHolder.defaultEntry,
          10);
      if (poseId_ != 0) {
        output.writeUInt32(11, poseId_);
      }
      if (bornType_ != emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType.MonsterBornNone.getNumber()) {
        output.writeEnum(12, bornType_);
      }
      if (blockId_ != 0) {
        output.writeUInt32(13, blockId_);
      }
      if (markFlag_ != 0) {
        output.writeUInt32(14, markFlag_);
      }
      if (titleId_ != 0) {
        output.writeUInt32(15, titleId_);
      }
      if (specialNameId_ != 0) {
        output.writeUInt32(16, specialNameId_);
      }
      if (attackTargetId_ != 0) {
        output.writeUInt32(17, attackTargetId_);
      }
      if (monsterRoute_ != null) {
        output.writeMessage(18, getMonsterRoute());
      }
      if (aiConfigId_ != 0) {
        output.writeUInt32(19, aiConfigId_);
      }
      if (unk1_ != 0) {
        output.writeUInt32(21, unk1_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (monsterId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, monsterId_);
      }
      if (groupId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, groupId_);
      }
      if (configId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, configId_);
      }
      if (weaponList_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getWeaponList());
      }
      if (authorityPeerId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, authorityPeerId_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < affixList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(affixList_.getInt(i));
        }
        size += dataSize;
        if (!getAffixListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        affixListMemoizedSerializedSize = dataSize;
      }
      if (isElite_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, isElite_);
      }
      if (ownerEntityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, ownerEntityId_);
      }
      if (summonedTag_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, summonedTag_);
      }
      for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
           : internalGetSummonTagMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
        summonTagMap__ = SummonTagMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(10, summonTagMap__);
      }
      if (poseId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, poseId_);
      }
      if (bornType_ != emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType.MonsterBornNone.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(12, bornType_);
      }
      if (blockId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, blockId_);
      }
      if (markFlag_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, markFlag_);
      }
      if (titleId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(15, titleId_);
      }
      if (specialNameId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(16, specialNameId_);
      }
      if (attackTargetId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(17, attackTargetId_);
      }
      if (monsterRoute_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(18, getMonsterRoute());
      }
      if (aiConfigId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(19, aiConfigId_);
      }
      if (unk1_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(21, unk1_);
      }
      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.SceneMonsterInfoOuterClass.SceneMonsterInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo other = (emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo) obj;

      if (getMonsterId()
          != other.getMonsterId()) return false;
      if (getGroupId()
          != other.getGroupId()) return false;
      if (getConfigId()
          != other.getConfigId()) return false;
      if (hasWeaponList() != other.hasWeaponList()) return false;
      if (hasWeaponList()) {
        if (!getWeaponList()
            .equals(other.getWeaponList())) return false;
      }
      if (getAuthorityPeerId()
          != other.getAuthorityPeerId()) return false;
      if (!getAffixListList()
          .equals(other.getAffixListList())) return false;
      if (getIsElite()
          != other.getIsElite()) return false;
      if (getOwnerEntityId()
          != other.getOwnerEntityId()) return false;
      if (getSummonedTag()
          != other.getSummonedTag()) return false;
      if (!internalGetSummonTagMap().equals(
          other.internalGetSummonTagMap())) return false;
      if (getPoseId()
          != other.getPoseId()) return false;
      if (bornType_ != other.bornType_) return false;
      if (getBlockId()
          != other.getBlockId()) return false;
      if (getMarkFlag()
          != other.getMarkFlag()) return false;
      if (getTitleId()
          != other.getTitleId()) return false;
      if (getSpecialNameId()
          != other.getSpecialNameId()) return false;
      if (getAttackTargetId()
          != other.getAttackTargetId()) return false;
      if (hasMonsterRoute() != other.hasMonsterRoute()) return false;
      if (hasMonsterRoute()) {
        if (!getMonsterRoute()
            .equals(other.getMonsterRoute())) return false;
      }
      if (getAiConfigId()
          != other.getAiConfigId()) return false;
      if (getUnk1()
          != other.getUnk1()) 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) + MONSTERID_FIELD_NUMBER;
      hash = (53 * hash) + getMonsterId();
      hash = (37 * hash) + GROUPID_FIELD_NUMBER;
      hash = (53 * hash) + getGroupId();
      hash = (37 * hash) + CONFIGID_FIELD_NUMBER;
      hash = (53 * hash) + getConfigId();
      if (hasWeaponList()) {
        hash = (37 * hash) + WEAPONLIST_FIELD_NUMBER;
        hash = (53 * hash) + getWeaponList().hashCode();
      }
      hash = (37 * hash) + AUTHORITYPEERID_FIELD_NUMBER;
      hash = (53 * hash) + getAuthorityPeerId();
      if (getAffixListCount() > 0) {
        hash = (37 * hash) + AFFIXLIST_FIELD_NUMBER;
        hash = (53 * hash) + getAffixListList().hashCode();
      }
      hash = (37 * hash) + ISELITE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsElite());
      hash = (37 * hash) + OWNERENTITYID_FIELD_NUMBER;
      hash = (53 * hash) + getOwnerEntityId();
      hash = (37 * hash) + SUMMONEDTAG_FIELD_NUMBER;
      hash = (53 * hash) + getSummonedTag();
      if (!internalGetSummonTagMap().getMap().isEmpty()) {
        hash = (37 * hash) + SUMMONTAGMAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetSummonTagMap().hashCode();
      }
      hash = (37 * hash) + POSEID_FIELD_NUMBER;
      hash = (53 * hash) + getPoseId();
      hash = (37 * hash) + BORNTYPE_FIELD_NUMBER;
      hash = (53 * hash) + bornType_;
      hash = (37 * hash) + BLOCKID_FIELD_NUMBER;
      hash = (53 * hash) + getBlockId();
      hash = (37 * hash) + MARKFLAG_FIELD_NUMBER;
      hash = (53 * hash) + getMarkFlag();
      hash = (37 * hash) + TITLEID_FIELD_NUMBER;
      hash = (53 * hash) + getTitleId();
      hash = (37 * hash) + SPECIALNAMEID_FIELD_NUMBER;
      hash = (53 * hash) + getSpecialNameId();
      hash = (37 * hash) + ATTACKTARGETID_FIELD_NUMBER;
      hash = (53 * hash) + getAttackTargetId();
      if (hasMonsterRoute()) {
        hash = (37 * hash) + MONSTERROUTE_FIELD_NUMBER;
        hash = (53 * hash) + getMonsterRoute().hashCode();
      }
      hash = (37 * hash) + AICONFIGID_FIELD_NUMBER;
      hash = (53 * hash) + getAiConfigId();
      hash = (37 * hash) + UNK1_FIELD_NUMBER;
      hash = (53 * hash) + getUnk1();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 10:
            return internalGetSummonTagMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 10:
            return internalGetMutableSummonTagMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.internal_static_SceneMonsterInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo.class, emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo.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();
        monsterId_ = 0;

        groupId_ = 0;

        configId_ = 0;

        if (weaponListBuilder_ == null) {
          weaponList_ = null;
        } else {
          weaponList_ = null;
          weaponListBuilder_ = null;
        }
        authorityPeerId_ = 0;

        affixList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        isElite_ = false;

        ownerEntityId_ = 0;

        summonedTag_ = 0;

        internalGetMutableSummonTagMap().clear();
        poseId_ = 0;

        bornType_ = 0;

        blockId_ = 0;

        markFlag_ = 0;

        titleId_ = 0;

        specialNameId_ = 0;

        attackTargetId_ = 0;

        if (monsterRouteBuilder_ == null) {
          monsterRoute_ = null;
        } else {
          monsterRoute_ = null;
          monsterRouteBuilder_ = null;
        }
        aiConfigId_ = 0;

        unk1_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo buildPartial() {
        emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo result = new emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo(this);
        int from_bitField0_ = bitField0_;
        result.monsterId_ = monsterId_;
        result.groupId_ = groupId_;
        result.configId_ = configId_;
        if (weaponListBuilder_ == null) {
          result.weaponList_ = weaponList_;
        } else {
          result.weaponList_ = weaponListBuilder_.build();
        }
        result.authorityPeerId_ = authorityPeerId_;
        if (((bitField0_ & 0x00000001) != 0)) {
          affixList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.affixList_ = affixList_;
        result.isElite_ = isElite_;
        result.ownerEntityId_ = ownerEntityId_;
        result.summonedTag_ = summonedTag_;
        result.summonTagMap_ = internalGetSummonTagMap();
        result.summonTagMap_.makeImmutable();
        result.poseId_ = poseId_;
        result.bornType_ = bornType_;
        result.blockId_ = blockId_;
        result.markFlag_ = markFlag_;
        result.titleId_ = titleId_;
        result.specialNameId_ = specialNameId_;
        result.attackTargetId_ = attackTargetId_;
        if (monsterRouteBuilder_ == null) {
          result.monsterRoute_ = monsterRoute_;
        } else {
          result.monsterRoute_ = monsterRouteBuilder_.build();
        }
        result.aiConfigId_ = aiConfigId_;
        result.unk1_ = unk1_;
        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.SceneMonsterInfoOuterClass.SceneMonsterInfo) {
          return mergeFrom((emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo other) {
        if (other == emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo.getDefaultInstance()) return this;
        if (other.getMonsterId() != 0) {
          setMonsterId(other.getMonsterId());
        }
        if (other.getGroupId() != 0) {
          setGroupId(other.getGroupId());
        }
        if (other.getConfigId() != 0) {
          setConfigId(other.getConfigId());
        }
        if (other.hasWeaponList()) {
          mergeWeaponList(other.getWeaponList());
        }
        if (other.getAuthorityPeerId() != 0) {
          setAuthorityPeerId(other.getAuthorityPeerId());
        }
        if (!other.affixList_.isEmpty()) {
          if (affixList_.isEmpty()) {
            affixList_ = other.affixList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureAffixListIsMutable();
            affixList_.addAll(other.affixList_);
          }
          onChanged();
        }
        if (other.getIsElite() != false) {
          setIsElite(other.getIsElite());
        }
        if (other.getOwnerEntityId() != 0) {
          setOwnerEntityId(other.getOwnerEntityId());
        }
        if (other.getSummonedTag() != 0) {
          setSummonedTag(other.getSummonedTag());
        }
        internalGetMutableSummonTagMap().mergeFrom(
            other.internalGetSummonTagMap());
        if (other.getPoseId() != 0) {
          setPoseId(other.getPoseId());
        }
        if (other.bornType_ != 0) {
          setBornTypeValue(other.getBornTypeValue());
        }
        if (other.getBlockId() != 0) {
          setBlockId(other.getBlockId());
        }
        if (other.getMarkFlag() != 0) {
          setMarkFlag(other.getMarkFlag());
        }
        if (other.getTitleId() != 0) {
          setTitleId(other.getTitleId());
        }
        if (other.getSpecialNameId() != 0) {
          setSpecialNameId(other.getSpecialNameId());
        }
        if (other.getAttackTargetId() != 0) {
          setAttackTargetId(other.getAttackTargetId());
        }
        if (other.hasMonsterRoute()) {
          mergeMonsterRoute(other.getMonsterRoute());
        }
        if (other.getAiConfigId() != 0) {
          setAiConfigId(other.getAiConfigId());
        }
        if (other.getUnk1() != 0) {
          setUnk1(other.getUnk1());
        }
        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.SceneMonsterInfoOuterClass.SceneMonsterInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int monsterId_ ;
      /**
       * <code>uint32 monsterId = 1;</code>
       * @return The monsterId.
       */
      @java.lang.Override
      public int getMonsterId() {
        return monsterId_;
      }
      /**
       * <code>uint32 monsterId = 1;</code>
       * @param value The monsterId to set.
       * @return This builder for chaining.
       */
      public Builder setMonsterId(int value) {
        
        monsterId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 monsterId = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMonsterId() {
        
        monsterId_ = 0;
        onChanged();
        return this;
      }

      private int groupId_ ;
      /**
       * <code>uint32 groupId = 2;</code>
       * @return The groupId.
       */
      @java.lang.Override
      public int getGroupId() {
        return groupId_;
      }
      /**
       * <code>uint32 groupId = 2;</code>
       * @param value The groupId to set.
       * @return This builder for chaining.
       */
      public Builder setGroupId(int value) {
        
        groupId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 groupId = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearGroupId() {
        
        groupId_ = 0;
        onChanged();
        return this;
      }

      private int configId_ ;
      /**
       * <code>uint32 configId = 3;</code>
       * @return The configId.
       */
      @java.lang.Override
      public int getConfigId() {
        return configId_;
      }
      /**
       * <code>uint32 configId = 3;</code>
       * @param value The configId to set.
       * @return This builder for chaining.
       */
      public Builder setConfigId(int value) {
        
        configId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 configId = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearConfigId() {
        
        configId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo weaponList_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder> weaponListBuilder_;
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       * @return Whether the weaponList field is set.
       */
      public boolean hasWeaponList() {
        return weaponListBuilder_ != null || weaponList_ != null;
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       * @return The weaponList.
       */
      public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getWeaponList() {
        if (weaponListBuilder_ == null) {
          return weaponList_ == null ? emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weaponList_;
        } else {
          return weaponListBuilder_.getMessage();
        }
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       */
      public Builder setWeaponList(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo value) {
        if (weaponListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          weaponList_ = value;
          onChanged();
        } else {
          weaponListBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       */
      public Builder setWeaponList(
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder builderForValue) {
        if (weaponListBuilder_ == null) {
          weaponList_ = builderForValue.build();
          onChanged();
        } else {
          weaponListBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       */
      public Builder mergeWeaponList(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo value) {
        if (weaponListBuilder_ == null) {
          if (weaponList_ != null) {
            weaponList_ =
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.newBuilder(weaponList_).mergeFrom(value).buildPartial();
          } else {
            weaponList_ = value;
          }
          onChanged();
        } else {
          weaponListBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       */
      public Builder clearWeaponList() {
        if (weaponListBuilder_ == null) {
          weaponList_ = null;
          onChanged();
        } else {
          weaponList_ = null;
          weaponListBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       */
      public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder getWeaponListBuilder() {
        
        onChanged();
        return getWeaponListFieldBuilder().getBuilder();
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       */
      public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder getWeaponListOrBuilder() {
        if (weaponListBuilder_ != null) {
          return weaponListBuilder_.getMessageOrBuilder();
        } else {
          return weaponList_ == null ?
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance() : weaponList_;
        }
      }
      /**
       * <code>.SceneWeaponInfo weaponList = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder> 
          getWeaponListFieldBuilder() {
        if (weaponListBuilder_ == null) {
          weaponListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder>(
                  getWeaponList(),
                  getParentForChildren(),
                  isClean());
          weaponList_ = null;
        }
        return weaponListBuilder_;
      }

      private int authorityPeerId_ ;
      /**
       * <code>uint32 authorityPeerId = 5;</code>
       * @return The authorityPeerId.
       */
      @java.lang.Override
      public int getAuthorityPeerId() {
        return authorityPeerId_;
      }
      /**
       * <code>uint32 authorityPeerId = 5;</code>
       * @param value The authorityPeerId to set.
       * @return This builder for chaining.
       */
      public Builder setAuthorityPeerId(int value) {
        
        authorityPeerId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 authorityPeerId = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearAuthorityPeerId() {
        
        authorityPeerId_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList affixList_ = emptyIntList();
      private void ensureAffixListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          affixList_ = mutableCopy(affixList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 affixList = 6;</code>
       * @return A list containing the affixList.
       */
      public java.util.List<java.lang.Integer>
          getAffixListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(affixList_) : affixList_;
      }
      /**
       * <code>repeated uint32 affixList = 6;</code>
       * @return The count of affixList.
       */
      public int getAffixListCount() {
        return affixList_.size();
      }
      /**
       * <code>repeated uint32 affixList = 6;</code>
       * @param index The index of the element to return.
       * @return The affixList at the given index.
       */
      public int getAffixList(int index) {
        return affixList_.getInt(index);
      }
      /**
       * <code>repeated uint32 affixList = 6;</code>
       * @param index The index to set the value at.
       * @param value The affixList to set.
       * @return This builder for chaining.
       */
      public Builder setAffixList(
          int index, int value) {
        ensureAffixListIsMutable();
        affixList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 affixList = 6;</code>
       * @param value The affixList to add.
       * @return This builder for chaining.
       */
      public Builder addAffixList(int value) {
        ensureAffixListIsMutable();
        affixList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 affixList = 6;</code>
       * @param values The affixList to add.
       * @return This builder for chaining.
       */
      public Builder addAllAffixList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureAffixListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, affixList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 affixList = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearAffixList() {
        affixList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private boolean isElite_ ;
      /**
       * <code>bool isElite = 7;</code>
       * @return The isElite.
       */
      @java.lang.Override
      public boolean getIsElite() {
        return isElite_;
      }
      /**
       * <code>bool isElite = 7;</code>
       * @param value The isElite to set.
       * @return This builder for chaining.
       */
      public Builder setIsElite(boolean value) {
        
        isElite_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isElite = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsElite() {
        
        isElite_ = false;
        onChanged();
        return this;
      }

      private int ownerEntityId_ ;
      /**
       * <code>uint32 ownerEntityId = 8;</code>
       * @return The ownerEntityId.
       */
      @java.lang.Override
      public int getOwnerEntityId() {
        return ownerEntityId_;
      }
      /**
       * <code>uint32 ownerEntityId = 8;</code>
       * @param value The ownerEntityId to set.
       * @return This builder for chaining.
       */
      public Builder setOwnerEntityId(int value) {
        
        ownerEntityId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 ownerEntityId = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearOwnerEntityId() {
        
        ownerEntityId_ = 0;
        onChanged();
        return this;
      }

      private int summonedTag_ ;
      /**
       * <code>uint32 summonedTag = 9;</code>
       * @return The summonedTag.
       */
      @java.lang.Override
      public int getSummonedTag() {
        return summonedTag_;
      }
      /**
       * <code>uint32 summonedTag = 9;</code>
       * @param value The summonedTag to set.
       * @return This builder for chaining.
       */
      public Builder setSummonedTag(int value) {
        
        summonedTag_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 summonedTag = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearSummonedTag() {
        
        summonedTag_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> summonTagMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetSummonTagMap() {
        if (summonTagMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              SummonTagMapDefaultEntryHolder.defaultEntry);
        }
        return summonTagMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetMutableSummonTagMap() {
        onChanged();;
        if (summonTagMap_ == null) {
          summonTagMap_ = com.google.protobuf.MapField.newMapField(
              SummonTagMapDefaultEntryHolder.defaultEntry);
        }
        if (!summonTagMap_.isMutable()) {
          summonTagMap_ = summonTagMap_.copy();
        }
        return summonTagMap_;
      }

      public int getSummonTagMapCount() {
        return internalGetSummonTagMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
       */

      @java.lang.Override
      public boolean containsSummonTagMap(
          int key) {
        
        return internalGetSummonTagMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getSummonTagMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getSummonTagMap() {
        return getSummonTagMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, java.lang.Integer> getSummonTagMapMap() {
        return internalGetSummonTagMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
       */
      @java.lang.Override

      public int getSummonTagMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSummonTagMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
       */
      @java.lang.Override

      public int getSummonTagMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSummonTagMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearSummonTagMap() {
        internalGetMutableSummonTagMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
       */

      public Builder removeSummonTagMap(
          int key) {
        
        internalGetMutableSummonTagMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer>
      getMutableSummonTagMap() {
        return internalGetMutableSummonTagMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
       */
      public Builder putSummonTagMap(
          int key,
          int value) {
        
        
        internalGetMutableSummonTagMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; summonTagMap = 10;</code>
       */

      public Builder putAllSummonTagMap(
          java.util.Map<java.lang.Integer, java.lang.Integer> values) {
        internalGetMutableSummonTagMap().getMutableMap()
            .putAll(values);
        return this;
      }

      private int poseId_ ;
      /**
       * <code>uint32 poseId = 11;</code>
       * @return The poseId.
       */
      @java.lang.Override
      public int getPoseId() {
        return poseId_;
      }
      /**
       * <code>uint32 poseId = 11;</code>
       * @param value The poseId to set.
       * @return This builder for chaining.
       */
      public Builder setPoseId(int value) {
        
        poseId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 poseId = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearPoseId() {
        
        poseId_ = 0;
        onChanged();
        return this;
      }

      private int bornType_ = 0;
      /**
       * <code>.MonsterBornType bornType = 12;</code>
       * @return The enum numeric value on the wire for bornType.
       */
      @java.lang.Override public int getBornTypeValue() {
        return bornType_;
      }
      /**
       * <code>.MonsterBornType bornType = 12;</code>
       * @param value The enum numeric value on the wire for bornType to set.
       * @return This builder for chaining.
       */
      public Builder setBornTypeValue(int value) {
        
        bornType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.MonsterBornType bornType = 12;</code>
       * @return The bornType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType getBornType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType result = emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType.valueOf(bornType_);
        return result == null ? emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType.UNRECOGNIZED : result;
      }
      /**
       * <code>.MonsterBornType bornType = 12;</code>
       * @param value The bornType to set.
       * @return This builder for chaining.
       */
      public Builder setBornType(emu.grasscutter.net.proto.MonsterBornTypeOuterClass.MonsterBornType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        bornType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.MonsterBornType bornType = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearBornType() {
        
        bornType_ = 0;
        onChanged();
        return this;
      }

      private int blockId_ ;
      /**
       * <code>uint32 blockId = 13;</code>
       * @return The blockId.
       */
      @java.lang.Override
      public int getBlockId() {
        return blockId_;
      }
      /**
       * <code>uint32 blockId = 13;</code>
       * @param value The blockId to set.
       * @return This builder for chaining.
       */
      public Builder setBlockId(int value) {
        
        blockId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 blockId = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearBlockId() {
        
        blockId_ = 0;
        onChanged();
        return this;
      }

      private int markFlag_ ;
      /**
       * <code>uint32 markFlag = 14;</code>
       * @return The markFlag.
       */
      @java.lang.Override
      public int getMarkFlag() {
        return markFlag_;
      }
      /**
       * <code>uint32 markFlag = 14;</code>
       * @param value The markFlag to set.
       * @return This builder for chaining.
       */
      public Builder setMarkFlag(int value) {
        
        markFlag_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 markFlag = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearMarkFlag() {
        
        markFlag_ = 0;
        onChanged();
        return this;
      }

      private int titleId_ ;
      /**
       * <code>uint32 titleId = 15;</code>
       * @return The titleId.
       */
      @java.lang.Override
      public int getTitleId() {
        return titleId_;
      }
      /**
       * <code>uint32 titleId = 15;</code>
       * @param value The titleId to set.
       * @return This builder for chaining.
       */
      public Builder setTitleId(int value) {
        
        titleId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 titleId = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearTitleId() {
        
        titleId_ = 0;
        onChanged();
        return this;
      }

      private int specialNameId_ ;
      /**
       * <code>uint32 specialNameId = 16;</code>
       * @return The specialNameId.
       */
      @java.lang.Override
      public int getSpecialNameId() {
        return specialNameId_;
      }
      /**
       * <code>uint32 specialNameId = 16;</code>
       * @param value The specialNameId to set.
       * @return This builder for chaining.
       */
      public Builder setSpecialNameId(int value) {
        
        specialNameId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 specialNameId = 16;</code>
       * @return This builder for chaining.
       */
      public Builder clearSpecialNameId() {
        
        specialNameId_ = 0;
        onChanged();
        return this;
      }

      private int attackTargetId_ ;
      /**
       * <code>uint32 attackTargetId = 17;</code>
       * @return The attackTargetId.
       */
      @java.lang.Override
      public int getAttackTargetId() {
        return attackTargetId_;
      }
      /**
       * <code>uint32 attackTargetId = 17;</code>
       * @param value The attackTargetId to set.
       * @return This builder for chaining.
       */
      public Builder setAttackTargetId(int value) {
        
        attackTargetId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 attackTargetId = 17;</code>
       * @return This builder for chaining.
       */
      public Builder clearAttackTargetId() {
        
        attackTargetId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute monsterRoute_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute, emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.Builder, emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRouteOrBuilder> monsterRouteBuilder_;
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       * @return Whether the monsterRoute field is set.
       */
      public boolean hasMonsterRoute() {
        return monsterRouteBuilder_ != null || monsterRoute_ != null;
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       * @return The monsterRoute.
       */
      public emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute getMonsterRoute() {
        if (monsterRouteBuilder_ == null) {
          return monsterRoute_ == null ? emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.getDefaultInstance() : monsterRoute_;
        } else {
          return monsterRouteBuilder_.getMessage();
        }
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       */
      public Builder setMonsterRoute(emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute value) {
        if (monsterRouteBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          monsterRoute_ = value;
          onChanged();
        } else {
          monsterRouteBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       */
      public Builder setMonsterRoute(
          emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.Builder builderForValue) {
        if (monsterRouteBuilder_ == null) {
          monsterRoute_ = builderForValue.build();
          onChanged();
        } else {
          monsterRouteBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       */
      public Builder mergeMonsterRoute(emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute value) {
        if (monsterRouteBuilder_ == null) {
          if (monsterRoute_ != null) {
            monsterRoute_ =
              emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.newBuilder(monsterRoute_).mergeFrom(value).buildPartial();
          } else {
            monsterRoute_ = value;
          }
          onChanged();
        } else {
          monsterRouteBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       */
      public Builder clearMonsterRoute() {
        if (monsterRouteBuilder_ == null) {
          monsterRoute_ = null;
          onChanged();
        } else {
          monsterRoute_ = null;
          monsterRouteBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       */
      public emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.Builder getMonsterRouteBuilder() {
        
        onChanged();
        return getMonsterRouteFieldBuilder().getBuilder();
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       */
      public emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRouteOrBuilder getMonsterRouteOrBuilder() {
        if (monsterRouteBuilder_ != null) {
          return monsterRouteBuilder_.getMessageOrBuilder();
        } else {
          return monsterRoute_ == null ?
              emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.getDefaultInstance() : monsterRoute_;
        }
      }
      /**
       * <code>.MonsterRoute monsterRoute = 18;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute, emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.Builder, emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRouteOrBuilder> 
          getMonsterRouteFieldBuilder() {
        if (monsterRouteBuilder_ == null) {
          monsterRouteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute, emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRoute.Builder, emu.grasscutter.net.proto.MonsterRouteOuterClass.MonsterRouteOrBuilder>(
                  getMonsterRoute(),
                  getParentForChildren(),
                  isClean());
          monsterRoute_ = null;
        }
        return monsterRouteBuilder_;
      }

      private int aiConfigId_ ;
      /**
       * <code>uint32 aiConfigId = 19;</code>
       * @return The aiConfigId.
       */
      @java.lang.Override
      public int getAiConfigId() {
        return aiConfigId_;
      }
      /**
       * <code>uint32 aiConfigId = 19;</code>
       * @param value The aiConfigId to set.
       * @return This builder for chaining.
       */
      public Builder setAiConfigId(int value) {
        
        aiConfigId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 aiConfigId = 19;</code>
       * @return This builder for chaining.
       */
      public Builder clearAiConfigId() {
        
        aiConfigId_ = 0;
        onChanged();
        return this;
      }

      private int unk1_ ;
      /**
       * <code>uint32 unk1 = 21;</code>
       * @return The unk1.
       */
      @java.lang.Override
      public int getUnk1() {
        return unk1_;
      }
      /**
       * <code>uint32 unk1 = 21;</code>
       * @param value The unk1 to set.
       * @return This builder for chaining.
       */
      public Builder setUnk1(int value) {
        
        unk1_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 unk1 = 21;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk1() {
        
        unk1_ = 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:SceneMonsterInfo)
    }

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

    public static emu.grasscutter.net.proto.SceneMonsterInfoOuterClass.SceneMonsterInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SceneMonsterInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SceneMonsterInfo_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SceneMonsterInfo_SummonTagMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SceneMonsterInfo_SummonTagMapEntry_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\026SceneMonsterInfo.proto\032\025MonsterBornTyp" +
      "e.proto\032\022MonsterRoute.proto\032\025SceneWeapon" +
      "Info.proto\"\245\004\n\020SceneMonsterInfo\022\021\n\tmonst" +
      "erId\030\001 \001(\r\022\017\n\007groupId\030\002 \001(\r\022\020\n\010configId\030" +
      "\003 \001(\r\022$\n\nweaponList\030\004 \001(\0132\020.SceneWeaponI" +
      "nfo\022\027\n\017authorityPeerId\030\005 \001(\r\022\021\n\taffixLis" +
      "t\030\006 \003(\r\022\017\n\007isElite\030\007 \001(\010\022\025\n\rownerEntityI" +
      "d\030\010 \001(\r\022\023\n\013summonedTag\030\t \001(\r\0229\n\014summonTa" +
      "gMap\030\n \003(\0132#.SceneMonsterInfo.SummonTagM" +
      "apEntry\022\016\n\006poseId\030\013 \001(\r\022\"\n\010bornType\030\014 \001(" +
      "\0162\020.MonsterBornType\022\017\n\007blockId\030\r \001(\r\022\020\n\010" +
      "markFlag\030\016 \001(\r\022\017\n\007titleId\030\017 \001(\r\022\025\n\rspeci" +
      "alNameId\030\020 \001(\r\022\026\n\016attackTargetId\030\021 \001(\r\022#" +
      "\n\014monsterRoute\030\022 \001(\0132\r.MonsterRoute\022\022\n\na" +
      "iConfigId\030\023 \001(\r\022\014\n\004unk1\030\025 \001(\r\0323\n\021SummonT" +
      "agMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\002" +
      "8\001B\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.MonsterBornTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.MonsterRouteOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.getDescriptor(),
        });
    internal_static_SceneMonsterInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_SceneMonsterInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SceneMonsterInfo_descriptor,
        new java.lang.String[] { "MonsterId", "GroupId", "ConfigId", "WeaponList", "AuthorityPeerId", "AffixList", "IsElite", "OwnerEntityId", "SummonedTag", "SummonTagMap", "PoseId", "BornType", "BlockId", "MarkFlag", "TitleId", "SpecialNameId", "AttackTargetId", "MonsterRoute", "AiConfigId", "Unk1", });
    internal_static_SceneMonsterInfo_SummonTagMapEntry_descriptor =
      internal_static_SceneMonsterInfo_descriptor.getNestedTypes().get(0);
    internal_static_SceneMonsterInfo_SummonTagMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SceneMonsterInfo_SummonTagMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.MonsterBornTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.MonsterRouteOuterClass.getDescriptor();
    emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
