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

package io.grasscutter.net.proto.item;

/**
 * <pre>
 * CmdId: 29185
 * </pre>
 *
 * Protobuf type {@code StoreWeightLimitNotify}
 */
public final class StoreWeightLimitNotify extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:StoreWeightLimitNotify)
    StoreWeightLimitNotifyOrBuilder {
private static final long serialVersionUID = 0L;
  // Use StoreWeightLimitNotify.newBuilder() to construct.
  private StoreWeightLimitNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private StoreWeightLimitNotify() {
    storeType_ = 0;
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private StoreWeightLimitNotify(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    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: {

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

            weightLimit_ = input.readUInt32();
            break;
          }
          case 64: {
            int rawValue = input.readEnum();

            storeType_ = rawValue;
            break;
          }
          case 88: {

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

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

            furnitureCountLimit_ = 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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.item.Item.internal_static_StoreWeightLimitNotify_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.item.Item.internal_static_StoreWeightLimitNotify_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.item.StoreWeightLimitNotify.class, io.grasscutter.net.proto.item.StoreWeightLimitNotify.Builder.class);
  }

  public static final int WEIGHT_LIMIT_FIELD_NUMBER = 3;
  private int weightLimit_;
  /**
   * <code>uint32 weight_limit = 3;</code>
   * @return The weightLimit.
   */
  @java.lang.Override
  public int getWeightLimit() {
    return weightLimit_;
  }

  public static final int MATERIAL_COUNT_LIMIT_FIELD_NUMBER = 11;
  private int materialCountLimit_;
  /**
   * <code>uint32 material_count_limit = 11;</code>
   * @return The materialCountLimit.
   */
  @java.lang.Override
  public int getMaterialCountLimit() {
    return materialCountLimit_;
  }

  public static final int FURNITURE_COUNT_LIMIT_FIELD_NUMBER = 14;
  private int furnitureCountLimit_;
  /**
   * <code>uint32 furniture_count_limit = 14;</code>
   * @return The furnitureCountLimit.
   */
  @java.lang.Override
  public int getFurnitureCountLimit() {
    return furnitureCountLimit_;
  }

  public static final int WEAPON_COUNT_LIMIT_FIELD_NUMBER = 1;
  private int weaponCountLimit_;
  /**
   * <code>uint32 weapon_count_limit = 1;</code>
   * @return The weaponCountLimit.
   */
  @java.lang.Override
  public int getWeaponCountLimit() {
    return weaponCountLimit_;
  }

  public static final int STORE_TYPE_FIELD_NUMBER = 8;
  private int storeType_;
  /**
   * <code>.StoreType store_type = 8;</code>
   * @return The enum numeric value on the wire for storeType.
   */
  @java.lang.Override public int getStoreTypeValue() {
    return storeType_;
  }
  /**
   * <code>.StoreType store_type = 8;</code>
   * @return The storeType.
   */
  @java.lang.Override public io.grasscutter.net.proto.define.StoreType getStoreType() {
    @SuppressWarnings("deprecation")
    io.grasscutter.net.proto.define.StoreType result = io.grasscutter.net.proto.define.StoreType.valueOf(storeType_);
    return result == null ? io.grasscutter.net.proto.define.StoreType.UNRECOGNIZED : result;
  }

  public static final int RELIQUARY_COUNT_LIMIT_FIELD_NUMBER = 13;
  private int reliquaryCountLimit_;
  /**
   * <code>uint32 reliquary_count_limit = 13;</code>
   * @return The reliquaryCountLimit.
   */
  @java.lang.Override
  public int getReliquaryCountLimit() {
    return reliquaryCountLimit_;
  }

  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 (weaponCountLimit_ != 0) {
      output.writeUInt32(1, weaponCountLimit_);
    }
    if (weightLimit_ != 0) {
      output.writeUInt32(3, weightLimit_);
    }
    if (storeType_ != io.grasscutter.net.proto.define.StoreType.StoreType_STORE_NONE.getNumber()) {
      output.writeEnum(8, storeType_);
    }
    if (materialCountLimit_ != 0) {
      output.writeUInt32(11, materialCountLimit_);
    }
    if (reliquaryCountLimit_ != 0) {
      output.writeUInt32(13, reliquaryCountLimit_);
    }
    if (furnitureCountLimit_ != 0) {
      output.writeUInt32(14, furnitureCountLimit_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (weaponCountLimit_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(1, weaponCountLimit_);
    }
    if (weightLimit_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(3, weightLimit_);
    }
    if (storeType_ != io.grasscutter.net.proto.define.StoreType.StoreType_STORE_NONE.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(8, storeType_);
    }
    if (materialCountLimit_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(11, materialCountLimit_);
    }
    if (reliquaryCountLimit_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(13, reliquaryCountLimit_);
    }
    if (furnitureCountLimit_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(14, furnitureCountLimit_);
    }
    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 io.grasscutter.net.proto.item.StoreWeightLimitNotify)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.item.StoreWeightLimitNotify other = (io.grasscutter.net.proto.item.StoreWeightLimitNotify) obj;

    if (getWeightLimit()
        != other.getWeightLimit()) return false;
    if (getMaterialCountLimit()
        != other.getMaterialCountLimit()) return false;
    if (getFurnitureCountLimit()
        != other.getFurnitureCountLimit()) return false;
    if (getWeaponCountLimit()
        != other.getWeaponCountLimit()) return false;
    if (storeType_ != other.storeType_) return false;
    if (getReliquaryCountLimit()
        != other.getReliquaryCountLimit()) 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) + WEIGHT_LIMIT_FIELD_NUMBER;
    hash = (53 * hash) + getWeightLimit();
    hash = (37 * hash) + MATERIAL_COUNT_LIMIT_FIELD_NUMBER;
    hash = (53 * hash) + getMaterialCountLimit();
    hash = (37 * hash) + FURNITURE_COUNT_LIMIT_FIELD_NUMBER;
    hash = (53 * hash) + getFurnitureCountLimit();
    hash = (37 * hash) + WEAPON_COUNT_LIMIT_FIELD_NUMBER;
    hash = (53 * hash) + getWeaponCountLimit();
    hash = (37 * hash) + STORE_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + storeType_;
    hash = (37 * hash) + RELIQUARY_COUNT_LIMIT_FIELD_NUMBER;
    hash = (53 * hash) + getReliquaryCountLimit();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify 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 io.grasscutter.net.proto.item.StoreWeightLimitNotify parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify 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 io.grasscutter.net.proto.item.StoreWeightLimitNotify parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify 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(io.grasscutter.net.proto.item.StoreWeightLimitNotify prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * CmdId: 29185
   * </pre>
   *
   * Protobuf type {@code StoreWeightLimitNotify}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:StoreWeightLimitNotify)
      io.grasscutter.net.proto.item.StoreWeightLimitNotifyOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.item.Item.internal_static_StoreWeightLimitNotify_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.item.Item.internal_static_StoreWeightLimitNotify_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.item.StoreWeightLimitNotify.class, io.grasscutter.net.proto.item.StoreWeightLimitNotify.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.item.StoreWeightLimitNotify.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

      materialCountLimit_ = 0;

      furnitureCountLimit_ = 0;

      weaponCountLimit_ = 0;

      storeType_ = 0;

      reliquaryCountLimit_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.item.Item.internal_static_StoreWeightLimitNotify_descriptor;
    }

    @java.lang.Override
    public io.grasscutter.net.proto.item.StoreWeightLimitNotify getDefaultInstanceForType() {
      return io.grasscutter.net.proto.item.StoreWeightLimitNotify.getDefaultInstance();
    }

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

    @java.lang.Override
    public io.grasscutter.net.proto.item.StoreWeightLimitNotify buildPartial() {
      io.grasscutter.net.proto.item.StoreWeightLimitNotify result = new io.grasscutter.net.proto.item.StoreWeightLimitNotify(this);
      result.weightLimit_ = weightLimit_;
      result.materialCountLimit_ = materialCountLimit_;
      result.furnitureCountLimit_ = furnitureCountLimit_;
      result.weaponCountLimit_ = weaponCountLimit_;
      result.storeType_ = storeType_;
      result.reliquaryCountLimit_ = reliquaryCountLimit_;
      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 io.grasscutter.net.proto.item.StoreWeightLimitNotify) {
        return mergeFrom((io.grasscutter.net.proto.item.StoreWeightLimitNotify)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.item.StoreWeightLimitNotify other) {
      if (other == io.grasscutter.net.proto.item.StoreWeightLimitNotify.getDefaultInstance()) return this;
      if (other.getWeightLimit() != 0) {
        setWeightLimit(other.getWeightLimit());
      }
      if (other.getMaterialCountLimit() != 0) {
        setMaterialCountLimit(other.getMaterialCountLimit());
      }
      if (other.getFurnitureCountLimit() != 0) {
        setFurnitureCountLimit(other.getFurnitureCountLimit());
      }
      if (other.getWeaponCountLimit() != 0) {
        setWeaponCountLimit(other.getWeaponCountLimit());
      }
      if (other.storeType_ != 0) {
        setStoreTypeValue(other.getStoreTypeValue());
      }
      if (other.getReliquaryCountLimit() != 0) {
        setReliquaryCountLimit(other.getReliquaryCountLimit());
      }
      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 {
      io.grasscutter.net.proto.item.StoreWeightLimitNotify parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.item.StoreWeightLimitNotify) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int weightLimit_ ;
    /**
     * <code>uint32 weight_limit = 3;</code>
     * @return The weightLimit.
     */
    @java.lang.Override
    public int getWeightLimit() {
      return weightLimit_;
    }
    /**
     * <code>uint32 weight_limit = 3;</code>
     * @param value The weightLimit to set.
     * @return This builder for chaining.
     */
    public Builder setWeightLimit(int value) {
      
      weightLimit_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 weight_limit = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearWeightLimit() {
      
      weightLimit_ = 0;
      onChanged();
      return this;
    }

    private int materialCountLimit_ ;
    /**
     * <code>uint32 material_count_limit = 11;</code>
     * @return The materialCountLimit.
     */
    @java.lang.Override
    public int getMaterialCountLimit() {
      return materialCountLimit_;
    }
    /**
     * <code>uint32 material_count_limit = 11;</code>
     * @param value The materialCountLimit to set.
     * @return This builder for chaining.
     */
    public Builder setMaterialCountLimit(int value) {
      
      materialCountLimit_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 material_count_limit = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearMaterialCountLimit() {
      
      materialCountLimit_ = 0;
      onChanged();
      return this;
    }

    private int furnitureCountLimit_ ;
    /**
     * <code>uint32 furniture_count_limit = 14;</code>
     * @return The furnitureCountLimit.
     */
    @java.lang.Override
    public int getFurnitureCountLimit() {
      return furnitureCountLimit_;
    }
    /**
     * <code>uint32 furniture_count_limit = 14;</code>
     * @param value The furnitureCountLimit to set.
     * @return This builder for chaining.
     */
    public Builder setFurnitureCountLimit(int value) {
      
      furnitureCountLimit_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 furniture_count_limit = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearFurnitureCountLimit() {
      
      furnitureCountLimit_ = 0;
      onChanged();
      return this;
    }

    private int weaponCountLimit_ ;
    /**
     * <code>uint32 weapon_count_limit = 1;</code>
     * @return The weaponCountLimit.
     */
    @java.lang.Override
    public int getWeaponCountLimit() {
      return weaponCountLimit_;
    }
    /**
     * <code>uint32 weapon_count_limit = 1;</code>
     * @param value The weaponCountLimit to set.
     * @return This builder for chaining.
     */
    public Builder setWeaponCountLimit(int value) {
      
      weaponCountLimit_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 weapon_count_limit = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearWeaponCountLimit() {
      
      weaponCountLimit_ = 0;
      onChanged();
      return this;
    }

    private int storeType_ = 0;
    /**
     * <code>.StoreType store_type = 8;</code>
     * @return The enum numeric value on the wire for storeType.
     */
    @java.lang.Override public int getStoreTypeValue() {
      return storeType_;
    }
    /**
     * <code>.StoreType store_type = 8;</code>
     * @param value The enum numeric value on the wire for storeType to set.
     * @return This builder for chaining.
     */
    public Builder setStoreTypeValue(int value) {
      
      storeType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>.StoreType store_type = 8;</code>
     * @return The storeType.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.define.StoreType getStoreType() {
      @SuppressWarnings("deprecation")
      io.grasscutter.net.proto.define.StoreType result = io.grasscutter.net.proto.define.StoreType.valueOf(storeType_);
      return result == null ? io.grasscutter.net.proto.define.StoreType.UNRECOGNIZED : result;
    }
    /**
     * <code>.StoreType store_type = 8;</code>
     * @param value The storeType to set.
     * @return This builder for chaining.
     */
    public Builder setStoreType(io.grasscutter.net.proto.define.StoreType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      storeType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.StoreType store_type = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearStoreType() {
      
      storeType_ = 0;
      onChanged();
      return this;
    }

    private int reliquaryCountLimit_ ;
    /**
     * <code>uint32 reliquary_count_limit = 13;</code>
     * @return The reliquaryCountLimit.
     */
    @java.lang.Override
    public int getReliquaryCountLimit() {
      return reliquaryCountLimit_;
    }
    /**
     * <code>uint32 reliquary_count_limit = 13;</code>
     * @param value The reliquaryCountLimit to set.
     * @return This builder for chaining.
     */
    public Builder setReliquaryCountLimit(int value) {
      
      reliquaryCountLimit_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 reliquary_count_limit = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearReliquaryCountLimit() {
      
      reliquaryCountLimit_ = 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:StoreWeightLimitNotify)
  }

  // @@protoc_insertion_point(class_scope:StoreWeightLimitNotify)
  private static final io.grasscutter.net.proto.item.StoreWeightLimitNotify DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.item.StoreWeightLimitNotify();
  }

  public static io.grasscutter.net.proto.item.StoreWeightLimitNotify getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public io.grasscutter.net.proto.item.StoreWeightLimitNotify getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

