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

package emu.grasscutter.net.proto;

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

    /**
     * <code>bool is_drop = 5;</code>
     * @return The isDrop.
     */
    boolean getIsDrop();

    /**
     * <code>repeated uint32 exceeded_item_type_list = 10;</code>
     * @return A list containing the exceededItemTypeList.
     */
    java.util.List<java.lang.Integer> getExceededItemTypeListList();
    /**
     * <code>repeated uint32 exceeded_item_type_list = 10;</code>
     * @return The count of exceededItemTypeList.
     */
    int getExceededItemTypeListCount();
    /**
     * <code>repeated uint32 exceeded_item_type_list = 10;</code>
     * @param index The index of the element to return.
     * @return The exceededItemTypeList at the given index.
     */
    int getExceededItemTypeList(int index);

    /**
     * <code>repeated uint32 exceeded_item_list = 12;</code>
     * @return A list containing the exceededItemList.
     */
    java.util.List<java.lang.Integer> getExceededItemListList();
    /**
     * <code>repeated uint32 exceeded_item_list = 12;</code>
     * @return The count of exceededItemList.
     */
    int getExceededItemListCount();
    /**
     * <code>repeated uint32 exceeded_item_list = 12;</code>
     * @param index The index of the element to return.
     * @return The exceededItemList at the given index.
     */
    int getExceededItemList(int index);

    /**
     * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
     * @return The enum numeric value on the wire for msgType.
     */
    int getMsgTypeValue();
    /**
     * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
     * @return The msgType.
     */
    emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType getMsgType();
  }
  /**
   * <pre>
   * CmdId: 692
   * EnetChannelId: 0
   * EnetIsReliable: true
   * </pre>
   *
   * Protobuf type {@code CheckAddItemExceedLimitNotify}
   */
  public static final class CheckAddItemExceedLimitNotify extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:CheckAddItemExceedLimitNotify)
      CheckAddItemExceedLimitNotifyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use CheckAddItemExceedLimitNotify.newBuilder() to construct.
    private CheckAddItemExceedLimitNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private CheckAddItemExceedLimitNotify() {
      exceededItemTypeList_ = emptyIntList();
      exceededItemList_ = emptyIntList();
      msgType_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private CheckAddItemExceedLimitNotify(
        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 32: {
              int rawValue = input.readEnum();

              msgType_ = rawValue;
              break;
            }
            case 40: {

              isDrop_ = input.readBool();
              break;
            }
            case 80: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                exceededItemTypeList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              exceededItemTypeList_.addInt(input.readUInt32());
              break;
            }
            case 82: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                exceededItemTypeList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                exceededItemTypeList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 96: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                exceededItemList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              exceededItemList_.addInt(input.readUInt32());
              break;
            }
            case 98: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                exceededItemList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                exceededItemList_.addInt(input.readUInt32());
              }
              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)) {
          exceededItemTypeList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          exceededItemList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.internal_static_CheckAddItemExceedLimitNotify_descriptor;
    }

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

    /**
     * Protobuf enum {@code CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType}
     */
    public enum ItemExceedLimitMsgType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT = 0;</code>
       */
      ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT(0),
      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT = 1;</code>
       */
      ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT(1),
      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG = 2;</code>
       */
      ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG(2),
      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF = 3;</code>
       */
      ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF(3),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT = 0;</code>
       */
      public static final int ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT_VALUE = 0;
      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT = 1;</code>
       */
      public static final int ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT_VALUE = 1;
      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG = 2;</code>
       */
      public static final int ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG_VALUE = 2;
      /**
       * <code>ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF = 3;</code>
       */
      public static final int ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF_VALUE = 3;


      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 ItemExceedLimitMsgType 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 ItemExceedLimitMsgType forNumber(int value) {
        switch (value) {
          case 0: return ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT;
          case 1: return ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT;
          case 2: return ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG;
          case 3: return ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<ItemExceedLimitMsgType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          ItemExceedLimitMsgType> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<ItemExceedLimitMsgType>() {
              public ItemExceedLimitMsgType findValueByNumber(int number) {
                return ItemExceedLimitMsgType.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.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.getDescriptor().getEnumTypes().get(0);
      }

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

      public static ItemExceedLimitMsgType 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 ItemExceedLimitMsgType(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType)
    }

    public static final int IS_DROP_FIELD_NUMBER = 5;
    private boolean isDrop_;
    /**
     * <code>bool is_drop = 5;</code>
     * @return The isDrop.
     */
    @java.lang.Override
    public boolean getIsDrop() {
      return isDrop_;
    }

    public static final int EXCEEDED_ITEM_TYPE_LIST_FIELD_NUMBER = 10;
    private com.google.protobuf.Internal.IntList exceededItemTypeList_;
    /**
     * <code>repeated uint32 exceeded_item_type_list = 10;</code>
     * @return A list containing the exceededItemTypeList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getExceededItemTypeListList() {
      return exceededItemTypeList_;
    }
    /**
     * <code>repeated uint32 exceeded_item_type_list = 10;</code>
     * @return The count of exceededItemTypeList.
     */
    public int getExceededItemTypeListCount() {
      return exceededItemTypeList_.size();
    }
    /**
     * <code>repeated uint32 exceeded_item_type_list = 10;</code>
     * @param index The index of the element to return.
     * @return The exceededItemTypeList at the given index.
     */
    public int getExceededItemTypeList(int index) {
      return exceededItemTypeList_.getInt(index);
    }
    private int exceededItemTypeListMemoizedSerializedSize = -1;

    public static final int EXCEEDED_ITEM_LIST_FIELD_NUMBER = 12;
    private com.google.protobuf.Internal.IntList exceededItemList_;
    /**
     * <code>repeated uint32 exceeded_item_list = 12;</code>
     * @return A list containing the exceededItemList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getExceededItemListList() {
      return exceededItemList_;
    }
    /**
     * <code>repeated uint32 exceeded_item_list = 12;</code>
     * @return The count of exceededItemList.
     */
    public int getExceededItemListCount() {
      return exceededItemList_.size();
    }
    /**
     * <code>repeated uint32 exceeded_item_list = 12;</code>
     * @param index The index of the element to return.
     * @return The exceededItemList at the given index.
     */
    public int getExceededItemList(int index) {
      return exceededItemList_.getInt(index);
    }
    private int exceededItemListMemoizedSerializedSize = -1;

    public static final int MSG_TYPE_FIELD_NUMBER = 4;
    private int msgType_;
    /**
     * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
     * @return The enum numeric value on the wire for msgType.
     */
    @java.lang.Override public int getMsgTypeValue() {
      return msgType_;
    }
    /**
     * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
     * @return The msgType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType getMsgType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType result = emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType.valueOf(msgType_);
      return result == null ? emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType.UNRECOGNIZED : result;
    }

    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 (msgType_ != emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType.ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT.getNumber()) {
        output.writeEnum(4, msgType_);
      }
      if (isDrop_ != false) {
        output.writeBool(5, isDrop_);
      }
      if (getExceededItemTypeListList().size() > 0) {
        output.writeUInt32NoTag(82);
        output.writeUInt32NoTag(exceededItemTypeListMemoizedSerializedSize);
      }
      for (int i = 0; i < exceededItemTypeList_.size(); i++) {
        output.writeUInt32NoTag(exceededItemTypeList_.getInt(i));
      }
      if (getExceededItemListList().size() > 0) {
        output.writeUInt32NoTag(98);
        output.writeUInt32NoTag(exceededItemListMemoizedSerializedSize);
      }
      for (int i = 0; i < exceededItemList_.size(); i++) {
        output.writeUInt32NoTag(exceededItemList_.getInt(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (msgType_ != emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType.ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(4, msgType_);
      }
      if (isDrop_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(5, isDrop_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < exceededItemTypeList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(exceededItemTypeList_.getInt(i));
        }
        size += dataSize;
        if (!getExceededItemTypeListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        exceededItemTypeListMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < exceededItemList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(exceededItemList_.getInt(i));
        }
        size += dataSize;
        if (!getExceededItemListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        exceededItemListMemoizedSerializedSize = 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.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify other = (emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify) obj;

      if (getIsDrop()
          != other.getIsDrop()) return false;
      if (!getExceededItemTypeListList()
          .equals(other.getExceededItemTypeListList())) return false;
      if (!getExceededItemListList()
          .equals(other.getExceededItemListList())) return false;
      if (msgType_ != other.msgType_) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + IS_DROP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsDrop());
      if (getExceededItemTypeListCount() > 0) {
        hash = (37 * hash) + EXCEEDED_ITEM_TYPE_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getExceededItemTypeListList().hashCode();
      }
      if (getExceededItemListCount() > 0) {
        hash = (37 * hash) + EXCEEDED_ITEM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getExceededItemListList().hashCode();
      }
      hash = (37 * hash) + MSG_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + msgType_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.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();
        isDrop_ = false;

        exceededItemTypeList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        exceededItemList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        msgType_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify buildPartial() {
        emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify result = new emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify(this);
        int from_bitField0_ = bitField0_;
        result.isDrop_ = isDrop_;
        if (((bitField0_ & 0x00000001) != 0)) {
          exceededItemTypeList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.exceededItemTypeList_ = exceededItemTypeList_;
        if (((bitField0_ & 0x00000002) != 0)) {
          exceededItemList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.exceededItemList_ = exceededItemList_;
        result.msgType_ = msgType_;
        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.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify) {
          return mergeFrom((emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify other) {
        if (other == emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.getDefaultInstance()) return this;
        if (other.getIsDrop() != false) {
          setIsDrop(other.getIsDrop());
        }
        if (!other.exceededItemTypeList_.isEmpty()) {
          if (exceededItemTypeList_.isEmpty()) {
            exceededItemTypeList_ = other.exceededItemTypeList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureExceededItemTypeListIsMutable();
            exceededItemTypeList_.addAll(other.exceededItemTypeList_);
          }
          onChanged();
        }
        if (!other.exceededItemList_.isEmpty()) {
          if (exceededItemList_.isEmpty()) {
            exceededItemList_ = other.exceededItemList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureExceededItemListIsMutable();
            exceededItemList_.addAll(other.exceededItemList_);
          }
          onChanged();
        }
        if (other.msgType_ != 0) {
          setMsgTypeValue(other.getMsgTypeValue());
        }
        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.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private boolean isDrop_ ;
      /**
       * <code>bool is_drop = 5;</code>
       * @return The isDrop.
       */
      @java.lang.Override
      public boolean getIsDrop() {
        return isDrop_;
      }
      /**
       * <code>bool is_drop = 5;</code>
       * @param value The isDrop to set.
       * @return This builder for chaining.
       */
      public Builder setIsDrop(boolean value) {
        
        isDrop_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_drop = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsDrop() {
        
        isDrop_ = false;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList exceededItemTypeList_ = emptyIntList();
      private void ensureExceededItemTypeListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          exceededItemTypeList_ = mutableCopy(exceededItemTypeList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 exceeded_item_type_list = 10;</code>
       * @return A list containing the exceededItemTypeList.
       */
      public java.util.List<java.lang.Integer>
          getExceededItemTypeListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(exceededItemTypeList_) : exceededItemTypeList_;
      }
      /**
       * <code>repeated uint32 exceeded_item_type_list = 10;</code>
       * @return The count of exceededItemTypeList.
       */
      public int getExceededItemTypeListCount() {
        return exceededItemTypeList_.size();
      }
      /**
       * <code>repeated uint32 exceeded_item_type_list = 10;</code>
       * @param index The index of the element to return.
       * @return The exceededItemTypeList at the given index.
       */
      public int getExceededItemTypeList(int index) {
        return exceededItemTypeList_.getInt(index);
      }
      /**
       * <code>repeated uint32 exceeded_item_type_list = 10;</code>
       * @param index The index to set the value at.
       * @param value The exceededItemTypeList to set.
       * @return This builder for chaining.
       */
      public Builder setExceededItemTypeList(
          int index, int value) {
        ensureExceededItemTypeListIsMutable();
        exceededItemTypeList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 exceeded_item_type_list = 10;</code>
       * @param value The exceededItemTypeList to add.
       * @return This builder for chaining.
       */
      public Builder addExceededItemTypeList(int value) {
        ensureExceededItemTypeListIsMutable();
        exceededItemTypeList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 exceeded_item_type_list = 10;</code>
       * @param values The exceededItemTypeList to add.
       * @return This builder for chaining.
       */
      public Builder addAllExceededItemTypeList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureExceededItemTypeListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, exceededItemTypeList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 exceeded_item_type_list = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearExceededItemTypeList() {
        exceededItemTypeList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList exceededItemList_ = emptyIntList();
      private void ensureExceededItemListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          exceededItemList_ = mutableCopy(exceededItemList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 exceeded_item_list = 12;</code>
       * @return A list containing the exceededItemList.
       */
      public java.util.List<java.lang.Integer>
          getExceededItemListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(exceededItemList_) : exceededItemList_;
      }
      /**
       * <code>repeated uint32 exceeded_item_list = 12;</code>
       * @return The count of exceededItemList.
       */
      public int getExceededItemListCount() {
        return exceededItemList_.size();
      }
      /**
       * <code>repeated uint32 exceeded_item_list = 12;</code>
       * @param index The index of the element to return.
       * @return The exceededItemList at the given index.
       */
      public int getExceededItemList(int index) {
        return exceededItemList_.getInt(index);
      }
      /**
       * <code>repeated uint32 exceeded_item_list = 12;</code>
       * @param index The index to set the value at.
       * @param value The exceededItemList to set.
       * @return This builder for chaining.
       */
      public Builder setExceededItemList(
          int index, int value) {
        ensureExceededItemListIsMutable();
        exceededItemList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 exceeded_item_list = 12;</code>
       * @param value The exceededItemList to add.
       * @return This builder for chaining.
       */
      public Builder addExceededItemList(int value) {
        ensureExceededItemListIsMutable();
        exceededItemList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 exceeded_item_list = 12;</code>
       * @param values The exceededItemList to add.
       * @return This builder for chaining.
       */
      public Builder addAllExceededItemList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureExceededItemListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, exceededItemList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 exceeded_item_list = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearExceededItemList() {
        exceededItemList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private int msgType_ = 0;
      /**
       * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
       * @return The enum numeric value on the wire for msgType.
       */
      @java.lang.Override public int getMsgTypeValue() {
        return msgType_;
      }
      /**
       * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
       * @param value The enum numeric value on the wire for msgType to set.
       * @return This builder for chaining.
       */
      public Builder setMsgTypeValue(int value) {
        
        msgType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
       * @return The msgType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType getMsgType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType result = emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType.valueOf(msgType_);
        return result == null ? emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType.UNRECOGNIZED : result;
      }
      /**
       * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
       * @param value The msgType to set.
       * @return This builder for chaining.
       */
      public Builder setMsgType(emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        msgType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.CheckAddItemExceedLimitNotify.ItemExceedLimitMsgType msg_type = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearMsgType() {
        
        msgType_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:CheckAddItemExceedLimitNotify)
    }

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

    public static emu.grasscutter.net.proto.CheckAddItemExceedLimitNotifyOuterClass.CheckAddItemExceedLimitNotify getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_CheckAddItemExceedLimitNotify_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_CheckAddItemExceedLimitNotify_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#CheckAddItemExceedLimitNotify.proto\"\371\002" +
      "\n\035CheckAddItemExceedLimitNotify\022\017\n\007is_dr" +
      "op\030\005 \001(\010\022\037\n\027exceeded_item_type_list\030\n \003(" +
      "\r\022\032\n\022exceeded_item_list\030\014 \003(\r\022G\n\010msg_typ" +
      "e\030\004 \001(\01625.CheckAddItemExceedLimitNotify." +
      "ItemExceedLimitMsgType\"\300\001\n\026ItemExceedLim" +
      "itMsgType\022&\n\"ITEM_EXCEED_LIMIT_MSG_TYPE_" +
      "DEFAULT\020\000\022#\n\037ITEM_EXCEED_LIMIT_MSG_TYPE_" +
      "TEXT\020\001\022%\n!ITEM_EXCEED_LIMIT_MSG_TYPE_DIA" +
      "LOG\020\002\0222\n.ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2" +
      "700_BONLGEEEBBF\020\003B\033\n\031emu.grasscutter.net" +
      ".protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_CheckAddItemExceedLimitNotify_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_CheckAddItemExceedLimitNotify_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_CheckAddItemExceedLimitNotify_descriptor,
        new java.lang.String[] { "IsDrop", "ExceededItemTypeList", "ExceededItemList", "MsgType", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
