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

package emu.grasscutter.net.proto;

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

    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */
    int getItemGuidCountMapCount();
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */
    boolean containsItemGuidCountMap(
        long key);
    /**
     * Use {@link #getItemGuidCountMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Long, java.lang.Integer>
    getItemGuidCountMap();
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */
    java.util.Map<java.lang.Long, java.lang.Integer>
    getItemGuidCountMapMap();
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */

    int getItemGuidCountMapOrDefault(
        long key,
        int defaultValue);
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */

    int getItemGuidCountMapOrThrow(
        long key);

    /**
     * <code>uint32 giving_id = 13;</code>
     * @return The givingId.
     */
    int getGivingId();

    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
        getItemParamListList();
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemParamList(int index);
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    int getItemParamListCount();
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getItemParamListOrBuilderList();
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemParamListOrBuilder(
        int index);

    /**
     * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
     * @return The enum numeric value on the wire for unk2800PHNIJJMECGN.
     */
    int getUnk2800PHNIJJMECGNValue();
    /**
     * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
     * @return The unk2800PHNIJJMECGN.
     */
    emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN getUnk2800PHNIJJMECGN();
  }
  /**
   * <pre>
   * CmdId: 140
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * </pre>
   *
   * Protobuf type {@code ItemGivingReq}
   */
  public static final class ItemGivingReq extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ItemGivingReq)
      ItemGivingReqOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ItemGivingReq.newBuilder() to construct.
    private ItemGivingReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ItemGivingReq() {
      itemParamList_ = java.util.Collections.emptyList();
      unk2800PHNIJJMECGN_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ItemGivingReq(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 16: {
              int rawValue = input.readEnum();

              unk2800PHNIJJMECGN_ = rawValue;
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                itemParamList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
                mutable_bitField0_ |= 0x00000002;
              }
              itemParamList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
              break;
            }
            case 104: {

              givingId_ = input.readUInt32();
              break;
            }
            case 122: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                itemGuidCountMap_ = com.google.protobuf.MapField.newMapField(
                    ItemGuidCountMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000001;
              }
              com.google.protobuf.MapEntry<java.lang.Long, java.lang.Integer>
              itemGuidCountMap__ = input.readMessage(
                  ItemGuidCountMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              itemGuidCountMap_.getMutableMap().put(
                  itemGuidCountMap__.getKey(), itemGuidCountMap__.getValue());
              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)) {
          itemParamList_ = java.util.Collections.unmodifiableList(itemParamList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ItemGivingReqOuterClass.internal_static_ItemGivingReq_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 15:
          return internalGetItemGuidCountMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.ItemGivingReqOuterClass.internal_static_ItemGivingReq_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.class, emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Builder.class);
    }

    /**
     * Protobuf enum {@code ItemGivingReq.Unk2800_LENCDFJACFN}
     */
    public enum Unk2800_LENCDFJACFN
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>Unk2800_LENCDFJACFN_QUEST = 0;</code>
       */
      Unk2800_LENCDFJACFN_QUEST(0),
      /**
       * <code>Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG = 1;</code>
       */
      Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG(1),
      UNRECOGNIZED(-1),
      ;

      /**
       * <code>Unk2800_LENCDFJACFN_QUEST = 0;</code>
       */
      public static final int Unk2800_LENCDFJACFN_QUEST_VALUE = 0;
      /**
       * <code>Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG = 1;</code>
       */
      public static final int Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG_VALUE = 1;


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

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Unk2800_LENCDFJACFN 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 Unk2800_LENCDFJACFN forNumber(int value) {
        switch (value) {
          case 0: return Unk2800_LENCDFJACFN_QUEST;
          case 1: return Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG;
          default: return null;
        }
      }

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

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

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

      // @@protoc_insertion_point(enum_scope:ItemGivingReq.Unk2800_LENCDFJACFN)
    }

    public static final int ITEM_GUID_COUNT_MAP_FIELD_NUMBER = 15;
    private static final class ItemGuidCountMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Long, java.lang.Integer> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Long, java.lang.Integer>newDefaultInstance(
                  emu.grasscutter.net.proto.ItemGivingReqOuterClass.internal_static_ItemGivingReq_ItemGuidCountMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT64,
                  0L,
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0);
    }
    private com.google.protobuf.MapField<
        java.lang.Long, java.lang.Integer> itemGuidCountMap_;
    private com.google.protobuf.MapField<java.lang.Long, java.lang.Integer>
    internalGetItemGuidCountMap() {
      if (itemGuidCountMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            ItemGuidCountMapDefaultEntryHolder.defaultEntry);
      }
      return itemGuidCountMap_;
    }

    public int getItemGuidCountMapCount() {
      return internalGetItemGuidCountMap().getMap().size();
    }
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */

    @java.lang.Override
    public boolean containsItemGuidCountMap(
        long key) {
      
      return internalGetItemGuidCountMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getItemGuidCountMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Long, java.lang.Integer> getItemGuidCountMap() {
      return getItemGuidCountMapMap();
    }
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Long, java.lang.Integer> getItemGuidCountMapMap() {
      return internalGetItemGuidCountMap().getMap();
    }
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */
    @java.lang.Override

    public int getItemGuidCountMapOrDefault(
        long key,
        int defaultValue) {
      
      java.util.Map<java.lang.Long, java.lang.Integer> map =
          internalGetItemGuidCountMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
     */
    @java.lang.Override

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

    public static final int GIVING_ID_FIELD_NUMBER = 13;
    private int givingId_;
    /**
     * <code>uint32 giving_id = 13;</code>
     * @return The givingId.
     */
    @java.lang.Override
    public int getGivingId() {
      return givingId_;
    }

    public static final int ITEM_PARAM_LIST_FIELD_NUMBER = 4;
    private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> itemParamList_;
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getItemParamListList() {
      return itemParamList_;
    }
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getItemParamListOrBuilderList() {
      return itemParamList_;
    }
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    @java.lang.Override
    public int getItemParamListCount() {
      return itemParamList_.size();
    }
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemParamList(int index) {
      return itemParamList_.get(index);
    }
    /**
     * <code>repeated .ItemParam item_param_list = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemParamListOrBuilder(
        int index) {
      return itemParamList_.get(index);
    }

    public static final int UNK2800_PHNIJJMECGN_FIELD_NUMBER = 2;
    private int unk2800PHNIJJMECGN_;
    /**
     * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
     * @return The enum numeric value on the wire for unk2800PHNIJJMECGN.
     */
    @java.lang.Override public int getUnk2800PHNIJJMECGNValue() {
      return unk2800PHNIJJMECGN_;
    }
    /**
     * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
     * @return The unk2800PHNIJJMECGN.
     */
    @java.lang.Override public emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN getUnk2800PHNIJJMECGN() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN result = emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN.valueOf(unk2800PHNIJJMECGN_);
      return result == null ? emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN.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 {
      if (unk2800PHNIJJMECGN_ != emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN.Unk2800_LENCDFJACFN_QUEST.getNumber()) {
        output.writeEnum(2, unk2800PHNIJJMECGN_);
      }
      for (int i = 0; i < itemParamList_.size(); i++) {
        output.writeMessage(4, itemParamList_.get(i));
      }
      if (givingId_ != 0) {
        output.writeUInt32(13, givingId_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeLongMapTo(
          output,
          internalGetItemGuidCountMap(),
          ItemGuidCountMapDefaultEntryHolder.defaultEntry,
          15);
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (unk2800PHNIJJMECGN_ != emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN.Unk2800_LENCDFJACFN_QUEST.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, unk2800PHNIJJMECGN_);
      }
      for (int i = 0; i < itemParamList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, itemParamList_.get(i));
      }
      if (givingId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, givingId_);
      }
      for (java.util.Map.Entry<java.lang.Long, java.lang.Integer> entry
           : internalGetItemGuidCountMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Long, java.lang.Integer>
        itemGuidCountMap__ = ItemGuidCountMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(15, itemGuidCountMap__);
      }
      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.ItemGivingReqOuterClass.ItemGivingReq)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq other = (emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq) obj;

      if (!internalGetItemGuidCountMap().equals(
          other.internalGetItemGuidCountMap())) return false;
      if (getGivingId()
          != other.getGivingId()) return false;
      if (!getItemParamListList()
          .equals(other.getItemParamListList())) return false;
      if (unk2800PHNIJJMECGN_ != other.unk2800PHNIJJMECGN_) 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 (!internalGetItemGuidCountMap().getMap().isEmpty()) {
        hash = (37 * hash) + ITEM_GUID_COUNT_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetItemGuidCountMap().hashCode();
      }
      hash = (37 * hash) + GIVING_ID_FIELD_NUMBER;
      hash = (53 * hash) + getGivingId();
      if (getItemParamListCount() > 0) {
        hash = (37 * hash) + ITEM_PARAM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getItemParamListList().hashCode();
      }
      hash = (37 * hash) + UNK2800_PHNIJJMECGN_FIELD_NUMBER;
      hash = (53 * hash) + unk2800PHNIJJMECGN_;
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 15:
            return internalGetItemGuidCountMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 15:
            return internalGetMutableItemGuidCountMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.ItemGivingReqOuterClass.internal_static_ItemGivingReq_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.class, emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Builder.class);
      }

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

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

        if (itemParamListBuilder_ == null) {
          itemParamList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          itemParamListBuilder_.clear();
        }
        unk2800PHNIJJMECGN_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq buildPartial() {
        emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq result = new emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq(this);
        int from_bitField0_ = bitField0_;
        result.itemGuidCountMap_ = internalGetItemGuidCountMap();
        result.itemGuidCountMap_.makeImmutable();
        result.givingId_ = givingId_;
        if (itemParamListBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            itemParamList_ = java.util.Collections.unmodifiableList(itemParamList_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.itemParamList_ = itemParamList_;
        } else {
          result.itemParamList_ = itemParamListBuilder_.build();
        }
        result.unk2800PHNIJJMECGN_ = unk2800PHNIJJMECGN_;
        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.ItemGivingReqOuterClass.ItemGivingReq) {
          return mergeFrom((emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq other) {
        if (other == emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.getDefaultInstance()) return this;
        internalGetMutableItemGuidCountMap().mergeFrom(
            other.internalGetItemGuidCountMap());
        if (other.getGivingId() != 0) {
          setGivingId(other.getGivingId());
        }
        if (itemParamListBuilder_ == null) {
          if (!other.itemParamList_.isEmpty()) {
            if (itemParamList_.isEmpty()) {
              itemParamList_ = other.itemParamList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureItemParamListIsMutable();
              itemParamList_.addAll(other.itemParamList_);
            }
            onChanged();
          }
        } else {
          if (!other.itemParamList_.isEmpty()) {
            if (itemParamListBuilder_.isEmpty()) {
              itemParamListBuilder_.dispose();
              itemParamListBuilder_ = null;
              itemParamList_ = other.itemParamList_;
              bitField0_ = (bitField0_ & ~0x00000002);
              itemParamListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getItemParamListFieldBuilder() : null;
            } else {
              itemParamListBuilder_.addAllMessages(other.itemParamList_);
            }
          }
        }
        if (other.unk2800PHNIJJMECGN_ != 0) {
          setUnk2800PHNIJJMECGNValue(other.getUnk2800PHNIJJMECGNValue());
        }
        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.ItemGivingReqOuterClass.ItemGivingReq parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.MapField<
          java.lang.Long, java.lang.Integer> itemGuidCountMap_;
      private com.google.protobuf.MapField<java.lang.Long, java.lang.Integer>
      internalGetItemGuidCountMap() {
        if (itemGuidCountMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              ItemGuidCountMapDefaultEntryHolder.defaultEntry);
        }
        return itemGuidCountMap_;
      }
      private com.google.protobuf.MapField<java.lang.Long, java.lang.Integer>
      internalGetMutableItemGuidCountMap() {
        onChanged();;
        if (itemGuidCountMap_ == null) {
          itemGuidCountMap_ = com.google.protobuf.MapField.newMapField(
              ItemGuidCountMapDefaultEntryHolder.defaultEntry);
        }
        if (!itemGuidCountMap_.isMutable()) {
          itemGuidCountMap_ = itemGuidCountMap_.copy();
        }
        return itemGuidCountMap_;
      }

      public int getItemGuidCountMapCount() {
        return internalGetItemGuidCountMap().getMap().size();
      }
      /**
       * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
       */

      @java.lang.Override
      public boolean containsItemGuidCountMap(
          long key) {
        
        return internalGetItemGuidCountMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getItemGuidCountMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Long, java.lang.Integer> getItemGuidCountMap() {
        return getItemGuidCountMapMap();
      }
      /**
       * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Long, java.lang.Integer> getItemGuidCountMapMap() {
        return internalGetItemGuidCountMap().getMap();
      }
      /**
       * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
       */
      @java.lang.Override

      public int getItemGuidCountMapOrDefault(
          long key,
          int defaultValue) {
        
        java.util.Map<java.lang.Long, java.lang.Integer> map =
            internalGetItemGuidCountMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
       */
      @java.lang.Override

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

      public Builder clearItemGuidCountMap() {
        internalGetMutableItemGuidCountMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
       */

      public Builder removeItemGuidCountMap(
          long key) {
        
        internalGetMutableItemGuidCountMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Long, java.lang.Integer>
      getMutableItemGuidCountMap() {
        return internalGetMutableItemGuidCountMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
       */
      public Builder putItemGuidCountMap(
          long key,
          int value) {
        
        
        internalGetMutableItemGuidCountMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint64, uint32&gt; item_guid_count_map = 15;</code>
       */

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

      private int givingId_ ;
      /**
       * <code>uint32 giving_id = 13;</code>
       * @return The givingId.
       */
      @java.lang.Override
      public int getGivingId() {
        return givingId_;
      }
      /**
       * <code>uint32 giving_id = 13;</code>
       * @param value The givingId to set.
       * @return This builder for chaining.
       */
      public Builder setGivingId(int value) {
        
        givingId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 giving_id = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearGivingId() {
        
        givingId_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> itemParamList_ =
        java.util.Collections.emptyList();
      private void ensureItemParamListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          itemParamList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>(itemParamList_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> itemParamListBuilder_;

      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getItemParamListList() {
        if (itemParamListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(itemParamList_);
        } else {
          return itemParamListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public int getItemParamListCount() {
        if (itemParamListBuilder_ == null) {
          return itemParamList_.size();
        } else {
          return itemParamListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemParamList(int index) {
        if (itemParamListBuilder_ == null) {
          return itemParamList_.get(index);
        } else {
          return itemParamListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder setItemParamList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (itemParamListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemParamListIsMutable();
          itemParamList_.set(index, value);
          onChanged();
        } else {
          itemParamListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder setItemParamList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (itemParamListBuilder_ == null) {
          ensureItemParamListIsMutable();
          itemParamList_.set(index, builderForValue.build());
          onChanged();
        } else {
          itemParamListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder addItemParamList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (itemParamListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemParamListIsMutable();
          itemParamList_.add(value);
          onChanged();
        } else {
          itemParamListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder addItemParamList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (itemParamListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureItemParamListIsMutable();
          itemParamList_.add(index, value);
          onChanged();
        } else {
          itemParamListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder addItemParamList(
          emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (itemParamListBuilder_ == null) {
          ensureItemParamListIsMutable();
          itemParamList_.add(builderForValue.build());
          onChanged();
        } else {
          itemParamListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder addItemParamList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (itemParamListBuilder_ == null) {
          ensureItemParamListIsMutable();
          itemParamList_.add(index, builderForValue.build());
          onChanged();
        } else {
          itemParamListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder addAllItemParamList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
        if (itemParamListBuilder_ == null) {
          ensureItemParamListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, itemParamList_);
          onChanged();
        } else {
          itemParamListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder clearItemParamList() {
        if (itemParamListBuilder_ == null) {
          itemParamList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          itemParamListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public Builder removeItemParamList(int index) {
        if (itemParamListBuilder_ == null) {
          ensureItemParamListIsMutable();
          itemParamList_.remove(index);
          onChanged();
        } else {
          itemParamListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getItemParamListBuilder(
          int index) {
        return getItemParamListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemParamListOrBuilder(
          int index) {
        if (itemParamListBuilder_ == null) {
          return itemParamList_.get(index);  } else {
          return itemParamListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
           getItemParamListOrBuilderList() {
        if (itemParamListBuilder_ != null) {
          return itemParamListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(itemParamList_);
        }
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addItemParamListBuilder() {
        return getItemParamListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addItemParamListBuilder(
          int index) {
        return getItemParamListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam item_param_list = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder> 
           getItemParamListBuilderList() {
        return getItemParamListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
          getItemParamListFieldBuilder() {
        if (itemParamListBuilder_ == null) {
          itemParamListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                  itemParamList_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          itemParamList_ = null;
        }
        return itemParamListBuilder_;
      }

      private int unk2800PHNIJJMECGN_ = 0;
      /**
       * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
       * @return The enum numeric value on the wire for unk2800PHNIJJMECGN.
       */
      @java.lang.Override public int getUnk2800PHNIJJMECGNValue() {
        return unk2800PHNIJJMECGN_;
      }
      /**
       * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
       * @param value The enum numeric value on the wire for unk2800PHNIJJMECGN to set.
       * @return This builder for chaining.
       */
      public Builder setUnk2800PHNIJJMECGNValue(int value) {
        
        unk2800PHNIJJMECGN_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
       * @return The unk2800PHNIJJMECGN.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN getUnk2800PHNIJJMECGN() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN result = emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN.valueOf(unk2800PHNIJJMECGN_);
        return result == null ? emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN.UNRECOGNIZED : result;
      }
      /**
       * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
       * @param value The unk2800PHNIJJMECGN to set.
       * @return This builder for chaining.
       */
      public Builder setUnk2800PHNIJJMECGN(emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq.Unk2800_LENCDFJACFN value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        unk2800PHNIJJMECGN_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.ItemGivingReq.Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk2800PHNIJJMECGN() {
        
        unk2800PHNIJJMECGN_ = 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:ItemGivingReq)
    }

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

    public static emu.grasscutter.net.proto.ItemGivingReqOuterClass.ItemGivingReq getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ItemGivingReq_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ItemGivingReq_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ItemGivingReq_ItemGuidCountMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ItemGivingReq_ItemGuidCountMapEntry_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\023ItemGivingReq.proto\032\017ItemParam.proto\"\347" +
      "\002\n\rItemGivingReq\022A\n\023item_guid_count_map\030" +
      "\017 \003(\0132$.ItemGivingReq.ItemGuidCountMapEn" +
      "try\022\021\n\tgiving_id\030\r \001(\r\022#\n\017item_param_lis" +
      "t\030\004 \003(\0132\n.ItemParam\022?\n\023Unk2800_PHNIJJMEC" +
      "GN\030\002 \001(\0162\".ItemGivingReq.Unk2800_LENCDFJ" +
      "ACFN\0327\n\025ItemGuidCountMapEntry\022\013\n\003key\030\001 \001" +
      "(\004\022\r\n\005value\030\002 \001(\r:\0028\001\"a\n\023Unk2800_LENCDFJ" +
      "ACFN\022\035\n\031Unk2800_LENCDFJACFN_QUEST\020\000\022+\n\'U" +
      "nk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG\020\001" +
      "B\033\n\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor(),
        });
    internal_static_ItemGivingReq_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ItemGivingReq_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ItemGivingReq_descriptor,
        new java.lang.String[] { "ItemGuidCountMap", "GivingId", "ItemParamList", "Unk2800PHNIJJMECGN", });
    internal_static_ItemGivingReq_ItemGuidCountMapEntry_descriptor =
      internal_static_ItemGivingReq_descriptor.getNestedTypes().get(0);
    internal_static_ItemGivingReq_ItemGuidCountMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ItemGivingReq_ItemGuidCountMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
