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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
     * @return A list containing the foodReliquaryGuidList.
     */
    java.util.List<java.lang.Long> getFoodReliquaryGuidListList();
    /**
     * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
     * @return The count of foodReliquaryGuidList.
     */
    int getFoodReliquaryGuidListCount();
    /**
     * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
     * @param index The index of the element to return.
     * @return The foodReliquaryGuidList at the given index.
     */
    long getFoodReliquaryGuidList(int index);

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

    /**
     * <code>uint64 target_reliquary_guid = 8;</code>
     * @return The targetReliquaryGuid.
     */
    long getTargetReliquaryGuid();
  }
  /**
   * <pre>
   * enum CmdId {
   *   option allow_alias = true;
   *   NONE = 0;
   *   CMD_ID = 644;
   *   ENET_CHANNEL_ID = 0;
   *   ENET_IS_RELIABLE = 1;
   *   IS_ALLOW_CLIENT = 1;
   * }
   * </pre>
   *
   * Protobuf type {@code ReliquaryUpgradeReq}
   */
  public static final class ReliquaryUpgradeReq extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ReliquaryUpgradeReq)
      ReliquaryUpgradeReqOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ReliquaryUpgradeReq.newBuilder() to construct.
    private ReliquaryUpgradeReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ReliquaryUpgradeReq() {
      foodReliquaryGuidList_ = emptyLongList();
      itemParamList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ReliquaryUpgradeReq(
        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 24: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                foodReliquaryGuidList_ = newLongList();
                mutable_bitField0_ |= 0x00000001;
              }
              foodReliquaryGuidList_.addLong(input.readUInt64());
              break;
            }
            case 26: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                foodReliquaryGuidList_ = newLongList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                foodReliquaryGuidList_.addLong(input.readUInt64());
              }
              input.popLimit(limit);
              break;
            }
            case 64: {

              targetReliquaryGuid_ = input.readUInt64();
              break;
            }
            case 122: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                itemParamList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
                mutable_bitField0_ |= 0x00000002;
              }
              itemParamList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
              break;
            }
            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)) {
          foodReliquaryGuidList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          itemParamList_ = java.util.Collections.unmodifiableList(itemParamList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.internal_static_ReliquaryUpgradeReq_descriptor;
    }

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

    public static final int FOOD_RELIQUARY_GUID_LIST_FIELD_NUMBER = 3;
    private com.google.protobuf.Internal.LongList foodReliquaryGuidList_;
    /**
     * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
     * @return A list containing the foodReliquaryGuidList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Long>
        getFoodReliquaryGuidListList() {
      return foodReliquaryGuidList_;
    }
    /**
     * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
     * @return The count of foodReliquaryGuidList.
     */
    public int getFoodReliquaryGuidListCount() {
      return foodReliquaryGuidList_.size();
    }
    /**
     * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
     * @param index The index of the element to return.
     * @return The foodReliquaryGuidList at the given index.
     */
    public long getFoodReliquaryGuidList(int index) {
      return foodReliquaryGuidList_.getLong(index);
    }
    private int foodReliquaryGuidListMemoizedSerializedSize = -1;

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

    public static final int TARGET_RELIQUARY_GUID_FIELD_NUMBER = 8;
    private long targetReliquaryGuid_;
    /**
     * <code>uint64 target_reliquary_guid = 8;</code>
     * @return The targetReliquaryGuid.
     */
    @java.lang.Override
    public long getTargetReliquaryGuid() {
      return targetReliquaryGuid_;
    }

    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 (getFoodReliquaryGuidListList().size() > 0) {
        output.writeUInt32NoTag(26);
        output.writeUInt32NoTag(foodReliquaryGuidListMemoizedSerializedSize);
      }
      for (int i = 0; i < foodReliquaryGuidList_.size(); i++) {
        output.writeUInt64NoTag(foodReliquaryGuidList_.getLong(i));
      }
      if (targetReliquaryGuid_ != 0L) {
        output.writeUInt64(8, targetReliquaryGuid_);
      }
      for (int i = 0; i < itemParamList_.size(); i++) {
        output.writeMessage(15, itemParamList_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < foodReliquaryGuidList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt64SizeNoTag(foodReliquaryGuidList_.getLong(i));
        }
        size += dataSize;
        if (!getFoodReliquaryGuidListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        foodReliquaryGuidListMemoizedSerializedSize = dataSize;
      }
      if (targetReliquaryGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(8, targetReliquaryGuid_);
      }
      for (int i = 0; i < itemParamList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, itemParamList_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq other = (emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq) obj;

      if (!getFoodReliquaryGuidListList()
          .equals(other.getFoodReliquaryGuidListList())) return false;
      if (!getItemParamListList()
          .equals(other.getItemParamListList())) return false;
      if (getTargetReliquaryGuid()
          != other.getTargetReliquaryGuid()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getFoodReliquaryGuidListCount() > 0) {
        hash = (37 * hash) + FOOD_RELIQUARY_GUID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getFoodReliquaryGuidListList().hashCode();
      }
      if (getItemParamListCount() > 0) {
        hash = (37 * hash) + ITEM_PARAM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getItemParamListList().hashCode();
      }
      hash = (37 * hash) + TARGET_RELIQUARY_GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTargetReliquaryGuid());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq 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.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq 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.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq 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.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq 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.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq 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.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq 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>
     * enum CmdId {
     *   option allow_alias = true;
     *   NONE = 0;
     *   CMD_ID = 644;
     *   ENET_CHANNEL_ID = 0;
     *   ENET_IS_RELIABLE = 1;
     *   IS_ALLOW_CLIENT = 1;
     * }
     * </pre>
     *
     * Protobuf type {@code ReliquaryUpgradeReq}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ReliquaryUpgradeReq)
        emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReqOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.internal_static_ReliquaryUpgradeReq_descriptor;
      }

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getItemParamListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        foodReliquaryGuidList_ = emptyLongList();
        bitField0_ = (bitField0_ & ~0x00000001);
        if (itemParamListBuilder_ == null) {
          itemParamList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          itemParamListBuilder_.clear();
        }
        targetReliquaryGuid_ = 0L;

        return this;
      }

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

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

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

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

      public Builder mergeFrom(emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq other) {
        if (other == emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq.getDefaultInstance()) return this;
        if (!other.foodReliquaryGuidList_.isEmpty()) {
          if (foodReliquaryGuidList_.isEmpty()) {
            foodReliquaryGuidList_ = other.foodReliquaryGuidList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureFoodReliquaryGuidListIsMutable();
            foodReliquaryGuidList_.addAll(other.foodReliquaryGuidList_);
          }
          onChanged();
        }
        if (itemParamListBuilder_ == null) {
          if (!other.itemParamList_.isEmpty()) {
            if (itemParamList_.isEmpty()) {
              itemParamList_ = other.itemParamList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureItemParamListIsMutable();
              itemParamList_.addAll(other.itemParamList_);
            }
            onChanged();
          }
        } else {
          if (!other.itemParamList_.isEmpty()) {
            if (itemParamListBuilder_.isEmpty()) {
              itemParamListBuilder_.dispose();
              itemParamListBuilder_ = null;
              itemParamList_ = other.itemParamList_;
              bitField0_ = (bitField0_ & ~0x00000002);
              itemParamListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getItemParamListFieldBuilder() : null;
            } else {
              itemParamListBuilder_.addAllMessages(other.itemParamList_);
            }
          }
        }
        if (other.getTargetReliquaryGuid() != 0L) {
          setTargetReliquaryGuid(other.getTargetReliquaryGuid());
        }
        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.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.Internal.LongList foodReliquaryGuidList_ = emptyLongList();
      private void ensureFoodReliquaryGuidListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          foodReliquaryGuidList_ = mutableCopy(foodReliquaryGuidList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
       * @return A list containing the foodReliquaryGuidList.
       */
      public java.util.List<java.lang.Long>
          getFoodReliquaryGuidListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(foodReliquaryGuidList_) : foodReliquaryGuidList_;
      }
      /**
       * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
       * @return The count of foodReliquaryGuidList.
       */
      public int getFoodReliquaryGuidListCount() {
        return foodReliquaryGuidList_.size();
      }
      /**
       * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
       * @param index The index of the element to return.
       * @return The foodReliquaryGuidList at the given index.
       */
      public long getFoodReliquaryGuidList(int index) {
        return foodReliquaryGuidList_.getLong(index);
      }
      /**
       * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
       * @param index The index to set the value at.
       * @param value The foodReliquaryGuidList to set.
       * @return This builder for chaining.
       */
      public Builder setFoodReliquaryGuidList(
          int index, long value) {
        ensureFoodReliquaryGuidListIsMutable();
        foodReliquaryGuidList_.setLong(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
       * @param value The foodReliquaryGuidList to add.
       * @return This builder for chaining.
       */
      public Builder addFoodReliquaryGuidList(long value) {
        ensureFoodReliquaryGuidListIsMutable();
        foodReliquaryGuidList_.addLong(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
       * @param values The foodReliquaryGuidList to add.
       * @return This builder for chaining.
       */
      public Builder addAllFoodReliquaryGuidList(
          java.lang.Iterable<? extends java.lang.Long> values) {
        ensureFoodReliquaryGuidListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, foodReliquaryGuidList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint64 food_reliquary_guid_list = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearFoodReliquaryGuidList() {
        foodReliquaryGuidList_ = emptyLongList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

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

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

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

      private long targetReliquaryGuid_ ;
      /**
       * <code>uint64 target_reliquary_guid = 8;</code>
       * @return The targetReliquaryGuid.
       */
      @java.lang.Override
      public long getTargetReliquaryGuid() {
        return targetReliquaryGuid_;
      }
      /**
       * <code>uint64 target_reliquary_guid = 8;</code>
       * @param value The targetReliquaryGuid to set.
       * @return This builder for chaining.
       */
      public Builder setTargetReliquaryGuid(long value) {
        
        targetReliquaryGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 target_reliquary_guid = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearTargetReliquaryGuid() {
        
        targetReliquaryGuid_ = 0L;
        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:ReliquaryUpgradeReq)
    }

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

    public static emu.grasscutter.net.proto.ReliquaryUpgradeReqOuterClass.ReliquaryUpgradeReq getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ReliquaryUpgradeReq_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ReliquaryUpgradeReq_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\031ReliquaryUpgradeReq.proto\032\017ItemParam.p" +
      "roto\"{\n\023ReliquaryUpgradeReq\022 \n\030food_reli" +
      "quary_guid_list\030\003 \003(\004\022#\n\017item_param_list" +
      "\030\017 \003(\0132\n.ItemParam\022\035\n\025target_reliquary_g" +
      "uid\030\010 \001(\004B\033\n\031emu.grasscutter.net.protob\006" +
      "proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor(),
        });
    internal_static_ReliquaryUpgradeReq_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ReliquaryUpgradeReq_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ReliquaryUpgradeReq_descriptor,
        new java.lang.String[] { "FoodReliquaryGuidList", "ItemParamList", "TargetReliquaryGuid", });
    emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
