content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // source: HomeLimitedShopGoods.proto
  
  package emu.grasscutter.net.proto;
  
  public final class HomeLimitedShopGoodsOuterClass {
    private HomeLimitedShopGoodsOuterClass() {}
    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 HomeLimitedShopGoodsOrBuilder extends
        // @@protoc_insertion_point(interface_extends:HomeLimitedShopGoods)
        com.google.protobuf.MessageOrBuilder {
  
      /**
       * <code>uint32 disableType = 5;</code>
       * @return The disableType.
       */
      int getDisableType();
  
      /**
       * <code>.ItemParam goodsItem = 12;</code>
       * @return Whether the goodsItem field is set.
       */
      boolean hasGoodsItem();
      /**
       * <code>.ItemParam goodsItem = 12;</code>
       * @return The goodsItem.
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGoodsItem();
      /**
       * <code>.ItemParam goodsItem = 12;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGoodsItemOrBuilder();
  
      /**
       * <code>uint32 goodsId = 6;</code>
       * @return The goodsId.
       */
      int getGoodsId();
  
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
          getCostItemListList();
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getCostItemList(int index);
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      int getCostItemListCount();
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
          getCostItemListOrBuilderList();
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getCostItemListOrBuilder(
          int index);
  
      /**
       * <code>uint32 boughtNum = 7;</code>
       * @return The boughtNum.
       */
      int getBoughtNum();
  
      /**
       * <code>uint32 buyLimit = 13;</code>
       * @return The buyLimit.
       */
      int getBuyLimit();
    }
    /**
     * Protobuf type {@code HomeLimitedShopGoods}
     */
    public static final class HomeLimitedShopGoods extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:HomeLimitedShopGoods)
        HomeLimitedShopGoodsOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use HomeLimitedShopGoods.newBuilder() to construct.
      private HomeLimitedShopGoods(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private HomeLimitedShopGoods() {
        costItemList_ = java.util.Collections.emptyList();
      }
  
      @java.lang.Override
      @SuppressWarnings({"unused"})
      protected java.lang.Object newInstance(
          UnusedPrivateParameter unused) {
        return new HomeLimitedShopGoods();
      }
  
      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private HomeLimitedShopGoods(
          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 40: {
  
                disableType_ = input.readUInt32();
                break;
              }
              case 48: {
  
                goodsId_ = input.readUInt32();
                break;
              }
              case 56: {
  
                boughtNum_ = input.readUInt32();
                break;
              }
              case 98: {
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder subBuilder = null;
                if (goodsItem_ != null) {
                  subBuilder = goodsItem_.toBuilder();
                }
                goodsItem_ = input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(goodsItem_);
                  goodsItem_ = subBuilder.buildPartial();
                }
  
                break;
              }
              case 104: {
  
                buyLimit_ = input.readUInt32();
                break;
              }
              case 122: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  costItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
                  mutable_bitField0_ |= 0x00000001;
                }
                costItemList_.add(
                    input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
                break;
              }
              default: {
                if (!parseUnknownField(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          if (((mutable_bitField0_ & 0x00000001) != 0)) {
            costItemList_ = java.util.Collections.unmodifiableList(costItemList_);
          }
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.internal_static_HomeLimitedShopGoods_descriptor;
      }
  
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.internal_static_HomeLimitedShopGoods_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods.class, emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods.Builder.class);
      }
  
      public static final int DISABLETYPE_FIELD_NUMBER = 5;
      private int disableType_;
      /**
       * <code>uint32 disableType = 5;</code>
       * @return The disableType.
       */
      @java.lang.Override
      public int getDisableType() {
        return disableType_;
      }
  
      public static final int GOODSITEM_FIELD_NUMBER = 12;
      private emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam goodsItem_;
      /**
       * <code>.ItemParam goodsItem = 12;</code>
       * @return Whether the goodsItem field is set.
       */
      @java.lang.Override
      public boolean hasGoodsItem() {
        return goodsItem_ != null;
      }
      /**
       * <code>.ItemParam goodsItem = 12;</code>
       * @return The goodsItem.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGoodsItem() {
        return goodsItem_ == null ? emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : goodsItem_;
      }
      /**
       * <code>.ItemParam goodsItem = 12;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGoodsItemOrBuilder() {
        return getGoodsItem();
      }
  
      public static final int GOODSID_FIELD_NUMBER = 6;
      private int goodsId_;
      /**
       * <code>uint32 goodsId = 6;</code>
       * @return The goodsId.
       */
      @java.lang.Override
      public int getGoodsId() {
        return goodsId_;
      }
  
      public static final int COSTITEMLIST_FIELD_NUMBER = 15;
      private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> costItemList_;
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getCostItemListList() {
        return costItemList_;
      }
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
          getCostItemListOrBuilderList() {
        return costItemList_;
      }
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      @java.lang.Override
      public int getCostItemListCount() {
        return costItemList_.size();
      }
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getCostItemList(int index) {
        return costItemList_.get(index);
      }
      /**
       * <code>repeated .ItemParam costItemList = 15;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getCostItemListOrBuilder(
          int index) {
        return costItemList_.get(index);
      }
  
      public static final int BOUGHTNUM_FIELD_NUMBER = 7;
      private int boughtNum_;
      /**
       * <code>uint32 boughtNum = 7;</code>
       * @return The boughtNum.
       */
      @java.lang.Override
      public int getBoughtNum() {
        return boughtNum_;
      }
  
      public static final int BUYLIMIT_FIELD_NUMBER = 13;
      private int buyLimit_;
      /**
       * <code>uint32 buyLimit = 13;</code>
       * @return The buyLimit.
       */
      @java.lang.Override
      public int getBuyLimit() {
        return buyLimit_;
      }
  
      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 (disableType_ != 0) {
          output.writeUInt32(5, disableType_);
        }
        if (goodsId_ != 0) {
          output.writeUInt32(6, goodsId_);
        }
        if (boughtNum_ != 0) {
          output.writeUInt32(7, boughtNum_);
        }
        if (goodsItem_ != null) {
          output.writeMessage(12, getGoodsItem());
        }
        if (buyLimit_ != 0) {
          output.writeUInt32(13, buyLimit_);
        }
        for (int i = 0; i < costItemList_.size(); i++) {
          output.writeMessage(15, costItemList_.get(i));
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (disableType_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(5, disableType_);
        }
        if (goodsId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(6, goodsId_);
        }
        if (boughtNum_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(7, boughtNum_);
        }
        if (goodsItem_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(12, getGoodsItem());
        }
        if (buyLimit_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(13, buyLimit_);
        }
        for (int i = 0; i < costItemList_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(15, costItemList_.get(i));
        }
        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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods)) {
          return super.equals(obj);
        }
        emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods other = (emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods) obj;
  
        if (getDisableType()
            != other.getDisableType()) return false;
        if (hasGoodsItem() != other.hasGoodsItem()) return false;
        if (hasGoodsItem()) {
          if (!getGoodsItem()
              .equals(other.getGoodsItem())) return false;
        }
        if (getGoodsId()
            != other.getGoodsId()) return false;
        if (!getCostItemListList()
            .equals(other.getCostItemListList())) return false;
        if (getBoughtNum()
            != other.getBoughtNum()) return false;
        if (getBuyLimit()
            != other.getBuyLimit()) return false;
        if (!unknownFields.equals(other.unknownFields)) return false;
        return true;
      }
  
      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptor().hashCode();
        hash = (37 * hash) + DISABLETYPE_FIELD_NUMBER;
        hash = (53 * hash) + getDisableType();
        if (hasGoodsItem()) {
          hash = (37 * hash) + GOODSITEM_FIELD_NUMBER;
          hash = (53 * hash) + getGoodsItem().hashCode();
        }
        hash = (37 * hash) + GOODSID_FIELD_NUMBER;
        hash = (53 * hash) + getGoodsId();
        if (getCostItemListCount() > 0) {
          hash = (37 * hash) + COSTITEMLIST_FIELD_NUMBER;
          hash = (53 * hash) + getCostItemListList().hashCode();
        }
        hash = (37 * hash) + BOUGHTNUM_FIELD_NUMBER;
        hash = (53 * hash) + getBoughtNum();
        hash = (37 * hash) + BUYLIMIT_FIELD_NUMBER;
        hash = (53 * hash) + getBuyLimit();
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }
  
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods 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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods 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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parseFrom(
          byte[] data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods 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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods 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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parseFrom(
          com.google.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods 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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods 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 HomeLimitedShopGoods}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:HomeLimitedShopGoods)
          emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoodsOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.internal_static_HomeLimitedShopGoods_descriptor;
        }
  
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.internal_static_HomeLimitedShopGoods_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods.class, emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods.Builder.class);
        }
  
        // Construct using emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }
  
        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
            getCostItemListFieldBuilder();
          }
        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          disableType_ = 0;
  
          if (goodsItemBuilder_ == null) {
            goodsItem_ = null;
          } else {
            goodsItem_ = null;
            goodsItemBuilder_ = null;
          }
          goodsId_ = 0;
  
          if (costItemListBuilder_ == null) {
            costItemList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            costItemListBuilder_.clear();
          }
          boughtNum_ = 0;
  
          buyLimit_ = 0;
  
          return this;
        }
  
        @java.lang.Override
        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.internal_static_HomeLimitedShopGoods_descriptor;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods getDefaultInstanceForType() {
          return emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods.getDefaultInstance();
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods build() {
          emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }
  
        @java.lang.Override
        public emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods buildPartial() {
          emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods result = new emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods(this);
          int from_bitField0_ = bitField0_;
          result.disableType_ = disableType_;
          if (goodsItemBuilder_ == null) {
            result.goodsItem_ = goodsItem_;
          } else {
            result.goodsItem_ = goodsItemBuilder_.build();
          }
          result.goodsId_ = goodsId_;
          if (costItemListBuilder_ == null) {
            if (((bitField0_ & 0x00000001) != 0)) {
              costItemList_ = java.util.Collections.unmodifiableList(costItemList_);
              bitField0_ = (bitField0_ & ~0x00000001);
            }
            result.costItemList_ = costItemList_;
          } else {
            result.costItemList_ = costItemListBuilder_.build();
          }
          result.boughtNum_ = boughtNum_;
          result.buyLimit_ = buyLimit_;
          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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods) {
            return mergeFrom((emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }
  
        public Builder mergeFrom(emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods other) {
          if (other == emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods.getDefaultInstance()) return this;
          if (other.getDisableType() != 0) {
            setDisableType(other.getDisableType());
          }
          if (other.hasGoodsItem()) {
            mergeGoodsItem(other.getGoodsItem());
          }
          if (other.getGoodsId() != 0) {
            setGoodsId(other.getGoodsId());
          }
          if (costItemListBuilder_ == null) {
            if (!other.costItemList_.isEmpty()) {
              if (costItemList_.isEmpty()) {
                costItemList_ = other.costItemList_;
                bitField0_ = (bitField0_ & ~0x00000001);
              } else {
                ensureCostItemListIsMutable();
                costItemList_.addAll(other.costItemList_);
              }
              onChanged();
            }
          } else {
            if (!other.costItemList_.isEmpty()) {
              if (costItemListBuilder_.isEmpty()) {
                costItemListBuilder_.dispose();
                costItemListBuilder_ = null;
                costItemList_ = other.costItemList_;
                bitField0_ = (bitField0_ & ~0x00000001);
                costItemListBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getCostItemListFieldBuilder() : null;
              } else {
                costItemListBuilder_.addAllMessages(other.costItemList_);
              }
            }
          }
          if (other.getBoughtNum() != 0) {
            setBoughtNum(other.getBoughtNum());
          }
          if (other.getBuyLimit() != 0) {
            setBuyLimit(other.getBuyLimit());
          }
          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.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;
  
        private int disableType_ ;
        /**
         * <code>uint32 disableType = 5;</code>
         * @return The disableType.
         */
        @java.lang.Override
        public int getDisableType() {
          return disableType_;
        }
        /**
         * <code>uint32 disableType = 5;</code>
         * @param value The disableType to set.
         * @return This builder for chaining.
         */
        public Builder setDisableType(int value) {
          
          disableType_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 disableType = 5;</code>
         * @return This builder for chaining.
         */
        public Builder clearDisableType() {
          
          disableType_ = 0;
          onChanged();
          return this;
        }
  
        private emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam goodsItem_;
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> goodsItemBuilder_;
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         * @return Whether the goodsItem field is set.
         */
        public boolean hasGoodsItem() {
          return goodsItemBuilder_ != null || goodsItem_ != null;
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         * @return The goodsItem.
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGoodsItem() {
          if (goodsItemBuilder_ == null) {
            return goodsItem_ == null ? emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : goodsItem_;
          } else {
            return goodsItemBuilder_.getMessage();
          }
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         */
        public Builder setGoodsItem(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (goodsItemBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            goodsItem_ = value;
            onChanged();
          } else {
            goodsItemBuilder_.setMessage(value);
          }
  
          return this;
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         */
        public Builder setGoodsItem(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (goodsItemBuilder_ == null) {
            goodsItem_ = builderForValue.build();
            onChanged();
          } else {
            goodsItemBuilder_.setMessage(builderForValue.build());
          }
  
          return this;
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         */
        public Builder mergeGoodsItem(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (goodsItemBuilder_ == null) {
            if (goodsItem_ != null) {
              goodsItem_ =
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.newBuilder(goodsItem_).mergeFrom(value).buildPartial();
            } else {
              goodsItem_ = value;
            }
            onChanged();
          } else {
            goodsItemBuilder_.mergeFrom(value);
          }
  
          return this;
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         */
        public Builder clearGoodsItem() {
          if (goodsItemBuilder_ == null) {
            goodsItem_ = null;
            onChanged();
          } else {
            goodsItem_ = null;
            goodsItemBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getGoodsItemBuilder() {
          
          onChanged();
          return getGoodsItemFieldBuilder().getBuilder();
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGoodsItemOrBuilder() {
          if (goodsItemBuilder_ != null) {
            return goodsItemBuilder_.getMessageOrBuilder();
          } else {
            return goodsItem_ == null ?
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : goodsItem_;
          }
        }
        /**
         * <code>.ItemParam goodsItem = 12;</code>
         */
        private com.google.protobuf.SingleFieldBuilderV3<
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
            getGoodsItemFieldBuilder() {
          if (goodsItemBuilder_ == null) {
            goodsItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                    getGoodsItem(),
                    getParentForChildren(),
                    isClean());
            goodsItem_ = null;
          }
          return goodsItemBuilder_;
        }
  
        private int goodsId_ ;
        /**
         * <code>uint32 goodsId = 6;</code>
         * @return The goodsId.
         */
        @java.lang.Override
        public int getGoodsId() {
          return goodsId_;
        }
        /**
         * <code>uint32 goodsId = 6;</code>
         * @param value The goodsId to set.
         * @return This builder for chaining.
         */
        public Builder setGoodsId(int value) {
          
          goodsId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 goodsId = 6;</code>
         * @return This builder for chaining.
         */
        public Builder clearGoodsId() {
          
          goodsId_ = 0;
          onChanged();
          return this;
        }
  
        private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> costItemList_ =
          java.util.Collections.emptyList();
        private void ensureCostItemListIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            costItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>(costItemList_);
            bitField0_ |= 0x00000001;
           }
        }
  
        private com.google.protobuf.RepeatedFieldBuilderV3<
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> costItemListBuilder_;
  
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getCostItemListList() {
          if (costItemListBuilder_ == null) {
            return java.util.Collections.unmodifiableList(costItemList_);
          } else {
            return costItemListBuilder_.getMessageList();
          }
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public int getCostItemListCount() {
          if (costItemListBuilder_ == null) {
            return costItemList_.size();
          } else {
            return costItemListBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getCostItemList(int index) {
          if (costItemListBuilder_ == null) {
            return costItemList_.get(index);
          } else {
            return costItemListBuilder_.getMessage(index);
          }
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder setCostItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (costItemListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureCostItemListIsMutable();
            costItemList_.set(index, value);
            onChanged();
          } else {
            costItemListBuilder_.setMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder setCostItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (costItemListBuilder_ == null) {
            ensureCostItemListIsMutable();
            costItemList_.set(index, builderForValue.build());
            onChanged();
          } else {
            costItemListBuilder_.setMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder addCostItemList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (costItemListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureCostItemListIsMutable();
            costItemList_.add(value);
            onChanged();
          } else {
            costItemListBuilder_.addMessage(value);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder addCostItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
          if (costItemListBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ensureCostItemListIsMutable();
            costItemList_.add(index, value);
            onChanged();
          } else {
            costItemListBuilder_.addMessage(index, value);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder addCostItemList(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (costItemListBuilder_ == null) {
            ensureCostItemListIsMutable();
            costItemList_.add(builderForValue.build());
            onChanged();
          } else {
            costItemListBuilder_.addMessage(builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder addCostItemList(
            int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
          if (costItemListBuilder_ == null) {
            ensureCostItemListIsMutable();
            costItemList_.add(index, builderForValue.build());
            onChanged();
          } else {
            costItemListBuilder_.addMessage(index, builderForValue.build());
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder addAllCostItemList(
            java.lang.Iterable<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
          if (costItemListBuilder_ == null) {
            ensureCostItemListIsMutable();
            com.google.protobuf.AbstractMessageLite.Builder.addAll(
                values, costItemList_);
            onChanged();
          } else {
            costItemListBuilder_.addAllMessages(values);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder clearCostItemList() {
          if (costItemListBuilder_ == null) {
            costItemList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000001);
            onChanged();
          } else {
            costItemListBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public Builder removeCostItemList(int index) {
          if (costItemListBuilder_ == null) {
            ensureCostItemListIsMutable();
            costItemList_.remove(index);
            onChanged();
          } else {
            costItemListBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getCostItemListBuilder(
            int index) {
          return getCostItemListFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getCostItemListOrBuilder(
            int index) {
          if (costItemListBuilder_ == null) {
            return costItemList_.get(index);  } else {
            return costItemListBuilder_.getMessageOrBuilder(index);
          }
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
             getCostItemListOrBuilderList() {
          if (costItemListBuilder_ != null) {
            return costItemListBuilder_.getMessageOrBuilderList();
          } else {
            return java.util.Collections.unmodifiableList(costItemList_);
          }
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addCostItemListBuilder() {
          return getCostItemListFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addCostItemListBuilder(
            int index) {
          return getCostItemListFieldBuilder().addBuilder(
              index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
        }
        /**
         * <code>repeated .ItemParam costItemList = 15;</code>
         */
        public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder> 
             getCostItemListBuilderList() {
          return getCostItemListFieldBuilder().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> 
            getCostItemListFieldBuilder() {
          if (costItemListBuilder_ == null) {
            costItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
                emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                    costItemList_,
                    ((bitField0_ & 0x00000001) != 0),
                    getParentForChildren(),
                    isClean());
            costItemList_ = null;
          }
          return costItemListBuilder_;
        }
  
        private int boughtNum_ ;
        /**
         * <code>uint32 boughtNum = 7;</code>
         * @return The boughtNum.
         */
        @java.lang.Override
        public int getBoughtNum() {
          return boughtNum_;
        }
        /**
         * <code>uint32 boughtNum = 7;</code>
         * @param value The boughtNum to set.
         * @return This builder for chaining.
         */
        public Builder setBoughtNum(int value) {
          
          boughtNum_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 boughtNum = 7;</code>
         * @return This builder for chaining.
         */
        public Builder clearBoughtNum() {
          
          boughtNum_ = 0;
          onChanged();
          return this;
        }
  
        private int buyLimit_ ;
        /**
         * <code>uint32 buyLimit = 13;</code>
         * @return The buyLimit.
         */
        @java.lang.Override
        public int getBuyLimit() {
          return buyLimit_;
        }
        /**
         * <code>uint32 buyLimit = 13;</code>
         * @param value The buyLimit to set.
         * @return This builder for chaining.
         */
        public Builder setBuyLimit(int value) {
          
          buyLimit_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 buyLimit = 13;</code>
         * @return This builder for chaining.
         */
        public Builder clearBuyLimit() {
          
          buyLimit_ = 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:HomeLimitedShopGoods)
      }
  
      // @@protoc_insertion_point(class_scope:HomeLimitedShopGoods)
      private static final emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods();
      }
  
      public static emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }
  
      private static final com.google.protobuf.Parser<HomeLimitedShopGoods>
          PARSER = new com.google.protobuf.AbstractParser<HomeLimitedShopGoods>() {
        @java.lang.Override
        public HomeLimitedShopGoods parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          return new HomeLimitedShopGoods(input, extensionRegistry);
        }
      };
  
      public static com.google.protobuf.Parser<HomeLimitedShopGoods> parser() {
        return PARSER;
      }
  
      @java.lang.Override
      public com.google.protobuf.Parser<HomeLimitedShopGoods> getParserForType() {
        return PARSER;
      }
  
      @java.lang.Override
      public emu.grasscutter.net.proto.HomeLimitedShopGoodsOuterClass.HomeLimitedShopGoods getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
  
    }
  
    private static final com.google.protobuf.Descriptors.Descriptor
      internal_static_HomeLimitedShopGoods_descriptor;
    private static final 
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internal_static_HomeLimitedShopGoods_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\032HomeLimitedShopGoods.proto\032\017ItemParam." +
        "proto\"\242\001\n\024HomeLimitedShopGoods\022\023\n\013disabl" +
        "eType\030\005 \001(\r\022\035\n\tgoodsItem\030\014 \001(\0132\n.ItemPar" +
        "am\022\017\n\007goodsId\030\006 \001(\r\022 \n\014costItemList\030\017 \003(" +
        "\0132\n.ItemParam\022\021\n\tboughtNum\030\007 \001(\r\022\020\n\010buyL" +
        "imit\030\r \001(\rB\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_HomeLimitedShopGoods_descriptor =
        getDescriptor().getMessageTypes().get(0);
      internal_static_HomeLimitedShopGoods_fieldAccessorTable = new
        com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
          internal_static_HomeLimitedShopGoods_descriptor,
          new java.lang.String[] { "DisableType", "GoodsItem", "GoodsId", "CostItemList", "BoughtNum", "BuyLimit", });
      emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  