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

package emu.grasscutter.net.proto;

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

    /**
     * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
     * @return The enum numeric value on the wire for manipulateType.
     */
    int getManipulateTypeValue();
    /**
     * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
     * @return The manipulateType.
     */
    emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType getManipulateType();

    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
        getExtraOutputItemListList();
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getExtraOutputItemList(int index);
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    int getExtraOutputItemListCount();
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getExtraOutputItemListOrBuilderList();
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getExtraOutputItemListOrBuilder(
        int index);

    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
        getReturnItemListList();
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getReturnItemList(int index);
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    int getReturnItemListCount();
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getReturnItemListOrBuilderList();
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getReturnItemListOrBuilder(
        int index);

    /**
     * <code>int32 retcode = 1;</code>
     * @return The retcode.
     */
    int getRetcode();

    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> 
        getOutputItemListList();
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getOutputItemList(int index);
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    int getOutputItemListCount();
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getOutputItemListOrBuilderList();
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getOutputItemListOrBuilder(
        int index);
  }
  /**
   * <pre>
   * CmdId: 656
   * EnetChannelId: 0
   * EnetIsReliable: false
   * IsAllowClient: true
   * </pre>
   *
   * Protobuf type {@code ForgeQueueManipulateRsp}
   */
  public static final class ForgeQueueManipulateRsp extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ForgeQueueManipulateRsp)
      ForgeQueueManipulateRspOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ForgeQueueManipulateRsp.newBuilder() to construct.
    private ForgeQueueManipulateRsp(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ForgeQueueManipulateRsp() {
      manipulateType_ = 0;
      extraOutputItemList_ = java.util.Collections.emptyList();
      returnItemList_ = java.util.Collections.emptyList();
      outputItemList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ForgeQueueManipulateRsp(
        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: {

              retcode_ = input.readInt32();
              break;
            }
            case 32: {
              int rawValue = input.readEnum();

              manipulateType_ = rawValue;
              break;
            }
            case 74: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                outputItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
                mutable_bitField0_ |= 0x00000004;
              }
              outputItemList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
              break;
            }
            case 82: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                returnItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
                mutable_bitField0_ |= 0x00000002;
              }
              returnItemList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
              break;
            }
            case 106: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                extraOutputItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>();
                mutable_bitField0_ |= 0x00000001;
              }
              extraOutputItemList_.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_ & 0x00000004) != 0)) {
          outputItemList_ = java.util.Collections.unmodifiableList(outputItemList_);
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          returnItemList_ = java.util.Collections.unmodifiableList(returnItemList_);
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          extraOutputItemList_ = java.util.Collections.unmodifiableList(extraOutputItemList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.internal_static_ForgeQueueManipulateRsp_descriptor;
    }

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

    public static final int MANIPULATE_TYPE_FIELD_NUMBER = 4;
    private int manipulateType_;
    /**
     * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
     * @return The enum numeric value on the wire for manipulateType.
     */
    @java.lang.Override public int getManipulateTypeValue() {
      return manipulateType_;
    }
    /**
     * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
     * @return The manipulateType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType getManipulateType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType result = emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType.valueOf(manipulateType_);
      return result == null ? emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType.UNRECOGNIZED : result;
    }

    public static final int EXTRA_OUTPUT_ITEM_LIST_FIELD_NUMBER = 13;
    private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> extraOutputItemList_;
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getExtraOutputItemListList() {
      return extraOutputItemList_;
    }
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getExtraOutputItemListOrBuilderList() {
      return extraOutputItemList_;
    }
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    @java.lang.Override
    public int getExtraOutputItemListCount() {
      return extraOutputItemList_.size();
    }
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getExtraOutputItemList(int index) {
      return extraOutputItemList_.get(index);
    }
    /**
     * <code>repeated .ItemParam extra_output_item_list = 13;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getExtraOutputItemListOrBuilder(
        int index) {
      return extraOutputItemList_.get(index);
    }

    public static final int RETURN_ITEM_LIST_FIELD_NUMBER = 10;
    private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> returnItemList_;
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getReturnItemListList() {
      return returnItemList_;
    }
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getReturnItemListOrBuilderList() {
      return returnItemList_;
    }
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    @java.lang.Override
    public int getReturnItemListCount() {
      return returnItemList_.size();
    }
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getReturnItemList(int index) {
      return returnItemList_.get(index);
    }
    /**
     * <code>repeated .ItemParam return_item_list = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getReturnItemListOrBuilder(
        int index) {
      return returnItemList_.get(index);
    }

    public static final int RETCODE_FIELD_NUMBER = 1;
    private int retcode_;
    /**
     * <code>int32 retcode = 1;</code>
     * @return The retcode.
     */
    @java.lang.Override
    public int getRetcode() {
      return retcode_;
    }

    public static final int OUTPUT_ITEM_LIST_FIELD_NUMBER = 9;
    private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> outputItemList_;
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getOutputItemListList() {
      return outputItemList_;
    }
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
        getOutputItemListOrBuilderList() {
      return outputItemList_;
    }
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    @java.lang.Override
    public int getOutputItemListCount() {
      return outputItemList_.size();
    }
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getOutputItemList(int index) {
      return outputItemList_.get(index);
    }
    /**
     * <code>repeated .ItemParam output_item_list = 9;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getOutputItemListOrBuilder(
        int index) {
      return outputItemList_.get(index);
    }

    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 (retcode_ != 0) {
        output.writeInt32(1, retcode_);
      }
      if (manipulateType_ != emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType.FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT.getNumber()) {
        output.writeEnum(4, manipulateType_);
      }
      for (int i = 0; i < outputItemList_.size(); i++) {
        output.writeMessage(9, outputItemList_.get(i));
      }
      for (int i = 0; i < returnItemList_.size(); i++) {
        output.writeMessage(10, returnItemList_.get(i));
      }
      for (int i = 0; i < extraOutputItemList_.size(); i++) {
        output.writeMessage(13, extraOutputItemList_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (retcode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, retcode_);
      }
      if (manipulateType_ != emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType.FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(4, manipulateType_);
      }
      for (int i = 0; i < outputItemList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, outputItemList_.get(i));
      }
      for (int i = 0; i < returnItemList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, returnItemList_.get(i));
      }
      for (int i = 0; i < extraOutputItemList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, extraOutputItemList_.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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp other = (emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp) obj;

      if (manipulateType_ != other.manipulateType_) return false;
      if (!getExtraOutputItemListList()
          .equals(other.getExtraOutputItemListList())) return false;
      if (!getReturnItemListList()
          .equals(other.getReturnItemListList())) return false;
      if (getRetcode()
          != other.getRetcode()) return false;
      if (!getOutputItemListList()
          .equals(other.getOutputItemListList())) 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) + MANIPULATE_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + manipulateType_;
      if (getExtraOutputItemListCount() > 0) {
        hash = (37 * hash) + EXTRA_OUTPUT_ITEM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getExtraOutputItemListList().hashCode();
      }
      if (getReturnItemListCount() > 0) {
        hash = (37 * hash) + RETURN_ITEM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getReturnItemListList().hashCode();
      }
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      if (getOutputItemListCount() > 0) {
        hash = (37 * hash) + OUTPUT_ITEM_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getOutputItemListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp 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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp 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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp 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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp 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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp 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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp 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: 656
     * EnetChannelId: 0
     * EnetIsReliable: false
     * IsAllowClient: true
     * </pre>
     *
     * Protobuf type {@code ForgeQueueManipulateRsp}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ForgeQueueManipulateRsp)
        emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRspOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.internal_static_ForgeQueueManipulateRsp_descriptor;
      }

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

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

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

        if (extraOutputItemListBuilder_ == null) {
          extraOutputItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          extraOutputItemListBuilder_.clear();
        }
        if (returnItemListBuilder_ == null) {
          returnItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          returnItemListBuilder_.clear();
        }
        retcode_ = 0;

        if (outputItemListBuilder_ == null) {
          outputItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          outputItemListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp buildPartial() {
        emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp result = new emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp(this);
        int from_bitField0_ = bitField0_;
        result.manipulateType_ = manipulateType_;
        if (extraOutputItemListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            extraOutputItemList_ = java.util.Collections.unmodifiableList(extraOutputItemList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.extraOutputItemList_ = extraOutputItemList_;
        } else {
          result.extraOutputItemList_ = extraOutputItemListBuilder_.build();
        }
        if (returnItemListBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            returnItemList_ = java.util.Collections.unmodifiableList(returnItemList_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.returnItemList_ = returnItemList_;
        } else {
          result.returnItemList_ = returnItemListBuilder_.build();
        }
        result.retcode_ = retcode_;
        if (outputItemListBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            outputItemList_ = java.util.Collections.unmodifiableList(outputItemList_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.outputItemList_ = outputItemList_;
        } else {
          result.outputItemList_ = outputItemListBuilder_.build();
        }
        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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp) {
          return mergeFrom((emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp other) {
        if (other == emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp.getDefaultInstance()) return this;
        if (other.manipulateType_ != 0) {
          setManipulateTypeValue(other.getManipulateTypeValue());
        }
        if (extraOutputItemListBuilder_ == null) {
          if (!other.extraOutputItemList_.isEmpty()) {
            if (extraOutputItemList_.isEmpty()) {
              extraOutputItemList_ = other.extraOutputItemList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureExtraOutputItemListIsMutable();
              extraOutputItemList_.addAll(other.extraOutputItemList_);
            }
            onChanged();
          }
        } else {
          if (!other.extraOutputItemList_.isEmpty()) {
            if (extraOutputItemListBuilder_.isEmpty()) {
              extraOutputItemListBuilder_.dispose();
              extraOutputItemListBuilder_ = null;
              extraOutputItemList_ = other.extraOutputItemList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              extraOutputItemListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getExtraOutputItemListFieldBuilder() : null;
            } else {
              extraOutputItemListBuilder_.addAllMessages(other.extraOutputItemList_);
            }
          }
        }
        if (returnItemListBuilder_ == null) {
          if (!other.returnItemList_.isEmpty()) {
            if (returnItemList_.isEmpty()) {
              returnItemList_ = other.returnItemList_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureReturnItemListIsMutable();
              returnItemList_.addAll(other.returnItemList_);
            }
            onChanged();
          }
        } else {
          if (!other.returnItemList_.isEmpty()) {
            if (returnItemListBuilder_.isEmpty()) {
              returnItemListBuilder_.dispose();
              returnItemListBuilder_ = null;
              returnItemList_ = other.returnItemList_;
              bitField0_ = (bitField0_ & ~0x00000002);
              returnItemListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getReturnItemListFieldBuilder() : null;
            } else {
              returnItemListBuilder_.addAllMessages(other.returnItemList_);
            }
          }
        }
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (outputItemListBuilder_ == null) {
          if (!other.outputItemList_.isEmpty()) {
            if (outputItemList_.isEmpty()) {
              outputItemList_ = other.outputItemList_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureOutputItemListIsMutable();
              outputItemList_.addAll(other.outputItemList_);
            }
            onChanged();
          }
        } else {
          if (!other.outputItemList_.isEmpty()) {
            if (outputItemListBuilder_.isEmpty()) {
              outputItemListBuilder_.dispose();
              outputItemListBuilder_ = null;
              outputItemList_ = other.outputItemList_;
              bitField0_ = (bitField0_ & ~0x00000004);
              outputItemListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getOutputItemListFieldBuilder() : null;
            } else {
              outputItemListBuilder_.addAllMessages(other.outputItemList_);
            }
          }
        }
        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.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int manipulateType_ = 0;
      /**
       * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
       * @return The enum numeric value on the wire for manipulateType.
       */
      @java.lang.Override public int getManipulateTypeValue() {
        return manipulateType_;
      }
      /**
       * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
       * @param value The enum numeric value on the wire for manipulateType to set.
       * @return This builder for chaining.
       */
      public Builder setManipulateTypeValue(int value) {
        
        manipulateType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
       * @return The manipulateType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType getManipulateType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType result = emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType.valueOf(manipulateType_);
        return result == null ? emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType.UNRECOGNIZED : result;
      }
      /**
       * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
       * @param value The manipulateType to set.
       * @return This builder for chaining.
       */
      public Builder setManipulateType(emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.ForgeQueueManipulateType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        manipulateType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.ForgeQueueManipulateType manipulate_type = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearManipulateType() {
        
        manipulateType_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> extraOutputItemList_ =
        java.util.Collections.emptyList();
      private void ensureExtraOutputItemListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          extraOutputItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>(extraOutputItemList_);
          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> extraOutputItemListBuilder_;

      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getExtraOutputItemListList() {
        if (extraOutputItemListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(extraOutputItemList_);
        } else {
          return extraOutputItemListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public int getExtraOutputItemListCount() {
        if (extraOutputItemListBuilder_ == null) {
          return extraOutputItemList_.size();
        } else {
          return extraOutputItemListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getExtraOutputItemList(int index) {
        if (extraOutputItemListBuilder_ == null) {
          return extraOutputItemList_.get(index);
        } else {
          return extraOutputItemListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder setExtraOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (extraOutputItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExtraOutputItemListIsMutable();
          extraOutputItemList_.set(index, value);
          onChanged();
        } else {
          extraOutputItemListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder setExtraOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (extraOutputItemListBuilder_ == null) {
          ensureExtraOutputItemListIsMutable();
          extraOutputItemList_.set(index, builderForValue.build());
          onChanged();
        } else {
          extraOutputItemListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder addExtraOutputItemList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (extraOutputItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExtraOutputItemListIsMutable();
          extraOutputItemList_.add(value);
          onChanged();
        } else {
          extraOutputItemListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder addExtraOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (extraOutputItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureExtraOutputItemListIsMutable();
          extraOutputItemList_.add(index, value);
          onChanged();
        } else {
          extraOutputItemListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder addExtraOutputItemList(
          emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (extraOutputItemListBuilder_ == null) {
          ensureExtraOutputItemListIsMutable();
          extraOutputItemList_.add(builderForValue.build());
          onChanged();
        } else {
          extraOutputItemListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder addExtraOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (extraOutputItemListBuilder_ == null) {
          ensureExtraOutputItemListIsMutable();
          extraOutputItemList_.add(index, builderForValue.build());
          onChanged();
        } else {
          extraOutputItemListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder addAllExtraOutputItemList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
        if (extraOutputItemListBuilder_ == null) {
          ensureExtraOutputItemListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, extraOutputItemList_);
          onChanged();
        } else {
          extraOutputItemListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder clearExtraOutputItemList() {
        if (extraOutputItemListBuilder_ == null) {
          extraOutputItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          extraOutputItemListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public Builder removeExtraOutputItemList(int index) {
        if (extraOutputItemListBuilder_ == null) {
          ensureExtraOutputItemListIsMutable();
          extraOutputItemList_.remove(index);
          onChanged();
        } else {
          extraOutputItemListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getExtraOutputItemListBuilder(
          int index) {
        return getExtraOutputItemListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getExtraOutputItemListOrBuilder(
          int index) {
        if (extraOutputItemListBuilder_ == null) {
          return extraOutputItemList_.get(index);  } else {
          return extraOutputItemListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
           getExtraOutputItemListOrBuilderList() {
        if (extraOutputItemListBuilder_ != null) {
          return extraOutputItemListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(extraOutputItemList_);
        }
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addExtraOutputItemListBuilder() {
        return getExtraOutputItemListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addExtraOutputItemListBuilder(
          int index) {
        return getExtraOutputItemListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam extra_output_item_list = 13;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder> 
           getExtraOutputItemListBuilderList() {
        return getExtraOutputItemListFieldBuilder().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> 
          getExtraOutputItemListFieldBuilder() {
        if (extraOutputItemListBuilder_ == null) {
          extraOutputItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                  extraOutputItemList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          extraOutputItemList_ = null;
        }
        return extraOutputItemListBuilder_;
      }

      private java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> returnItemList_ =
        java.util.Collections.emptyList();
      private void ensureReturnItemListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          returnItemList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam>(returnItemList_);
          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> returnItemListBuilder_;

      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getReturnItemListList() {
        if (returnItemListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(returnItemList_);
        } else {
          return returnItemListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public int getReturnItemListCount() {
        if (returnItemListBuilder_ == null) {
          return returnItemList_.size();
        } else {
          return returnItemListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getReturnItemList(int index) {
        if (returnItemListBuilder_ == null) {
          return returnItemList_.get(index);
        } else {
          return returnItemListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder setReturnItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (returnItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureReturnItemListIsMutable();
          returnItemList_.set(index, value);
          onChanged();
        } else {
          returnItemListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder setReturnItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (returnItemListBuilder_ == null) {
          ensureReturnItemListIsMutable();
          returnItemList_.set(index, builderForValue.build());
          onChanged();
        } else {
          returnItemListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder addReturnItemList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (returnItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureReturnItemListIsMutable();
          returnItemList_.add(value);
          onChanged();
        } else {
          returnItemListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder addReturnItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (returnItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureReturnItemListIsMutable();
          returnItemList_.add(index, value);
          onChanged();
        } else {
          returnItemListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder addReturnItemList(
          emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (returnItemListBuilder_ == null) {
          ensureReturnItemListIsMutable();
          returnItemList_.add(builderForValue.build());
          onChanged();
        } else {
          returnItemListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder addReturnItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (returnItemListBuilder_ == null) {
          ensureReturnItemListIsMutable();
          returnItemList_.add(index, builderForValue.build());
          onChanged();
        } else {
          returnItemListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder addAllReturnItemList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
        if (returnItemListBuilder_ == null) {
          ensureReturnItemListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, returnItemList_);
          onChanged();
        } else {
          returnItemListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder clearReturnItemList() {
        if (returnItemListBuilder_ == null) {
          returnItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          returnItemListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public Builder removeReturnItemList(int index) {
        if (returnItemListBuilder_ == null) {
          ensureReturnItemListIsMutable();
          returnItemList_.remove(index);
          onChanged();
        } else {
          returnItemListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getReturnItemListBuilder(
          int index) {
        return getReturnItemListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getReturnItemListOrBuilder(
          int index) {
        if (returnItemListBuilder_ == null) {
          return returnItemList_.get(index);  } else {
          return returnItemListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
           getReturnItemListOrBuilderList() {
        if (returnItemListBuilder_ != null) {
          return returnItemListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(returnItemList_);
        }
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addReturnItemListBuilder() {
        return getReturnItemListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addReturnItemListBuilder(
          int index) {
        return getReturnItemListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam return_item_list = 10;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder> 
           getReturnItemListBuilderList() {
        return getReturnItemListFieldBuilder().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> 
          getReturnItemListFieldBuilder() {
        if (returnItemListBuilder_ == null) {
          returnItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                  returnItemList_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          returnItemList_ = null;
        }
        return returnItemListBuilder_;
      }

      private int retcode_ ;
      /**
       * <code>int32 retcode = 1;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 1;</code>
       * @param value The retcode to set.
       * @return This builder for chaining.
       */
      public Builder setRetcode(int value) {
        
        retcode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 retcode = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

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

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

      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> getOutputItemListList() {
        if (outputItemListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(outputItemList_);
        } else {
          return outputItemListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public int getOutputItemListCount() {
        if (outputItemListBuilder_ == null) {
          return outputItemList_.size();
        } else {
          return outputItemListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getOutputItemList(int index) {
        if (outputItemListBuilder_ == null) {
          return outputItemList_.get(index);
        } else {
          return outputItemListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder setOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (outputItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOutputItemListIsMutable();
          outputItemList_.set(index, value);
          onChanged();
        } else {
          outputItemListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder setOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (outputItemListBuilder_ == null) {
          ensureOutputItemListIsMutable();
          outputItemList_.set(index, builderForValue.build());
          onChanged();
        } else {
          outputItemListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder addOutputItemList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (outputItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOutputItemListIsMutable();
          outputItemList_.add(value);
          onChanged();
        } else {
          outputItemListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder addOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
        if (outputItemListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOutputItemListIsMutable();
          outputItemList_.add(index, value);
          onChanged();
        } else {
          outputItemListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder addOutputItemList(
          emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (outputItemListBuilder_ == null) {
          ensureOutputItemListIsMutable();
          outputItemList_.add(builderForValue.build());
          onChanged();
        } else {
          outputItemListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder addOutputItemList(
          int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
        if (outputItemListBuilder_ == null) {
          ensureOutputItemListIsMutable();
          outputItemList_.add(index, builderForValue.build());
          onChanged();
        } else {
          outputItemListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder addAllOutputItemList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
        if (outputItemListBuilder_ == null) {
          ensureOutputItemListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, outputItemList_);
          onChanged();
        } else {
          outputItemListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder clearOutputItemList() {
        if (outputItemListBuilder_ == null) {
          outputItemList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          outputItemListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public Builder removeOutputItemList(int index) {
        if (outputItemListBuilder_ == null) {
          ensureOutputItemListIsMutable();
          outputItemList_.remove(index);
          onChanged();
        } else {
          outputItemListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getOutputItemListBuilder(
          int index) {
        return getOutputItemListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getOutputItemListOrBuilder(
          int index) {
        if (outputItemListBuilder_ == null) {
          return outputItemList_.get(index);  } else {
          return outputItemListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> 
           getOutputItemListOrBuilderList() {
        if (outputItemListBuilder_ != null) {
          return outputItemListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(outputItemList_);
        }
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addOutputItemListBuilder() {
        return getOutputItemListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addOutputItemListBuilder(
          int index) {
        return getOutputItemListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
      }
      /**
       * <code>repeated .ItemParam output_item_list = 9;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder> 
           getOutputItemListBuilderList() {
        return getOutputItemListFieldBuilder().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> 
          getOutputItemListFieldBuilder() {
        if (outputItemListBuilder_ == null) {
          outputItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
                  outputItemList_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          outputItemList_ = null;
        }
        return outputItemListBuilder_;
      }
      @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:ForgeQueueManipulateRsp)
    }

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

    public static emu.grasscutter.net.proto.ForgeQueueManipulateRspOuterClass.ForgeQueueManipulateRsp getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ForgeQueueManipulateRsp_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ForgeQueueManipulateRsp_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\035ForgeQueueManipulateRsp.proto\032\036ForgeQu" +
      "eueManipulateType.proto\032\017ItemParam.proto" +
      "\"\326\001\n\027ForgeQueueManipulateRsp\0222\n\017manipula" +
      "te_type\030\004 \001(\0162\031.ForgeQueueManipulateType" +
      "\022*\n\026extra_output_item_list\030\r \003(\0132\n.ItemP" +
      "aram\022$\n\020return_item_list\030\n \003(\0132\n.ItemPar" +
      "am\022\017\n\007retcode\030\001 \001(\005\022$\n\020output_item_list\030" +
      "\t \003(\0132\n.ItemParamB\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.ForgeQueueManipulateTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor(),
        });
    internal_static_ForgeQueueManipulateRsp_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ForgeQueueManipulateRsp_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ForgeQueueManipulateRsp_descriptor,
        new java.lang.String[] { "ManipulateType", "ExtraOutputItemList", "ReturnItemList", "Retcode", "OutputItemList", });
    emu.grasscutter.net.proto.ForgeQueueManipulateTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
