// 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>repeated uint32 finishedChallengeIdList = 15;</code>
     * @return A list containing the finishedChallengeIdList.
     */
    java.util.List<java.lang.Integer> getFinishedChallengeIdListList();
    /**
     * <code>repeated uint32 finishedChallengeIdList = 15;</code>
     * @return The count of finishedChallengeIdList.
     */
    int getFinishedChallengeIdListCount();
    /**
     * <code>repeated uint32 finishedChallengeIdList = 15;</code>
     * @param index The index of the element to return.
     * @return The finishedChallengeIdList at the given index.
     */
    int getFinishedChallengeIdList(int index);

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

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

    /**
     * <code>.ItemExceedLimitMsgType msgType = 7;</code>
     * @return The enum numeric value on the wire for msgType.
     */
    int getMsgTypeValue();
    /**
     * <code>.ItemExceedLimitMsgType msgType = 7;</code>
     * @return The msgType.
     */
    emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType getMsgType();

    /**
     * <code>bool isDrop = 1;</code>
     * @return The isDrop.
     */
    boolean getIsDrop();
  }
  /**
   * 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() {
      finishedChallengeIdList_ = 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 8: {

              isDrop_ = input.readBool();
              break;
            }
            case 16: {

              reason_ = input.readUInt32();
              break;
            }
            case 40: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                exceededItemList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              exceededItemList_.addInt(input.readUInt32());
              break;
            }
            case 42: {
              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;
            }
            case 56: {
              int rawValue = input.readEnum();

              msgType_ = rawValue;
              break;
            }
            case 120: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                finishedChallengeIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              finishedChallengeIdList_.addInt(input.readUInt32());
              break;
            }
            case 122: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                finishedChallengeIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                finishedChallengeIdList_.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_ & 0x00000002) != 0)) {
          exceededItemList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          finishedChallengeIdList_.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.PMNKAGAEEAP}
     */
    public enum PMNKAGAEEAP
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>NONE = 0;</code>
       */
      NONE(0, 0),
      /**
       * <code>PEPPOHPHJOJ = 634;</code>
       */
      PEPPOHPHJOJ(1, 634),
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      NNBKOLMPOEA(3, 1),
      UNRECOGNIZED(-1, -1),
      ;

      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final PMNKAGAEEAP DCDNILFDFLB = NONE;
      /**
       * <code>NONE = 0;</code>
       */
      public static final int NONE_VALUE = 0;
      /**
       * <code>PEPPOHPHJOJ = 634;</code>
       */
      public static final int PEPPOHPHJOJ_VALUE = 634;
      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final int DCDNILFDFLB_VALUE = 0;
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      public static final int NNBKOLMPOEA_VALUE = 1;


      public final int getNumber() {
        if (index == -1) {
          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 PMNKAGAEEAP 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 PMNKAGAEEAP forNumber(int value) {
        switch (value) {
          case 0: return NONE;
          case 634: return PEPPOHPHJOJ;
          case 1: return NNBKOLMPOEA;
          default: return null;
        }
      }

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

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (index == -1) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(index);
      }
      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 PMNKAGAEEAP[] VALUES = getStaticValuesArray();
      private static PMNKAGAEEAP[] getStaticValuesArray() {
        return new PMNKAGAEEAP[] {
          NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, 
        };
      }
      public static PMNKAGAEEAP 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 index;
      private final int value;

      private PMNKAGAEEAP(int index, int value) {
        this.index = index;
        this.value = value;
      }

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

    public static final int FINISHEDCHALLENGEIDLIST_FIELD_NUMBER = 15;
    private com.google.protobuf.Internal.IntList finishedChallengeIdList_;
    /**
     * <code>repeated uint32 finishedChallengeIdList = 15;</code>
     * @return A list containing the finishedChallengeIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getFinishedChallengeIdListList() {
      return finishedChallengeIdList_;
    }
    /**
     * <code>repeated uint32 finishedChallengeIdList = 15;</code>
     * @return The count of finishedChallengeIdList.
     */
    public int getFinishedChallengeIdListCount() {
      return finishedChallengeIdList_.size();
    }
    /**
     * <code>repeated uint32 finishedChallengeIdList = 15;</code>
     * @param index The index of the element to return.
     * @return The finishedChallengeIdList at the given index.
     */
    public int getFinishedChallengeIdList(int index) {
      return finishedChallengeIdList_.getInt(index);
    }
    private int finishedChallengeIdListMemoizedSerializedSize = -1;

    public static final int EXCEEDEDITEMLIST_FIELD_NUMBER = 5;
    private com.google.protobuf.Internal.IntList exceededItemList_;
    /**
     * <code>repeated uint32 exceededItemList = 5;</code>
     * @return A list containing the exceededItemList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getExceededItemListList() {
      return exceededItemList_;
    }
    /**
     * <code>repeated uint32 exceededItemList = 5;</code>
     * @return The count of exceededItemList.
     */
    public int getExceededItemListCount() {
      return exceededItemList_.size();
    }
    /**
     * <code>repeated uint32 exceededItemList = 5;</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 REASON_FIELD_NUMBER = 2;
    private int reason_;
    /**
     * <code>uint32 reason = 2;</code>
     * @return The reason.
     */
    @java.lang.Override
    public int getReason() {
      return reason_;
    }

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

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

    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 (isDrop_ != false) {
        output.writeBool(1, isDrop_);
      }
      if (reason_ != 0) {
        output.writeUInt32(2, reason_);
      }
      if (getExceededItemListList().size() > 0) {
        output.writeUInt32NoTag(42);
        output.writeUInt32NoTag(exceededItemListMemoizedSerializedSize);
      }
      for (int i = 0; i < exceededItemList_.size(); i++) {
        output.writeUInt32NoTag(exceededItemList_.getInt(i));
      }
      if (msgType_ != emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType.ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT.getNumber()) {
        output.writeEnum(7, msgType_);
      }
      if (getFinishedChallengeIdListList().size() > 0) {
        output.writeUInt32NoTag(122);
        output.writeUInt32NoTag(finishedChallengeIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < finishedChallengeIdList_.size(); i++) {
        output.writeUInt32NoTag(finishedChallengeIdList_.getInt(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (isDrop_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, isDrop_);
      }
      if (reason_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, reason_);
      }
      {
        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;
      }
      if (msgType_ != emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType.ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(7, msgType_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < finishedChallengeIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(finishedChallengeIdList_.getInt(i));
        }
        size += dataSize;
        if (!getFinishedChallengeIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        finishedChallengeIdListMemoizedSerializedSize = 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 (!getFinishedChallengeIdListList()
          .equals(other.getFinishedChallengeIdListList())) return false;
      if (!getExceededItemListList()
          .equals(other.getExceededItemListList())) return false;
      if (getReason()
          != other.getReason()) return false;
      if (msgType_ != other.msgType_) return false;
      if (getIsDrop()
          != other.getIsDrop()) 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();
      if (getFinishedChallengeIdListCount() > 0) {
        hash = (37 * hash) + FINISHEDCHALLENGEIDLIST_FIELD_NUMBER;
        hash = (53 * hash) + getFinishedChallengeIdListList().hashCode();
      }
      if (getExceededItemListCount() > 0) {
        hash = (37 * hash) + EXCEEDEDITEMLIST_FIELD_NUMBER;
        hash = (53 * hash) + getExceededItemListList().hashCode();
      }
      hash = (37 * hash) + REASON_FIELD_NUMBER;
      hash = (53 * hash) + getReason();
      hash = (37 * hash) + MSGTYPE_FIELD_NUMBER;
      hash = (53 * hash) + msgType_;
      hash = (37 * hash) + ISDROP_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsDrop());
      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;
    }
    /**
     * 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();
        finishedChallengeIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        exceededItemList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        reason_ = 0;

        msgType_ = 0;

        isDrop_ = false;

        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_;
        if (((bitField0_ & 0x00000001) != 0)) {
          finishedChallengeIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.finishedChallengeIdList_ = finishedChallengeIdList_;
        if (((bitField0_ & 0x00000002) != 0)) {
          exceededItemList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.exceededItemList_ = exceededItemList_;
        result.reason_ = reason_;
        result.msgType_ = msgType_;
        result.isDrop_ = isDrop_;
        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.finishedChallengeIdList_.isEmpty()) {
          if (finishedChallengeIdList_.isEmpty()) {
            finishedChallengeIdList_ = other.finishedChallengeIdList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureFinishedChallengeIdListIsMutable();
            finishedChallengeIdList_.addAll(other.finishedChallengeIdList_);
          }
          onChanged();
        }
        if (!other.exceededItemList_.isEmpty()) {
          if (exceededItemList_.isEmpty()) {
            exceededItemList_ = other.exceededItemList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureExceededItemListIsMutable();
            exceededItemList_.addAll(other.exceededItemList_);
          }
          onChanged();
        }
        if (other.getReason() != 0) {
          setReason(other.getReason());
        }
        if (other.msgType_ != 0) {
          setMsgTypeValue(other.getMsgTypeValue());
        }
        if (other.getIsDrop() != false) {
          setIsDrop(other.getIsDrop());
        }
        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 com.google.protobuf.Internal.IntList finishedChallengeIdList_ = emptyIntList();
      private void ensureFinishedChallengeIdListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          finishedChallengeIdList_ = mutableCopy(finishedChallengeIdList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 finishedChallengeIdList = 15;</code>
       * @return A list containing the finishedChallengeIdList.
       */
      public java.util.List<java.lang.Integer>
          getFinishedChallengeIdListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(finishedChallengeIdList_) : finishedChallengeIdList_;
      }
      /**
       * <code>repeated uint32 finishedChallengeIdList = 15;</code>
       * @return The count of finishedChallengeIdList.
       */
      public int getFinishedChallengeIdListCount() {
        return finishedChallengeIdList_.size();
      }
      /**
       * <code>repeated uint32 finishedChallengeIdList = 15;</code>
       * @param index The index of the element to return.
       * @return The finishedChallengeIdList at the given index.
       */
      public int getFinishedChallengeIdList(int index) {
        return finishedChallengeIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 finishedChallengeIdList = 15;</code>
       * @param index The index to set the value at.
       * @param value The finishedChallengeIdList to set.
       * @return This builder for chaining.
       */
      public Builder setFinishedChallengeIdList(
          int index, int value) {
        ensureFinishedChallengeIdListIsMutable();
        finishedChallengeIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 finishedChallengeIdList = 15;</code>
       * @param value The finishedChallengeIdList to add.
       * @return This builder for chaining.
       */
      public Builder addFinishedChallengeIdList(int value) {
        ensureFinishedChallengeIdListIsMutable();
        finishedChallengeIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 finishedChallengeIdList = 15;</code>
       * @param values The finishedChallengeIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllFinishedChallengeIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureFinishedChallengeIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, finishedChallengeIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 finishedChallengeIdList = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearFinishedChallengeIdList() {
        finishedChallengeIdList_ = 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 exceededItemList = 5;</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 exceededItemList = 5;</code>
       * @return The count of exceededItemList.
       */
      public int getExceededItemListCount() {
        return exceededItemList_.size();
      }
      /**
       * <code>repeated uint32 exceededItemList = 5;</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 exceededItemList = 5;</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 exceededItemList = 5;</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 exceededItemList = 5;</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 exceededItemList = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearExceededItemList() {
        exceededItemList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private int reason_ ;
      /**
       * <code>uint32 reason = 2;</code>
       * @return The reason.
       */
      @java.lang.Override
      public int getReason() {
        return reason_;
      }
      /**
       * <code>uint32 reason = 2;</code>
       * @param value The reason to set.
       * @return This builder for chaining.
       */
      public Builder setReason(int value) {
        
        reason_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 reason = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearReason() {
        
        reason_ = 0;
        onChanged();
        return this;
      }

      private int msgType_ = 0;
      /**
       * <code>.ItemExceedLimitMsgType msgType = 7;</code>
       * @return The enum numeric value on the wire for msgType.
       */
      @java.lang.Override public int getMsgTypeValue() {
        return msgType_;
      }
      /**
       * <code>.ItemExceedLimitMsgType msgType = 7;</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>.ItemExceedLimitMsgType msgType = 7;</code>
       * @return The msgType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType getMsgType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType result = emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType.valueOf(msgType_);
        return result == null ? emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType.UNRECOGNIZED : result;
      }
      /**
       * <code>.ItemExceedLimitMsgType msgType = 7;</code>
       * @param value The msgType to set.
       * @return This builder for chaining.
       */
      public Builder setMsgType(emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.ItemExceedLimitMsgType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        msgType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.ItemExceedLimitMsgType msgType = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearMsgType() {
        
        msgType_ = 0;
        onChanged();
        return this;
      }

      private boolean isDrop_ ;
      /**
       * <code>bool isDrop = 1;</code>
       * @return The isDrop.
       */
      @java.lang.Override
      public boolean getIsDrop() {
        return isDrop_;
      }
      /**
       * <code>bool isDrop = 1;</code>
       * @param value The isDrop to set.
       * @return This builder for chaining.
       */
      public Builder setIsDrop(boolean value) {
        
        isDrop_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isDrop = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsDrop() {
        
        isDrop_ = false;
        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\032\034I" +
      "temExceedLimitMsgType.proto\"\365\001\n\035CheckAdd" +
      "ItemExceedLimitNotify\022\037\n\027finishedChallen" +
      "geIdList\030\017 \003(\r\022\030\n\020exceededItemList\030\005 \003(\r" +
      "\022\016\n\006reason\030\002 \001(\r\022(\n\007msgType\030\007 \001(\0162\027.Item" +
      "ExceedLimitMsgType\022\016\n\006isDrop\030\001 \001(\010\"O\n\013PM" +
      "NKAGAEEAP\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\372\004\022\017\n" +
      "\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031e" +
      "mu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.getDescriptor(),
        });
    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[] { "FinishedChallengeIdList", "ExceededItemList", "Reason", "MsgType", "IsDrop", });
    emu.grasscutter.net.proto.ItemExceedLimitMsgTypeOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
