content: // 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; itemGuidCountMap = 13;</code>
       */
      int getItemGuidCountMapCount();
      /**
       * <code>map&lt;uint64, uint32&gt; itemGuidCountMap = 13;</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; itemGuidCountMap = 13;</code>
       */
      java.util.Map<java.lang.Long, java.lang.Integer>
      getItemGuidCountMapMap();
      /**
       * <code>map&lt;uint64, uint32&gt; itemGuidCountMap = 13;</code>
       */
  
      int getItemGuidCountMapOrDefault(
          long key,
          int defaultValue);
      /**
       * <code>map&lt;uint64, uint32&gt; itemGuidCountMap = 13;</code>
       */
  
      int getItemGuidCountMapOrThrow(
          long key);
  
      /**
       * <code>uint32 givingId = 7;</code>
       * @return The givingId.
       */
      int getGivingId();
  
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
          getItemParamListList();
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemParamList(int index);
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      int getItemParamListCount();
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
          getItemParamListOrBuilderList();
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemParamListOrBuilder(
          int index);
  
      /**
       * <code>.ItemGivingType itemGivingType = 8;</code>
       * @return The enum numeric value on the wire for itemGivingType.
       */
      int getItemGivingTypeValue();
      /**
       * <code>.ItemGivingType itemGivingType = 8;</code>
       * @return The itemGivingType.
       */
      emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType getItemGivingType();
    }
    /**
     * 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();
        itemGivingType_ = 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 56: {
  
                givingId_ = input.readUInt32();
                break;
              }
              case 64: {
                int rawValue = input.readEnum();
  
                itemGivingType_ = rawValue;
                break;
              }
              case 74: {
                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 106: {
                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 13:
            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.DCNJJOIBGKM}
       */
      public enum DCNJJOIBGKM
          implements com.google.protobuf.ProtocolMessageEnum {
        /**
         * <code>NONE = 0;</code>
         */
        NONE(0, 0),
        /**
         * <code>PEPPOHPHJOJ = 101;</code>
         */
        PEPPOHPHJOJ(1, 101),
        /**
         * <code>NNBKOLMPOEA = 1;</code>
         */
        NNBKOLMPOEA(3, 1),
        UNRECOGNIZED(-1, -1),
        ;
  
        /**
         * <code>DCDNILFDFLB = 0;</code>
         */
        public static final DCNJJOIBGKM DCDNILFDFLB = NONE;
        /**
         * <code>EAJIABGAOCI = 1;</code>
         */
        public static final DCNJJOIBGKM EAJIABGAOCI = NNBKOLMPOEA;
        /**
         * <code>NONE = 0;</code>
         */
        public static final int NONE_VALUE = 0;
        /**
         * <code>PEPPOHPHJOJ = 101;</code>
         */
        public static final int PEPPOHPHJOJ_VALUE = 101;
        /**
         * <code>DCDNILFDFLB = 0;</code>
         */
        public static final int DCDNILFDFLB_VALUE = 0;
        /**
         * <code>NNBKOLMPOEA = 1;</code>
         */
        public static final int NNBKOLMPOEA_VALUE = 1;
        /**
         * <code>EAJIABGAOCI = 1;</code>
         */
        public static final int EAJIABGAOCI_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 DCNJJOIBGKM 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 DCNJJOIBGKM forNumber(int value) {
          switch (value) {
            case 0: return NONE;
            case 101: return PEPPOHPHJOJ;
            case 1: return NNBKOLMPOEA;
            default: return null;
          }
        }
  
        public static com.google.protobuf.Internal.EnumLiteMap<DCNJJOIBGKM>
            internalGetValueMap() {
          return internalValueMap;
        }
        private static final com.google.protobuf.Internal.EnumLiteMap<
            DCNJJOIBGKM> internalValueMap =
              new com.google.protobuf.Internal.EnumLiteMap<DCNJJOIBGKM>() {
                public DCNJJOIBGKM findValueByNumber(int number) {
                  return DCNJJOIBGKM.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.ItemGivingReqOuterClass.ItemGivingReq.getDescriptor().getEnumTypes().get(0);
        }
  
        private static final DCNJJOIBGKM[] VALUES = getStaticValuesArray();
        private static DCNJJOIBGKM[] getStaticValuesArray() {
          return new DCNJJOIBGKM[] {
            NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI, 
          };
        }
        public static DCNJJOIBGKM 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 DCNJJOIBGKM(int index, int value) {
          this.index = index;
          this.value = value;
        }
  
        // @@protoc_insertion_point(enum_scope:ItemGivingReq.DCNJJOIBGKM)
      }
  
      public static final int ITEMGUIDCOUNTMAP_FIELD_NUMBER = 13;
      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; itemGuidCountMap = 13;</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; itemGuidCountMap = 13;</code>
       */
      @java.lang.Override
  
      public java.util.Map<java.lang.Long, java.lang.Integer> getItemGuidCountMapMap() {
        return internalGetItemGuidCountMap().getMap();
      }
      /**
       * <code>map&lt;uint64, uint32&gt; itemGuidCountMap = 13;</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; itemGuidCountMap = 13;</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 GIVINGID_FIELD_NUMBER = 7;
      private int givingId_;
      /**
       * <code>uint32 givingId = 7;</code>
       * @return The givingId.
       */
      @java.lang.Override
      public int getGivingId() {
        return givingId_;
      }
  
      public static final int ITEMPARAMLIST_FIELD_NUMBER = 9;
      private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> itemParamList_;
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getItemParamListList() {
        return itemParamList_;
      }
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
          getItemParamListOrBuilderList() {
        return itemParamList_;
      }
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      @java.lang.Override
      public int getItemParamListCount() {
        return itemParamList_.size();
      }
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getItemParamList(int index) {
        return itemParamList_.get(index);
      }
      /**
       * <code>repeated .ItemParam itemParamList = 9;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getItemParamListOrBuilder(
          int index) {
        return itemParamList_.get(index);
      }
  
      public static final int ITEMGIVINGTYPE_FIELD_NUMBER = 8;
      private int itemGivingType_;
      /**
       * <code>.ItemGivingType itemGivingType = 8;</code>
       * @return The enum numeric value on the wire for itemGivingType.
       */
      @java.lang.Override public int getItemGivingTypeValue() {
        return itemGivingType_;
      }
      /**
       * <code>.ItemGivingType itemGivingType = 8;</code>
       * @return The itemGivingType.
       */
      @java.lang.Override public emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType getItemGivingType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType result = emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType.valueOf(itemGivingType_);
        return result == null ? emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType.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 (givingId_ != 0) {
          output.writeUInt32(7, givingId_);
        }
        if (itemGivingType_ != emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType.ITEM_GIVING_TYPE_NONE.getNumber()) {
          output.writeEnum(8, itemGivingType_);
        }
        for (int i = 0; i < itemParamList_.size(); i++) {
          output.writeMessage(9, itemParamList_.get(i));
        }
        com.google.protobuf.GeneratedMessageV3
          .serializeLongMapTo(
            output,
            internalGetItemGuidCountMap(),
            ItemGuidCountMapDefaultEntryHolder.defaultEntry,
            13);
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (givingId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(7, givingId_);
        }
        if (itemGivingType_ != emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType.ITEM_GIVING_TYPE_NONE.getNumber()) {
          size += com.google.protobuf.CodedOutputStream
            .computeEnumSize(8, itemGivingType_);
        }
        for (int i = 0; i < itemParamList_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(9, itemParamList_.get(i));
        }
        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(13, 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 (itemGivingType_ != other.itemGivingType_) 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) + ITEMGUIDCOUNTMAP_FIELD_NUMBER;
          hash = (53 * hash) + internalGetItemGuidCountMap().hashCode();
        }
        hash = (37 * hash) + GIVINGID_FIELD_NUMBER;
        hash = (53 * hash) + getGivingId();
        if (getItemParamListCount() > 0) {
          hash = (37 * hash) + ITEMPARAMLIST_FIELD_NUMBER;
          hash = (53 * hash) + getItemParamListList().hashCode();
        }
        hash = (37 * hash) + ITEMGIVINGTYPE_FIELD_NUMBER;
        hash = (53 * hash) + itemGivingType_;
        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;
      }
      /**
       * 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 13:
              return internalGetItemGuidCountMap();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMutableMapField(
            int number) {
          switch (number) {
            case 13:
              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();
          }
          itemGivingType_ = 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.itemGivingType_ = itemGivingType_;
          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.itemGivingType_ != 0) {
            setItemGivingTypeValue(other.getItemGivingTypeValue());
          }
          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; itemGuidCountMap = 13;</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; itemGuidCountMap = 13;</code>
         */
        @java.lang.Override
  
        public java.util.Map<java.lang.Long, java.lang.Integer> getItemGuidCountMapMap() {
          return internalGetItemGuidCountMap().getMap();
        }
        /**
         * <code>map&lt;uint64, uint32&gt; itemGuidCountMap = 13;</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; itemGuidCountMap = 13;</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; itemGuidCountMap = 13;</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; itemGuidCountMap = 13;</code>
         */
        public Builder putItemGuidCountMap(
            long key,
            int value) {
          
          
          internalGetMutableItemGuidCountMap().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <code>map&lt;uint64, uint32&gt; itemGuidCountMap = 13;</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 givingId = 7;</code>
         * @return The givingId.
         */
        @java.lang.Override
        public int getGivingId() {
          return givingId_;
        }
        /**
         * <code>uint32 givingId = 7;</code>
         * @param value The givingId to set.
         * @return This builder for chaining.
         */
        public Builder setGivingId(int value) {
          
          givingId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 givingId = 7;</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 itemParamList = 9;</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 itemParamList = 9;</code>
         */
        public int getItemParamListCount() {
          if (itemParamListBuilder_ == null) {
            return itemParamList_.size();
          } else {
            return itemParamListBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .ItemParam itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</code>
         */
        public Builder clearItemParamList() {
          if (itemParamListBuilder_ == null) {
            itemParamList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
            onChanged();
          } else {
            itemParamListBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam itemParamList = 9;</code>
         */
        public Builder removeItemParamList(int index) {
          if (itemParamListBuilder_ == null) {
            ensureItemParamListIsMutable();
            itemParamList_.remove(index);
            onChanged();
          } else {
            itemParamListBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam itemParamList = 9;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getItemParamListBuilder(
            int index) {
          return getItemParamListFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .ItemParam itemParamList = 9;</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 itemParamList = 9;</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 itemParamList = 9;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addItemParamListBuilder() {
          return getItemParamListFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
        }
        /**
         * <code>repeated .ItemParam itemParamList = 9;</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 itemParamList = 9;</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 itemGivingType_ = 0;
        /**
         * <code>.ItemGivingType itemGivingType = 8;</code>
         * @return The enum numeric value on the wire for itemGivingType.
         */
        @java.lang.Override public int getItemGivingTypeValue() {
          return itemGivingType_;
        }
        /**
         * <code>.ItemGivingType itemGivingType = 8;</code>
         * @param value The enum numeric value on the wire for itemGivingType to set.
         * @return This builder for chaining.
         */
        public Builder setItemGivingTypeValue(int value) {
          
          itemGivingType_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>.ItemGivingType itemGivingType = 8;</code>
         * @return The itemGivingType.
         */
        @java.lang.Override
        public emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType getItemGivingType() {
          @SuppressWarnings("deprecation")
          emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType result = emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType.valueOf(itemGivingType_);
          return result == null ? emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType.UNRECOGNIZED : result;
        }
        /**
         * <code>.ItemGivingType itemGivingType = 8;</code>
         * @param value The itemGivingType to set.
         * @return This builder for chaining.
         */
        public Builder setItemGivingType(emu.grasscutter.net.proto.ItemGivingTypeOuterClass.ItemGivingType value) {
          if (value == null) {
            throw new NullPointerException();
          }
          
          itemGivingType_ = value.getNumber();
          onChanged();
          return this;
        }
        /**
         * <code>.ItemGivingType itemGivingType = 8;</code>
         * @return This builder for chaining.
         */
        public Builder clearItemGivingType() {
          
          itemGivingType_ = 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\024ItemGivingType.pr" +
        "oto\032\017ItemParam.proto\"\307\002\n\rItemGivingReq\022>" +
        "\n\020itemGuidCountMap\030\r \003(\0132$.ItemGivingReq" +
        ".ItemGuidCountMapEntry\022\020\n\010givingId\030\007 \001(\r" +
        "\022!\n\ritemParamList\030\t \003(\0132\n.ItemParam\022\'\n\016i" +
        "temGivingType\030\010 \001(\0162\017.ItemGivingType\0327\n\025" +
        "ItemGuidCountMapEntry\022\013\n\003key\030\001 \001(\004\022\r\n\005va" +
        "lue\030\002 \001(\r:\0028\001\"_\n\013DCNJJOIBGKM\022\010\n\004NONE\020\000\022\017" +
        "\n\013PEPPOHPHJOJ\020e\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNBK" +
        "OLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020\001\032\002\020\001B\033\n\031emu.gr" +
        "asscutter.net.protob\006proto3"
      };
      descriptor = com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
            emu.grasscutter.net.proto.ItemGivingTypeOuterClass.getDescriptor(),
            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", "ItemGivingType", });
      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.ItemGivingTypeOuterClass.getDescriptor();
      emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  