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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint32 skill_depot_id = 15;</code>
     * @return The skillDepotId.
     */
    int getSkillDepotId();

    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */
    int getProudSkillExtraLevelMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */
    boolean containsProudSkillExtraLevelMap(
        int key);
    /**
     * Use {@link #getProudSkillExtraLevelMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getProudSkillExtraLevelMap();
    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getProudSkillExtraLevelMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */

    int getProudSkillExtraLevelMapOrDefault(
        int key,
        int defaultValue);
    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */

    int getProudSkillExtraLevelMapOrThrow(
        int key);

    /**
     * <code>repeated uint32 talent_id_list = 9;</code>
     * @return A list containing the talentIdList.
     */
    java.util.List<java.lang.Integer> getTalentIdListList();
    /**
     * <code>repeated uint32 talent_id_list = 9;</code>
     * @return The count of talentIdList.
     */
    int getTalentIdListCount();
    /**
     * <code>repeated uint32 talent_id_list = 9;</code>
     * @param index The index of the element to return.
     * @return The talentIdList at the given index.
     */
    int getTalentIdList(int index);

    /**
     * <code>repeated uint32 proud_skill_list = 4;</code>
     * @return A list containing the proudSkillList.
     */
    java.util.List<java.lang.Integer> getProudSkillListList();
    /**
     * <code>repeated uint32 proud_skill_list = 4;</code>
     * @return The count of proudSkillList.
     */
    int getProudSkillListCount();
    /**
     * <code>repeated uint32 proud_skill_list = 4;</code>
     * @param index The index of the element to return.
     * @return The proudSkillList at the given index.
     */
    int getProudSkillList(int index);

    /**
     * <code>uint32 core_proud_skill_level = 2;</code>
     * @return The coreProudSkillLevel.
     */
    int getCoreProudSkillLevel();

    /**
     * <code>uint32 entity_id = 7;</code>
     * @return The entityId.
     */
    int getEntityId();

    /**
     * <code>uint64 avatar_guid = 12;</code>
     * @return The avatarGuid.
     */
    long getAvatarGuid();

    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */
    int getSkillLevelMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */
    boolean containsSkillLevelMap(
        int key);
    /**
     * Use {@link #getSkillLevelMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getSkillLevelMap();
    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getSkillLevelMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */

    int getSkillLevelMapOrDefault(
        int key,
        int defaultValue);
    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */

    int getSkillLevelMapOrThrow(
        int key);
  }
  /**
   * <pre>
   * CmdId: 1035
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * </pre>
   *
   * Protobuf type {@code AvatarSkillDepotChangeNotify}
   */
  public static final class AvatarSkillDepotChangeNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:AvatarSkillDepotChangeNotify)
      AvatarSkillDepotChangeNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AvatarSkillDepotChangeNotify.newBuilder() to construct.
    private AvatarSkillDepotChangeNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AvatarSkillDepotChangeNotify() {
      talentIdList_ = emptyIntList();
      proudSkillList_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AvatarSkillDepotChangeNotify(
        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 16: {

              coreProudSkillLevel_ = input.readUInt32();
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                skillLevelMap_ = com.google.protobuf.MapField.newMapField(
                    SkillLevelMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000008;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
              skillLevelMap__ = input.readMessage(
                  SkillLevelMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              skillLevelMap_.getMutableMap().put(
                  skillLevelMap__.getKey(), skillLevelMap__.getValue());
              break;
            }
            case 32: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                proudSkillList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              proudSkillList_.addInt(input.readUInt32());
              break;
            }
            case 34: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
                proudSkillList_ = newIntList();
                mutable_bitField0_ |= 0x00000004;
              }
              while (input.getBytesUntilLimit() > 0) {
                proudSkillList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 56: {

              entityId_ = input.readUInt32();
              break;
            }
            case 72: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                talentIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              talentIdList_.addInt(input.readUInt32());
              break;
            }
            case 74: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                talentIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                talentIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 96: {

              avatarGuid_ = input.readUInt64();
              break;
            }
            case 114: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                proudSkillExtraLevelMap_ = com.google.protobuf.MapField.newMapField(
                    ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000001;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
              proudSkillExtraLevelMap__ = input.readMessage(
                  ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              proudSkillExtraLevelMap_.getMutableMap().put(
                  proudSkillExtraLevelMap__.getKey(), proudSkillExtraLevelMap__.getValue());
              break;
            }
            case 120: {

              skillDepotId_ = 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_ & 0x00000004) != 0)) {
          proudSkillList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          talentIdList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.internal_static_AvatarSkillDepotChangeNotify_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 14:
          return internalGetProudSkillExtraLevelMap();
        case 3:
          return internalGetSkillLevelMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.internal_static_AvatarSkillDepotChangeNotify_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify.class, emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify.Builder.class);
    }

    public static final int SKILL_DEPOT_ID_FIELD_NUMBER = 15;
    private int skillDepotId_;
    /**
     * <code>uint32 skill_depot_id = 15;</code>
     * @return The skillDepotId.
     */
    @java.lang.Override
    public int getSkillDepotId() {
      return skillDepotId_;
    }

    public static final int PROUD_SKILL_EXTRA_LEVEL_MAP_FIELD_NUMBER = 14;
    private static final class ProudSkillExtraLevelMapDefaultEntryHolder {
      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.AvatarSkillDepotChangeNotifyOuterClass.internal_static_AvatarSkillDepotChangeNotify_ProudSkillExtraLevelMapEntry_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> proudSkillExtraLevelMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetProudSkillExtraLevelMap() {
      if (proudSkillExtraLevelMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
      }
      return proudSkillExtraLevelMap_;
    }

    public int getProudSkillExtraLevelMapCount() {
      return internalGetProudSkillExtraLevelMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */

    @java.lang.Override
    public boolean containsProudSkillExtraLevelMap(
        int key) {
      
      return internalGetProudSkillExtraLevelMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getProudSkillExtraLevelMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevelMap() {
      return getProudSkillExtraLevelMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevelMapMap() {
      return internalGetProudSkillExtraLevelMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
     */
    @java.lang.Override

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

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

    public static final int TALENT_ID_LIST_FIELD_NUMBER = 9;
    private com.google.protobuf.Internal.IntList talentIdList_;
    /**
     * <code>repeated uint32 talent_id_list = 9;</code>
     * @return A list containing the talentIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getTalentIdListList() {
      return talentIdList_;
    }
    /**
     * <code>repeated uint32 talent_id_list = 9;</code>
     * @return The count of talentIdList.
     */
    public int getTalentIdListCount() {
      return talentIdList_.size();
    }
    /**
     * <code>repeated uint32 talent_id_list = 9;</code>
     * @param index The index of the element to return.
     * @return The talentIdList at the given index.
     */
    public int getTalentIdList(int index) {
      return talentIdList_.getInt(index);
    }
    private int talentIdListMemoizedSerializedSize = -1;

    public static final int PROUD_SKILL_LIST_FIELD_NUMBER = 4;
    private com.google.protobuf.Internal.IntList proudSkillList_;
    /**
     * <code>repeated uint32 proud_skill_list = 4;</code>
     * @return A list containing the proudSkillList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getProudSkillListList() {
      return proudSkillList_;
    }
    /**
     * <code>repeated uint32 proud_skill_list = 4;</code>
     * @return The count of proudSkillList.
     */
    public int getProudSkillListCount() {
      return proudSkillList_.size();
    }
    /**
     * <code>repeated uint32 proud_skill_list = 4;</code>
     * @param index The index of the element to return.
     * @return The proudSkillList at the given index.
     */
    public int getProudSkillList(int index) {
      return proudSkillList_.getInt(index);
    }
    private int proudSkillListMemoizedSerializedSize = -1;

    public static final int CORE_PROUD_SKILL_LEVEL_FIELD_NUMBER = 2;
    private int coreProudSkillLevel_;
    /**
     * <code>uint32 core_proud_skill_level = 2;</code>
     * @return The coreProudSkillLevel.
     */
    @java.lang.Override
    public int getCoreProudSkillLevel() {
      return coreProudSkillLevel_;
    }

    public static final int ENTITY_ID_FIELD_NUMBER = 7;
    private int entityId_;
    /**
     * <code>uint32 entity_id = 7;</code>
     * @return The entityId.
     */
    @java.lang.Override
    public int getEntityId() {
      return entityId_;
    }

    public static final int AVATAR_GUID_FIELD_NUMBER = 12;
    private long avatarGuid_;
    /**
     * <code>uint64 avatar_guid = 12;</code>
     * @return The avatarGuid.
     */
    @java.lang.Override
    public long getAvatarGuid() {
      return avatarGuid_;
    }

    public static final int SKILL_LEVEL_MAP_FIELD_NUMBER = 3;
    private static final class SkillLevelMapDefaultEntryHolder {
      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.AvatarSkillDepotChangeNotifyOuterClass.internal_static_AvatarSkillDepotChangeNotify_SkillLevelMapEntry_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> skillLevelMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetSkillLevelMap() {
      if (skillLevelMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            SkillLevelMapDefaultEntryHolder.defaultEntry);
      }
      return skillLevelMap_;
    }

    public int getSkillLevelMapCount() {
      return internalGetSkillLevelMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */

    @java.lang.Override
    public boolean containsSkillLevelMap(
        int key) {
      
      return internalGetSkillLevelMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getSkillLevelMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMap() {
      return getSkillLevelMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMapMap() {
      return internalGetSkillLevelMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
     */
    @java.lang.Override

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

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

    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 (coreProudSkillLevel_ != 0) {
        output.writeUInt32(2, coreProudSkillLevel_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetSkillLevelMap(),
          SkillLevelMapDefaultEntryHolder.defaultEntry,
          3);
      if (getProudSkillListList().size() > 0) {
        output.writeUInt32NoTag(34);
        output.writeUInt32NoTag(proudSkillListMemoizedSerializedSize);
      }
      for (int i = 0; i < proudSkillList_.size(); i++) {
        output.writeUInt32NoTag(proudSkillList_.getInt(i));
      }
      if (entityId_ != 0) {
        output.writeUInt32(7, entityId_);
      }
      if (getTalentIdListList().size() > 0) {
        output.writeUInt32NoTag(74);
        output.writeUInt32NoTag(talentIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < talentIdList_.size(); i++) {
        output.writeUInt32NoTag(talentIdList_.getInt(i));
      }
      if (avatarGuid_ != 0L) {
        output.writeUInt64(12, avatarGuid_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetProudSkillExtraLevelMap(),
          ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry,
          14);
      if (skillDepotId_ != 0) {
        output.writeUInt32(15, skillDepotId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (coreProudSkillLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, coreProudSkillLevel_);
      }
      for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
           : internalGetSkillLevelMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
        skillLevelMap__ = SkillLevelMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(3, skillLevelMap__);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < proudSkillList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(proudSkillList_.getInt(i));
        }
        size += dataSize;
        if (!getProudSkillListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        proudSkillListMemoizedSerializedSize = dataSize;
      }
      if (entityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, entityId_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < talentIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(talentIdList_.getInt(i));
        }
        size += dataSize;
        if (!getTalentIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        talentIdListMemoizedSerializedSize = dataSize;
      }
      if (avatarGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(12, avatarGuid_);
      }
      for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
           : internalGetProudSkillExtraLevelMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
        proudSkillExtraLevelMap__ = ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(14, proudSkillExtraLevelMap__);
      }
      if (skillDepotId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(15, skillDepotId_);
      }
      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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify other = (emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify) obj;

      if (getSkillDepotId()
          != other.getSkillDepotId()) return false;
      if (!internalGetProudSkillExtraLevelMap().equals(
          other.internalGetProudSkillExtraLevelMap())) return false;
      if (!getTalentIdListList()
          .equals(other.getTalentIdListList())) return false;
      if (!getProudSkillListList()
          .equals(other.getProudSkillListList())) return false;
      if (getCoreProudSkillLevel()
          != other.getCoreProudSkillLevel()) return false;
      if (getEntityId()
          != other.getEntityId()) return false;
      if (getAvatarGuid()
          != other.getAvatarGuid()) return false;
      if (!internalGetSkillLevelMap().equals(
          other.internalGetSkillLevelMap())) 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) + SKILL_DEPOT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSkillDepotId();
      if (!internalGetProudSkillExtraLevelMap().getMap().isEmpty()) {
        hash = (37 * hash) + PROUD_SKILL_EXTRA_LEVEL_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetProudSkillExtraLevelMap().hashCode();
      }
      if (getTalentIdListCount() > 0) {
        hash = (37 * hash) + TALENT_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getTalentIdListList().hashCode();
      }
      if (getProudSkillListCount() > 0) {
        hash = (37 * hash) + PROUD_SKILL_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getProudSkillListList().hashCode();
      }
      hash = (37 * hash) + CORE_PROUD_SKILL_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getCoreProudSkillLevel();
      hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getEntityId();
      hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getAvatarGuid());
      if (!internalGetSkillLevelMap().getMap().isEmpty()) {
        hash = (37 * hash) + SKILL_LEVEL_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetSkillLevelMap().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify 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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify 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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify 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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify 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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify 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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify 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;
    }
    /**
     * <pre>
     * CmdId: 1035
     * EnetChannelId: 0
     * EnetIsReliable: false
     * IsAllowClient: true
     * </pre>
     *
     * Protobuf type {@code AvatarSkillDepotChangeNotify}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:AvatarSkillDepotChangeNotify)
        emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotifyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.internal_static_AvatarSkillDepotChangeNotify_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 14:
            return internalGetProudSkillExtraLevelMap();
          case 3:
            return internalGetSkillLevelMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 14:
            return internalGetMutableProudSkillExtraLevelMap();
          case 3:
            return internalGetMutableSkillLevelMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.internal_static_AvatarSkillDepotChangeNotify_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify.class, emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify.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();
        skillDepotId_ = 0;

        internalGetMutableProudSkillExtraLevelMap().clear();
        talentIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        proudSkillList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        coreProudSkillLevel_ = 0;

        entityId_ = 0;

        avatarGuid_ = 0L;

        internalGetMutableSkillLevelMap().clear();
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify buildPartial() {
        emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify result = new emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify(this);
        int from_bitField0_ = bitField0_;
        result.skillDepotId_ = skillDepotId_;
        result.proudSkillExtraLevelMap_ = internalGetProudSkillExtraLevelMap();
        result.proudSkillExtraLevelMap_.makeImmutable();
        if (((bitField0_ & 0x00000002) != 0)) {
          talentIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.talentIdList_ = talentIdList_;
        if (((bitField0_ & 0x00000004) != 0)) {
          proudSkillList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.proudSkillList_ = proudSkillList_;
        result.coreProudSkillLevel_ = coreProudSkillLevel_;
        result.entityId_ = entityId_;
        result.avatarGuid_ = avatarGuid_;
        result.skillLevelMap_ = internalGetSkillLevelMap();
        result.skillLevelMap_.makeImmutable();
        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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify) {
          return mergeFrom((emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify other) {
        if (other == emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify.getDefaultInstance()) return this;
        if (other.getSkillDepotId() != 0) {
          setSkillDepotId(other.getSkillDepotId());
        }
        internalGetMutableProudSkillExtraLevelMap().mergeFrom(
            other.internalGetProudSkillExtraLevelMap());
        if (!other.talentIdList_.isEmpty()) {
          if (talentIdList_.isEmpty()) {
            talentIdList_ = other.talentIdList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureTalentIdListIsMutable();
            talentIdList_.addAll(other.talentIdList_);
          }
          onChanged();
        }
        if (!other.proudSkillList_.isEmpty()) {
          if (proudSkillList_.isEmpty()) {
            proudSkillList_ = other.proudSkillList_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureProudSkillListIsMutable();
            proudSkillList_.addAll(other.proudSkillList_);
          }
          onChanged();
        }
        if (other.getCoreProudSkillLevel() != 0) {
          setCoreProudSkillLevel(other.getCoreProudSkillLevel());
        }
        if (other.getEntityId() != 0) {
          setEntityId(other.getEntityId());
        }
        if (other.getAvatarGuid() != 0L) {
          setAvatarGuid(other.getAvatarGuid());
        }
        internalGetMutableSkillLevelMap().mergeFrom(
            other.internalGetSkillLevelMap());
        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.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int skillDepotId_ ;
      /**
       * <code>uint32 skill_depot_id = 15;</code>
       * @return The skillDepotId.
       */
      @java.lang.Override
      public int getSkillDepotId() {
        return skillDepotId_;
      }
      /**
       * <code>uint32 skill_depot_id = 15;</code>
       * @param value The skillDepotId to set.
       * @return This builder for chaining.
       */
      public Builder setSkillDepotId(int value) {
        
        skillDepotId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 skill_depot_id = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearSkillDepotId() {
        
        skillDepotId_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> proudSkillExtraLevelMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetProudSkillExtraLevelMap() {
        if (proudSkillExtraLevelMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
        }
        return proudSkillExtraLevelMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetMutableProudSkillExtraLevelMap() {
        onChanged();;
        if (proudSkillExtraLevelMap_ == null) {
          proudSkillExtraLevelMap_ = com.google.protobuf.MapField.newMapField(
              ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
        }
        if (!proudSkillExtraLevelMap_.isMutable()) {
          proudSkillExtraLevelMap_ = proudSkillExtraLevelMap_.copy();
        }
        return proudSkillExtraLevelMap_;
      }

      public int getProudSkillExtraLevelMapCount() {
        return internalGetProudSkillExtraLevelMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
       */

      @java.lang.Override
      public boolean containsProudSkillExtraLevelMap(
          int key) {
        
        return internalGetProudSkillExtraLevelMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getProudSkillExtraLevelMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevelMap() {
        return getProudSkillExtraLevelMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevelMapMap() {
        return internalGetProudSkillExtraLevelMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
       */
      @java.lang.Override

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

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

      public Builder clearProudSkillExtraLevelMap() {
        internalGetMutableProudSkillExtraLevelMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
       */

      public Builder removeProudSkillExtraLevelMap(
          int key) {
        
        internalGetMutableProudSkillExtraLevelMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer>
      getMutableProudSkillExtraLevelMap() {
        return internalGetMutableProudSkillExtraLevelMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
       */
      public Builder putProudSkillExtraLevelMap(
          int key,
          int value) {
        
        
        internalGetMutableProudSkillExtraLevelMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; proud_skill_extra_level_map = 14;</code>
       */

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

      private com.google.protobuf.Internal.IntList talentIdList_ = emptyIntList();
      private void ensureTalentIdListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          talentIdList_ = mutableCopy(talentIdList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 talent_id_list = 9;</code>
       * @return A list containing the talentIdList.
       */
      public java.util.List<java.lang.Integer>
          getTalentIdListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(talentIdList_) : talentIdList_;
      }
      /**
       * <code>repeated uint32 talent_id_list = 9;</code>
       * @return The count of talentIdList.
       */
      public int getTalentIdListCount() {
        return talentIdList_.size();
      }
      /**
       * <code>repeated uint32 talent_id_list = 9;</code>
       * @param index The index of the element to return.
       * @return The talentIdList at the given index.
       */
      public int getTalentIdList(int index) {
        return talentIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 talent_id_list = 9;</code>
       * @param index The index to set the value at.
       * @param value The talentIdList to set.
       * @return This builder for chaining.
       */
      public Builder setTalentIdList(
          int index, int value) {
        ensureTalentIdListIsMutable();
        talentIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 talent_id_list = 9;</code>
       * @param value The talentIdList to add.
       * @return This builder for chaining.
       */
      public Builder addTalentIdList(int value) {
        ensureTalentIdListIsMutable();
        talentIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 talent_id_list = 9;</code>
       * @param values The talentIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllTalentIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureTalentIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, talentIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 talent_id_list = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearTalentIdList() {
        talentIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList proudSkillList_ = emptyIntList();
      private void ensureProudSkillListIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          proudSkillList_ = mutableCopy(proudSkillList_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * <code>repeated uint32 proud_skill_list = 4;</code>
       * @return A list containing the proudSkillList.
       */
      public java.util.List<java.lang.Integer>
          getProudSkillListList() {
        return ((bitField0_ & 0x00000004) != 0) ?
                 java.util.Collections.unmodifiableList(proudSkillList_) : proudSkillList_;
      }
      /**
       * <code>repeated uint32 proud_skill_list = 4;</code>
       * @return The count of proudSkillList.
       */
      public int getProudSkillListCount() {
        return proudSkillList_.size();
      }
      /**
       * <code>repeated uint32 proud_skill_list = 4;</code>
       * @param index The index of the element to return.
       * @return The proudSkillList at the given index.
       */
      public int getProudSkillList(int index) {
        return proudSkillList_.getInt(index);
      }
      /**
       * <code>repeated uint32 proud_skill_list = 4;</code>
       * @param index The index to set the value at.
       * @param value The proudSkillList to set.
       * @return This builder for chaining.
       */
      public Builder setProudSkillList(
          int index, int value) {
        ensureProudSkillListIsMutable();
        proudSkillList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 proud_skill_list = 4;</code>
       * @param value The proudSkillList to add.
       * @return This builder for chaining.
       */
      public Builder addProudSkillList(int value) {
        ensureProudSkillListIsMutable();
        proudSkillList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 proud_skill_list = 4;</code>
       * @param values The proudSkillList to add.
       * @return This builder for chaining.
       */
      public Builder addAllProudSkillList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureProudSkillListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, proudSkillList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 proud_skill_list = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearProudSkillList() {
        proudSkillList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }

      private int coreProudSkillLevel_ ;
      /**
       * <code>uint32 core_proud_skill_level = 2;</code>
       * @return The coreProudSkillLevel.
       */
      @java.lang.Override
      public int getCoreProudSkillLevel() {
        return coreProudSkillLevel_;
      }
      /**
       * <code>uint32 core_proud_skill_level = 2;</code>
       * @param value The coreProudSkillLevel to set.
       * @return This builder for chaining.
       */
      public Builder setCoreProudSkillLevel(int value) {
        
        coreProudSkillLevel_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 core_proud_skill_level = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearCoreProudSkillLevel() {
        
        coreProudSkillLevel_ = 0;
        onChanged();
        return this;
      }

      private int entityId_ ;
      /**
       * <code>uint32 entity_id = 7;</code>
       * @return The entityId.
       */
      @java.lang.Override
      public int getEntityId() {
        return entityId_;
      }
      /**
       * <code>uint32 entity_id = 7;</code>
       * @param value The entityId to set.
       * @return This builder for chaining.
       */
      public Builder setEntityId(int value) {
        
        entityId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 entity_id = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearEntityId() {
        
        entityId_ = 0;
        onChanged();
        return this;
      }

      private long avatarGuid_ ;
      /**
       * <code>uint64 avatar_guid = 12;</code>
       * @return The avatarGuid.
       */
      @java.lang.Override
      public long getAvatarGuid() {
        return avatarGuid_;
      }
      /**
       * <code>uint64 avatar_guid = 12;</code>
       * @param value The avatarGuid to set.
       * @return This builder for chaining.
       */
      public Builder setAvatarGuid(long value) {
        
        avatarGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 avatar_guid = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearAvatarGuid() {
        
        avatarGuid_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> skillLevelMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetSkillLevelMap() {
        if (skillLevelMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              SkillLevelMapDefaultEntryHolder.defaultEntry);
        }
        return skillLevelMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetMutableSkillLevelMap() {
        onChanged();;
        if (skillLevelMap_ == null) {
          skillLevelMap_ = com.google.protobuf.MapField.newMapField(
              SkillLevelMapDefaultEntryHolder.defaultEntry);
        }
        if (!skillLevelMap_.isMutable()) {
          skillLevelMap_ = skillLevelMap_.copy();
        }
        return skillLevelMap_;
      }

      public int getSkillLevelMapCount() {
        return internalGetSkillLevelMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
       */

      @java.lang.Override
      public boolean containsSkillLevelMap(
          int key) {
        
        return internalGetSkillLevelMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getSkillLevelMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMap() {
        return getSkillLevelMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMapMap() {
        return internalGetSkillLevelMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
       */
      @java.lang.Override

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

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

      public Builder clearSkillLevelMap() {
        internalGetMutableSkillLevelMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
       */

      public Builder removeSkillLevelMap(
          int key) {
        
        internalGetMutableSkillLevelMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer>
      getMutableSkillLevelMap() {
        return internalGetMutableSkillLevelMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
       */
      public Builder putSkillLevelMap(
          int key,
          int value) {
        
        
        internalGetMutableSkillLevelMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; skill_level_map = 3;</code>
       */

      public Builder putAllSkillLevelMap(
          java.util.Map<java.lang.Integer, java.lang.Integer> values) {
        internalGetMutableSkillLevelMap().getMutableMap()
            .putAll(values);
        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:AvatarSkillDepotChangeNotify)
    }

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

    public static emu.grasscutter.net.proto.AvatarSkillDepotChangeNotifyOuterClass.AvatarSkillDepotChangeNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AvatarSkillDepotChangeNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AvatarSkillDepotChangeNotify_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AvatarSkillDepotChangeNotify_ProudSkillExtraLevelMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AvatarSkillDepotChangeNotify_ProudSkillExtraLevelMapEntry_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AvatarSkillDepotChangeNotify_SkillLevelMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AvatarSkillDepotChangeNotify_SkillLevelMapEntry_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\"AvatarSkillDepotChangeNotify.proto\"\322\003\n" +
      "\034AvatarSkillDepotChangeNotify\022\026\n\016skill_d" +
      "epot_id\030\017 \001(\r\022_\n\033proud_skill_extra_level" +
      "_map\030\016 \003(\0132:.AvatarSkillDepotChangeNotif" +
      "y.ProudSkillExtraLevelMapEntry\022\026\n\016talent" +
      "_id_list\030\t \003(\r\022\030\n\020proud_skill_list\030\004 \003(\r" +
      "\022\036\n\026core_proud_skill_level\030\002 \001(\r\022\021\n\tenti" +
      "ty_id\030\007 \001(\r\022\023\n\013avatar_guid\030\014 \001(\004\022I\n\017skil" +
      "l_level_map\030\003 \003(\01320.AvatarSkillDepotChan" +
      "geNotify.SkillLevelMapEntry\032>\n\034ProudSkil" +
      "lExtraLevelMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005valu" +
      "e\030\002 \001(\r:\0028\001\0324\n\022SkillLevelMapEntry\022\013\n\003key" +
      "\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031emu.grasscu" +
      "tter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_AvatarSkillDepotChangeNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_AvatarSkillDepotChangeNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AvatarSkillDepotChangeNotify_descriptor,
        new java.lang.String[] { "SkillDepotId", "ProudSkillExtraLevelMap", "TalentIdList", "ProudSkillList", "CoreProudSkillLevel", "EntityId", "AvatarGuid", "SkillLevelMap", });
    internal_static_AvatarSkillDepotChangeNotify_ProudSkillExtraLevelMapEntry_descriptor =
      internal_static_AvatarSkillDepotChangeNotify_descriptor.getNestedTypes().get(0);
    internal_static_AvatarSkillDepotChangeNotify_ProudSkillExtraLevelMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AvatarSkillDepotChangeNotify_ProudSkillExtraLevelMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_AvatarSkillDepotChangeNotify_SkillLevelMapEntry_descriptor =
      internal_static_AvatarSkillDepotChangeNotify_descriptor.getNestedTypes().get(1);
    internal_static_AvatarSkillDepotChangeNotify_SkillLevelMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AvatarSkillDepotChangeNotify_SkillLevelMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
