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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    java.util.List<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack> 
        getMsgPackListList();
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack getMsgPackList(int index);
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    int getMsgPackListCount();
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder> 
        getMsgPackListOrBuilderList();
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder getMsgPackListOrBuilder(
        int index);

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

    /**
     * <code>.GCGDuel duel = 6;</code>
     * @return Whether the duel field is set.
     */
    boolean hasDuel();
    /**
     * <code>.GCGDuel duel = 6;</code>
     * @return The duel.
     */
    emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel getDuel();
    /**
     * <code>.GCGDuel duel = 6;</code>
     */
    emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuelOrBuilder getDuelOrBuilder();
  }
  /**
   * <pre>
   * CmdId: 28421
   * </pre>
   *
   * Protobuf type {@code DPNLMCIEJJA}
   */
  public static final class DPNLMCIEJJA extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:DPNLMCIEJJA)
      DPNLMCIEJJAOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DPNLMCIEJJA.newBuilder() to construct.
    private DPNLMCIEJJA(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DPNLMCIEJJA() {
      msgPackList_ = java.util.Collections.emptyList();
    }

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

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

              retcode_ = input.readInt32();
              break;
            }
            case 50: {
              emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.Builder subBuilder = null;
              if (duel_ != null) {
                subBuilder = duel_.toBuilder();
              }
              duel_ = input.readMessage(emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(duel_);
                duel_ = subBuilder.buildPartial();
              }

              break;
            }
            case 114: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                msgPackList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack>();
                mutable_bitField0_ |= 0x00000001;
              }
              msgPackList_.add(
                  input.readMessage(emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.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)) {
          msgPackList_ = java.util.Collections.unmodifiableList(msgPackList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.internal_static_DPNLMCIEJJA_descriptor;
    }

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

    public static final int MSG_PACK_LIST_FIELD_NUMBER = 14;
    private java.util.List<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack> msgPackList_;
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack> getMsgPackListList() {
      return msgPackList_;
    }
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder> 
        getMsgPackListOrBuilderList() {
      return msgPackList_;
    }
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    @java.lang.Override
    public int getMsgPackListCount() {
      return msgPackList_.size();
    }
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack getMsgPackList(int index) {
      return msgPackList_.get(index);
    }
    /**
     * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder getMsgPackListOrBuilder(
        int index) {
      return msgPackList_.get(index);
    }

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

    public static final int DUEL_FIELD_NUMBER = 6;
    private emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel duel_;
    /**
     * <code>.GCGDuel duel = 6;</code>
     * @return Whether the duel field is set.
     */
    @java.lang.Override
    public boolean hasDuel() {
      return duel_ != null;
    }
    /**
     * <code>.GCGDuel duel = 6;</code>
     * @return The duel.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel getDuel() {
      return duel_ == null ? emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.getDefaultInstance() : duel_;
    }
    /**
     * <code>.GCGDuel duel = 6;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuelOrBuilder getDuelOrBuilder() {
      return getDuel();
    }

    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(5, retcode_);
      }
      if (duel_ != null) {
        output.writeMessage(6, getDuel());
      }
      for (int i = 0; i < msgPackList_.size(); i++) {
        output.writeMessage(14, msgPackList_.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(5, retcode_);
      }
      if (duel_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, getDuel());
      }
      for (int i = 0; i < msgPackList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, msgPackList_.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.DPNLMCIEJJAOuterClass.DPNLMCIEJJA)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA other = (emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA) obj;

      if (!getMsgPackListList()
          .equals(other.getMsgPackListList())) return false;
      if (getRetcode()
          != other.getRetcode()) return false;
      if (hasDuel() != other.hasDuel()) return false;
      if (hasDuel()) {
        if (!getDuel()
            .equals(other.getDuel())) 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 (getMsgPackListCount() > 0) {
        hash = (37 * hash) + MSG_PACK_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getMsgPackListList().hashCode();
      }
      hash = (37 * hash) + RETCODE_FIELD_NUMBER;
      hash = (53 * hash) + getRetcode();
      if (hasDuel()) {
        hash = (37 * hash) + DUEL_FIELD_NUMBER;
        hash = (53 * hash) + getDuel().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getMsgPackListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (msgPackListBuilder_ == null) {
          msgPackList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          msgPackListBuilder_.clear();
        }
        retcode_ = 0;

        if (duelBuilder_ == null) {
          duel_ = null;
        } else {
          duel_ = null;
          duelBuilder_ = null;
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA buildPartial() {
        emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA result = new emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA(this);
        int from_bitField0_ = bitField0_;
        if (msgPackListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            msgPackList_ = java.util.Collections.unmodifiableList(msgPackList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.msgPackList_ = msgPackList_;
        } else {
          result.msgPackList_ = msgPackListBuilder_.build();
        }
        result.retcode_ = retcode_;
        if (duelBuilder_ == null) {
          result.duel_ = duel_;
        } else {
          result.duel_ = duelBuilder_.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.DPNLMCIEJJAOuterClass.DPNLMCIEJJA) {
          return mergeFrom((emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA other) {
        if (other == emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA.getDefaultInstance()) return this;
        if (msgPackListBuilder_ == null) {
          if (!other.msgPackList_.isEmpty()) {
            if (msgPackList_.isEmpty()) {
              msgPackList_ = other.msgPackList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureMsgPackListIsMutable();
              msgPackList_.addAll(other.msgPackList_);
            }
            onChanged();
          }
        } else {
          if (!other.msgPackList_.isEmpty()) {
            if (msgPackListBuilder_.isEmpty()) {
              msgPackListBuilder_.dispose();
              msgPackListBuilder_ = null;
              msgPackList_ = other.msgPackList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              msgPackListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getMsgPackListFieldBuilder() : null;
            } else {
              msgPackListBuilder_.addAllMessages(other.msgPackList_);
            }
          }
        }
        if (other.getRetcode() != 0) {
          setRetcode(other.getRetcode());
        }
        if (other.hasDuel()) {
          mergeDuel(other.getDuel());
        }
        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.DPNLMCIEJJAOuterClass.DPNLMCIEJJA parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack> msgPackList_ =
        java.util.Collections.emptyList();
      private void ensureMsgPackListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          msgPackList_ = new java.util.ArrayList<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack>(msgPackList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder> msgPackListBuilder_;

      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack> getMsgPackListList() {
        if (msgPackListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(msgPackList_);
        } else {
          return msgPackListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public int getMsgPackListCount() {
        if (msgPackListBuilder_ == null) {
          return msgPackList_.size();
        } else {
          return msgPackListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack getMsgPackList(int index) {
        if (msgPackListBuilder_ == null) {
          return msgPackList_.get(index);
        } else {
          return msgPackListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder setMsgPackList(
          int index, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack value) {
        if (msgPackListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMsgPackListIsMutable();
          msgPackList_.set(index, value);
          onChanged();
        } else {
          msgPackListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder setMsgPackList(
          int index, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder builderForValue) {
        if (msgPackListBuilder_ == null) {
          ensureMsgPackListIsMutable();
          msgPackList_.set(index, builderForValue.build());
          onChanged();
        } else {
          msgPackListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder addMsgPackList(emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack value) {
        if (msgPackListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMsgPackListIsMutable();
          msgPackList_.add(value);
          onChanged();
        } else {
          msgPackListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder addMsgPackList(
          int index, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack value) {
        if (msgPackListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMsgPackListIsMutable();
          msgPackList_.add(index, value);
          onChanged();
        } else {
          msgPackListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder addMsgPackList(
          emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder builderForValue) {
        if (msgPackListBuilder_ == null) {
          ensureMsgPackListIsMutable();
          msgPackList_.add(builderForValue.build());
          onChanged();
        } else {
          msgPackListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder addMsgPackList(
          int index, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder builderForValue) {
        if (msgPackListBuilder_ == null) {
          ensureMsgPackListIsMutable();
          msgPackList_.add(index, builderForValue.build());
          onChanged();
        } else {
          msgPackListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder addAllMsgPackList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack> values) {
        if (msgPackListBuilder_ == null) {
          ensureMsgPackListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, msgPackList_);
          onChanged();
        } else {
          msgPackListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder clearMsgPackList() {
        if (msgPackListBuilder_ == null) {
          msgPackList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          msgPackListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public Builder removeMsgPackList(int index) {
        if (msgPackListBuilder_ == null) {
          ensureMsgPackListIsMutable();
          msgPackList_.remove(index);
          onChanged();
        } else {
          msgPackListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder getMsgPackListBuilder(
          int index) {
        return getMsgPackListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder getMsgPackListOrBuilder(
          int index) {
        if (msgPackListBuilder_ == null) {
          return msgPackList_.get(index);  } else {
          return msgPackListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder> 
           getMsgPackListOrBuilderList() {
        if (msgPackListBuilder_ != null) {
          return msgPackListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(msgPackList_);
        }
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder addMsgPackListBuilder() {
        return getMsgPackListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder addMsgPackListBuilder(
          int index) {
        return getMsgPackListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.getDefaultInstance());
      }
      /**
       * <code>repeated .GCGMessagePack msg_pack_list = 14;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder> 
           getMsgPackListBuilderList() {
        return getMsgPackListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder> 
          getMsgPackListFieldBuilder() {
        if (msgPackListBuilder_ == null) {
          msgPackListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePack.Builder, emu.grasscutter.net.proto.GCGMessagePackOuterClass.GCGMessagePackOrBuilder>(
                  msgPackList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          msgPackList_ = null;
        }
        return msgPackListBuilder_;
      }

      private int retcode_ ;
      /**
       * <code>int32 retcode = 5;</code>
       * @return The retcode.
       */
      @java.lang.Override
      public int getRetcode() {
        return retcode_;
      }
      /**
       * <code>int32 retcode = 5;</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 = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearRetcode() {
        
        retcode_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel duel_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel, emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.Builder, emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuelOrBuilder> duelBuilder_;
      /**
       * <code>.GCGDuel duel = 6;</code>
       * @return Whether the duel field is set.
       */
      public boolean hasDuel() {
        return duelBuilder_ != null || duel_ != null;
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       * @return The duel.
       */
      public emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel getDuel() {
        if (duelBuilder_ == null) {
          return duel_ == null ? emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.getDefaultInstance() : duel_;
        } else {
          return duelBuilder_.getMessage();
        }
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       */
      public Builder setDuel(emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel value) {
        if (duelBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          duel_ = value;
          onChanged();
        } else {
          duelBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       */
      public Builder setDuel(
          emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.Builder builderForValue) {
        if (duelBuilder_ == null) {
          duel_ = builderForValue.build();
          onChanged();
        } else {
          duelBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       */
      public Builder mergeDuel(emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel value) {
        if (duelBuilder_ == null) {
          if (duel_ != null) {
            duel_ =
              emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.newBuilder(duel_).mergeFrom(value).buildPartial();
          } else {
            duel_ = value;
          }
          onChanged();
        } else {
          duelBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       */
      public Builder clearDuel() {
        if (duelBuilder_ == null) {
          duel_ = null;
          onChanged();
        } else {
          duel_ = null;
          duelBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       */
      public emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.Builder getDuelBuilder() {
        
        onChanged();
        return getDuelFieldBuilder().getBuilder();
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       */
      public emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuelOrBuilder getDuelOrBuilder() {
        if (duelBuilder_ != null) {
          return duelBuilder_.getMessageOrBuilder();
        } else {
          return duel_ == null ?
              emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.getDefaultInstance() : duel_;
        }
      }
      /**
       * <code>.GCGDuel duel = 6;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel, emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.Builder, emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuelOrBuilder> 
          getDuelFieldBuilder() {
        if (duelBuilder_ == null) {
          duelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel, emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuel.Builder, emu.grasscutter.net.proto.GCGDuelOuterClass.GCGDuelOrBuilder>(
                  getDuel(),
                  getParentForChildren(),
                  isClean());
          duel_ = null;
        }
        return duelBuilder_;
      }
      @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:DPNLMCIEJJA)
    }

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

    public static emu.grasscutter.net.proto.DPNLMCIEJJAOuterClass.DPNLMCIEJJA getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_DPNLMCIEJJA_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_DPNLMCIEJJA_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\021DPNLMCIEJJA.proto\032\024GCGMessagePack.prot" +
      "o\032\rGCGDuel.proto\"^\n\013DPNLMCIEJJA\022&\n\rmsg_p" +
      "ack_list\030\016 \003(\0132\017.GCGMessagePack\022\017\n\007retco" +
      "de\030\005 \001(\005\022\026\n\004duel\030\006 \001(\0132\010.GCGDuelB\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.GCGMessagePackOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.GCGDuelOuterClass.getDescriptor(),
        });
    internal_static_DPNLMCIEJJA_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_DPNLMCIEJJA_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_DPNLMCIEJJA_descriptor,
        new java.lang.String[] { "MsgPackList", "Retcode", "Duel", });
    emu.grasscutter.net.proto.GCGMessagePackOuterClass.getDescriptor();
    emu.grasscutter.net.proto.GCGDuelOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
