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

package emu.grasscutter.net.proto;

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

    /**
     * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
     * @return The enum numeric value on the wire for serverBuffChangeType.
     */
    int getServerBuffChangeTypeValue();
    /**
     * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
     * @return The serverBuffChangeType.
     */
    emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType getServerBuffChangeType();

    /**
     * <code>bool is_creature_buff = 10;</code>
     * @return The isCreatureBuff.
     */
    boolean getIsCreatureBuff();

    /**
     * <code>repeated uint32 entity_id_list = 1;</code>
     * @return A list containing the entityIdList.
     */
    java.util.List<java.lang.Integer> getEntityIdListList();
    /**
     * <code>repeated uint32 entity_id_list = 1;</code>
     * @return The count of entityIdList.
     */
    int getEntityIdListCount();
    /**
     * <code>repeated uint32 entity_id_list = 1;</code>
     * @param index The index of the element to return.
     * @return The entityIdList at the given index.
     */
    int getEntityIdList(int index);

    /**
     * <code>repeated uint64 avatar_guid_list = 12;</code>
     * @return A list containing the avatarGuidList.
     */
    java.util.List<java.lang.Long> getAvatarGuidListList();
    /**
     * <code>repeated uint64 avatar_guid_list = 12;</code>
     * @return The count of avatarGuidList.
     */
    int getAvatarGuidListCount();
    /**
     * <code>repeated uint64 avatar_guid_list = 12;</code>
     * @param index The index of the element to return.
     * @return The avatarGuidList at the given index.
     */
    long getAvatarGuidList(int index);

    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> 
        getServerBuffListList();
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index);
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    int getServerBuffListCount();
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
        getServerBuffListOrBuilderList();
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder(
        int index);
  }
  /**
   * <pre>
   * CmdId: 361
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * </pre>
   *
   * Protobuf type {@code ServerBuffChangeNotify}
   */
  public static final class ServerBuffChangeNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ServerBuffChangeNotify)
      ServerBuffChangeNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ServerBuffChangeNotify.newBuilder() to construct.
    private ServerBuffChangeNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ServerBuffChangeNotify() {
      serverBuffChangeType_ = 0;
      entityIdList_ = emptyIntList();
      avatarGuidList_ = emptyLongList();
      serverBuffList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ServerBuffChangeNotify(
        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: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                entityIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              entityIdList_.addInt(input.readUInt32());
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                entityIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                entityIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 56: {
              int rawValue = input.readEnum();

              serverBuffChangeType_ = rawValue;
              break;
            }
            case 80: {

              isCreatureBuff_ = input.readBool();
              break;
            }
            case 90: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                serverBuffList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff>();
                mutable_bitField0_ |= 0x00000004;
              }
              serverBuffList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.parser(), extensionRegistry));
              break;
            }
            case 96: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                avatarGuidList_ = newLongList();
                mutable_bitField0_ |= 0x00000002;
              }
              avatarGuidList_.addLong(input.readUInt64());
              break;
            }
            case 98: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                avatarGuidList_ = newLongList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                avatarGuidList_.addLong(input.readUInt64());
              }
              input.popLimit(limit);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          entityIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          serverBuffList_ = java.util.Collections.unmodifiableList(serverBuffList_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          avatarGuidList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.internal_static_ServerBuffChangeNotify_descriptor;
    }

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

    /**
     * Protobuf enum {@code ServerBuffChangeNotify.ServerBuffChangeType}
     */
    public enum ServerBuffChangeType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0;</code>
       */
      SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF(0),
      /**
       * <code>SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1;</code>
       */
      SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF(1),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0;</code>
       */
      public static final int SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF_VALUE = 0;
      /**
       * <code>SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1;</code>
       */
      public static final int SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF_VALUE = 1;


      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ServerBuffChangeType valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static ServerBuffChangeType forNumber(int value) {
        switch (value) {
          case 0: return SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF;
          case 1: return SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<ServerBuffChangeType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          ServerBuffChangeType> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<ServerBuffChangeType>() {
              public ServerBuffChangeType findValueByNumber(int number) {
                return ServerBuffChangeType.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.getDescriptor().getEnumTypes().get(0);
      }

      private static final ServerBuffChangeType[] VALUES = values();

      public static ServerBuffChangeType valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private ServerBuffChangeType(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:ServerBuffChangeNotify.ServerBuffChangeType)
    }

    public static final int SERVER_BUFF_CHANGE_TYPE_FIELD_NUMBER = 7;
    private int serverBuffChangeType_;
    /**
     * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
     * @return The enum numeric value on the wire for serverBuffChangeType.
     */
    @java.lang.Override public int getServerBuffChangeTypeValue() {
      return serverBuffChangeType_;
    }
    /**
     * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
     * @return The serverBuffChangeType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType getServerBuffChangeType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType result = emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType.valueOf(serverBuffChangeType_);
      return result == null ? emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType.UNRECOGNIZED : result;
    }

    public static final int IS_CREATURE_BUFF_FIELD_NUMBER = 10;
    private boolean isCreatureBuff_;
    /**
     * <code>bool is_creature_buff = 10;</code>
     * @return The isCreatureBuff.
     */
    @java.lang.Override
    public boolean getIsCreatureBuff() {
      return isCreatureBuff_;
    }

    public static final int ENTITY_ID_LIST_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.IntList entityIdList_;
    /**
     * <code>repeated uint32 entity_id_list = 1;</code>
     * @return A list containing the entityIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getEntityIdListList() {
      return entityIdList_;
    }
    /**
     * <code>repeated uint32 entity_id_list = 1;</code>
     * @return The count of entityIdList.
     */
    public int getEntityIdListCount() {
      return entityIdList_.size();
    }
    /**
     * <code>repeated uint32 entity_id_list = 1;</code>
     * @param index The index of the element to return.
     * @return The entityIdList at the given index.
     */
    public int getEntityIdList(int index) {
      return entityIdList_.getInt(index);
    }
    private int entityIdListMemoizedSerializedSize = -1;

    public static final int AVATAR_GUID_LIST_FIELD_NUMBER = 12;
    private com.google.protobuf.Internal.LongList avatarGuidList_;
    /**
     * <code>repeated uint64 avatar_guid_list = 12;</code>
     * @return A list containing the avatarGuidList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Long>
        getAvatarGuidListList() {
      return avatarGuidList_;
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 12;</code>
     * @return The count of avatarGuidList.
     */
    public int getAvatarGuidListCount() {
      return avatarGuidList_.size();
    }
    /**
     * <code>repeated uint64 avatar_guid_list = 12;</code>
     * @param index The index of the element to return.
     * @return The avatarGuidList at the given index.
     */
    public long getAvatarGuidList(int index) {
      return avatarGuidList_.getLong(index);
    }
    private int avatarGuidListMemoizedSerializedSize = -1;

    public static final int SERVER_BUFF_LIST_FIELD_NUMBER = 11;
    private java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> serverBuffList_;
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> getServerBuffListList() {
      return serverBuffList_;
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
        getServerBuffListOrBuilderList() {
      return serverBuffList_;
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    @java.lang.Override
    public int getServerBuffListCount() {
      return serverBuffList_.size();
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index) {
      return serverBuffList_.get(index);
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder(
        int index) {
      return serverBuffList_.get(index);
    }

    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 (getEntityIdListList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(entityIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < entityIdList_.size(); i++) {
        output.writeUInt32NoTag(entityIdList_.getInt(i));
      }
      if (serverBuffChangeType_ != emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType.SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF.getNumber()) {
        output.writeEnum(7, serverBuffChangeType_);
      }
      if (isCreatureBuff_ != false) {
        output.writeBool(10, isCreatureBuff_);
      }
      for (int i = 0; i < serverBuffList_.size(); i++) {
        output.writeMessage(11, serverBuffList_.get(i));
      }
      if (getAvatarGuidListList().size() > 0) {
        output.writeUInt32NoTag(98);
        output.writeUInt32NoTag(avatarGuidListMemoizedSerializedSize);
      }
      for (int i = 0; i < avatarGuidList_.size(); i++) {
        output.writeUInt64NoTag(avatarGuidList_.getLong(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < entityIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(entityIdList_.getInt(i));
        }
        size += dataSize;
        if (!getEntityIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        entityIdListMemoizedSerializedSize = dataSize;
      }
      if (serverBuffChangeType_ != emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType.SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(7, serverBuffChangeType_);
      }
      if (isCreatureBuff_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(10, isCreatureBuff_);
      }
      for (int i = 0; i < serverBuffList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, serverBuffList_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < avatarGuidList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt64SizeNoTag(avatarGuidList_.getLong(i));
        }
        size += dataSize;
        if (!getAvatarGuidListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        avatarGuidListMemoizedSerializedSize = dataSize;
      }
      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.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify other = (emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify) obj;

      if (serverBuffChangeType_ != other.serverBuffChangeType_) return false;
      if (getIsCreatureBuff()
          != other.getIsCreatureBuff()) return false;
      if (!getEntityIdListList()
          .equals(other.getEntityIdListList())) return false;
      if (!getAvatarGuidListList()
          .equals(other.getAvatarGuidListList())) return false;
      if (!getServerBuffListList()
          .equals(other.getServerBuffListList())) 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) + SERVER_BUFF_CHANGE_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + serverBuffChangeType_;
      hash = (37 * hash) + IS_CREATURE_BUFF_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsCreatureBuff());
      if (getEntityIdListCount() > 0) {
        hash = (37 * hash) + ENTITY_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getEntityIdListList().hashCode();
      }
      if (getAvatarGuidListCount() > 0) {
        hash = (37 * hash) + AVATAR_GUID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getAvatarGuidListList().hashCode();
      }
      if (getServerBuffListCount() > 0) {
        hash = (37 * hash) + SERVER_BUFF_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getServerBuffListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        isCreatureBuff_ = false;

        entityIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        avatarGuidList_ = emptyLongList();
        bitField0_ = (bitField0_ & ~0x00000002);
        if (serverBuffListBuilder_ == null) {
          serverBuffList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          serverBuffListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify buildPartial() {
        emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify result = new emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify(this);
        int from_bitField0_ = bitField0_;
        result.serverBuffChangeType_ = serverBuffChangeType_;
        result.isCreatureBuff_ = isCreatureBuff_;
        if (((bitField0_ & 0x00000001) != 0)) {
          entityIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.entityIdList_ = entityIdList_;
        if (((bitField0_ & 0x00000002) != 0)) {
          avatarGuidList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.avatarGuidList_ = avatarGuidList_;
        if (serverBuffListBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            serverBuffList_ = java.util.Collections.unmodifiableList(serverBuffList_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.serverBuffList_ = serverBuffList_;
        } else {
          result.serverBuffList_ = serverBuffListBuilder_.build();
        }
        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.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify) {
          return mergeFrom((emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify other) {
        if (other == emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.getDefaultInstance()) return this;
        if (other.serverBuffChangeType_ != 0) {
          setServerBuffChangeTypeValue(other.getServerBuffChangeTypeValue());
        }
        if (other.getIsCreatureBuff() != false) {
          setIsCreatureBuff(other.getIsCreatureBuff());
        }
        if (!other.entityIdList_.isEmpty()) {
          if (entityIdList_.isEmpty()) {
            entityIdList_ = other.entityIdList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureEntityIdListIsMutable();
            entityIdList_.addAll(other.entityIdList_);
          }
          onChanged();
        }
        if (!other.avatarGuidList_.isEmpty()) {
          if (avatarGuidList_.isEmpty()) {
            avatarGuidList_ = other.avatarGuidList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureAvatarGuidListIsMutable();
            avatarGuidList_.addAll(other.avatarGuidList_);
          }
          onChanged();
        }
        if (serverBuffListBuilder_ == null) {
          if (!other.serverBuffList_.isEmpty()) {
            if (serverBuffList_.isEmpty()) {
              serverBuffList_ = other.serverBuffList_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureServerBuffListIsMutable();
              serverBuffList_.addAll(other.serverBuffList_);
            }
            onChanged();
          }
        } else {
          if (!other.serverBuffList_.isEmpty()) {
            if (serverBuffListBuilder_.isEmpty()) {
              serverBuffListBuilder_.dispose();
              serverBuffListBuilder_ = null;
              serverBuffList_ = other.serverBuffList_;
              bitField0_ = (bitField0_ & ~0x00000004);
              serverBuffListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getServerBuffListFieldBuilder() : null;
            } else {
              serverBuffListBuilder_.addAllMessages(other.serverBuffList_);
            }
          }
        }
        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.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int serverBuffChangeType_ = 0;
      /**
       * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
       * @return The enum numeric value on the wire for serverBuffChangeType.
       */
      @java.lang.Override public int getServerBuffChangeTypeValue() {
        return serverBuffChangeType_;
      }
      /**
       * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
       * @param value The enum numeric value on the wire for serverBuffChangeType to set.
       * @return This builder for chaining.
       */
      public Builder setServerBuffChangeTypeValue(int value) {
        
        serverBuffChangeType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
       * @return The serverBuffChangeType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType getServerBuffChangeType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType result = emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType.valueOf(serverBuffChangeType_);
        return result == null ? emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType.UNRECOGNIZED : result;
      }
      /**
       * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
       * @param value The serverBuffChangeType to set.
       * @return This builder for chaining.
       */
      public Builder setServerBuffChangeType(emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify.ServerBuffChangeType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        serverBuffChangeType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.ServerBuffChangeNotify.ServerBuffChangeType server_buff_change_type = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearServerBuffChangeType() {
        
        serverBuffChangeType_ = 0;
        onChanged();
        return this;
      }

      private boolean isCreatureBuff_ ;
      /**
       * <code>bool is_creature_buff = 10;</code>
       * @return The isCreatureBuff.
       */
      @java.lang.Override
      public boolean getIsCreatureBuff() {
        return isCreatureBuff_;
      }
      /**
       * <code>bool is_creature_buff = 10;</code>
       * @param value The isCreatureBuff to set.
       * @return This builder for chaining.
       */
      public Builder setIsCreatureBuff(boolean value) {
        
        isCreatureBuff_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_creature_buff = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsCreatureBuff() {
        
        isCreatureBuff_ = false;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList entityIdList_ = emptyIntList();
      private void ensureEntityIdListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          entityIdList_ = mutableCopy(entityIdList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 entity_id_list = 1;</code>
       * @return A list containing the entityIdList.
       */
      public java.util.List<java.lang.Integer>
          getEntityIdListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(entityIdList_) : entityIdList_;
      }
      /**
       * <code>repeated uint32 entity_id_list = 1;</code>
       * @return The count of entityIdList.
       */
      public int getEntityIdListCount() {
        return entityIdList_.size();
      }
      /**
       * <code>repeated uint32 entity_id_list = 1;</code>
       * @param index The index of the element to return.
       * @return The entityIdList at the given index.
       */
      public int getEntityIdList(int index) {
        return entityIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 entity_id_list = 1;</code>
       * @param index The index to set the value at.
       * @param value The entityIdList to set.
       * @return This builder for chaining.
       */
      public Builder setEntityIdList(
          int index, int value) {
        ensureEntityIdListIsMutable();
        entityIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 entity_id_list = 1;</code>
       * @param value The entityIdList to add.
       * @return This builder for chaining.
       */
      public Builder addEntityIdList(int value) {
        ensureEntityIdListIsMutable();
        entityIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 entity_id_list = 1;</code>
       * @param values The entityIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllEntityIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureEntityIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, entityIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 entity_id_list = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearEntityIdList() {
        entityIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.LongList avatarGuidList_ = emptyLongList();
      private void ensureAvatarGuidListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          avatarGuidList_ = mutableCopy(avatarGuidList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint64 avatar_guid_list = 12;</code>
       * @return A list containing the avatarGuidList.
       */
      public java.util.List<java.lang.Long>
          getAvatarGuidListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(avatarGuidList_) : avatarGuidList_;
      }
      /**
       * <code>repeated uint64 avatar_guid_list = 12;</code>
       * @return The count of avatarGuidList.
       */
      public int getAvatarGuidListCount() {
        return avatarGuidList_.size();
      }
      /**
       * <code>repeated uint64 avatar_guid_list = 12;</code>
       * @param index The index of the element to return.
       * @return The avatarGuidList at the given index.
       */
      public long getAvatarGuidList(int index) {
        return avatarGuidList_.getLong(index);
      }
      /**
       * <code>repeated uint64 avatar_guid_list = 12;</code>
       * @param index The index to set the value at.
       * @param value The avatarGuidList to set.
       * @return This builder for chaining.
       */
      public Builder setAvatarGuidList(
          int index, long value) {
        ensureAvatarGuidListIsMutable();
        avatarGuidList_.setLong(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint64 avatar_guid_list = 12;</code>
       * @param value The avatarGuidList to add.
       * @return This builder for chaining.
       */
      public Builder addAvatarGuidList(long value) {
        ensureAvatarGuidListIsMutable();
        avatarGuidList_.addLong(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint64 avatar_guid_list = 12;</code>
       * @param values The avatarGuidList to add.
       * @return This builder for chaining.
       */
      public Builder addAllAvatarGuidList(
          java.lang.Iterable<? extends java.lang.Long> values) {
        ensureAvatarGuidListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, avatarGuidList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint64 avatar_guid_list = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearAvatarGuidList() {
        avatarGuidList_ = emptyLongList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> serverBuffList_ =
        java.util.Collections.emptyList();
      private void ensureServerBuffListIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          serverBuffList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff>(serverBuffList_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> serverBuffListBuilder_;

      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> getServerBuffListList() {
        if (serverBuffListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(serverBuffList_);
        } else {
          return serverBuffListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public int getServerBuffListCount() {
        if (serverBuffListBuilder_ == null) {
          return serverBuffList_.size();
        } else {
          return serverBuffListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index) {
        if (serverBuffListBuilder_ == null) {
          return serverBuffList_.get(index);
        } else {
          return serverBuffListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder setServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff value) {
        if (serverBuffListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServerBuffListIsMutable();
          serverBuffList_.set(index, value);
          onChanged();
        } else {
          serverBuffListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder setServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder builderForValue) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.set(index, builderForValue.build());
          onChanged();
        } else {
          serverBuffListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder addServerBuffList(emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff value) {
        if (serverBuffListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServerBuffListIsMutable();
          serverBuffList_.add(value);
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder addServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff value) {
        if (serverBuffListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServerBuffListIsMutable();
          serverBuffList_.add(index, value);
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder addServerBuffList(
          emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder builderForValue) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.add(builderForValue.build());
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder addServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder builderForValue) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.add(index, builderForValue.build());
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder addAllServerBuffList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> values) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, serverBuffList_);
          onChanged();
        } else {
          serverBuffListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder clearServerBuffList() {
        if (serverBuffListBuilder_ == null) {
          serverBuffList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          serverBuffListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public Builder removeServerBuffList(int index) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.remove(index);
          onChanged();
        } else {
          serverBuffListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder getServerBuffListBuilder(
          int index) {
        return getServerBuffListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder(
          int index) {
        if (serverBuffListBuilder_ == null) {
          return serverBuffList_.get(index);  } else {
          return serverBuffListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
           getServerBuffListOrBuilderList() {
        if (serverBuffListBuilder_ != null) {
          return serverBuffListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(serverBuffList_);
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder addServerBuffListBuilder() {
        return getServerBuffListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.getDefaultInstance());
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder addServerBuffListBuilder(
          int index) {
        return getServerBuffListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.getDefaultInstance());
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 11;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder> 
           getServerBuffListBuilderList() {
        return getServerBuffListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
          getServerBuffListFieldBuilder() {
        if (serverBuffListBuilder_ == null) {
          serverBuffListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder>(
                  serverBuffList_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          serverBuffList_ = null;
        }
        return serverBuffListBuilder_;
      }
      @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:ServerBuffChangeNotify)
    }

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

    public static emu.grasscutter.net.proto.ServerBuffChangeNotifyOuterClass.ServerBuffChangeNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ServerBuffChangeNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ServerBuffChangeNotify_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\034ServerBuffChangeNotify.proto\032\020ServerBu" +
      "ff.proto\"\314\002\n\026ServerBuffChangeNotify\022M\n\027s" +
      "erver_buff_change_type\030\007 \001(\0162,.ServerBuf" +
      "fChangeNotify.ServerBuffChangeType\022\030\n\020is" +
      "_creature_buff\030\n \001(\010\022\026\n\016entity_id_list\030\001" +
      " \003(\r\022\030\n\020avatar_guid_list\030\014 \003(\004\022%\n\020server" +
      "_buff_list\030\013 \003(\0132\013.ServerBuff\"p\n\024ServerB" +
      "uffChangeType\022+\n\'SERVER_BUFF_CHANGE_TYPE" +
      "_ADD_SERVER_BUFF\020\000\022+\n\'SERVER_BUFF_CHANGE" +
      "_TYPE_DEL_SERVER_BUFF\020\001B\033\n\031emu.grasscutt" +
      "er.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ServerBuffOuterClass.getDescriptor(),
        });
    internal_static_ServerBuffChangeNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ServerBuffChangeNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ServerBuffChangeNotify_descriptor,
        new java.lang.String[] { "ServerBuffChangeType", "IsCreatureBuff", "EntityIdList", "AvatarGuidList", "ServerBuffList", });
    emu.grasscutter.net.proto.ServerBuffOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
