content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: SceneEntityAiInfo.proto
  
  package emu.grasscutter.net.proto;
  
  public final class SceneEntityAiInfoOuterClass {
    private SceneEntityAiInfoOuterClass() {}
    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 SceneEntityAiInfoOrBuilder extends
        // @@protoc_insertion_point(interface_extends:SceneEntityAiInfo)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>bool isAiOpen = 1;</code>
       * @return The isAiOpen.
       */
      boolean getIsAiOpen();
  
      /**
       * <code>.Vector bornPos = 2;</code>
       * @return Whether the bornPos field is set.
       */
      boolean hasBornPos();
      /**
       * <code>.Vector bornPos = 2;</code>
       * @return The bornPos.
       */
      emu.grasscutter.net.proto.VectorOuterClass.Vector getBornPos();
      /**
       * <code>.Vector bornPos = 2;</code>
       */
      emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getBornPosOrBuilder();
  
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
      int getSkillCdMapCount();
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
      boolean containsSkillCdMap(
          int key);
      /**
       * Use {@link #getSkillCdMapMap()} instead.
       */
      @java.lang.Deprecated
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getSkillCdMap();
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getSkillCdMapMap();
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
  
      int getSkillCdMapOrDefault(
          int key,
          int defaultValue);
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
  
      int getSkillCdMapOrThrow(
          int key);
  
      /**
       * <code>.ServantInfo servantInfo = 4;</code>
       * @return Whether the servantInfo field is set.
       */
      boolean hasServantInfo();
      /**
       * <code>.ServantInfo servantInfo = 4;</code>
       * @return The servantInfo.
       */
      emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo getServantInfo();
      /**
       * <code>.ServantInfo servantInfo = 4;</code>
       */
      emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfoOrBuilder getServantInfoOrBuilder();
  
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
      int getAiThreatMapCount();
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
      boolean containsAiThreatMap(
          int key);
      /**
       * Use {@link #getAiThreatMapMap()} instead.
       */
      @java.lang.Deprecated
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getAiThreatMap();
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getAiThreatMapMap();
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
  
      int getAiThreatMapOrDefault(
          int key,
          int defaultValue);
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
  
      int getAiThreatMapOrThrow(
          int key);
  
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
      int getSkillGroupCdMapCount();
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
      boolean containsSkillGroupCdMap(
          int key);
      /**
       * Use {@link #getSkillGroupCdMapMap()} instead.
       */
      @java.lang.Deprecated
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getSkillGroupCdMap();
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getSkillGroupCdMapMap();
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
  
      int getSkillGroupCdMapOrDefault(
          int key,
          int defaultValue);
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
  
      int getSkillGroupCdMapOrThrow(
          int key);
  
      /**
       * <code>uint32 curTactic = 7;</code>
       * @return The curTactic.
       */
      int getCurTactic();
    }
    /**
     * Protobuf type {@code SceneEntityAiInfo}
     */
    public static final class SceneEntityAiInfo extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:SceneEntityAiInfo)
        SceneEntityAiInfoOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use SceneEntityAiInfo.newBuilder() to construct.
      private SceneEntityAiInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private SceneEntityAiInfo() {
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new SceneEntityAiInfo();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private SceneEntityAiInfo(
          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: {
  
                isAiOpen_ = input.readBool();
                break;
              }
              case 18: {
                emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
                if (bornPos_ != null) {
                  subBuilder = bornPos_.toBuilder();
                }
                bornPos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(bornPos_);
                  bornPos_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 26: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  skillCdMap_ = com.google.protobuf.MapField.newMapField(
                      SkillCdMapDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000001;
                }
                com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
                skillCdMap__ = input.readMessage(
                    SkillCdMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                skillCdMap_.getMutableMap().put(
                    skillCdMap__.getKey(), skillCdMap__.getValue());
                break;
              }
              case 34: {
                emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.Builder subBuilder = null;
                if (servantInfo_ != null) {
                  subBuilder = servantInfo_.toBuilder();
                }
                servantInfo_ = input.readMessage(emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(servantInfo_);
                  servantInfo_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 42: {
                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  aiThreatMap_ = com.google.protobuf.MapField.newMapField(
                      AiThreatMapDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000002;
                }
                com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
                aiThreatMap__ = input.readMessage(
                    AiThreatMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                aiThreatMap_.getMutableMap().put(
                    aiThreatMap__.getKey(), aiThreatMap__.getValue());
                break;
              }
              case 50: {
                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                  skillGroupCdMap_ = com.google.protobuf.MapField.newMapField(
                      SkillGroupCdMapDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000004;
                }
                com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
                skillGroupCdMap__ = input.readMessage(
                    SkillGroupCdMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
                skillGroupCdMap_.getMutableMap().put(
                    skillGroupCdMap__.getKey(), skillGroupCdMap__.getValue());
                break;
              }
              case 56: {
  
                curTactic_ = 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.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_descriptor;
      }
  
      @SuppressWarnings({"rawtypes"})
      @java.lang.Override
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 3:
            return internalGetSkillCdMap();
          case 5:
            return internalGetAiThreatMap();
          case 6:
            return internalGetSkillGroupCdMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo.class, emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo.Builder.class);
      }
  
      public static final int ISAIOPEN_FIELD_NUMBER = 1;
      private boolean isAiOpen_;
      /**
       * <code>bool isAiOpen = 1;</code>
       * @return The isAiOpen.
       */
      @java.lang.Override
      public boolean getIsAiOpen() {
        return isAiOpen_;
      }
  
      public static final int BORNPOS_FIELD_NUMBER = 2;
      private emu.grasscutter.net.proto.VectorOuterClass.Vector bornPos_;
      /**
       * <code>.Vector bornPos = 2;</code>
       * @return Whether the bornPos field is set.
       */
      @java.lang.Override
      public boolean hasBornPos() {
        return bornPos_ != null;
      }
      /**
       * <code>.Vector bornPos = 2;</code>
       * @return The bornPos.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.Vector getBornPos() {
        return bornPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : bornPos_;
      }
      /**
       * <code>.Vector bornPos = 2;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getBornPosOrBuilder() {
        return getBornPos();
      }
  
      public static final int SKILLCDMAP_FIELD_NUMBER = 3;
      private static final class SkillCdMapDefaultEntryHolder {
        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.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_SkillCdMapEntry_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> skillCdMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetSkillCdMap() {
        if (skillCdMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              SkillCdMapDefaultEntryHolder.defaultEntry);
        }
        return skillCdMap_;
      }
  
      public int getSkillCdMapCount() {
        return internalGetSkillCdMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
  
      @java.lang.Override
      public boolean containsSkillCdMap(
          int key) {
        
        return internalGetSkillCdMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getSkillCdMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillCdMap() {
        return getSkillCdMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
      @java.lang.Override
  
      public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillCdMapMap() {
        return internalGetSkillCdMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
      @java.lang.Override
  
      public int getSkillCdMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSkillCdMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
       */
      @java.lang.Override
  
      public int getSkillCdMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSkillCdMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
  
      public static final int SERVANTINFO_FIELD_NUMBER = 4;
      private emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo servantInfo_;
      /**
       * <code>.ServantInfo servantInfo = 4;</code>
       * @return Whether the servantInfo field is set.
       */
      @java.lang.Override
      public boolean hasServantInfo() {
        return servantInfo_ != null;
      }
      /**
       * <code>.ServantInfo servantInfo = 4;</code>
       * @return The servantInfo.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo getServantInfo() {
        return servantInfo_ == null ? emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.getDefaultInstance() : servantInfo_;
      }
      /**
       * <code>.ServantInfo servantInfo = 4;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfoOrBuilder getServantInfoOrBuilder() {
        return getServantInfo();
      }
  
      public static final int AITHREATMAP_FIELD_NUMBER = 5;
      private static final class AiThreatMapDefaultEntryHolder {
        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.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_AiThreatMapEntry_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> aiThreatMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetAiThreatMap() {
        if (aiThreatMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              AiThreatMapDefaultEntryHolder.defaultEntry);
        }
        return aiThreatMap_;
      }
  
      public int getAiThreatMapCount() {
        return internalGetAiThreatMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
  
      @java.lang.Override
      public boolean containsAiThreatMap(
          int key) {
        
        return internalGetAiThreatMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getAiThreatMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getAiThreatMap() {
        return getAiThreatMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
      @java.lang.Override
  
      public java.util.Map<java.lang.Integer, java.lang.Integer> getAiThreatMapMap() {
        return internalGetAiThreatMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
      @java.lang.Override
  
      public int getAiThreatMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetAiThreatMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
       */
      @java.lang.Override
  
      public int getAiThreatMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetAiThreatMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
  
      public static final int SKILLGROUPCDMAP_FIELD_NUMBER = 6;
      private static final class SkillGroupCdMapDefaultEntryHolder {
        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.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_SkillGroupCdMapEntry_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> skillGroupCdMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetSkillGroupCdMap() {
        if (skillGroupCdMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              SkillGroupCdMapDefaultEntryHolder.defaultEntry);
        }
        return skillGroupCdMap_;
      }
  
      public int getSkillGroupCdMapCount() {
        return internalGetSkillGroupCdMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
  
      @java.lang.Override
      public boolean containsSkillGroupCdMap(
          int key) {
        
        return internalGetSkillGroupCdMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getSkillGroupCdMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillGroupCdMap() {
        return getSkillGroupCdMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
      @java.lang.Override
  
      public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillGroupCdMapMap() {
        return internalGetSkillGroupCdMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
      @java.lang.Override
  
      public int getSkillGroupCdMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSkillGroupCdMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
       */
      @java.lang.Override
  
      public int getSkillGroupCdMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetSkillGroupCdMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
  
      public static final int CURTACTIC_FIELD_NUMBER = 7;
      private int curTactic_;
      /**
       * <code>uint32 curTactic = 7;</code>
       * @return The curTactic.
       */
      @java.lang.Override
      public int getCurTactic() {
        return curTactic_;
      }
  
      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 (isAiOpen_ != false) {
          output.writeBool(1, isAiOpen_);
        }
        if (bornPos_ != null) {
          output.writeMessage(2, getBornPos());
        }
        com.google.protobuf.GeneratedMessageV3
          .serializeIntegerMapTo(
            output,
            internalGetSkillCdMap(),
            SkillCdMapDefaultEntryHolder.defaultEntry,
            3);
        if (servantInfo_ != null) {
          output.writeMessage(4, getServantInfo());
        }
        com.google.protobuf.GeneratedMessageV3
          .serializeIntegerMapTo(
            output,
            internalGetAiThreatMap(),
            AiThreatMapDefaultEntryHolder.defaultEntry,
            5);
        com.google.protobuf.GeneratedMessageV3
          .serializeIntegerMapTo(
            output,
            internalGetSkillGroupCdMap(),
            SkillGroupCdMapDefaultEntryHolder.defaultEntry,
            6);
        if (curTactic_ != 0) {
          output.writeUInt32(7, curTactic_);
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (isAiOpen_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(1, isAiOpen_);
        }
        if (bornPos_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, getBornPos());
        }
        for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
             : internalGetSkillCdMap().getMap().entrySet()) {
          com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
          skillCdMap__ = SkillCdMapDefaultEntryHolder.defaultEntry.newBuilderForType()
              .setKey(entry.getKey())
              .setValue(entry.getValue())
              .build();
          size += com.google.protobuf.CodedOutputStream
              .computeMessageSize(3, skillCdMap__);
        }
        if (servantInfo_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(4, getServantInfo());
        }
        for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
             : internalGetAiThreatMap().getMap().entrySet()) {
          com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
          aiThreatMap__ = AiThreatMapDefaultEntryHolder.defaultEntry.newBuilderForType()
              .setKey(entry.getKey())
              .setValue(entry.getValue())
              .build();
          size += com.google.protobuf.CodedOutputStream
              .computeMessageSize(5, aiThreatMap__);
        }
        for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
             : internalGetSkillGroupCdMap().getMap().entrySet()) {
          com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
          skillGroupCdMap__ = SkillGroupCdMapDefaultEntryHolder.defaultEntry.newBuilderForType()
              .setKey(entry.getKey())
              .setValue(entry.getValue())
              .build();
          size += com.google.protobuf.CodedOutputStream
              .computeMessageSize(6, skillGroupCdMap__);
        }
        if (curTactic_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(7, curTactic_);
        }
        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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo other = (emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo) obj;
  
        if (getIsAiOpen()
            != other.getIsAiOpen()) return false;
        if (hasBornPos() != other.hasBornPos()) return false;
        if (hasBornPos()) {
          if (!getBornPos()
              .equals(other.getBornPos())) return false;
        }
        if (!internalGetSkillCdMap().equals(
            other.internalGetSkillCdMap())) return false;
        if (hasServantInfo() != other.hasServantInfo()) return false;
        if (hasServantInfo()) {
          if (!getServantInfo()
              .equals(other.getServantInfo())) return false;
        }
        if (!internalGetAiThreatMap().equals(
            other.internalGetAiThreatMap())) return false;
        if (!internalGetSkillGroupCdMap().equals(
            other.internalGetSkillGroupCdMap())) return false;
        if (getCurTactic()
            != other.getCurTactic()) 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) + ISAIOPEN_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsAiOpen());
        if (hasBornPos()) {
          hash = (37 * hash) + BORNPOS_FIELD_NUMBER;
          hash = (53 * hash) + getBornPos().hashCode();
        }
        if (!internalGetSkillCdMap().getMap().isEmpty()) {
          hash = (37 * hash) + SKILLCDMAP_FIELD_NUMBER;
          hash = (53 * hash) + internalGetSkillCdMap().hashCode();
        }
        if (hasServantInfo()) {
          hash = (37 * hash) + SERVANTINFO_FIELD_NUMBER;
          hash = (53 * hash) + getServantInfo().hashCode();
        }
        if (!internalGetAiThreatMap().getMap().isEmpty()) {
          hash = (37 * hash) + AITHREATMAP_FIELD_NUMBER;
          hash = (53 * hash) + internalGetAiThreatMap().hashCode();
        }
        if (!internalGetSkillGroupCdMap().getMap().isEmpty()) {
          hash = (37 * hash) + SKILLGROUPCDMAP_FIELD_NUMBER;
          hash = (53 * hash) + internalGetSkillGroupCdMap().hashCode();
        }
        hash = (37 * hash) + CURTACTIC_FIELD_NUMBER;
        hash = (53 * hash) + getCurTactic();
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo 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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo 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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo 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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo 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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo 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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo 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 SceneEntityAiInfo}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:SceneEntityAiInfo)
          emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfoOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_descriptor;
        }
  
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMapField(
            int number) {
          switch (number) {
            case 3:
              return internalGetSkillCdMap();
            case 5:
              return internalGetAiThreatMap();
            case 6:
              return internalGetSkillGroupCdMap();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMutableMapField(
            int number) {
          switch (number) {
            case 3:
              return internalGetMutableSkillCdMap();
            case 5:
              return internalGetMutableAiThreatMap();
            case 6:
              return internalGetMutableSkillGroupCdMap();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo.class, emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo.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();
          isAiOpen_ = false;
  
          if (bornPosBuilder_ == null) {
            bornPos_ = null;
          } else {
            bornPos_ = null;
            bornPosBuilder_ = null;
          }
          internalGetMutableSkillCdMap().clear();
          if (servantInfoBuilder_ == null) {
            servantInfo_ = null;
          } else {
            servantInfo_ = null;
            servantInfoBuilder_ = null;
          }
          internalGetMutableAiThreatMap().clear();
          internalGetMutableSkillGroupCdMap().clear();
          curTactic_ = 0;
  
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.internal_static_SceneEntityAiInfo_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo build() {
          emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo buildPartial() {
          emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo result = new emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo(this);
          int from_bitField0_ = bitField0_;
          result.isAiOpen_ = isAiOpen_;
          if (bornPosBuilder_ == null) {
            result.bornPos_ = bornPos_;
          } else {
            result.bornPos_ = bornPosBuilder_.build();
          }
          result.skillCdMap_ = internalGetSkillCdMap();
          result.skillCdMap_.makeImmutable();
          if (servantInfoBuilder_ == null) {
            result.servantInfo_ = servantInfo_;
          } else {
            result.servantInfo_ = servantInfoBuilder_.build();
          }
          result.aiThreatMap_ = internalGetAiThreatMap();
          result.aiThreatMap_.makeImmutable();
          result.skillGroupCdMap_ = internalGetSkillGroupCdMap();
          result.skillGroupCdMap_.makeImmutable();
          result.curTactic_ = curTactic_;
          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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo) {
            return mergeFrom((emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo other) {
          if (other == emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo.getDefaultInstance()) return this;
          if (other.getIsAiOpen() != false) {
            setIsAiOpen(other.getIsAiOpen());
          }
          if (other.hasBornPos()) {
            mergeBornPos(other.getBornPos());
          }
          internalGetMutableSkillCdMap().mergeFrom(
              other.internalGetSkillCdMap());
          if (other.hasServantInfo()) {
            mergeServantInfo(other.getServantInfo());
          }
          internalGetMutableAiThreatMap().mergeFrom(
              other.internalGetAiThreatMap());
          internalGetMutableSkillGroupCdMap().mergeFrom(
              other.internalGetSkillGroupCdMap());
          if (other.getCurTactic() != 0) {
            setCurTactic(other.getCurTactic());
          }
          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.SceneEntityAiInfoOuterClass.SceneEntityAiInfo parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private boolean isAiOpen_ ;
        /**
         * <code>bool isAiOpen = 1;</code>
         * @return The isAiOpen.
         */
        @java.lang.Override
        public boolean getIsAiOpen() {
          return isAiOpen_;
        }
        /**
         * <code>bool isAiOpen = 1;</code>
         * @param value The isAiOpen to set.
         * @return This builder for chaining.
         */
        public Builder setIsAiOpen(boolean value) {
          
          isAiOpen_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool isAiOpen = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsAiOpen() {
          
          isAiOpen_ = false;
          onChanged();
          return this;
        }
  
        private emu.grasscutter.net.proto.VectorOuterClass.Vector bornPos_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> bornPosBuilder_;
        /**
         * <code>.Vector bornPos = 2;</code>
         * @return Whether the bornPos field is set.
         */
        public boolean hasBornPos() {
          return bornPosBuilder_ != null || bornPos_ != null;
        }
        /**
         * <code>.Vector bornPos = 2;</code>
         * @return The bornPos.
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector getBornPos() {
          if (bornPosBuilder_ == null) {
            return bornPos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : bornPos_;
          } else {
            return bornPosBuilder_.getMessage();
          }
        }
        /**
         * <code>.Vector bornPos = 2;</code>
         */
        public Builder setBornPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (bornPosBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            bornPos_ = value;
            onChanged();
          } else {
            bornPosBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector bornPos = 2;</code>
         */
        public Builder setBornPos(
            emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
          if (bornPosBuilder_ == null) {
            bornPos_ = builderForValue.build();
            onChanged();
          } else {
            bornPosBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.Vector bornPos = 2;</code>
         */
        public Builder mergeBornPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
          if (bornPosBuilder_ == null) {
            if (bornPos_ != null) {
              bornPos_ =
                emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(bornPos_).mergeFrom(value).buildPartial();
            } else {
              bornPos_ = value;
            }
            onChanged();
          } else {
            bornPosBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.Vector bornPos = 2;</code>
         */
        public Builder clearBornPos() {
          if (bornPosBuilder_ == null) {
            bornPos_ = null;
            onChanged();
          } else {
            bornPos_ = null;
            bornPosBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.Vector bornPos = 2;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getBornPosBuilder() {
          
          onChanged();
          return getBornPosFieldBuilder().getBuilder();
        }
        /**
         * <code>.Vector bornPos = 2;</code>
         */
        public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getBornPosOrBuilder() {
          if (bornPosBuilder_ != null) {
            return bornPosBuilder_.getMessageOrBuilder();
          } else {
            return bornPos_ == null ?
                emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : bornPos_;
          }
        }
        /**
         * <code>.Vector bornPos = 2;</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> 
            getBornPosFieldBuilder() {
          if (bornPosBuilder_ == null) {
            bornPosBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
                    getBornPos(),
                    getParentForChildren(),
                    isClean());
            bornPos_ = null;
          }
          return bornPosBuilder_;
        }
  
        private com.google.protobuf.MapField<
            java.lang.Integer, java.lang.Integer> skillCdMap_;
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetSkillCdMap() {
          if (skillCdMap_ == null) {
            return com.google.protobuf.MapField.emptyMapField(
                SkillCdMapDefaultEntryHolder.defaultEntry);
          }
          return skillCdMap_;
        }
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetMutableSkillCdMap() {
          onChanged();;
          if (skillCdMap_ == null) {
            skillCdMap_ = com.google.protobuf.MapField.newMapField(
                SkillCdMapDefaultEntryHolder.defaultEntry);
          }
          if (!skillCdMap_.isMutable()) {
            skillCdMap_ = skillCdMap_.copy();
          }
          return skillCdMap_;
        }
  
        public int getSkillCdMapCount() {
          return internalGetSkillCdMap().getMap().size();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
         */
  
        @java.lang.Override
        public boolean containsSkillCdMap(
            int key) {
          
          return internalGetSkillCdMap().getMap().containsKey(key);
        }
        /**
         * Use {@link #getSkillCdMapMap()} instead.
         */
        @java.lang.Override
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillCdMap() {
          return getSkillCdMapMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
         */
        @java.lang.Override
  
        public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillCdMapMap() {
          return internalGetSkillCdMap().getMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
         */
        @java.lang.Override
  
        public int getSkillCdMapOrDefault(
            int key,
            int defaultValue) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetSkillCdMap().getMap();
          return map.containsKey(key) ? map.get(key) : defaultValue;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
         */
        @java.lang.Override
  
        public int getSkillCdMapOrThrow(
            int key) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetSkillCdMap().getMap();
          if (!map.containsKey(key)) {
            throw new java.lang.IllegalArgumentException();
          }
          return map.get(key);
        }
  
        public Builder clearSkillCdMap() {
          internalGetMutableSkillCdMap().getMutableMap()
              .clear();
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
         */
  
        public Builder removeSkillCdMap(
            int key) {
          
          internalGetMutableSkillCdMap().getMutableMap()
              .remove(key);
          return this;
        }
        /**
         * Use alternate mutation accessors instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer>
        getMutableSkillCdMap() {
          return internalGetMutableSkillCdMap().getMutableMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
         */
        public Builder putSkillCdMap(
            int key,
            int value) {
          
          
          internalGetMutableSkillCdMap().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillCdMap = 3;</code>
         */
  
        public Builder putAllSkillCdMap(
            java.util.Map<java.lang.Integer, java.lang.Integer> values) {
          internalGetMutableSkillCdMap().getMutableMap()
              .putAll(values);
          return this;
        }
  
        private emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo servantInfo_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo, emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.Builder, emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfoOrBuilder> servantInfoBuilder_;
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         * @return Whether the servantInfo field is set.
         */
        public boolean hasServantInfo() {
          return servantInfoBuilder_ != null || servantInfo_ != null;
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         * @return The servantInfo.
         */
        public emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo getServantInfo() {
          if (servantInfoBuilder_ == null) {
            return servantInfo_ == null ? emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.getDefaultInstance() : servantInfo_;
          } else {
            return servantInfoBuilder_.getMessage();
          }
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         */
        public Builder setServantInfo(emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo value) {
          if (servantInfoBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            servantInfo_ = value;
            onChanged();
          } else {
            servantInfoBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         */
        public Builder setServantInfo(
            emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.Builder builderForValue) {
          if (servantInfoBuilder_ == null) {
            servantInfo_ = builderForValue.build();
            onChanged();
          } else {
            servantInfoBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         */
        public Builder mergeServantInfo(emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo value) {
          if (servantInfoBuilder_ == null) {
            if (servantInfo_ != null) {
              servantInfo_ =
                emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.newBuilder(servantInfo_).mergeFrom(value).buildPartial();
            } else {
              servantInfo_ = value;
            }
            onChanged();
          } else {
            servantInfoBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         */
        public Builder clearServantInfo() {
          if (servantInfoBuilder_ == null) {
            servantInfo_ = null;
            onChanged();
          } else {
            servantInfo_ = null;
            servantInfoBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         */
        public emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.Builder getServantInfoBuilder() {
          
          onChanged();
          return getServantInfoFieldBuilder().getBuilder();
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         */
        public emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfoOrBuilder getServantInfoOrBuilder() {
          if (servantInfoBuilder_ != null) {
            return servantInfoBuilder_.getMessageOrBuilder();
          } else {
            return servantInfo_ == null ?
                emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.getDefaultInstance() : servantInfo_;
          }
        }
        /**
         * <code>.ServantInfo servantInfo = 4;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo, emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.Builder, emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfoOrBuilder> 
            getServantInfoFieldBuilder() {
          if (servantInfoBuilder_ == null) {
            servantInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo, emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfo.Builder, emu.grasscutter.net.proto.ServantInfoOuterClass.ServantInfoOrBuilder>(
                    getServantInfo(),
                    getParentForChildren(),
                    isClean());
            servantInfo_ = null;
          }
          return servantInfoBuilder_;
        }
  
        private com.google.protobuf.MapField<
            java.lang.Integer, java.lang.Integer> aiThreatMap_;
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetAiThreatMap() {
          if (aiThreatMap_ == null) {
            return com.google.protobuf.MapField.emptyMapField(
                AiThreatMapDefaultEntryHolder.defaultEntry);
          }
          return aiThreatMap_;
        }
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetMutableAiThreatMap() {
          onChanged();;
          if (aiThreatMap_ == null) {
            aiThreatMap_ = com.google.protobuf.MapField.newMapField(
                AiThreatMapDefaultEntryHolder.defaultEntry);
          }
          if (!aiThreatMap_.isMutable()) {
            aiThreatMap_ = aiThreatMap_.copy();
          }
          return aiThreatMap_;
        }
  
        public int getAiThreatMapCount() {
          return internalGetAiThreatMap().getMap().size();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
         */
  
        @java.lang.Override
        public boolean containsAiThreatMap(
            int key) {
          
          return internalGetAiThreatMap().getMap().containsKey(key);
        }
        /**
         * Use {@link #getAiThreatMapMap()} instead.
         */
        @java.lang.Override
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer> getAiThreatMap() {
          return getAiThreatMapMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
         */
        @java.lang.Override
  
        public java.util.Map<java.lang.Integer, java.lang.Integer> getAiThreatMapMap() {
          return internalGetAiThreatMap().getMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
         */
        @java.lang.Override
  
        public int getAiThreatMapOrDefault(
            int key,
            int defaultValue) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetAiThreatMap().getMap();
          return map.containsKey(key) ? map.get(key) : defaultValue;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
         */
        @java.lang.Override
  
        public int getAiThreatMapOrThrow(
            int key) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetAiThreatMap().getMap();
          if (!map.containsKey(key)) {
            throw new java.lang.IllegalArgumentException();
          }
          return map.get(key);
        }
  
        public Builder clearAiThreatMap() {
          internalGetMutableAiThreatMap().getMutableMap()
              .clear();
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
         */
  
        public Builder removeAiThreatMap(
            int key) {
          
          internalGetMutableAiThreatMap().getMutableMap()
              .remove(key);
          return this;
        }
        /**
         * Use alternate mutation accessors instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer>
        getMutableAiThreatMap() {
          return internalGetMutableAiThreatMap().getMutableMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
         */
        public Builder putAiThreatMap(
            int key,
            int value) {
          
          
          internalGetMutableAiThreatMap().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; aiThreatMap = 5;</code>
         */
  
        public Builder putAllAiThreatMap(
            java.util.Map<java.lang.Integer, java.lang.Integer> values) {
          internalGetMutableAiThreatMap().getMutableMap()
              .putAll(values);
          return this;
        }
  
        private com.google.protobuf.MapField<
            java.lang.Integer, java.lang.Integer> skillGroupCdMap_;
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetSkillGroupCdMap() {
          if (skillGroupCdMap_ == null) {
            return com.google.protobuf.MapField.emptyMapField(
                SkillGroupCdMapDefaultEntryHolder.defaultEntry);
          }
          return skillGroupCdMap_;
        }
        private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
        internalGetMutableSkillGroupCdMap() {
          onChanged();;
          if (skillGroupCdMap_ == null) {
            skillGroupCdMap_ = com.google.protobuf.MapField.newMapField(
                SkillGroupCdMapDefaultEntryHolder.defaultEntry);
          }
          if (!skillGroupCdMap_.isMutable()) {
            skillGroupCdMap_ = skillGroupCdMap_.copy();
          }
          return skillGroupCdMap_;
        }
  
        public int getSkillGroupCdMapCount() {
          return internalGetSkillGroupCdMap().getMap().size();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
         */
  
        @java.lang.Override
        public boolean containsSkillGroupCdMap(
            int key) {
          
          return internalGetSkillGroupCdMap().getMap().containsKey(key);
        }
        /**
         * Use {@link #getSkillGroupCdMapMap()} instead.
         */
        @java.lang.Override
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillGroupCdMap() {
          return getSkillGroupCdMapMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
         */
        @java.lang.Override
  
        public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillGroupCdMapMap() {
          return internalGetSkillGroupCdMap().getMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
         */
        @java.lang.Override
  
        public int getSkillGroupCdMapOrDefault(
            int key,
            int defaultValue) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetSkillGroupCdMap().getMap();
          return map.containsKey(key) ? map.get(key) : defaultValue;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
         */
        @java.lang.Override
  
        public int getSkillGroupCdMapOrThrow(
            int key) {
          
          java.util.Map<java.lang.Integer, java.lang.Integer> map =
              internalGetSkillGroupCdMap().getMap();
          if (!map.containsKey(key)) {
            throw new java.lang.IllegalArgumentException();
          }
          return map.get(key);
        }
  
        public Builder clearSkillGroupCdMap() {
          internalGetMutableSkillGroupCdMap().getMutableMap()
              .clear();
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
         */
  
        public Builder removeSkillGroupCdMap(
            int key) {
          
          internalGetMutableSkillGroupCdMap().getMutableMap()
              .remove(key);
          return this;
        }
        /**
         * Use alternate mutation accessors instead.
         */
        @java.lang.Deprecated
        public java.util.Map<java.lang.Integer, java.lang.Integer>
        getMutableSkillGroupCdMap() {
          return internalGetMutableSkillGroupCdMap().getMutableMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
         */
        public Builder putSkillGroupCdMap(
            int key,
            int value) {
          
          
          internalGetMutableSkillGroupCdMap().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; skillGroupCdMap = 6;</code>
         */
  
        public Builder putAllSkillGroupCdMap(
            java.util.Map<java.lang.Integer, java.lang.Integer> values) {
          internalGetMutableSkillGroupCdMap().getMutableMap()
              .putAll(values);
          return this;
        }
  
        private int curTactic_ ;
        /**
         * <code>uint32 curTactic = 7;</code>
         * @return The curTactic.
         */
        @java.lang.Override
        public int getCurTactic() {
          return curTactic_;
        }
        /**
         * <code>uint32 curTactic = 7;</code>
         * @param value The curTactic to set.
         * @return This builder for chaining.
         */
        public Builder setCurTactic(int value) {
          
          curTactic_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 curTactic = 7;</code>
         * @return This builder for chaining.
         */
        public Builder clearCurTactic() {
          
          curTactic_ = 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:SceneEntityAiInfo)
      }
  
      // @@protoc_insertion_point(class_scope:SceneEntityAiInfo)
      private static final emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo();
      }
  
      public static emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<SceneEntityAiInfo>
          PARSER = new com.google.protobuf.AbstractParser<SceneEntityAiInfo>() {
        @java.lang.Override
        public SceneEntityAiInfo parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new SceneEntityAiInfo(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<SceneEntityAiInfo> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<SceneEntityAiInfo> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.SceneEntityAiInfoOuterClass.SceneEntityAiInfo getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_SceneEntityAiInfo_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_SceneEntityAiInfo_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_SceneEntityAiInfo_SkillCdMapEntry_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_SceneEntityAiInfo_SkillCdMapEntry_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_SceneEntityAiInfo_AiThreatMapEntry_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_SceneEntityAiInfo_AiThreatMapEntry_fieldAccessorTable;
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_SceneEntityAiInfo_SkillGroupCdMapEntry_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_SceneEntityAiInfo_SkillGroupCdMapEntry_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\027SceneEntityAiInfo.proto\032\014Vector.proto\032" +
        "\021ServantInfo.proto\"\310\003\n\021SceneEntityAiInfo" +
        "\022\020\n\010isAiOpen\030\001 \001(\010\022\030\n\007bornPos\030\002 \001(\0132\007.Ve" +
        "ctor\0226\n\nskillCdMap\030\003 \003(\0132\".SceneEntityAi" +
        "Info.SkillCdMapEntry\022!\n\013servantInfo\030\004 \001(" +
        "\0132\014.ServantInfo\0228\n\013aiThreatMap\030\005 \003(\0132#.S" +
        "ceneEntityAiInfo.AiThreatMapEntry\022@\n\017ski" +
        "llGroupCdMap\030\006 \003(\0132\'.SceneEntityAiInfo.S" +
        "killGroupCdMapEntry\022\021\n\tcurTactic\030\007 \001(\r\0321" +
        "\n\017SkillCdMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030" +
        "\002 \001(\r:\0028\001\0322\n\020AiThreatMapEntry\022\013\n\003key\030\001 \001" +
        "(\r\022\r\n\005value\030\002 \001(\r:\0028\001\0326\n\024SkillGroupCdMap" +
        "Entry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\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.VectorOuterClass.getDescriptor(),
            emu.grasscutter.net.proto.ServantInfoOuterClass.getDescriptor(),
          });
      internal_static_SceneEntityAiInfo_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_SceneEntityAiInfo_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_SceneEntityAiInfo_descriptor,
          new java.lang.String[] { "IsAiOpen", "BornPos", "SkillCdMap", "ServantInfo", "AiThreatMap", "SkillGroupCdMap", "CurTactic", });
      internal_static_SceneEntityAiInfo_SkillCdMapEntry_descriptor =
        internal_static_SceneEntityAiInfo_descriptor.getNestedTypes().get(0);
      internal_static_SceneEntityAiInfo_SkillCdMapEntry_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_SceneEntityAiInfo_SkillCdMapEntry_descriptor,
          new java.lang.String[] { "Key", "Value", });
      internal_static_SceneEntityAiInfo_AiThreatMapEntry_descriptor =
        internal_static_SceneEntityAiInfo_descriptor.getNestedTypes().get(1);
      internal_static_SceneEntityAiInfo_AiThreatMapEntry_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_SceneEntityAiInfo_AiThreatMapEntry_descriptor,
          new java.lang.String[] { "Key", "Value", });
      internal_static_SceneEntityAiInfo_SkillGroupCdMapEntry_descriptor =
        internal_static_SceneEntityAiInfo_descriptor.getNestedTypes().get(2);
      internal_static_SceneEntityAiInfo_SkillGroupCdMapEntry_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_SceneEntityAiInfo_SkillGroupCdMapEntry_descriptor,
          new java.lang.String[] { "Key", "Value", });
      emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
      emu.grasscutter.net.proto.ServantInfoOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  