// 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>bool is_random = 1;</code>
     * @return The isRandom.
     */
    boolean getIsRandom();

    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> 
        getChildQuestListList();
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index);
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    int getChildQuestListCount();
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
        getChildQuestListOrBuilderList();
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
        int index);

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

    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> 
        getInferencePageListList();
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo getInferencePageList(int index);
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    int getInferencePageListCount();
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder> 
        getInferencePageListOrBuilderList();
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder getInferencePageListOrBuilder(
        int index);

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

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

    /**
     * <code>uint64 video_key = 6;</code>
     * @return The videoKey.
     */
    long getVideoKey();

    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 14;</code>
     */
    int getTimeVarMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 14;</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 = 14;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getTimeVarMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 14;</code>
     */

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

    int getTimeVarMapOrThrow(
        int key);

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

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

    /**
     * <code>.ParentQuestRandomInfo randomInfo = 3;</code>
     * @return Whether the randomInfo field is set.
     */
    boolean hasRandomInfo();
    /**
     * <code>.ParentQuestRandomInfo randomInfo = 3;</code>
     * @return The randomInfo.
     */
    emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo();
    /**
     * <code>.ParentQuestRandomInfo randomInfo = 3;</code>
     */
    emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder();
  }
  /**
   * <pre>
   * Name: NMIGKDMCKHK
   * </pre>
   *
   * 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() {
      childQuestList_ = java.util.Collections.emptyList();
      questVar_ = emptyIntList();
      inferencePageList_ = 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: {

              isRandom_ = input.readBool();
              break;
            }
            case 16: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                questVar_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              questVar_.addInt(input.readInt32());
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                questVar_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                questVar_.addInt(input.readInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 26: {
              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 34: {
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                inferencePageList_ = new java.util.ArrayList<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo>();
                mutable_bitField0_ |= 0x00000004;
              }
              inferencePageList_.add(
                  input.readMessage(emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.parser(), extensionRegistry));
              break;
            }
            case 40: {

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

              videoKey_ = input.readUInt64();
              break;
            }
            case 64: {

              isFinished_ = input.readBool();
              break;
            }
            case 72: {

              questVarSeq_ = input.readUInt32();
              break;
            }
            case 88: {

              parentQuestId_ = input.readUInt32();
              break;
            }
            case 106: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                childQuestList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest>();
                mutable_bitField0_ |= 0x00000001;
              }
              childQuestList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.parser(), extensionRegistry));
              break;
            }
            case 114: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                timeVarMap_ = com.google.protobuf.MapField.newMapField(
                    TimeVarMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000008;
              }
              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;
            }
            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_ & 0x00000002) != 0)) {
          questVar_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          inferencePageList_ = java.util.Collections.unmodifiableList(inferencePageList_);
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
        }
        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 14:
          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 IS_RANDOM_FIELD_NUMBER = 1;
    private boolean isRandom_;
    /**
     * <code>bool is_random = 1;</code>
     * @return The isRandom.
     */
    @java.lang.Override
    public boolean getIsRandom() {
      return isRandom_;
    }

    public static final int CHILDQUESTLIST_FIELD_NUMBER = 13;
    private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_;
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> getChildQuestListList() {
      return childQuestList_;
    }
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
        getChildQuestListOrBuilderList() {
      return childQuestList_;
    }
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    @java.lang.Override
    public int getChildQuestListCount() {
      return childQuestList_.size();
    }
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index) {
      return childQuestList_.get(index);
    }
    /**
     * <code>repeated .ChildQuest childQuestList = 13;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
        int index) {
      return childQuestList_.get(index);
    }

    public static final int QUEST_VAR_FIELD_NUMBER = 2;
    private com.google.protobuf.Internal.IntList questVar_;
    /**
     * <code>repeated int32 quest_var = 2;</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 = 2;</code>
     * @return The count of questVar.
     */
    public int getQuestVarCount() {
      return questVar_.size();
    }
    /**
     * <code>repeated int32 quest_var = 2;</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 INFERENCE_PAGE_LIST_FIELD_NUMBER = 4;
    private java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> inferencePageList_;
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> getInferencePageListList() {
      return inferencePageList_;
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder> 
        getInferencePageListOrBuilderList() {
      return inferencePageList_;
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    @java.lang.Override
    public int getInferencePageListCount() {
      return inferencePageList_.size();
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo getInferencePageList(int index) {
      return inferencePageList_.get(index);
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder getInferencePageListOrBuilder(
        int index) {
      return inferencePageList_.get(index);
    }

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

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

    public static final int VIDEO_KEY_FIELD_NUMBER = 6;
    private long videoKey_;
    /**
     * <code>uint64 video_key = 6;</code>
     * @return The videoKey.
     */
    @java.lang.Override
    public long getVideoKey() {
      return videoKey_;
    }

    public static final int TIME_VAR_MAP_FIELD_NUMBER = 14;
    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 = 14;</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 = 14;</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 = 14;</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 = 14;</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 IS_FINISHED_FIELD_NUMBER = 8;
    private boolean isFinished_;
    /**
     * <code>bool is_finished = 8;</code>
     * @return The isFinished.
     */
    @java.lang.Override
    public boolean getIsFinished() {
      return isFinished_;
    }

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

    public static final int RANDOMINFO_FIELD_NUMBER = 3;
    private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
    /**
     * <code>.ParentQuestRandomInfo randomInfo = 3;</code>
     * @return Whether the randomInfo field is set.
     */
    @java.lang.Override
    public boolean hasRandomInfo() {
      return randomInfo_ != null;
    }
    /**
     * <code>.ParentQuestRandomInfo randomInfo = 3;</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 randomInfo = 3;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
      return getRandomInfo();
    }

    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 (isRandom_ != false) {
        output.writeBool(1, isRandom_);
      }
      if (getQuestVarList().size() > 0) {
        output.writeUInt32NoTag(18);
        output.writeUInt32NoTag(questVarMemoizedSerializedSize);
      }
      for (int i = 0; i < questVar_.size(); i++) {
        output.writeInt32NoTag(questVar_.getInt(i));
      }
      if (randomInfo_ != null) {
        output.writeMessage(3, getRandomInfo());
      }
      for (int i = 0; i < inferencePageList_.size(); i++) {
        output.writeMessage(4, inferencePageList_.get(i));
      }
      if (parentQuestState_ != 0) {
        output.writeUInt32(5, parentQuestState_);
      }
      if (videoKey_ != 0L) {
        output.writeUInt64(6, videoKey_);
      }
      if (isFinished_ != false) {
        output.writeBool(8, isFinished_);
      }
      if (questVarSeq_ != 0) {
        output.writeUInt32(9, questVarSeq_);
      }
      if (parentQuestId_ != 0) {
        output.writeUInt32(11, parentQuestId_);
      }
      for (int i = 0; i < childQuestList_.size(); i++) {
        output.writeMessage(13, childQuestList_.get(i));
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetTimeVarMap(),
          TimeVarMapDefaultEntryHolder.defaultEntry,
          14);
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (isRandom_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, 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;
      }
      if (randomInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getRandomInfo());
      }
      for (int i = 0; i < inferencePageList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, inferencePageList_.get(i));
      }
      if (parentQuestState_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, parentQuestState_);
      }
      if (videoKey_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(6, videoKey_);
      }
      if (isFinished_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(8, isFinished_);
      }
      if (questVarSeq_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, questVarSeq_);
      }
      if (parentQuestId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, parentQuestId_);
      }
      for (int i = 0; i < childQuestList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, childQuestList_.get(i));
      }
      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(14, timeVarMap__);
      }
      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 (getIsRandom()
          != other.getIsRandom()) return false;
      if (!getChildQuestListList()
          .equals(other.getChildQuestListList())) return false;
      if (!getQuestVarList()
          .equals(other.getQuestVarList())) return false;
      if (!getInferencePageListList()
          .equals(other.getInferencePageListList())) return false;
      if (getParentQuestState()
          != other.getParentQuestState()) return false;
      if (getQuestVarSeq()
          != other.getQuestVarSeq()) return false;
      if (getVideoKey()
          != other.getVideoKey()) return false;
      if (!internalGetTimeVarMap().equals(
          other.internalGetTimeVarMap())) return false;
      if (getIsFinished()
          != other.getIsFinished()) return false;
      if (getParentQuestId()
          != other.getParentQuestId()) return false;
      if (hasRandomInfo() != other.hasRandomInfo()) return false;
      if (hasRandomInfo()) {
        if (!getRandomInfo()
            .equals(other.getRandomInfo())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + IS_RANDOM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsRandom());
      if (getChildQuestListCount() > 0) {
        hash = (37 * hash) + CHILDQUESTLIST_FIELD_NUMBER;
        hash = (53 * hash) + getChildQuestListList().hashCode();
      }
      if (getQuestVarCount() > 0) {
        hash = (37 * hash) + QUEST_VAR_FIELD_NUMBER;
        hash = (53 * hash) + getQuestVarList().hashCode();
      }
      if (getInferencePageListCount() > 0) {
        hash = (37 * hash) + INFERENCE_PAGE_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getInferencePageListList().hashCode();
      }
      hash = (37 * hash) + PARENT_QUEST_STATE_FIELD_NUMBER;
      hash = (53 * hash) + getParentQuestState();
      hash = (37 * hash) + QUEST_VAR_SEQ_FIELD_NUMBER;
      hash = (53 * hash) + getQuestVarSeq();
      hash = (37 * hash) + VIDEO_KEY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getVideoKey());
      if (!internalGetTimeVarMap().getMap().isEmpty()) {
        hash = (37 * hash) + TIME_VAR_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetTimeVarMap().hashCode();
      }
      hash = (37 * hash) + IS_FINISHED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsFinished());
      hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
      hash = (53 * hash) + getParentQuestId();
      if (hasRandomInfo()) {
        hash = (37 * hash) + RANDOMINFO_FIELD_NUMBER;
        hash = (53 * hash) + getRandomInfo().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;
    }
    /**
     * <pre>
     * Name: NMIGKDMCKHK
     * </pre>
     *
     * 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 14:
            return internalGetTimeVarMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 14:
            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) {
          getChildQuestListFieldBuilder();
          getInferencePageListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        isRandom_ = false;

        if (childQuestListBuilder_ == null) {
          childQuestList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          childQuestListBuilder_.clear();
        }
        questVar_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        if (inferencePageListBuilder_ == null) {
          inferencePageList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          inferencePageListBuilder_.clear();
        }
        parentQuestState_ = 0;

        questVarSeq_ = 0;

        videoKey_ = 0L;

        internalGetMutableTimeVarMap().clear();
        isFinished_ = false;

        parentQuestId_ = 0;

        if (randomInfoBuilder_ == null) {
          randomInfo_ = null;
        } else {
          randomInfo_ = null;
          randomInfoBuilder_ = null;
        }
        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_;
        result.isRandom_ = isRandom_;
        if (childQuestListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.childQuestList_ = childQuestList_;
        } else {
          result.childQuestList_ = childQuestListBuilder_.build();
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          questVar_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.questVar_ = questVar_;
        if (inferencePageListBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            inferencePageList_ = java.util.Collections.unmodifiableList(inferencePageList_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.inferencePageList_ = inferencePageList_;
        } else {
          result.inferencePageList_ = inferencePageListBuilder_.build();
        }
        result.parentQuestState_ = parentQuestState_;
        result.questVarSeq_ = questVarSeq_;
        result.videoKey_ = videoKey_;
        result.timeVarMap_ = internalGetTimeVarMap();
        result.timeVarMap_.makeImmutable();
        result.isFinished_ = isFinished_;
        result.parentQuestId_ = parentQuestId_;
        if (randomInfoBuilder_ == null) {
          result.randomInfo_ = randomInfo_;
        } else {
          result.randomInfo_ = randomInfoBuilder_.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.getIsRandom() != false) {
          setIsRandom(other.getIsRandom());
        }
        if (childQuestListBuilder_ == null) {
          if (!other.childQuestList_.isEmpty()) {
            if (childQuestList_.isEmpty()) {
              childQuestList_ = other.childQuestList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureChildQuestListIsMutable();
              childQuestList_.addAll(other.childQuestList_);
            }
            onChanged();
          }
        } else {
          if (!other.childQuestList_.isEmpty()) {
            if (childQuestListBuilder_.isEmpty()) {
              childQuestListBuilder_.dispose();
              childQuestListBuilder_ = null;
              childQuestList_ = other.childQuestList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              childQuestListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getChildQuestListFieldBuilder() : null;
            } else {
              childQuestListBuilder_.addAllMessages(other.childQuestList_);
            }
          }
        }
        if (!other.questVar_.isEmpty()) {
          if (questVar_.isEmpty()) {
            questVar_ = other.questVar_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureQuestVarIsMutable();
            questVar_.addAll(other.questVar_);
          }
          onChanged();
        }
        if (inferencePageListBuilder_ == null) {
          if (!other.inferencePageList_.isEmpty()) {
            if (inferencePageList_.isEmpty()) {
              inferencePageList_ = other.inferencePageList_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureInferencePageListIsMutable();
              inferencePageList_.addAll(other.inferencePageList_);
            }
            onChanged();
          }
        } else {
          if (!other.inferencePageList_.isEmpty()) {
            if (inferencePageListBuilder_.isEmpty()) {
              inferencePageListBuilder_.dispose();
              inferencePageListBuilder_ = null;
              inferencePageList_ = other.inferencePageList_;
              bitField0_ = (bitField0_ & ~0x00000004);
              inferencePageListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getInferencePageListFieldBuilder() : null;
            } else {
              inferencePageListBuilder_.addAllMessages(other.inferencePageList_);
            }
          }
        }
        if (other.getParentQuestState() != 0) {
          setParentQuestState(other.getParentQuestState());
        }
        if (other.getQuestVarSeq() != 0) {
          setQuestVarSeq(other.getQuestVarSeq());
        }
        if (other.getVideoKey() != 0L) {
          setVideoKey(other.getVideoKey());
        }
        internalGetMutableTimeVarMap().mergeFrom(
            other.internalGetTimeVarMap());
        if (other.getIsFinished() != false) {
          setIsFinished(other.getIsFinished());
        }
        if (other.getParentQuestId() != 0) {
          setParentQuestId(other.getParentQuestId());
        }
        if (other.hasRandomInfo()) {
          mergeRandomInfo(other.getRandomInfo());
        }
        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 boolean isRandom_ ;
      /**
       * <code>bool is_random = 1;</code>
       * @return The isRandom.
       */
      @java.lang.Override
      public boolean getIsRandom() {
        return isRandom_;
      }
      /**
       * <code>bool is_random = 1;</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 = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsRandom() {
        
        isRandom_ = false;
        onChanged();
        return this;
      }

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

      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 childQuestList = 13;</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 childQuestList = 13;</code>
       */
      public int getChildQuestListCount() {
        if (childQuestListBuilder_ == null) {
          return childQuestList_.size();
        } else {
          return childQuestListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</code>
       */
      public Builder clearChildQuestList() {
        if (childQuestListBuilder_ == null) {
          childQuestList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          childQuestListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 13;</code>
       */
      public Builder removeChildQuestList(int index) {
        if (childQuestListBuilder_ == null) {
          ensureChildQuestListIsMutable();
          childQuestList_.remove(index);
          onChanged();
        } else {
          childQuestListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 13;</code>
       */
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder getChildQuestListBuilder(
          int index) {
        return getChildQuestListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 13;</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 childQuestList = 13;</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 childQuestList = 13;</code>
       */
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder addChildQuestListBuilder() {
        return getChildQuestListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.getDefaultInstance());
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 13;</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 childQuestList = 13;</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_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          childQuestList_ = null;
        }
        return childQuestListBuilder_;
      }

      private com.google.protobuf.Internal.IntList questVar_ = emptyIntList();
      private void ensureQuestVarIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          questVar_ = mutableCopy(questVar_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated int32 quest_var = 2;</code>
       * @return A list containing the questVar.
       */
      public java.util.List<java.lang.Integer>
          getQuestVarList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(questVar_) : questVar_;
      }
      /**
       * <code>repeated int32 quest_var = 2;</code>
       * @return The count of questVar.
       */
      public int getQuestVarCount() {
        return questVar_.size();
      }
      /**
       * <code>repeated int32 quest_var = 2;</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 = 2;</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 = 2;</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 = 2;</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 = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearQuestVar() {
        questVar_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> inferencePageList_ =
        java.util.Collections.emptyList();
      private void ensureInferencePageListIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          inferencePageList_ = new java.util.ArrayList<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo>(inferencePageList_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder> inferencePageListBuilder_;

      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> getInferencePageListList() {
        if (inferencePageListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(inferencePageList_);
        } else {
          return inferencePageListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public int getInferencePageListCount() {
        if (inferencePageListBuilder_ == null) {
          return inferencePageList_.size();
        } else {
          return inferencePageListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo getInferencePageList(int index) {
        if (inferencePageListBuilder_ == null) {
          return inferencePageList_.get(index);
        } else {
          return inferencePageListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder setInferencePageList(
          int index, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo value) {
        if (inferencePageListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInferencePageListIsMutable();
          inferencePageList_.set(index, value);
          onChanged();
        } else {
          inferencePageListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder setInferencePageList(
          int index, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder builderForValue) {
        if (inferencePageListBuilder_ == null) {
          ensureInferencePageListIsMutable();
          inferencePageList_.set(index, builderForValue.build());
          onChanged();
        } else {
          inferencePageListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder addInferencePageList(emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo value) {
        if (inferencePageListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInferencePageListIsMutable();
          inferencePageList_.add(value);
          onChanged();
        } else {
          inferencePageListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder addInferencePageList(
          int index, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo value) {
        if (inferencePageListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInferencePageListIsMutable();
          inferencePageList_.add(index, value);
          onChanged();
        } else {
          inferencePageListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder addInferencePageList(
          emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder builderForValue) {
        if (inferencePageListBuilder_ == null) {
          ensureInferencePageListIsMutable();
          inferencePageList_.add(builderForValue.build());
          onChanged();
        } else {
          inferencePageListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder addInferencePageList(
          int index, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder builderForValue) {
        if (inferencePageListBuilder_ == null) {
          ensureInferencePageListIsMutable();
          inferencePageList_.add(index, builderForValue.build());
          onChanged();
        } else {
          inferencePageListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder addAllInferencePageList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> values) {
        if (inferencePageListBuilder_ == null) {
          ensureInferencePageListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, inferencePageList_);
          onChanged();
        } else {
          inferencePageListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder clearInferencePageList() {
        if (inferencePageListBuilder_ == null) {
          inferencePageList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          inferencePageListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public Builder removeInferencePageList(int index) {
        if (inferencePageListBuilder_ == null) {
          ensureInferencePageListIsMutable();
          inferencePageList_.remove(index);
          onChanged();
        } else {
          inferencePageListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder getInferencePageListBuilder(
          int index) {
        return getInferencePageListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder getInferencePageListOrBuilder(
          int index) {
        if (inferencePageListBuilder_ == null) {
          return inferencePageList_.get(index);  } else {
          return inferencePageListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder> 
           getInferencePageListOrBuilderList() {
        if (inferencePageListBuilder_ != null) {
          return inferencePageListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(inferencePageList_);
        }
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder addInferencePageListBuilder() {
        return getInferencePageListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder addInferencePageListBuilder(
          int index) {
        return getInferencePageListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .InferencePageInfo inference_page_list = 4;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder> 
           getInferencePageListBuilderList() {
        return getInferencePageListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder> 
          getInferencePageListFieldBuilder() {
        if (inferencePageListBuilder_ == null) {
          inferencePageListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder, emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder>(
                  inferencePageList_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          inferencePageList_ = null;
        }
        return inferencePageListBuilder_;
      }

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

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

      private long videoKey_ ;
      /**
       * <code>uint64 video_key = 6;</code>
       * @return The videoKey.
       */
      @java.lang.Override
      public long getVideoKey() {
        return videoKey_;
      }
      /**
       * <code>uint64 video_key = 6;</code>
       * @param value The videoKey to set.
       * @return This builder for chaining.
       */
      public Builder setVideoKey(long value) {
        
        videoKey_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 video_key = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearVideoKey() {
        
        videoKey_ = 0L;
        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 = 14;</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 = 14;</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 = 14;</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 = 14;</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 = 14;</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 = 14;</code>
       */
      public Builder putTimeVarMap(
          int key,
          int value) {
        
        
        internalGetMutableTimeVarMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; time_var_map = 14;</code>
       */

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

      private boolean isFinished_ ;
      /**
       * <code>bool is_finished = 8;</code>
       * @return The isFinished.
       */
      @java.lang.Override
      public boolean getIsFinished() {
        return isFinished_;
      }
      /**
       * <code>bool is_finished = 8;</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 = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsFinished() {
        
        isFinished_ = false;
        onChanged();
        return this;
      }

      private int parentQuestId_ ;
      /**
       * <code>uint32 parent_quest_id = 11;</code>
       * @return The parentQuestId.
       */
      @java.lang.Override
      public int getParentQuestId() {
        return parentQuestId_;
      }
      /**
       * <code>uint32 parent_quest_id = 11;</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 = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearParentQuestId() {
        
        parentQuestId_ = 0;
        onChanged();
        return this;
      }

      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 randomInfo = 3;</code>
       * @return Whether the randomInfo field is set.
       */
      public boolean hasRandomInfo() {
        return randomInfoBuilder_ != null || randomInfo_ != null;
      }
      /**
       * <code>.ParentQuestRandomInfo randomInfo = 3;</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 randomInfo = 3;</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 randomInfo = 3;</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 randomInfo = 3;</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 randomInfo = 3;</code>
       */
      public Builder clearRandomInfo() {
        if (randomInfoBuilder_ == null) {
          randomInfo_ = null;
          onChanged();
        } else {
          randomInfo_ = null;
          randomInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.ParentQuestRandomInfo randomInfo = 3;</code>
       */
      public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder getRandomInfoBuilder() {
        
        onChanged();
        return getRandomInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.ParentQuestRandomInfo randomInfo = 3;</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 randomInfo = 3;</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_;
      }
      @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\027I" +
      "nferencePageInfo.proto\032\033ParentQuestRando" +
      "mInfo.proto\"\220\003\n\013ParentQuest\022\021\n\tis_random" +
      "\030\001 \001(\010\022#\n\016childQuestList\030\r \003(\0132\013.ChildQu" +
      "est\022\021\n\tquest_var\030\002 \003(\005\022/\n\023inference_page" +
      "_list\030\004 \003(\0132\022.InferencePageInfo\022\032\n\022paren" +
      "t_quest_state\030\005 \001(\r\022\025\n\rquest_var_seq\030\t \001" +
      "(\r\022\021\n\tvideo_key\030\006 \001(\004\0222\n\014time_var_map\030\016 " +
      "\003(\0132\034.ParentQuest.TimeVarMapEntry\022\023\n\013is_" +
      "finished\030\010 \001(\010\022\027\n\017parent_quest_id\030\013 \001(\r\022" +
      "*\n\nrandomInfo\030\003 \001(\0132\026.ParentQuestRandomI" +
      "nfo\0321\n\017TimeVarMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005v" +
      "alue\030\002 \001(\r:\0028\001B\033\n\031emu.grasscutter.net.pr" +
      "otob\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.InferencePageInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.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[] { "IsRandom", "ChildQuestList", "QuestVar", "InferencePageList", "ParentQuestState", "QuestVarSeq", "VideoKey", "TimeVarMap", "IsFinished", "ParentQuestId", "RandomInfo", });
    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.InferencePageInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
