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

package emu.grasscutter.net.proto;

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

    /**
     * <code>uint32 secondary_sheet_id = 1003;</code>
     * @return The secondarySheetId.
     */
    int getSecondarySheetId();

    /**
     * <code>.ItemParam goods_item = 15;</code>
     * @return Whether the goodsItem field is set.
     */
    boolean hasGoodsItem();
    /**
     * <code>.ItemParam goods_item = 15;</code>
     * @return The goodsItem.
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGoodsItem();
    /**
     * <code>.ItemParam goods_item = 15;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGoodsItemOrBuilder();

    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
        getCostItemListList();
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getCostItemList(int index);
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    int getCostItemListCount();
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getCostItemListOrBuilderList();
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getCostItemListOrBuilder(
        int index);

    /**
     * <code>uint32 bought_num = 14;</code>
     * @return The boughtNum.
     */
    int getBoughtNum();

    /**
     * <code>repeated uint32 pre_goods_id_list = 9;</code>
     * @return A list containing the preGoodsIdList.
     */
    java.util.List<java.lang.Integer> getPreGoodsIdListList();
    /**
     * <code>repeated uint32 pre_goods_id_list = 9;</code>
     * @return The count of preGoodsIdList.
     */
    int getPreGoodsIdListCount();
    /**
     * <code>repeated uint32 pre_goods_id_list = 9;</code>
     * @param index The index of the element to return.
     * @return The preGoodsIdList at the given index.
     */
    int getPreGoodsIdList(int index);

    /**
     * <code>uint32 min_level = 5;</code>
     * @return The minLevel.
     */
    int getMinLevel();

    /**
     * <code>uint32 mcoin = 11;</code>
     * @return The mcoin.
     */
    int getMcoin();

    /**
     * <code>uint32 hcoin = 6;</code>
     * @return The hcoin.
     */
    int getHcoin();

    /**
     * <code>uint32 end_time = 3;</code>
     * @return The endTime.
     */
    int getEndTime();

    /**
     * <code>uint32 next_refresh_time = 10;</code>
     * @return The nextRefreshTime.
     */
    int getNextRefreshTime();

    /**
     * <code>uint32 goods_id = 13;</code>
     * @return The goodsId.
     */
    int getGoodsId();

    /**
     * <code>uint32 Unk3300_OMKIFIMDGDN = 1037;</code>
     * @return The unk3300OMKIFIMDGDN.
     */
    int getUnk3300OMKIFIMDGDN();

    /**
     * <code>uint32 buy_limit = 8;</code>
     * @return The buyLimit.
     */
    int getBuyLimit();

    /**
     * <code>uint32 Unk3300_MBGOMHNBHMG = 777;</code>
     * @return The unk3300MBGOMHNBHMG.
     */
    int getUnk3300MBGOMHNBHMG();

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

    /**
     * <code>uint32 max_level = 1;</code>
     * @return The maxLevel.
     */
    int getMaxLevel();

    /**
     * <code>uint32 single_limit = 1770;</code>
     * @return The singleLimit.
     */
    int getSingleLimit();

    /**
     * <code>uint32 Unk3300_NJCPAJBCEPH = 505;</code>
     * @return The unk3300NJCPAJBCEPH.
     */
    int getUnk3300NJCPAJBCEPH();

    /**
     * <code>uint32 begin_time = 12;</code>
     * @return The beginTime.
     */
    int getBeginTime();

    /**
     * <code>uint32 disable_type = 4;</code>
     * @return The disableType.
     */
    int getDisableType();
  }
  /**
   * Protobuf type {@code ShopGoods}
   */
  public static final class ShopGoods extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ShopGoods)
      ShopGoodsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ShopGoods.newBuilder() to construct.
    private ShopGoods(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ShopGoods() {
      costItemList_ = java.util.Collections.emptyList();
      preGoodsIdList_ = emptyIntList();
    }

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

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

              maxLevel_ = input.readUInt32();
              break;
            }
            case 16: {

              scoin_ = input.readUInt32();
              break;
            }
            case 24: {

              endTime_ = input.readUInt32();
              break;
            }
            case 32: {

              disableType_ = input.readUInt32();
              break;
            }
            case 40: {

              minLevel_ = input.readUInt32();
              break;
            }
            case 48: {

              hcoin_ = input.readUInt32();
              break;
            }
            case 58: {
              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;
            }
            case 64: {

              buyLimit_ = input.readUInt32();
              break;
            }
            case 72: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                preGoodsIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              preGoodsIdList_.addInt(input.readUInt32());
              break;
            }
            case 74: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                preGoodsIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                preGoodsIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 80: {

              nextRefreshTime_ = input.readUInt32();
              break;
            }
            case 88: {

              mcoin_ = input.readUInt32();
              break;
            }
            case 96: {

              beginTime_ = input.readUInt32();
              break;
            }
            case 104: {

              goodsId_ = input.readUInt32();
              break;
            }
            case 112: {

              boughtNum_ = input.readUInt32();
              break;
            }
            case 122: {
              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 4040: {

              unk3300NJCPAJBCEPH_ = input.readUInt32();
              break;
            }
            case 6216: {

              unk3300MBGOMHNBHMG_ = input.readUInt32();
              break;
            }
            case 8024: {

              secondarySheetId_ = input.readUInt32();
              break;
            }
            case 8296: {

              unk3300OMKIFIMDGDN_ = input.readUInt32();
              break;
            }
            case 14160: {

              singleLimit_ = input.readUInt32();
              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_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          preGoodsIdList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ShopGoodsOuterClass.internal_static_ShopGoods_descriptor;
    }

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

    public static final int SECONDARY_SHEET_ID_FIELD_NUMBER = 1003;
    private int secondarySheetId_;
    /**
     * <code>uint32 secondary_sheet_id = 1003;</code>
     * @return The secondarySheetId.
     */
    @java.lang.Override
    public int getSecondarySheetId() {
      return secondarySheetId_;
    }

    public static final int GOODS_ITEM_FIELD_NUMBER = 15;
    private emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam goodsItem_;
    /**
     * <code>.ItemParam goods_item = 15;</code>
     * @return Whether the goodsItem field is set.
     */
    @java.lang.Override
    public boolean hasGoodsItem() {
      return goodsItem_ != null;
    }
    /**
     * <code>.ItemParam goods_item = 15;</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 goods_item = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGoodsItemOrBuilder() {
      return getGoodsItem();
    }

    public static final int COST_ITEM_LIST_FIELD_NUMBER = 7;
    private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> costItemList_;
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getCostItemListList() {
      return costItemList_;
    }
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getCostItemListOrBuilderList() {
      return costItemList_;
    }
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    @java.lang.Override
    public int getCostItemListCount() {
      return costItemList_.size();
    }
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getCostItemList(int index) {
      return costItemList_.get(index);
    }
    /**
     * <code>repeated .ItemParam cost_item_list = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getCostItemListOrBuilder(
        int index) {
      return costItemList_.get(index);
    }

    public static final int BOUGHT_NUM_FIELD_NUMBER = 14;
    private int boughtNum_;
    /**
     * <code>uint32 bought_num = 14;</code>
     * @return The boughtNum.
     */
    @java.lang.Override
    public int getBoughtNum() {
      return boughtNum_;
    }

    public static final int PRE_GOODS_ID_LIST_FIELD_NUMBER = 9;
    private com.google.protobuf.Internal.IntList preGoodsIdList_;
    /**
     * <code>repeated uint32 pre_goods_id_list = 9;</code>
     * @return A list containing the preGoodsIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getPreGoodsIdListList() {
      return preGoodsIdList_;
    }
    /**
     * <code>repeated uint32 pre_goods_id_list = 9;</code>
     * @return The count of preGoodsIdList.
     */
    public int getPreGoodsIdListCount() {
      return preGoodsIdList_.size();
    }
    /**
     * <code>repeated uint32 pre_goods_id_list = 9;</code>
     * @param index The index of the element to return.
     * @return The preGoodsIdList at the given index.
     */
    public int getPreGoodsIdList(int index) {
      return preGoodsIdList_.getInt(index);
    }
    private int preGoodsIdListMemoizedSerializedSize = -1;

    public static final int MIN_LEVEL_FIELD_NUMBER = 5;
    private int minLevel_;
    /**
     * <code>uint32 min_level = 5;</code>
     * @return The minLevel.
     */
    @java.lang.Override
    public int getMinLevel() {
      return minLevel_;
    }

    public static final int MCOIN_FIELD_NUMBER = 11;
    private int mcoin_;
    /**
     * <code>uint32 mcoin = 11;</code>
     * @return The mcoin.
     */
    @java.lang.Override
    public int getMcoin() {
      return mcoin_;
    }

    public static final int HCOIN_FIELD_NUMBER = 6;
    private int hcoin_;
    /**
     * <code>uint32 hcoin = 6;</code>
     * @return The hcoin.
     */
    @java.lang.Override
    public int getHcoin() {
      return hcoin_;
    }

    public static final int END_TIME_FIELD_NUMBER = 3;
    private int endTime_;
    /**
     * <code>uint32 end_time = 3;</code>
     * @return The endTime.
     */
    @java.lang.Override
    public int getEndTime() {
      return endTime_;
    }

    public static final int NEXT_REFRESH_TIME_FIELD_NUMBER = 10;
    private int nextRefreshTime_;
    /**
     * <code>uint32 next_refresh_time = 10;</code>
     * @return The nextRefreshTime.
     */
    @java.lang.Override
    public int getNextRefreshTime() {
      return nextRefreshTime_;
    }

    public static final int GOODS_ID_FIELD_NUMBER = 13;
    private int goodsId_;
    /**
     * <code>uint32 goods_id = 13;</code>
     * @return The goodsId.
     */
    @java.lang.Override
    public int getGoodsId() {
      return goodsId_;
    }

    public static final int UNK3300_OMKIFIMDGDN_FIELD_NUMBER = 1037;
    private int unk3300OMKIFIMDGDN_;
    /**
     * <code>uint32 Unk3300_OMKIFIMDGDN = 1037;</code>
     * @return The unk3300OMKIFIMDGDN.
     */
    @java.lang.Override
    public int getUnk3300OMKIFIMDGDN() {
      return unk3300OMKIFIMDGDN_;
    }

    public static final int BUY_LIMIT_FIELD_NUMBER = 8;
    private int buyLimit_;
    /**
     * <code>uint32 buy_limit = 8;</code>
     * @return The buyLimit.
     */
    @java.lang.Override
    public int getBuyLimit() {
      return buyLimit_;
    }

    public static final int UNK3300_MBGOMHNBHMG_FIELD_NUMBER = 777;
    private int unk3300MBGOMHNBHMG_;
    /**
     * <code>uint32 Unk3300_MBGOMHNBHMG = 777;</code>
     * @return The unk3300MBGOMHNBHMG.
     */
    @java.lang.Override
    public int getUnk3300MBGOMHNBHMG() {
      return unk3300MBGOMHNBHMG_;
    }

    public static final int SCOIN_FIELD_NUMBER = 2;
    private int scoin_;
    /**
     * <code>uint32 scoin = 2;</code>
     * @return The scoin.
     */
    @java.lang.Override
    public int getScoin() {
      return scoin_;
    }

    public static final int MAX_LEVEL_FIELD_NUMBER = 1;
    private int maxLevel_;
    /**
     * <code>uint32 max_level = 1;</code>
     * @return The maxLevel.
     */
    @java.lang.Override
    public int getMaxLevel() {
      return maxLevel_;
    }

    public static final int SINGLE_LIMIT_FIELD_NUMBER = 1770;
    private int singleLimit_;
    /**
     * <code>uint32 single_limit = 1770;</code>
     * @return The singleLimit.
     */
    @java.lang.Override
    public int getSingleLimit() {
      return singleLimit_;
    }

    public static final int UNK3300_NJCPAJBCEPH_FIELD_NUMBER = 505;
    private int unk3300NJCPAJBCEPH_;
    /**
     * <code>uint32 Unk3300_NJCPAJBCEPH = 505;</code>
     * @return The unk3300NJCPAJBCEPH.
     */
    @java.lang.Override
    public int getUnk3300NJCPAJBCEPH() {
      return unk3300NJCPAJBCEPH_;
    }

    public static final int BEGIN_TIME_FIELD_NUMBER = 12;
    private int beginTime_;
    /**
     * <code>uint32 begin_time = 12;</code>
     * @return The beginTime.
     */
    @java.lang.Override
    public int getBeginTime() {
      return beginTime_;
    }

    public static final int DISABLE_TYPE_FIELD_NUMBER = 4;
    private int disableType_;
    /**
     * <code>uint32 disable_type = 4;</code>
     * @return The disableType.
     */
    @java.lang.Override
    public int getDisableType() {
      return disableType_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (maxLevel_ != 0) {
        output.writeUInt32(1, maxLevel_);
      }
      if (scoin_ != 0) {
        output.writeUInt32(2, scoin_);
      }
      if (endTime_ != 0) {
        output.writeUInt32(3, endTime_);
      }
      if (disableType_ != 0) {
        output.writeUInt32(4, disableType_);
      }
      if (minLevel_ != 0) {
        output.writeUInt32(5, minLevel_);
      }
      if (hcoin_ != 0) {
        output.writeUInt32(6, hcoin_);
      }
      for (int i = 0; i < costItemList_.size(); i++) {
        output.writeMessage(7, costItemList_.get(i));
      }
      if (buyLimit_ != 0) {
        output.writeUInt32(8, buyLimit_);
      }
      if (getPreGoodsIdListList().size() > 0) {
        output.writeUInt32NoTag(74);
        output.writeUInt32NoTag(preGoodsIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < preGoodsIdList_.size(); i++) {
        output.writeUInt32NoTag(preGoodsIdList_.getInt(i));
      }
      if (nextRefreshTime_ != 0) {
        output.writeUInt32(10, nextRefreshTime_);
      }
      if (mcoin_ != 0) {
        output.writeUInt32(11, mcoin_);
      }
      if (beginTime_ != 0) {
        output.writeUInt32(12, beginTime_);
      }
      if (goodsId_ != 0) {
        output.writeUInt32(13, goodsId_);
      }
      if (boughtNum_ != 0) {
        output.writeUInt32(14, boughtNum_);
      }
      if (goodsItem_ != null) {
        output.writeMessage(15, getGoodsItem());
      }
      if (unk3300NJCPAJBCEPH_ != 0) {
        output.writeUInt32(505, unk3300NJCPAJBCEPH_);
      }
      if (unk3300MBGOMHNBHMG_ != 0) {
        output.writeUInt32(777, unk3300MBGOMHNBHMG_);
      }
      if (secondarySheetId_ != 0) {
        output.writeUInt32(1003, secondarySheetId_);
      }
      if (unk3300OMKIFIMDGDN_ != 0) {
        output.writeUInt32(1037, unk3300OMKIFIMDGDN_);
      }
      if (singleLimit_ != 0) {
        output.writeUInt32(1770, singleLimit_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (maxLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, maxLevel_);
      }
      if (scoin_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, scoin_);
      }
      if (endTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, endTime_);
      }
      if (disableType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, disableType_);
      }
      if (minLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, minLevel_);
      }
      if (hcoin_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, hcoin_);
      }
      for (int i = 0; i < costItemList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, costItemList_.get(i));
      }
      if (buyLimit_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, buyLimit_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < preGoodsIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(preGoodsIdList_.getInt(i));
        }
        size += dataSize;
        if (!getPreGoodsIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        preGoodsIdListMemoizedSerializedSize = dataSize;
      }
      if (nextRefreshTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, nextRefreshTime_);
      }
      if (mcoin_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, mcoin_);
      }
      if (beginTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(12, beginTime_);
      }
      if (goodsId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, goodsId_);
      }
      if (boughtNum_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, boughtNum_);
      }
      if (goodsItem_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, getGoodsItem());
      }
      if (unk3300NJCPAJBCEPH_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(505, unk3300NJCPAJBCEPH_);
      }
      if (unk3300MBGOMHNBHMG_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(777, unk3300MBGOMHNBHMG_);
      }
      if (secondarySheetId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1003, secondarySheetId_);
      }
      if (unk3300OMKIFIMDGDN_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1037, unk3300OMKIFIMDGDN_);
      }
      if (singleLimit_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1770, singleLimit_);
      }
      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.ShopGoodsOuterClass.ShopGoods)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods other = (emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods) obj;

      if (getSecondarySheetId()
          != other.getSecondarySheetId()) return false;
      if (hasGoodsItem() != other.hasGoodsItem()) return false;
      if (hasGoodsItem()) {
        if (!getGoodsItem()
            .equals(other.getGoodsItem())) return false;
      }
      if (!getCostItemListList()
          .equals(other.getCostItemListList())) return false;
      if (getBoughtNum()
          != other.getBoughtNum()) return false;
      if (!getPreGoodsIdListList()
          .equals(other.getPreGoodsIdListList())) return false;
      if (getMinLevel()
          != other.getMinLevel()) return false;
      if (getMcoin()
          != other.getMcoin()) return false;
      if (getHcoin()
          != other.getHcoin()) return false;
      if (getEndTime()
          != other.getEndTime()) return false;
      if (getNextRefreshTime()
          != other.getNextRefreshTime()) return false;
      if (getGoodsId()
          != other.getGoodsId()) return false;
      if (getUnk3300OMKIFIMDGDN()
          != other.getUnk3300OMKIFIMDGDN()) return false;
      if (getBuyLimit()
          != other.getBuyLimit()) return false;
      if (getUnk3300MBGOMHNBHMG()
          != other.getUnk3300MBGOMHNBHMG()) return false;
      if (getScoin()
          != other.getScoin()) return false;
      if (getMaxLevel()
          != other.getMaxLevel()) return false;
      if (getSingleLimit()
          != other.getSingleLimit()) return false;
      if (getUnk3300NJCPAJBCEPH()
          != other.getUnk3300NJCPAJBCEPH()) return false;
      if (getBeginTime()
          != other.getBeginTime()) return false;
      if (getDisableType()
          != other.getDisableType()) 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) + SECONDARY_SHEET_ID_FIELD_NUMBER;
      hash = (53 * hash) + getSecondarySheetId();
      if (hasGoodsItem()) {
        hash = (37 * hash) + GOODS_ITEM_FIELD_NUMBER;
        hash = (53 * hash) + getGoodsItem().hashCode();
      }
      if (getCostItemListCount() > 0) {
        hash = (37 * hash) + COST_ITEM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getCostItemListList().hashCode();
      }
      hash = (37 * hash) + BOUGHT_NUM_FIELD_NUMBER;
      hash = (53 * hash) + getBoughtNum();
      if (getPreGoodsIdListCount() > 0) {
        hash = (37 * hash) + PRE_GOODS_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getPreGoodsIdListList().hashCode();
      }
      hash = (37 * hash) + MIN_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getMinLevel();
      hash = (37 * hash) + MCOIN_FIELD_NUMBER;
      hash = (53 * hash) + getMcoin();
      hash = (37 * hash) + HCOIN_FIELD_NUMBER;
      hash = (53 * hash) + getHcoin();
      hash = (37 * hash) + END_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getEndTime();
      hash = (37 * hash) + NEXT_REFRESH_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getNextRefreshTime();
      hash = (37 * hash) + GOODS_ID_FIELD_NUMBER;
      hash = (53 * hash) + getGoodsId();
      hash = (37 * hash) + UNK3300_OMKIFIMDGDN_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300OMKIFIMDGDN();
      hash = (37 * hash) + BUY_LIMIT_FIELD_NUMBER;
      hash = (53 * hash) + getBuyLimit();
      hash = (37 * hash) + UNK3300_MBGOMHNBHMG_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300MBGOMHNBHMG();
      hash = (37 * hash) + SCOIN_FIELD_NUMBER;
      hash = (53 * hash) + getScoin();
      hash = (37 * hash) + MAX_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getMaxLevel();
      hash = (37 * hash) + SINGLE_LIMIT_FIELD_NUMBER;
      hash = (53 * hash) + getSingleLimit();
      hash = (37 * hash) + UNK3300_NJCPAJBCEPH_FIELD_NUMBER;
      hash = (53 * hash) + getUnk3300NJCPAJBCEPH();
      hash = (37 * hash) + BEGIN_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getBeginTime();
      hash = (37 * hash) + DISABLE_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getDisableType();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods 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.ShopGoodsOuterClass.ShopGoods parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods 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.ShopGoodsOuterClass.ShopGoods parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods 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.ShopGoodsOuterClass.ShopGoods parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods 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.ShopGoodsOuterClass.ShopGoods parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods 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.ShopGoodsOuterClass.ShopGoods 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 ShopGoods}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ShopGoods)
        emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoodsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ShopGoodsOuterClass.internal_static_ShopGoods_descriptor;
      }

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

      // Construct using emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods.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();
        secondarySheetId_ = 0;

        if (goodsItemBuilder_ == null) {
          goodsItem_ = null;
        } else {
          goodsItem_ = null;
          goodsItemBuilder_ = null;
        }
        if (costItemListBuilder_ == null) {
          costItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          costItemListBuilder_.clear();
        }
        boughtNum_ = 0;

        preGoodsIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        minLevel_ = 0;

        mcoin_ = 0;

        hcoin_ = 0;

        endTime_ = 0;

        nextRefreshTime_ = 0;

        goodsId_ = 0;

        unk3300OMKIFIMDGDN_ = 0;

        buyLimit_ = 0;

        unk3300MBGOMHNBHMG_ = 0;

        scoin_ = 0;

        maxLevel_ = 0;

        singleLimit_ = 0;

        unk3300NJCPAJBCEPH_ = 0;

        beginTime_ = 0;

        disableType_ = 0;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods buildPartial() {
        emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods result = new emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods(this);
        int from_bitField0_ = bitField0_;
        result.secondarySheetId_ = secondarySheetId_;
        if (goodsItemBuilder_ == null) {
          result.goodsItem_ = goodsItem_;
        } else {
          result.goodsItem_ = goodsItemBuilder_.build();
        }
        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_;
        if (((bitField0_ & 0x00000002) != 0)) {
          preGoodsIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.preGoodsIdList_ = preGoodsIdList_;
        result.minLevel_ = minLevel_;
        result.mcoin_ = mcoin_;
        result.hcoin_ = hcoin_;
        result.endTime_ = endTime_;
        result.nextRefreshTime_ = nextRefreshTime_;
        result.goodsId_ = goodsId_;
        result.unk3300OMKIFIMDGDN_ = unk3300OMKIFIMDGDN_;
        result.buyLimit_ = buyLimit_;
        result.unk3300MBGOMHNBHMG_ = unk3300MBGOMHNBHMG_;
        result.scoin_ = scoin_;
        result.maxLevel_ = maxLevel_;
        result.singleLimit_ = singleLimit_;
        result.unk3300NJCPAJBCEPH_ = unk3300NJCPAJBCEPH_;
        result.beginTime_ = beginTime_;
        result.disableType_ = disableType_;
        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.ShopGoodsOuterClass.ShopGoods) {
          return mergeFrom((emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods other) {
        if (other == emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods.getDefaultInstance()) return this;
        if (other.getSecondarySheetId() != 0) {
          setSecondarySheetId(other.getSecondarySheetId());
        }
        if (other.hasGoodsItem()) {
          mergeGoodsItem(other.getGoodsItem());
        }
        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.preGoodsIdList_.isEmpty()) {
          if (preGoodsIdList_.isEmpty()) {
            preGoodsIdList_ = other.preGoodsIdList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensurePreGoodsIdListIsMutable();
            preGoodsIdList_.addAll(other.preGoodsIdList_);
          }
          onChanged();
        }
        if (other.getMinLevel() != 0) {
          setMinLevel(other.getMinLevel());
        }
        if (other.getMcoin() != 0) {
          setMcoin(other.getMcoin());
        }
        if (other.getHcoin() != 0) {
          setHcoin(other.getHcoin());
        }
        if (other.getEndTime() != 0) {
          setEndTime(other.getEndTime());
        }
        if (other.getNextRefreshTime() != 0) {
          setNextRefreshTime(other.getNextRefreshTime());
        }
        if (other.getGoodsId() != 0) {
          setGoodsId(other.getGoodsId());
        }
        if (other.getUnk3300OMKIFIMDGDN() != 0) {
          setUnk3300OMKIFIMDGDN(other.getUnk3300OMKIFIMDGDN());
        }
        if (other.getBuyLimit() != 0) {
          setBuyLimit(other.getBuyLimit());
        }
        if (other.getUnk3300MBGOMHNBHMG() != 0) {
          setUnk3300MBGOMHNBHMG(other.getUnk3300MBGOMHNBHMG());
        }
        if (other.getScoin() != 0) {
          setScoin(other.getScoin());
        }
        if (other.getMaxLevel() != 0) {
          setMaxLevel(other.getMaxLevel());
        }
        if (other.getSingleLimit() != 0) {
          setSingleLimit(other.getSingleLimit());
        }
        if (other.getUnk3300NJCPAJBCEPH() != 0) {
          setUnk3300NJCPAJBCEPH(other.getUnk3300NJCPAJBCEPH());
        }
        if (other.getBeginTime() != 0) {
          setBeginTime(other.getBeginTime());
        }
        if (other.getDisableType() != 0) {
          setDisableType(other.getDisableType());
        }
        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.ShopGoodsOuterClass.ShopGoods parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int secondarySheetId_ ;
      /**
       * <code>uint32 secondary_sheet_id = 1003;</code>
       * @return The secondarySheetId.
       */
      @java.lang.Override
      public int getSecondarySheetId() {
        return secondarySheetId_;
      }
      /**
       * <code>uint32 secondary_sheet_id = 1003;</code>
       * @param value The secondarySheetId to set.
       * @return This builder for chaining.
       */
      public Builder setSecondarySheetId(int value) {
        
        secondarySheetId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 secondary_sheet_id = 1003;</code>
       * @return This builder for chaining.
       */
      public Builder clearSecondarySheetId() {
        
        secondarySheetId_ = 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 goods_item = 15;</code>
       * @return Whether the goodsItem field is set.
       */
      public boolean hasGoodsItem() {
        return goodsItemBuilder_ != null || goodsItem_ != null;
      }
      /**
       * <code>.ItemParam goods_item = 15;</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 goods_item = 15;</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 goods_item = 15;</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 goods_item = 15;</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 goods_item = 15;</code>
       */
      public Builder clearGoodsItem() {
        if (goodsItemBuilder_ == null) {
          goodsItem_ = null;
          onChanged();
        } else {
          goodsItem_ = null;
          goodsItemBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.ItemParam goods_item = 15;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getGoodsItemBuilder() {
        
        onChanged();
        return getGoodsItemFieldBuilder().getBuilder();
      }
      /**
       * <code>.ItemParam goods_item = 15;</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 goods_item = 15;</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 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 cost_item_list = 7;</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 cost_item_list = 7;</code>
       */
      public int getCostItemListCount() {
        if (costItemListBuilder_ == null) {
          return costItemList_.size();
        } else {
          return costItemListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ItemParam cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</code>
       */
      public Builder clearCostItemList() {
        if (costItemListBuilder_ == null) {
          costItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          costItemListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam cost_item_list = 7;</code>
       */
      public Builder removeCostItemList(int index) {
        if (costItemListBuilder_ == null) {
          ensureCostItemListIsMutable();
          costItemList_.remove(index);
          onChanged();
        } else {
          costItemListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam cost_item_list = 7;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getCostItemListBuilder(
          int index) {
        return getCostItemListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ItemParam cost_item_list = 7;</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 cost_item_list = 7;</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 cost_item_list = 7;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addCostItemListBuilder() {
        return getCostItemListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam cost_item_list = 7;</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 cost_item_list = 7;</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 bought_num = 14;</code>
       * @return The boughtNum.
       */
      @java.lang.Override
      public int getBoughtNum() {
        return boughtNum_;
      }
      /**
       * <code>uint32 bought_num = 14;</code>
       * @param value The boughtNum to set.
       * @return This builder for chaining.
       */
      public Builder setBoughtNum(int value) {
        
        boughtNum_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 bought_num = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearBoughtNum() {
        
        boughtNum_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList preGoodsIdList_ = emptyIntList();
      private void ensurePreGoodsIdListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          preGoodsIdList_ = mutableCopy(preGoodsIdList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 pre_goods_id_list = 9;</code>
       * @return A list containing the preGoodsIdList.
       */
      public java.util.List<java.lang.Integer>
          getPreGoodsIdListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(preGoodsIdList_) : preGoodsIdList_;
      }
      /**
       * <code>repeated uint32 pre_goods_id_list = 9;</code>
       * @return The count of preGoodsIdList.
       */
      public int getPreGoodsIdListCount() {
        return preGoodsIdList_.size();
      }
      /**
       * <code>repeated uint32 pre_goods_id_list = 9;</code>
       * @param index The index of the element to return.
       * @return The preGoodsIdList at the given index.
       */
      public int getPreGoodsIdList(int index) {
        return preGoodsIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 pre_goods_id_list = 9;</code>
       * @param index The index to set the value at.
       * @param value The preGoodsIdList to set.
       * @return This builder for chaining.
       */
      public Builder setPreGoodsIdList(
          int index, int value) {
        ensurePreGoodsIdListIsMutable();
        preGoodsIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 pre_goods_id_list = 9;</code>
       * @param value The preGoodsIdList to add.
       * @return This builder for chaining.
       */
      public Builder addPreGoodsIdList(int value) {
        ensurePreGoodsIdListIsMutable();
        preGoodsIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 pre_goods_id_list = 9;</code>
       * @param values The preGoodsIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllPreGoodsIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensurePreGoodsIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, preGoodsIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 pre_goods_id_list = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearPreGoodsIdList() {
        preGoodsIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private int minLevel_ ;
      /**
       * <code>uint32 min_level = 5;</code>
       * @return The minLevel.
       */
      @java.lang.Override
      public int getMinLevel() {
        return minLevel_;
      }
      /**
       * <code>uint32 min_level = 5;</code>
       * @param value The minLevel to set.
       * @return This builder for chaining.
       */
      public Builder setMinLevel(int value) {
        
        minLevel_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 min_level = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearMinLevel() {
        
        minLevel_ = 0;
        onChanged();
        return this;
      }

      private int mcoin_ ;
      /**
       * <code>uint32 mcoin = 11;</code>
       * @return The mcoin.
       */
      @java.lang.Override
      public int getMcoin() {
        return mcoin_;
      }
      /**
       * <code>uint32 mcoin = 11;</code>
       * @param value The mcoin to set.
       * @return This builder for chaining.
       */
      public Builder setMcoin(int value) {
        
        mcoin_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 mcoin = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearMcoin() {
        
        mcoin_ = 0;
        onChanged();
        return this;
      }

      private int hcoin_ ;
      /**
       * <code>uint32 hcoin = 6;</code>
       * @return The hcoin.
       */
      @java.lang.Override
      public int getHcoin() {
        return hcoin_;
      }
      /**
       * <code>uint32 hcoin = 6;</code>
       * @param value The hcoin to set.
       * @return This builder for chaining.
       */
      public Builder setHcoin(int value) {
        
        hcoin_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 hcoin = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearHcoin() {
        
        hcoin_ = 0;
        onChanged();
        return this;
      }

      private int endTime_ ;
      /**
       * <code>uint32 end_time = 3;</code>
       * @return The endTime.
       */
      @java.lang.Override
      public int getEndTime() {
        return endTime_;
      }
      /**
       * <code>uint32 end_time = 3;</code>
       * @param value The endTime to set.
       * @return This builder for chaining.
       */
      public Builder setEndTime(int value) {
        
        endTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 end_time = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearEndTime() {
        
        endTime_ = 0;
        onChanged();
        return this;
      }

      private int nextRefreshTime_ ;
      /**
       * <code>uint32 next_refresh_time = 10;</code>
       * @return The nextRefreshTime.
       */
      @java.lang.Override
      public int getNextRefreshTime() {
        return nextRefreshTime_;
      }
      /**
       * <code>uint32 next_refresh_time = 10;</code>
       * @param value The nextRefreshTime to set.
       * @return This builder for chaining.
       */
      public Builder setNextRefreshTime(int value) {
        
        nextRefreshTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 next_refresh_time = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearNextRefreshTime() {
        
        nextRefreshTime_ = 0;
        onChanged();
        return this;
      }

      private int goodsId_ ;
      /**
       * <code>uint32 goods_id = 13;</code>
       * @return The goodsId.
       */
      @java.lang.Override
      public int getGoodsId() {
        return goodsId_;
      }
      /**
       * <code>uint32 goods_id = 13;</code>
       * @param value The goodsId to set.
       * @return This builder for chaining.
       */
      public Builder setGoodsId(int value) {
        
        goodsId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 goods_id = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearGoodsId() {
        
        goodsId_ = 0;
        onChanged();
        return this;
      }

      private int unk3300OMKIFIMDGDN_ ;
      /**
       * <code>uint32 Unk3300_OMKIFIMDGDN = 1037;</code>
       * @return The unk3300OMKIFIMDGDN.
       */
      @java.lang.Override
      public int getUnk3300OMKIFIMDGDN() {
        return unk3300OMKIFIMDGDN_;
      }
      /**
       * <code>uint32 Unk3300_OMKIFIMDGDN = 1037;</code>
       * @param value The unk3300OMKIFIMDGDN to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300OMKIFIMDGDN(int value) {
        
        unk3300OMKIFIMDGDN_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_OMKIFIMDGDN = 1037;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300OMKIFIMDGDN() {
        
        unk3300OMKIFIMDGDN_ = 0;
        onChanged();
        return this;
      }

      private int buyLimit_ ;
      /**
       * <code>uint32 buy_limit = 8;</code>
       * @return The buyLimit.
       */
      @java.lang.Override
      public int getBuyLimit() {
        return buyLimit_;
      }
      /**
       * <code>uint32 buy_limit = 8;</code>
       * @param value The buyLimit to set.
       * @return This builder for chaining.
       */
      public Builder setBuyLimit(int value) {
        
        buyLimit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 buy_limit = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuyLimit() {
        
        buyLimit_ = 0;
        onChanged();
        return this;
      }

      private int unk3300MBGOMHNBHMG_ ;
      /**
       * <code>uint32 Unk3300_MBGOMHNBHMG = 777;</code>
       * @return The unk3300MBGOMHNBHMG.
       */
      @java.lang.Override
      public int getUnk3300MBGOMHNBHMG() {
        return unk3300MBGOMHNBHMG_;
      }
      /**
       * <code>uint32 Unk3300_MBGOMHNBHMG = 777;</code>
       * @param value The unk3300MBGOMHNBHMG to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300MBGOMHNBHMG(int value) {
        
        unk3300MBGOMHNBHMG_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_MBGOMHNBHMG = 777;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300MBGOMHNBHMG() {
        
        unk3300MBGOMHNBHMG_ = 0;
        onChanged();
        return this;
      }

      private int scoin_ ;
      /**
       * <code>uint32 scoin = 2;</code>
       * @return The scoin.
       */
      @java.lang.Override
      public int getScoin() {
        return scoin_;
      }
      /**
       * <code>uint32 scoin = 2;</code>
       * @param value The scoin to set.
       * @return This builder for chaining.
       */
      public Builder setScoin(int value) {
        
        scoin_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 scoin = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearScoin() {
        
        scoin_ = 0;
        onChanged();
        return this;
      }

      private int maxLevel_ ;
      /**
       * <code>uint32 max_level = 1;</code>
       * @return The maxLevel.
       */
      @java.lang.Override
      public int getMaxLevel() {
        return maxLevel_;
      }
      /**
       * <code>uint32 max_level = 1;</code>
       * @param value The maxLevel to set.
       * @return This builder for chaining.
       */
      public Builder setMaxLevel(int value) {
        
        maxLevel_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 max_level = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMaxLevel() {
        
        maxLevel_ = 0;
        onChanged();
        return this;
      }

      private int singleLimit_ ;
      /**
       * <code>uint32 single_limit = 1770;</code>
       * @return The singleLimit.
       */
      @java.lang.Override
      public int getSingleLimit() {
        return singleLimit_;
      }
      /**
       * <code>uint32 single_limit = 1770;</code>
       * @param value The singleLimit to set.
       * @return This builder for chaining.
       */
      public Builder setSingleLimit(int value) {
        
        singleLimit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 single_limit = 1770;</code>
       * @return This builder for chaining.
       */
      public Builder clearSingleLimit() {
        
        singleLimit_ = 0;
        onChanged();
        return this;
      }

      private int unk3300NJCPAJBCEPH_ ;
      /**
       * <code>uint32 Unk3300_NJCPAJBCEPH = 505;</code>
       * @return The unk3300NJCPAJBCEPH.
       */
      @java.lang.Override
      public int getUnk3300NJCPAJBCEPH() {
        return unk3300NJCPAJBCEPH_;
      }
      /**
       * <code>uint32 Unk3300_NJCPAJBCEPH = 505;</code>
       * @param value The unk3300NJCPAJBCEPH to set.
       * @return This builder for chaining.
       */
      public Builder setUnk3300NJCPAJBCEPH(int value) {
        
        unk3300NJCPAJBCEPH_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 Unk3300_NJCPAJBCEPH = 505;</code>
       * @return This builder for chaining.
       */
      public Builder clearUnk3300NJCPAJBCEPH() {
        
        unk3300NJCPAJBCEPH_ = 0;
        onChanged();
        return this;
      }

      private int beginTime_ ;
      /**
       * <code>uint32 begin_time = 12;</code>
       * @return The beginTime.
       */
      @java.lang.Override
      public int getBeginTime() {
        return beginTime_;
      }
      /**
       * <code>uint32 begin_time = 12;</code>
       * @param value The beginTime to set.
       * @return This builder for chaining.
       */
      public Builder setBeginTime(int value) {
        
        beginTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 begin_time = 12;</code>
       * @return This builder for chaining.
       */
      public Builder clearBeginTime() {
        
        beginTime_ = 0;
        onChanged();
        return this;
      }

      private int disableType_ ;
      /**
       * <code>uint32 disable_type = 4;</code>
       * @return The disableType.
       */
      @java.lang.Override
      public int getDisableType() {
        return disableType_;
      }
      /**
       * <code>uint32 disable_type = 4;</code>
       * @param value The disableType to set.
       * @return This builder for chaining.
       */
      public Builder setDisableType(int value) {
        
        disableType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 disable_type = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearDisableType() {
        
        disableType_ = 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:ShopGoods)
    }

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

    public static emu.grasscutter.net.proto.ShopGoodsOuterClass.ShopGoods getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ShopGoods_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ShopGoods_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\017ShopGoods.proto\032\017ItemParam.proto\"\333\003\n\tS" +
      "hopGoods\022\033\n\022secondary_sheet_id\030\353\007 \001(\r\022\036\n" +
      "\ngoods_item\030\017 \001(\0132\n.ItemParam\022\"\n\016cost_it" +
      "em_list\030\007 \003(\0132\n.ItemParam\022\022\n\nbought_num\030" +
      "\016 \001(\r\022\031\n\021pre_goods_id_list\030\t \003(\r\022\021\n\tmin_" +
      "level\030\005 \001(\r\022\r\n\005mcoin\030\013 \001(\r\022\r\n\005hcoin\030\006 \001(" +
      "\r\022\020\n\010end_time\030\003 \001(\r\022\031\n\021next_refresh_time" +
      "\030\n \001(\r\022\020\n\010goods_id\030\r \001(\r\022\034\n\023Unk3300_OMKI" +
      "FIMDGDN\030\215\010 \001(\r\022\021\n\tbuy_limit\030\010 \001(\r\022\034\n\023Unk" +
      "3300_MBGOMHNBHMG\030\211\006 \001(\r\022\r\n\005scoin\030\002 \001(\r\022\021" +
      "\n\tmax_level\030\001 \001(\r\022\025\n\014single_limit\030\352\r \001(\r" +
      "\022\034\n\023Unk3300_NJCPAJBCEPH\030\371\003 \001(\r\022\022\n\nbegin_" +
      "time\030\014 \001(\r\022\024\n\014disable_type\030\004 \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_ShopGoods_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ShopGoods_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ShopGoods_descriptor,
        new java.lang.String[] { "SecondarySheetId", "GoodsItem", "CostItemList", "BoughtNum", "PreGoodsIdList", "MinLevel", "Mcoin", "Hcoin", "EndTime", "NextRefreshTime", "GoodsId", "Unk3300OMKIFIMDGDN", "BuyLimit", "Unk3300MBGOMHNBHMG", "Scoin", "MaxLevel", "SingleLimit", "Unk3300NJCPAJBCEPH", "BeginTime", "DisableType", });
    emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
