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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated int32 quest_var = 14;</code>
     * @return A list containing the questVar.
     */
    java.util.List<java.lang.Integer> getQuestVarList();
    /**
     * <code>repeated int32 quest_var = 14;</code>
     * @return The count of questVar.
     */
    int getQuestVarCount();
    /**
     * <code>repeated int32 quest_var = 14;</code>
     * @param index The index of the element to return.
     * @return The questVar at the given index.
     */
    int getQuestVar(int index);

    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */
    int getTimeVarMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */
    boolean containsTimeVarMap(
        int key);
    /**
     * Use {@link #getTimeVarMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getTimeVarMap();
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getTimeVarMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */

    int getTimeVarMapOrDefault(
        int key,
        int defaultValue);
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */

    int getTimeVarMapOrThrow(
        int key);

    /**
     * <code>uint32 parent_quest_state = 1;</code>
     * @return The parentQuestState.
     */
    int getParentQuestState();

    /**
     * <code>bool is_finished = 7;</code>
     * @return The isFinished.
     */
    boolean getIsFinished();

    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> 
        getUnk3000HLPGILIGGCBList();
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK getUnk3000HLPGILIGGCB(int index);
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    int getUnk3000HLPGILIGGCBCount();
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder> 
        getUnk3000HLPGILIGGCBOrBuilderList();
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder getUnk3000HLPGILIGGCBOrBuilder(
        int index);

    /**
     * <code>.ParentQuestRandomInfo random_info = 12;</code>
     * @return Whether the randomInfo field is set.
     */
    boolean hasRandomInfo();
    /**
     * <code>.ParentQuestRandomInfo random_info = 12;</code>
     * @return The randomInfo.
     */
    emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo();
    /**
     * <code>.ParentQuestRandomInfo random_info = 12;</code>
     */
    emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder();

    /**
     * <code>uint32 parent_quest_id = 3;</code>
     * @return The parentQuestId.
     */
    int getParentQuestId();

    /**
     * <code>bool is_random = 13;</code>
     * @return The isRandom.
     */
    boolean getIsRandom();

    /**
     * <code>uint64 cutscene_encryption_key = 6;</code>
     * @return The cutsceneEncryptionKey.
     */
    long getCutsceneEncryptionKey();

    /**
     * <code>uint32 quest_var_seq = 11;</code>
     * @return The questVarSeq.
     */
    int getQuestVarSeq();

    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> 
        getChildQuestListList();
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index);
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    int getChildQuestListCount();
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
        getChildQuestListOrBuilderList();
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code ParentQuest}
   */
  public static final class ParentQuest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ParentQuest)
      ParentQuestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ParentQuest.newBuilder() to construct.
    private ParentQuest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ParentQuest() {
      questVar_ = emptyIntList();
      unk3000HLPGILIGGCB_ = java.util.Collections.emptyList();
      childQuestList_ = java.util.Collections.emptyList();
    }

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

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

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

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

              cutsceneEncryptionKey_ = input.readUInt64();
              break;
            }
            case 56: {

              isFinished_ = input.readBool();
              break;
            }
            case 66: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                timeVarMap_ = com.google.protobuf.MapField.newMapField(
                    TimeVarMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000002;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
              timeVarMap__ = input.readMessage(
                  TimeVarMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              timeVarMap_.getMutableMap().put(
                  timeVarMap__.getKey(), timeVarMap__.getValue());
              break;
            }
            case 74: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                childQuestList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest>();
                mutable_bitField0_ |= 0x00000008;
              }
              childQuestList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.parser(), extensionRegistry));
              break;
            }
            case 88: {

              questVarSeq_ = input.readUInt32();
              break;
            }
            case 98: {
              emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder subBuilder = null;
              if (randomInfo_ != null) {
                subBuilder = randomInfo_.toBuilder();
              }
              randomInfo_ = input.readMessage(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(randomInfo_);
                randomInfo_ = subBuilder.buildPartial();
              }

              break;
            }
            case 104: {

              isRandom_ = input.readBool();
              break;
            }
            case 112: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                questVar_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              questVar_.addInt(input.readInt32());
              break;
            }
            case 114: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                questVar_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                questVar_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 122: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                unk3000HLPGILIGGCB_ = new java.util.ArrayList<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK>();
                mutable_bitField0_ |= 0x00000004;
              }
              unk3000HLPGILIGGCB_.add(
                  input.readMessage(emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.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_ & 0x00000008) != 0)) {
          childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          questVar_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          unk3000HLPGILIGGCB_ = java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ParentQuestOuterClass.internal_static_ParentQuest_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 8:
          return internalGetTimeVarMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.ParentQuestOuterClass.internal_static_ParentQuest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.class, emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.Builder.class);
    }

    public static final int QUEST_VAR_FIELD_NUMBER = 14;
    private com.google.protobuf.Internal.IntList questVar_;
    /**
     * <code>repeated int32 quest_var = 14;</code>
     * @return A list containing the questVar.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getQuestVarList() {
      return questVar_;
    }
    /**
     * <code>repeated int32 quest_var = 14;</code>
     * @return The count of questVar.
     */
    public int getQuestVarCount() {
      return questVar_.size();
    }
    /**
     * <code>repeated int32 quest_var = 14;</code>
     * @param index The index of the element to return.
     * @return The questVar at the given index.
     */
    public int getQuestVar(int index) {
      return questVar_.getInt(index);
    }
    private int questVarMemoizedSerializedSize = -1;

    public static final int TIME_VAR_MAP_FIELD_NUMBER = 8;
    private static final class TimeVarMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Integer, java.lang.Integer> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                  emu.grasscutter.net.proto.ParentQuestOuterClass.internal_static_ParentQuest_TimeVarMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0,
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0);
    }
    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> timeVarMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetTimeVarMap() {
      if (timeVarMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            TimeVarMapDefaultEntryHolder.defaultEntry);
      }
      return timeVarMap_;
    }

    public int getTimeVarMapCount() {
      return internalGetTimeVarMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */

    @java.lang.Override
    public boolean containsTimeVarMap(
        int key) {
      
      return internalGetTimeVarMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getTimeVarMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMap() {
      return getTimeVarMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMapMap() {
      return internalGetTimeVarMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */
    @java.lang.Override

    public int getTimeVarMapOrDefault(
        int key,
        int defaultValue) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetTimeVarMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
     */
    @java.lang.Override

    public int getTimeVarMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetTimeVarMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int PARENT_QUEST_STATE_FIELD_NUMBER = 1;
    private int parentQuestState_;
    /**
     * <code>uint32 parent_quest_state = 1;</code>
     * @return The parentQuestState.
     */
    @java.lang.Override
    public int getParentQuestState() {
      return parentQuestState_;
    }

    public static final int IS_FINISHED_FIELD_NUMBER = 7;
    private boolean isFinished_;
    /**
     * <code>bool is_finished = 7;</code>
     * @return The isFinished.
     */
    @java.lang.Override
    public boolean getIsFinished() {
      return isFinished_;
    }

    public static final int UNK3000_HLPGILIGGCB_FIELD_NUMBER = 15;
    private java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> unk3000HLPGILIGGCB_;
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> getUnk3000HLPGILIGGCBList() {
      return unk3000HLPGILIGGCB_;
    }
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder> 
        getUnk3000HLPGILIGGCBOrBuilderList() {
      return unk3000HLPGILIGGCB_;
    }
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    @java.lang.Override
    public int getUnk3000HLPGILIGGCBCount() {
      return unk3000HLPGILIGGCB_.size();
    }
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK getUnk3000HLPGILIGGCB(int index) {
      return unk3000HLPGILIGGCB_.get(index);
    }
    /**
     * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder getUnk3000HLPGILIGGCBOrBuilder(
        int index) {
      return unk3000HLPGILIGGCB_.get(index);
    }

    public static final int RANDOM_INFO_FIELD_NUMBER = 12;
    private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
    /**
     * <code>.ParentQuestRandomInfo random_info = 12;</code>
     * @return Whether the randomInfo field is set.
     */
    @java.lang.Override
    public boolean hasRandomInfo() {
      return randomInfo_ != null;
    }
    /**
     * <code>.ParentQuestRandomInfo random_info = 12;</code>
     * @return The randomInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo() {
      return randomInfo_ == null ? emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
    }
    /**
     * <code>.ParentQuestRandomInfo random_info = 12;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
      return getRandomInfo();
    }

    public static final int PARENT_QUEST_ID_FIELD_NUMBER = 3;
    private int parentQuestId_;
    /**
     * <code>uint32 parent_quest_id = 3;</code>
     * @return The parentQuestId.
     */
    @java.lang.Override
    public int getParentQuestId() {
      return parentQuestId_;
    }

    public static final int IS_RANDOM_FIELD_NUMBER = 13;
    private boolean isRandom_;
    /**
     * <code>bool is_random = 13;</code>
     * @return The isRandom.
     */
    @java.lang.Override
    public boolean getIsRandom() {
      return isRandom_;
    }

    public static final int CUTSCENE_ENCRYPTION_KEY_FIELD_NUMBER = 6;
    private long cutsceneEncryptionKey_;
    /**
     * <code>uint64 cutscene_encryption_key = 6;</code>
     * @return The cutsceneEncryptionKey.
     */
    @java.lang.Override
    public long getCutsceneEncryptionKey() {
      return cutsceneEncryptionKey_;
    }

    public static final int QUEST_VAR_SEQ_FIELD_NUMBER = 11;
    private int questVarSeq_;
    /**
     * <code>uint32 quest_var_seq = 11;</code>
     * @return The questVarSeq.
     */
    @java.lang.Override
    public int getQuestVarSeq() {
      return questVarSeq_;
    }

    public static final int CHILD_QUEST_LIST_FIELD_NUMBER = 9;
    private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_;
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> getChildQuestListList() {
      return childQuestList_;
    }
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
        getChildQuestListOrBuilderList() {
      return childQuestList_;
    }
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    @java.lang.Override
    public int getChildQuestListCount() {
      return childQuestList_.size();
    }
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index) {
      return childQuestList_.get(index);
    }
    /**
     * <code>repeated .ChildQuest child_quest_list = 9;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
        int index) {
      return childQuestList_.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 {
      getSerializedSize();
      if (parentQuestState_ != 0) {
        output.writeUInt32(1, parentQuestState_);
      }
      if (parentQuestId_ != 0) {
        output.writeUInt32(3, parentQuestId_);
      }
      if (cutsceneEncryptionKey_ != 0L) {
        output.writeUInt64(6, cutsceneEncryptionKey_);
      }
      if (isFinished_ != false) {
        output.writeBool(7, isFinished_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetTimeVarMap(),
          TimeVarMapDefaultEntryHolder.defaultEntry,
          8);
      for (int i = 0; i < childQuestList_.size(); i++) {
        output.writeMessage(9, childQuestList_.get(i));
      }
      if (questVarSeq_ != 0) {
        output.writeUInt32(11, questVarSeq_);
      }
      if (randomInfo_ != null) {
        output.writeMessage(12, getRandomInfo());
      }
      if (isRandom_ != false) {
        output.writeBool(13, isRandom_);
      }
      if (getQuestVarList().size() > 0) {
        output.writeUInt32NoTag(114);
        output.writeUInt32NoTag(questVarMemoizedSerializedSize);
      }
      for (int i = 0; i < questVar_.size(); i++) {
        output.writeInt32NoTag(questVar_.getInt(i));
      }
      for (int i = 0; i < unk3000HLPGILIGGCB_.size(); i++) {
        output.writeMessage(15, unk3000HLPGILIGGCB_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (parentQuestState_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, parentQuestState_);
      }
      if (parentQuestId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, parentQuestId_);
      }
      if (cutsceneEncryptionKey_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(6, cutsceneEncryptionKey_);
      }
      if (isFinished_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, isFinished_);
      }
      for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
           : internalGetTimeVarMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
        timeVarMap__ = TimeVarMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(8, timeVarMap__);
      }
      for (int i = 0; i < childQuestList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, childQuestList_.get(i));
      }
      if (questVarSeq_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, questVarSeq_);
      }
      if (randomInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, getRandomInfo());
      }
      if (isRandom_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(13, isRandom_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < questVar_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(questVar_.getInt(i));
        }
        size += dataSize;
        if (!getQuestVarList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        questVarMemoizedSerializedSize = dataSize;
      }
      for (int i = 0; i < unk3000HLPGILIGGCB_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, unk3000HLPGILIGGCB_.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.ParentQuestOuterClass.ParentQuest)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest other = (emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest) obj;

      if (!getQuestVarList()
          .equals(other.getQuestVarList())) return false;
      if (!internalGetTimeVarMap().equals(
          other.internalGetTimeVarMap())) return false;
      if (getParentQuestState()
          != other.getParentQuestState()) return false;
      if (getIsFinished()
          != other.getIsFinished()) return false;
      if (!getUnk3000HLPGILIGGCBList()
          .equals(other.getUnk3000HLPGILIGGCBList())) return false;
      if (hasRandomInfo() != other.hasRandomInfo()) return false;
      if (hasRandomInfo()) {
        if (!getRandomInfo()
            .equals(other.getRandomInfo())) return false;
      }
      if (getParentQuestId()
          != other.getParentQuestId()) return false;
      if (getIsRandom()
          != other.getIsRandom()) return false;
      if (getCutsceneEncryptionKey()
          != other.getCutsceneEncryptionKey()) return false;
      if (getQuestVarSeq()
          != other.getQuestVarSeq()) return false;
      if (!getChildQuestListList()
          .equals(other.getChildQuestListList())) 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 (getQuestVarCount() > 0) {
        hash = (37 * hash) + QUEST_VAR_FIELD_NUMBER;
        hash = (53 * hash) + getQuestVarList().hashCode();
      }
      if (!internalGetTimeVarMap().getMap().isEmpty()) {
        hash = (37 * hash) + TIME_VAR_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetTimeVarMap().hashCode();
      }
      hash = (37 * hash) + PARENT_QUEST_STATE_FIELD_NUMBER;
      hash = (53 * hash) + getParentQuestState();
      hash = (37 * hash) + IS_FINISHED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsFinished());
      if (getUnk3000HLPGILIGGCBCount() > 0) {
        hash = (37 * hash) + UNK3000_HLPGILIGGCB_FIELD_NUMBER;
        hash = (53 * hash) + getUnk3000HLPGILIGGCBList().hashCode();
      }
      if (hasRandomInfo()) {
        hash = (37 * hash) + RANDOM_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getRandomInfo().hashCode();
      }
      hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
      hash = (53 * hash) + getParentQuestId();
      hash = (37 * hash) + IS_RANDOM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsRandom());
      hash = (37 * hash) + CUTSCENE_ENCRYPTION_KEY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCutsceneEncryptionKey());
      hash = (37 * hash) + QUEST_VAR_SEQ_FIELD_NUMBER;
      hash = (53 * hash) + getQuestVarSeq();
      if (getChildQuestListCount() > 0) {
        hash = (37 * hash) + CHILD_QUEST_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getChildQuestListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code ParentQuest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:ParentQuest)
        emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.ParentQuestOuterClass.internal_static_ParentQuest_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 8:
            return internalGetTimeVarMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 8:
            return internalGetMutableTimeVarMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.ParentQuestOuterClass.internal_static_ParentQuest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.class, emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.Builder.class);
      }

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getUnk3000HLPGILIGGCBFieldBuilder();
          getChildQuestListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        questVar_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        internalGetMutableTimeVarMap().clear();
        parentQuestState_ = 0;

        isFinished_ = false;

        if (unk3000HLPGILIGGCBBuilder_ == null) {
          unk3000HLPGILIGGCB_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          unk3000HLPGILIGGCBBuilder_.clear();
        }
        if (randomInfoBuilder_ == null) {
          randomInfo_ = null;
        } else {
          randomInfo_ = null;
          randomInfoBuilder_ = null;
        }
        parentQuestId_ = 0;

        isRandom_ = false;

        cutsceneEncryptionKey_ = 0L;

        questVarSeq_ = 0;

        if (childQuestListBuilder_ == null) {
          childQuestList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          childQuestListBuilder_.clear();
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest buildPartial() {
        emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest result = new emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          questVar_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.questVar_ = questVar_;
        result.timeVarMap_ = internalGetTimeVarMap();
        result.timeVarMap_.makeImmutable();
        result.parentQuestState_ = parentQuestState_;
        result.isFinished_ = isFinished_;
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            unk3000HLPGILIGGCB_ = java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.unk3000HLPGILIGGCB_ = unk3000HLPGILIGGCB_;
        } else {
          result.unk3000HLPGILIGGCB_ = unk3000HLPGILIGGCBBuilder_.build();
        }
        if (randomInfoBuilder_ == null) {
          result.randomInfo_ = randomInfo_;
        } else {
          result.randomInfo_ = randomInfoBuilder_.build();
        }
        result.parentQuestId_ = parentQuestId_;
        result.isRandom_ = isRandom_;
        result.cutsceneEncryptionKey_ = cutsceneEncryptionKey_;
        result.questVarSeq_ = questVarSeq_;
        if (childQuestListBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.childQuestList_ = childQuestList_;
        } else {
          result.childQuestList_ = childQuestListBuilder_.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.ParentQuestOuterClass.ParentQuest) {
          return mergeFrom((emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest other) {
        if (other == emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest.getDefaultInstance()) return this;
        if (!other.questVar_.isEmpty()) {
          if (questVar_.isEmpty()) {
            questVar_ = other.questVar_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureQuestVarIsMutable();
            questVar_.addAll(other.questVar_);
          }
          onChanged();
        }
        internalGetMutableTimeVarMap().mergeFrom(
            other.internalGetTimeVarMap());
        if (other.getParentQuestState() != 0) {
          setParentQuestState(other.getParentQuestState());
        }
        if (other.getIsFinished() != false) {
          setIsFinished(other.getIsFinished());
        }
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          if (!other.unk3000HLPGILIGGCB_.isEmpty()) {
            if (unk3000HLPGILIGGCB_.isEmpty()) {
              unk3000HLPGILIGGCB_ = other.unk3000HLPGILIGGCB_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureUnk3000HLPGILIGGCBIsMutable();
              unk3000HLPGILIGGCB_.addAll(other.unk3000HLPGILIGGCB_);
            }
            onChanged();
          }
        } else {
          if (!other.unk3000HLPGILIGGCB_.isEmpty()) {
            if (unk3000HLPGILIGGCBBuilder_.isEmpty()) {
              unk3000HLPGILIGGCBBuilder_.dispose();
              unk3000HLPGILIGGCBBuilder_ = null;
              unk3000HLPGILIGGCB_ = other.unk3000HLPGILIGGCB_;
              bitField0_ = (bitField0_ & ~0x00000004);
              unk3000HLPGILIGGCBBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getUnk3000HLPGILIGGCBFieldBuilder() : null;
            } else {
              unk3000HLPGILIGGCBBuilder_.addAllMessages(other.unk3000HLPGILIGGCB_);
            }
          }
        }
        if (other.hasRandomInfo()) {
          mergeRandomInfo(other.getRandomInfo());
        }
        if (other.getParentQuestId() != 0) {
          setParentQuestId(other.getParentQuestId());
        }
        if (other.getIsRandom() != false) {
          setIsRandom(other.getIsRandom());
        }
        if (other.getCutsceneEncryptionKey() != 0L) {
          setCutsceneEncryptionKey(other.getCutsceneEncryptionKey());
        }
        if (other.getQuestVarSeq() != 0) {
          setQuestVarSeq(other.getQuestVarSeq());
        }
        if (childQuestListBuilder_ == null) {
          if (!other.childQuestList_.isEmpty()) {
            if (childQuestList_.isEmpty()) {
              childQuestList_ = other.childQuestList_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureChildQuestListIsMutable();
              childQuestList_.addAll(other.childQuestList_);
            }
            onChanged();
          }
        } else {
          if (!other.childQuestList_.isEmpty()) {
            if (childQuestListBuilder_.isEmpty()) {
              childQuestListBuilder_.dispose();
              childQuestListBuilder_ = null;
              childQuestList_ = other.childQuestList_;
              bitField0_ = (bitField0_ & ~0x00000008);
              childQuestListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getChildQuestListFieldBuilder() : null;
            } else {
              childQuestListBuilder_.addAllMessages(other.childQuestList_);
            }
          }
        }
        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.ParentQuestOuterClass.ParentQuest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.Internal.IntList questVar_ = emptyIntList();
      private void ensureQuestVarIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          questVar_ = mutableCopy(questVar_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated int32 quest_var = 14;</code>
       * @return A list containing the questVar.
       */
      public java.util.List<java.lang.Integer>
          getQuestVarList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(questVar_) : questVar_;
      }
      /**
       * <code>repeated int32 quest_var = 14;</code>
       * @return The count of questVar.
       */
      public int getQuestVarCount() {
        return questVar_.size();
      }
      /**
       * <code>repeated int32 quest_var = 14;</code>
       * @param index The index of the element to return.
       * @return The questVar at the given index.
       */
      public int getQuestVar(int index) {
        return questVar_.getInt(index);
      }
      /**
       * <code>repeated int32 quest_var = 14;</code>
       * @param index The index to set the value at.
       * @param value The questVar to set.
       * @return This builder for chaining.
       */
      public Builder setQuestVar(
          int index, int value) {
        ensureQuestVarIsMutable();
        questVar_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 quest_var = 14;</code>
       * @param value The questVar to add.
       * @return This builder for chaining.
       */
      public Builder addQuestVar(int value) {
        ensureQuestVarIsMutable();
        questVar_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 quest_var = 14;</code>
       * @param values The questVar to add.
       * @return This builder for chaining.
       */
      public Builder addAllQuestVar(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureQuestVarIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, questVar_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated int32 quest_var = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearQuestVar() {
        questVar_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> timeVarMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetTimeVarMap() {
        if (timeVarMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              TimeVarMapDefaultEntryHolder.defaultEntry);
        }
        return timeVarMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetMutableTimeVarMap() {
        onChanged();;
        if (timeVarMap_ == null) {
          timeVarMap_ = com.google.protobuf.MapField.newMapField(
              TimeVarMapDefaultEntryHolder.defaultEntry);
        }
        if (!timeVarMap_.isMutable()) {
          timeVarMap_ = timeVarMap_.copy();
        }
        return timeVarMap_;
      }

      public int getTimeVarMapCount() {
        return internalGetTimeVarMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
       */

      @java.lang.Override
      public boolean containsTimeVarMap(
          int key) {
        
        return internalGetTimeVarMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getTimeVarMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMap() {
        return getTimeVarMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMapMap() {
        return internalGetTimeVarMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
       */
      @java.lang.Override

      public int getTimeVarMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetTimeVarMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
       */
      @java.lang.Override

      public int getTimeVarMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetTimeVarMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearTimeVarMap() {
        internalGetMutableTimeVarMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
       */

      public Builder removeTimeVarMap(
          int key) {
        
        internalGetMutableTimeVarMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer>
      getMutableTimeVarMap() {
        return internalGetMutableTimeVarMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
       */
      public Builder putTimeVarMap(
          int key,
          int value) {
        
        
        internalGetMutableTimeVarMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 8;</code>
       */

      public Builder putAllTimeVarMap(
          java.util.Map<java.lang.Integer, java.lang.Integer> values) {
        internalGetMutableTimeVarMap().getMutableMap()
            .putAll(values);
        return this;
      }

      private int parentQuestState_ ;
      /**
       * <code>uint32 parent_quest_state = 1;</code>
       * @return The parentQuestState.
       */
      @java.lang.Override
      public int getParentQuestState() {
        return parentQuestState_;
      }
      /**
       * <code>uint32 parent_quest_state = 1;</code>
       * @param value The parentQuestState to set.
       * @return This builder for chaining.
       */
      public Builder setParentQuestState(int value) {
        
        parentQuestState_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 parent_quest_state = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearParentQuestState() {
        
        parentQuestState_ = 0;
        onChanged();
        return this;
      }

      private boolean isFinished_ ;
      /**
       * <code>bool is_finished = 7;</code>
       * @return The isFinished.
       */
      @java.lang.Override
      public boolean getIsFinished() {
        return isFinished_;
      }
      /**
       * <code>bool is_finished = 7;</code>
       * @param value The isFinished to set.
       * @return This builder for chaining.
       */
      public Builder setIsFinished(boolean value) {
        
        isFinished_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_finished = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsFinished() {
        
        isFinished_ = false;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> unk3000HLPGILIGGCB_ =
        java.util.Collections.emptyList();
      private void ensureUnk3000HLPGILIGGCBIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          unk3000HLPGILIGGCB_ = new java.util.ArrayList<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK>(unk3000HLPGILIGGCB_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder> unk3000HLPGILIGGCBBuilder_;

      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> getUnk3000HLPGILIGGCBList() {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          return java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
        } else {
          return unk3000HLPGILIGGCBBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public int getUnk3000HLPGILIGGCBCount() {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          return unk3000HLPGILIGGCB_.size();
        } else {
          return unk3000HLPGILIGGCBBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK getUnk3000HLPGILIGGCB(int index) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          return unk3000HLPGILIGGCB_.get(index);
        } else {
          return unk3000HLPGILIGGCBBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder setUnk3000HLPGILIGGCB(
          int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK value) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureUnk3000HLPGILIGGCBIsMutable();
          unk3000HLPGILIGGCB_.set(index, value);
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder setUnk3000HLPGILIGGCB(
          int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder builderForValue) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          ensureUnk3000HLPGILIGGCBIsMutable();
          unk3000HLPGILIGGCB_.set(index, builderForValue.build());
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder addUnk3000HLPGILIGGCB(emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK value) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureUnk3000HLPGILIGGCBIsMutable();
          unk3000HLPGILIGGCB_.add(value);
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder addUnk3000HLPGILIGGCB(
          int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK value) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureUnk3000HLPGILIGGCBIsMutable();
          unk3000HLPGILIGGCB_.add(index, value);
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder addUnk3000HLPGILIGGCB(
          emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder builderForValue) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          ensureUnk3000HLPGILIGGCBIsMutable();
          unk3000HLPGILIGGCB_.add(builderForValue.build());
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder addUnk3000HLPGILIGGCB(
          int index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder builderForValue) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          ensureUnk3000HLPGILIGGCBIsMutable();
          unk3000HLPGILIGGCB_.add(index, builderForValue.build());
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder addAllUnk3000HLPGILIGGCB(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK> values) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          ensureUnk3000HLPGILIGGCBIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, unk3000HLPGILIGGCB_);
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder clearUnk3000HLPGILIGGCB() {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          unk3000HLPGILIGGCB_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public Builder removeUnk3000HLPGILIGGCB(int index) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          ensureUnk3000HLPGILIGGCBIsMutable();
          unk3000HLPGILIGGCB_.remove(index);
          onChanged();
        } else {
          unk3000HLPGILIGGCBBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder getUnk3000HLPGILIGGCBBuilder(
          int index) {
        return getUnk3000HLPGILIGGCBFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder getUnk3000HLPGILIGGCBOrBuilder(
          int index) {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          return unk3000HLPGILIGGCB_.get(index);  } else {
          return unk3000HLPGILIGGCBBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder> 
           getUnk3000HLPGILIGGCBOrBuilderList() {
        if (unk3000HLPGILIGGCBBuilder_ != null) {
          return unk3000HLPGILIGGCBBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(unk3000HLPGILIGGCB_);
        }
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder addUnk3000HLPGILIGGCBBuilder() {
        return getUnk3000HLPGILIGGCBFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.getDefaultInstance());
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder addUnk3000HLPGILIGGCBBuilder(
          int index) {
        return getUnk3000HLPGILIGGCBFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.getDefaultInstance());
      }
      /**
       * <code>repeated .Unk3000_ENLDIHLGNCK Unk3000_HLPGILIGGCB = 15;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder> 
           getUnk3000HLPGILIGGCBBuilderList() {
        return getUnk3000HLPGILIGGCBFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder> 
          getUnk3000HLPGILIGGCBFieldBuilder() {
        if (unk3000HLPGILIGGCBBuilder_ == null) {
          unk3000HLPGILIGGCBBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCK.Builder, emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.Unk3000_ENLDIHLGNCKOrBuilder>(
                  unk3000HLPGILIGGCB_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          unk3000HLPGILIGGCB_ = null;
        }
        return unk3000HLPGILIGGCBBuilder_;
      }

      private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder> randomInfoBuilder_;
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       * @return Whether the randomInfo field is set.
       */
      public boolean hasRandomInfo() {
        return randomInfoBuilder_ != null || randomInfo_ != null;
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       * @return The randomInfo.
       */
      public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo() {
        if (randomInfoBuilder_ == null) {
          return randomInfo_ == null ? emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
        } else {
          return randomInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       */
      public Builder setRandomInfo(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo value) {
        if (randomInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          randomInfo_ = value;
          onChanged();
        } else {
          randomInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       */
      public Builder setRandomInfo(
          emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder builderForValue) {
        if (randomInfoBuilder_ == null) {
          randomInfo_ = builderForValue.build();
          onChanged();
        } else {
          randomInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       */
      public Builder mergeRandomInfo(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo value) {
        if (randomInfoBuilder_ == null) {
          if (randomInfo_ != null) {
            randomInfo_ =
              emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.newBuilder(randomInfo_).mergeFrom(value).buildPartial();
          } else {
            randomInfo_ = value;
          }
          onChanged();
        } else {
          randomInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       */
      public Builder clearRandomInfo() {
        if (randomInfoBuilder_ == null) {
          randomInfo_ = null;
          onChanged();
        } else {
          randomInfo_ = null;
          randomInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       */
      public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder getRandomInfoBuilder() {
        
        onChanged();
        return getRandomInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       */
      public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
        if (randomInfoBuilder_ != null) {
          return randomInfoBuilder_.getMessageOrBuilder();
        } else {
          return randomInfo_ == null ?
              emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance() : randomInfo_;
        }
      }
      /**
       * <code>.ParentQuestRandomInfo random_info = 12;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder> 
          getRandomInfoFieldBuilder() {
        if (randomInfoBuilder_ == null) {
          randomInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder>(
                  getRandomInfo(),
                  getParentForChildren(),
                  isClean());
          randomInfo_ = null;
        }
        return randomInfoBuilder_;
      }

      private int parentQuestId_ ;
      /**
       * <code>uint32 parent_quest_id = 3;</code>
       * @return The parentQuestId.
       */
      @java.lang.Override
      public int getParentQuestId() {
        return parentQuestId_;
      }
      /**
       * <code>uint32 parent_quest_id = 3;</code>
       * @param value The parentQuestId to set.
       * @return This builder for chaining.
       */
      public Builder setParentQuestId(int value) {
        
        parentQuestId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 parent_quest_id = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearParentQuestId() {
        
        parentQuestId_ = 0;
        onChanged();
        return this;
      }

      private boolean isRandom_ ;
      /**
       * <code>bool is_random = 13;</code>
       * @return The isRandom.
       */
      @java.lang.Override
      public boolean getIsRandom() {
        return isRandom_;
      }
      /**
       * <code>bool is_random = 13;</code>
       * @param value The isRandom to set.
       * @return This builder for chaining.
       */
      public Builder setIsRandom(boolean value) {
        
        isRandom_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_random = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsRandom() {
        
        isRandom_ = false;
        onChanged();
        return this;
      }

      private long cutsceneEncryptionKey_ ;
      /**
       * <code>uint64 cutscene_encryption_key = 6;</code>
       * @return The cutsceneEncryptionKey.
       */
      @java.lang.Override
      public long getCutsceneEncryptionKey() {
        return cutsceneEncryptionKey_;
      }
      /**
       * <code>uint64 cutscene_encryption_key = 6;</code>
       * @param value The cutsceneEncryptionKey to set.
       * @return This builder for chaining.
       */
      public Builder setCutsceneEncryptionKey(long value) {
        
        cutsceneEncryptionKey_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 cutscene_encryption_key = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearCutsceneEncryptionKey() {
        
        cutsceneEncryptionKey_ = 0L;
        onChanged();
        return this;
      }

      private int questVarSeq_ ;
      /**
       * <code>uint32 quest_var_seq = 11;</code>
       * @return The questVarSeq.
       */
      @java.lang.Override
      public int getQuestVarSeq() {
        return questVarSeq_;
      }
      /**
       * <code>uint32 quest_var_seq = 11;</code>
       * @param value The questVarSeq to set.
       * @return This builder for chaining.
       */
      public Builder setQuestVarSeq(int value) {
        
        questVarSeq_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 quest_var_seq = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearQuestVarSeq() {
        
        questVarSeq_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_ =
        java.util.Collections.emptyList();
      private void ensureChildQuestListIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          childQuestList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest>(childQuestList_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> childQuestListBuilder_;

      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> getChildQuestListList() {
        if (childQuestListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(childQuestList_);
        } else {
          return childQuestListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public int getChildQuestListCount() {
        if (childQuestListBuilder_ == null) {
          return childQuestList_.size();
        } else {
          return childQuestListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index) {
        if (childQuestListBuilder_ == null) {
          return childQuestList_.get(index);
        } else {
          return childQuestListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder setChildQuestList(
          int index, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest value) {
        if (childQuestListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureChildQuestListIsMutable();
          childQuestList_.set(index, value);
          onChanged();
        } else {
          childQuestListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder setChildQuestList(
          int index, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder builderForValue) {
        if (childQuestListBuilder_ == null) {
          ensureChildQuestListIsMutable();
          childQuestList_.set(index, builderForValue.build());
          onChanged();
        } else {
          childQuestListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder addChildQuestList(emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest value) {
        if (childQuestListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureChildQuestListIsMutable();
          childQuestList_.add(value);
          onChanged();
        } else {
          childQuestListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder addChildQuestList(
          int index, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest value) {
        if (childQuestListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureChildQuestListIsMutable();
          childQuestList_.add(index, value);
          onChanged();
        } else {
          childQuestListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder addChildQuestList(
          emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder builderForValue) {
        if (childQuestListBuilder_ == null) {
          ensureChildQuestListIsMutable();
          childQuestList_.add(builderForValue.build());
          onChanged();
        } else {
          childQuestListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder addChildQuestList(
          int index, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder builderForValue) {
        if (childQuestListBuilder_ == null) {
          ensureChildQuestListIsMutable();
          childQuestList_.add(index, builderForValue.build());
          onChanged();
        } else {
          childQuestListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder addAllChildQuestList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> values) {
        if (childQuestListBuilder_ == null) {
          ensureChildQuestListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, childQuestList_);
          onChanged();
        } else {
          childQuestListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder clearChildQuestList() {
        if (childQuestListBuilder_ == null) {
          childQuestList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          childQuestListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public Builder removeChildQuestList(int index) {
        if (childQuestListBuilder_ == null) {
          ensureChildQuestListIsMutable();
          childQuestList_.remove(index);
          onChanged();
        } else {
          childQuestListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder getChildQuestListBuilder(
          int index) {
        return getChildQuestListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
          int index) {
        if (childQuestListBuilder_ == null) {
          return childQuestList_.get(index);  } else {
          return childQuestListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
           getChildQuestListOrBuilderList() {
        if (childQuestListBuilder_ != null) {
          return childQuestListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(childQuestList_);
        }
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder addChildQuestListBuilder() {
        return getChildQuestListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.getDefaultInstance());
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder addChildQuestListBuilder(
          int index) {
        return getChildQuestListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.getDefaultInstance());
      }
      /**
       * <code>repeated .ChildQuest child_quest_list = 9;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder> 
           getChildQuestListBuilderList() {
        return getChildQuestListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
          getChildQuestListFieldBuilder() {
        if (childQuestListBuilder_ == null) {
          childQuestListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder, emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder>(
                  childQuestList_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          childQuestList_ = null;
        }
        return childQuestListBuilder_;
      }
      @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:ParentQuest)
    }

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

    public static emu.grasscutter.net.proto.ParentQuestOuterClass.ParentQuest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ParentQuest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ParentQuest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ParentQuest_TimeVarMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ParentQuest_TimeVarMapEntry_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\021ParentQuest.proto\032\020ChildQuest.proto\032\033P" +
      "arentQuestRandomInfo.proto\032\031Unk3000_ENLD" +
      "IHLGNCK.proto\"\243\003\n\013ParentQuest\022\021\n\tquest_v" +
      "ar\030\016 \003(\005\0222\n\014time_var_map\030\010 \003(\0132\034.ParentQ" +
      "uest.TimeVarMapEntry\022\032\n\022parent_quest_sta" +
      "te\030\001 \001(\r\022\023\n\013is_finished\030\007 \001(\010\0221\n\023Unk3000" +
      "_HLPGILIGGCB\030\017 \003(\0132\024.Unk3000_ENLDIHLGNCK" +
      "\022+\n\013random_info\030\014 \001(\0132\026.ParentQuestRando" +
      "mInfo\022\027\n\017parent_quest_id\030\003 \001(\r\022\021\n\tis_ran" +
      "dom\030\r \001(\010\022\037\n\027cutscene_encryption_key\030\006 \001" +
      "(\004\022\025\n\rquest_var_seq\030\013 \001(\r\022%\n\020child_quest" +
      "_list\030\t \003(\0132\013.ChildQuest\0321\n\017TimeVarMapEn" +
      "try\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031e" +
      "mu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.ChildQuestOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.getDescriptor(),
        });
    internal_static_ParentQuest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ParentQuest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ParentQuest_descriptor,
        new java.lang.String[] { "QuestVar", "TimeVarMap", "ParentQuestState", "IsFinished", "Unk3000HLPGILIGGCB", "RandomInfo", "ParentQuestId", "IsRandom", "CutsceneEncryptionKey", "QuestVarSeq", "ChildQuestList", });
    internal_static_ParentQuest_TimeVarMapEntry_descriptor =
      internal_static_ParentQuest_descriptor.getNestedTypes().get(0);
    internal_static_ParentQuest_TimeVarMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ParentQuest_TimeVarMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.ChildQuestOuterClass.getDescriptor();
    emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.Unk3000ENLDIHLGNCK.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
