content: // 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>.ParentQuestRandomInfo randomInfo = 7;</code>
       * @return Whether the randomInfo field is set.
       */
      boolean hasRandomInfo();
      /**
       * <code>.ParentQuestRandomInfo randomInfo = 7;</code>
       * @return The randomInfo.
       */
      emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo getRandomInfo();
      /**
       * <code>.ParentQuestRandomInfo randomInfo = 7;</code>
       */
      emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder();
  
      /**
       * <code>repeated int32 questVar = 8;</code>
       * @return A list containing the questVar.
       */
      java.util.List<java.lang.Integer> getQuestVarList();
      /**
       * <code>repeated int32 questVar = 8;</code>
       * @return The count of questVar.
       */
      int getQuestVarCount();
      /**
       * <code>repeated int32 questVar = 8;</code>
       * @param index The index of the element to return.
       * @return The questVar at the given index.
       */
      int getQuestVar(int index);
  
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> 
          getChildQuestListList();
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index);
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      int getChildQuestListCount();
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
          getChildQuestListOrBuilderList();
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
          int index);
  
      /**
       * <code>bool isFinished = 9;</code>
       * @return The isFinished.
       */
      boolean getIsFinished();
  
      /**
       * <code>bool isRandom = 11;</code>
       * @return The isRandom.
       */
      boolean getIsRandom();
  
      /**
       * <code>uint32 parentQuestId = 1;</code>
       * @return The parentQuestId.
       */
      int getParentQuestId();
  
      /**
       * <code>map&lt;uint32, uint32&gt; timeVarMap = 12;</code>
       */
      int getTimeVarMapCount();
      /**
       * <code>map&lt;uint32, uint32&gt; timeVarMap = 12;</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; timeVarMap = 12;</code>
       */
      java.util.Map<java.lang.Integer, java.lang.Integer>
      getTimeVarMapMap();
      /**
       * <code>map&lt;uint32, uint32&gt; timeVarMap = 12;</code>
       */
  
      int getTimeVarMapOrDefault(
          int key,
          int defaultValue);
      /**
       * <code>map&lt;uint32, uint32&gt; timeVarMap = 12;</code>
       */
  
      int getTimeVarMapOrThrow(
          int key);
  
      /**
       * <code>uint32 parentQuestState = 15;</code>
       * @return The parentQuestState.
       */
      int getParentQuestState();
  
      /**
       * <code>uint64 videoKey = 2;</code>
       * @return The videoKey.
       */
      long getVideoKey();
  
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> 
          getInferencePageListList();
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo getInferencePageList(int index);
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      int getInferencePageListCount();
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      java.util.List<? extends emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder> 
          getInferencePageListOrBuilderList();
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder getInferencePageListOrBuilder(
          int index);
  
      /**
       * <code>uint32 questVarSeq = 4;</code>
       * @return The questVarSeq.
       */
      int getQuestVarSeq();
    }
    /**
     * 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();
        childQuestList_ = java.util.Collections.emptyList();
        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: {
  
                parentQuestId_ = input.readUInt32();
                break;
              }
              case 16: {
  
                videoKey_ = input.readUInt64();
                break;
              }
              case 32: {
  
                questVarSeq_ = input.readUInt32();
                break;
              }
              case 42: {
                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                  inferencePageList_ = new java.util.ArrayList<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo>();
                  mutable_bitField0_ |= 0x00000008;
                }
                inferencePageList_.add(
                    input.readMessage(emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.parser(), extensionRegistry));
                break;
              }
              case 58: {
                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 64: {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  questVar_ = newIntList();
                  mutable_bitField0_ |= 0x00000001;
                }
                questVar_.addInt(input.readInt32());
                break;
              }
              case 66: {
                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 72: {
  
                isFinished_ = input.readBool();
                break;
              }
              case 82: {
                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  childQuestList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest>();
                  mutable_bitField0_ |= 0x00000002;
                }
                childQuestList_.add(
                    input.readMessage(emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.parser(), extensionRegistry));
                break;
              }
              case 88: {
  
                isRandom_ = input.readBool();
                break;
              }
              case 98: {
                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                  timeVarMap_ = com.google.protobuf.MapField.newMapField(
                      TimeVarMapDefaultEntryHolder.defaultEntry);
                  mutable_bitField0_ |= 0x00000004;
                }
                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 120: {
  
                parentQuestState_ = input.readUInt32();
                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)) {
            inferencePageList_ = java.util.Collections.unmodifiableList(inferencePageList_);
          }
          if (((mutable_bitField0_ & 0x00000001) != 0)) {
            questVar_.makeImmutable(); // C
          }
          if (((mutable_bitField0_ & 0x00000002) != 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 12:
            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 RANDOMINFO_FIELD_NUMBER = 7;
      private emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo randomInfo_;
      /**
       * <code>.ParentQuestRandomInfo randomInfo = 7;</code>
       * @return Whether the randomInfo field is set.
       */
      @java.lang.Override
      public boolean hasRandomInfo() {
        return randomInfo_ != null;
      }
      /**
       * <code>.ParentQuestRandomInfo randomInfo = 7;</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 = 7;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfoOrBuilder getRandomInfoOrBuilder() {
        return getRandomInfo();
      }
  
      public static final int QUESTVAR_FIELD_NUMBER = 8;
      private com.google.protobuf.Internal.IntList questVar_;
      /**
       * <code>repeated int32 questVar = 8;</code>
       * @return A list containing the questVar.
       */
      @java.lang.Override
      public java.util.List<java.lang.Integer>
          getQuestVarList() {
        return questVar_;
      }
      /**
       * <code>repeated int32 questVar = 8;</code>
       * @return The count of questVar.
       */
      public int getQuestVarCount() {
        return questVar_.size();
      }
      /**
       * <code>repeated int32 questVar = 8;</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 CHILDQUESTLIST_FIELD_NUMBER = 10;
      private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_;
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> getChildQuestListList() {
        return childQuestList_;
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder> 
          getChildQuestListOrBuilderList() {
        return childQuestList_;
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      @java.lang.Override
      public int getChildQuestListCount() {
        return childQuestList_.size();
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest getChildQuestList(int index) {
        return childQuestList_.get(index);
      }
      /**
       * <code>repeated .ChildQuest childQuestList = 10;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuestOrBuilder getChildQuestListOrBuilder(
          int index) {
        return childQuestList_.get(index);
      }
  
      public static final int ISFINISHED_FIELD_NUMBER = 9;
      private boolean isFinished_;
      /**
       * <code>bool isFinished = 9;</code>
       * @return The isFinished.
       */
      @java.lang.Override
      public boolean getIsFinished() {
        return isFinished_;
      }
  
      public static final int ISRANDOM_FIELD_NUMBER = 11;
      private boolean isRandom_;
      /**
       * <code>bool isRandom = 11;</code>
       * @return The isRandom.
       */
      @java.lang.Override
      public boolean getIsRandom() {
        return isRandom_;
      }
  
      public static final int PARENTQUESTID_FIELD_NUMBER = 1;
      private int parentQuestId_;
      /**
       * <code>uint32 parentQuestId = 1;</code>
       * @return The parentQuestId.
       */
      @java.lang.Override
      public int getParentQuestId() {
        return parentQuestId_;
      }
  
      public static final int TIMEVARMAP_FIELD_NUMBER = 12;
      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; timeVarMap = 12;</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; timeVarMap = 12;</code>
       */
      @java.lang.Override
  
      public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMapMap() {
        return internalGetTimeVarMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; timeVarMap = 12;</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; timeVarMap = 12;</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 PARENTQUESTSTATE_FIELD_NUMBER = 15;
      private int parentQuestState_;
      /**
       * <code>uint32 parentQuestState = 15;</code>
       * @return The parentQuestState.
       */
      @java.lang.Override
      public int getParentQuestState() {
        return parentQuestState_;
      }
  
      public static final int VIDEOKEY_FIELD_NUMBER = 2;
      private long videoKey_;
      /**
       * <code>uint64 videoKey = 2;</code>
       * @return The videoKey.
       */
      @java.lang.Override
      public long getVideoKey() {
        return videoKey_;
      }
  
      public static final int INFERENCEPAGELIST_FIELD_NUMBER = 5;
      private java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> inferencePageList_;
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      @java.lang.Override
      public java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> getInferencePageListList() {
        return inferencePageList_;
      }
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      @java.lang.Override
      public java.util.List<? extends emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder> 
          getInferencePageListOrBuilderList() {
        return inferencePageList_;
      }
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      @java.lang.Override
      public int getInferencePageListCount() {
        return inferencePageList_.size();
      }
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo getInferencePageList(int index) {
        return inferencePageList_.get(index);
      }
      /**
       * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfoOrBuilder getInferencePageListOrBuilder(
          int index) {
        return inferencePageList_.get(index);
      }
  
      public static final int QUESTVARSEQ_FIELD_NUMBER = 4;
      private int questVarSeq_;
      /**
       * <code>uint32 questVarSeq = 4;</code>
       * @return The questVarSeq.
       */
      @java.lang.Override
      public int getQuestVarSeq() {
        return questVarSeq_;
      }
  
      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 (parentQuestId_ != 0) {
          output.writeUInt32(1, parentQuestId_);
        }
        if (videoKey_ != 0L) {
          output.writeUInt64(2, videoKey_);
        }
        if (questVarSeq_ != 0) {
          output.writeUInt32(4, questVarSeq_);
        }
        for (int i = 0; i < inferencePageList_.size(); i++) {
          output.writeMessage(5, inferencePageList_.get(i));
        }
        if (randomInfo_ != null) {
          output.writeMessage(7, getRandomInfo());
        }
        if (getQuestVarList().size() > 0) {
          output.writeUInt32NoTag(66);
          output.writeUInt32NoTag(questVarMemoizedSerializedSize);
        }
        for (int i = 0; i < questVar_.size(); i++) {
          output.writeInt32NoTag(questVar_.getInt(i));
        }
        if (isFinished_ != false) {
          output.writeBool(9, isFinished_);
        }
        for (int i = 0; i < childQuestList_.size(); i++) {
          output.writeMessage(10, childQuestList_.get(i));
        }
        if (isRandom_ != false) {
          output.writeBool(11, isRandom_);
        }
        com.google.protobuf.GeneratedMessageV3
          .serializeIntegerMapTo(
            output,
            internalGetTimeVarMap(),
            TimeVarMapDefaultEntryHolder.defaultEntry,
            12);
        if (parentQuestState_ != 0) {
          output.writeUInt32(15, parentQuestState_);
        }
        unknownFields.writeTo(output);
      }
  
      @java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;
  
        size = 0;
        if (parentQuestId_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(1, parentQuestId_);
        }
        if (videoKey_ != 0L) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt64Size(2, videoKey_);
        }
        if (questVarSeq_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(4, questVarSeq_);
        }
        for (int i = 0; i < inferencePageList_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(5, inferencePageList_.get(i));
        }
        if (randomInfo_ != null) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(7, getRandomInfo());
        }
        {
          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 (isFinished_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(9, isFinished_);
        }
        for (int i = 0; i < childQuestList_.size(); i++) {
          size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(10, childQuestList_.get(i));
        }
        if (isRandom_ != false) {
          size += com.google.protobuf.CodedOutputStream
            .computeBoolSize(11, isRandom_);
        }
        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(12, timeVarMap__);
        }
        if (parentQuestState_ != 0) {
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32Size(15, parentQuestState_);
        }
        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 (hasRandomInfo() != other.hasRandomInfo()) return false;
        if (hasRandomInfo()) {
          if (!getRandomInfo()
              .equals(other.getRandomInfo())) return false;
        }
        if (!getQuestVarList()
            .equals(other.getQuestVarList())) return false;
        if (!getChildQuestListList()
            .equals(other.getChildQuestListList())) return false;
        if (getIsFinished()
            != other.getIsFinished()) return false;
        if (getIsRandom()
            != other.getIsRandom()) return false;
        if (getParentQuestId()
            != other.getParentQuestId()) return false;
        if (!internalGetTimeVarMap().equals(
            other.internalGetTimeVarMap())) return false;
        if (getParentQuestState()
            != other.getParentQuestState()) return false;
        if (getVideoKey()
            != other.getVideoKey()) return false;
        if (!getInferencePageListList()
            .equals(other.getInferencePageListList())) return false;
        if (getQuestVarSeq()
            != other.getQuestVarSeq()) 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 (hasRandomInfo()) {
          hash = (37 * hash) + RANDOMINFO_FIELD_NUMBER;
          hash = (53 * hash) + getRandomInfo().hashCode();
        }
        if (getQuestVarCount() > 0) {
          hash = (37 * hash) + QUESTVAR_FIELD_NUMBER;
          hash = (53 * hash) + getQuestVarList().hashCode();
        }
        if (getChildQuestListCount() > 0) {
          hash = (37 * hash) + CHILDQUESTLIST_FIELD_NUMBER;
          hash = (53 * hash) + getChildQuestListList().hashCode();
        }
        hash = (37 * hash) + ISFINISHED_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsFinished());
        hash = (37 * hash) + ISRANDOM_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsRandom());
        hash = (37 * hash) + PARENTQUESTID_FIELD_NUMBER;
        hash = (53 * hash) + getParentQuestId();
        if (!internalGetTimeVarMap().getMap().isEmpty()) {
          hash = (37 * hash) + TIMEVARMAP_FIELD_NUMBER;
          hash = (53 * hash) + internalGetTimeVarMap().hashCode();
        }
        hash = (37 * hash) + PARENTQUESTSTATE_FIELD_NUMBER;
        hash = (53 * hash) + getParentQuestState();
        hash = (37 * hash) + VIDEOKEY_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getVideoKey());
        if (getInferencePageListCount() > 0) {
          hash = (37 * hash) + INFERENCEPAGELIST_FIELD_NUMBER;
          hash = (53 * hash) + getInferencePageListList().hashCode();
        }
        hash = (37 * hash) + QUESTVARSEQ_FIELD_NUMBER;
        hash = (53 * hash) + getQuestVarSeq();
        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 12:
              return internalGetTimeVarMap();
            default:
              throw new RuntimeException(
                  "Invalid map field number: " + number);
          }
        }
        @SuppressWarnings({"rawtypes"})
        protected com.google.protobuf.MapField internalGetMutableMapField(
            int number) {
          switch (number) {
            case 12:
              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();
          if (randomInfoBuilder_ == null) {
            randomInfo_ = null;
          } else {
            randomInfo_ = null;
            randomInfoBuilder_ = null;
          }
          questVar_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000001);
          if (childQuestListBuilder_ == null) {
            childQuestList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            childQuestListBuilder_.clear();
          }
          isFinished_ = false;
  
          isRandom_ = false;
  
          parentQuestId_ = 0;
  
          internalGetMutableTimeVarMap().clear();
          parentQuestState_ = 0;
  
          videoKey_ = 0L;
  
          if (inferencePageListBuilder_ == null) {
            inferencePageList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            inferencePageListBuilder_.clear();
          }
          questVarSeq_ = 0;
  
          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 (randomInfoBuilder_ == null) {
            result.randomInfo_ = randomInfo_;
          } else {
            result.randomInfo_ = randomInfoBuilder_.build();
          }
          if (((bitField0_ & 0x00000001) != 0)) {
            questVar_.makeImmutable();
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.questVar_ = questVar_;
          if (childQuestListBuilder_ == null) {
            if (((bitField0_ & 0x00000002) != 0)) {
              childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
              bitField0_ = (bitField0_ & ~0x00000002);
            }
            result.childQuestList_ = childQuestList_;
          } else {
            result.childQuestList_ = childQuestListBuilder_.build();
          }
          result.isFinished_ = isFinished_;
          result.isRandom_ = isRandom_;
          result.parentQuestId_ = parentQuestId_;
          result.timeVarMap_ = internalGetTimeVarMap();
          result.timeVarMap_.makeImmutable();
          result.parentQuestState_ = parentQuestState_;
          result.videoKey_ = videoKey_;
          if (inferencePageListBuilder_ == null) {
            if (((bitField0_ & 0x00000008) != 0)) {
              inferencePageList_ = java.util.Collections.unmodifiableList(inferencePageList_);
              bitField0_ = (bitField0_ & ~0x00000008);
            }
            result.inferencePageList_ = inferencePageList_;
          } else {
            result.inferencePageList_ = inferencePageListBuilder_.build();
          }
          result.questVarSeq_ = questVarSeq_;
          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.hasRandomInfo()) {
            mergeRandomInfo(other.getRandomInfo());
          }
          if (!other.questVar_.isEmpty()) {
            if (questVar_.isEmpty()) {
              questVar_ = other.questVar_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureQuestVarIsMutable();
              questVar_.addAll(other.questVar_);
            }
            onChanged();
          }
          if (childQuestListBuilder_ == null) {
            if (!other.childQuestList_.isEmpty()) {
              if (childQuestList_.isEmpty()) {
                childQuestList_ = other.childQuestList_;
                bitField0_ = (bitField0_ & ~0x00000002);
              } else {
                ensureChildQuestListIsMutable();
                childQuestList_.addAll(other.childQuestList_);
              }
              onChanged();
            }
          } else {
            if (!other.childQuestList_.isEmpty()) {
              if (childQuestListBuilder_.isEmpty()) {
                childQuestListBuilder_.dispose();
                childQuestListBuilder_ = null;
                childQuestList_ = other.childQuestList_;
                bitField0_ = (bitField0_ & ~0x00000002);
                childQuestListBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getChildQuestListFieldBuilder() : null;
              } else {
                childQuestListBuilder_.addAllMessages(other.childQuestList_);
              }
            }
          }
          if (other.getIsFinished() != false) {
            setIsFinished(other.getIsFinished());
          }
          if (other.getIsRandom() != false) {
            setIsRandom(other.getIsRandom());
          }
          if (other.getParentQuestId() != 0) {
            setParentQuestId(other.getParentQuestId());
          }
          internalGetMutableTimeVarMap().mergeFrom(
              other.internalGetTimeVarMap());
          if (other.getParentQuestState() != 0) {
            setParentQuestState(other.getParentQuestState());
          }
          if (other.getVideoKey() != 0L) {
            setVideoKey(other.getVideoKey());
          }
          if (inferencePageListBuilder_ == null) {
            if (!other.inferencePageList_.isEmpty()) {
              if (inferencePageList_.isEmpty()) {
                inferencePageList_ = other.inferencePageList_;
                bitField0_ = (bitField0_ & ~0x00000008);
              } else {
                ensureInferencePageListIsMutable();
                inferencePageList_.addAll(other.inferencePageList_);
              }
              onChanged();
            }
          } else {
            if (!other.inferencePageList_.isEmpty()) {
              if (inferencePageListBuilder_.isEmpty()) {
                inferencePageListBuilder_.dispose();
                inferencePageListBuilder_ = null;
                inferencePageList_ = other.inferencePageList_;
                bitField0_ = (bitField0_ & ~0x00000008);
                inferencePageListBuilder_ = 
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                     getInferencePageListFieldBuilder() : null;
              } else {
                inferencePageListBuilder_.addAllMessages(other.inferencePageList_);
              }
            }
          }
          if (other.getQuestVarSeq() != 0) {
            setQuestVarSeq(other.getQuestVarSeq());
          }
          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 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 = 7;</code>
         * @return Whether the randomInfo field is set.
         */
        public boolean hasRandomInfo() {
          return randomInfoBuilder_ != null || randomInfo_ != null;
        }
        /**
         * <code>.ParentQuestRandomInfo randomInfo = 7;</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 = 7;</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 = 7;</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 = 7;</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 = 7;</code>
         */
        public Builder clearRandomInfo() {
          if (randomInfoBuilder_ == null) {
            randomInfo_ = null;
            onChanged();
          } else {
            randomInfo_ = null;
            randomInfoBuilder_ = null;
          }
  
          return this;
        }
        /**
         * <code>.ParentQuestRandomInfo randomInfo = 7;</code>
         */
        public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder getRandomInfoBuilder() {
          
          onChanged();
          return getRandomInfoFieldBuilder().getBuilder();
        }
        /**
         * <code>.ParentQuestRandomInfo randomInfo = 7;</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 = 7;</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 com.google.protobuf.Internal.IntList questVar_ = emptyIntList();
        private void ensureQuestVarIsMutable() {
          if (!((bitField0_ & 0x00000001) != 0)) {
            questVar_ = mutableCopy(questVar_);
            bitField0_ |= 0x00000001;
           }
        }
        /**
         * <code>repeated int32 questVar = 8;</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 questVar = 8;</code>
         * @return The count of questVar.
         */
        public int getQuestVarCount() {
          return questVar_.size();
        }
        /**
         * <code>repeated int32 questVar = 8;</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 questVar = 8;</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 questVar = 8;</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 questVar = 8;</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 questVar = 8;</code>
         * @return This builder for chaining.
         */
        public Builder clearQuestVar() {
          questVar_ = emptyIntList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
          return this;
        }
  
        private java.util.List<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest> childQuestList_ =
          java.util.Collections.emptyList();
        private void ensureChildQuestListIsMutable() {
          if (!((bitField0_ & 0x00000002) != 0)) {
            childQuestList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest>(childQuestList_);
            bitField0_ |= 0x00000002;
           }
        }
  
        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 = 10;</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 = 10;</code>
         */
        public int getChildQuestListCount() {
          if (childQuestListBuilder_ == null) {
            return childQuestList_.size();
          } else {
            return childQuestListBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .ChildQuest childQuestList = 10;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</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 = 10;</code>
         */
        public Builder clearChildQuestList() {
          if (childQuestListBuilder_ == null) {
            childQuestList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000002);
            onChanged();
          } else {
            childQuestListBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .ChildQuest childQuestList = 10;</code>
         */
        public Builder removeChildQuestList(int index) {
          if (childQuestListBuilder_ == null) {
            ensureChildQuestListIsMutable();
            childQuestList_.remove(index);
            onChanged();
          } else {
            childQuestListBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .ChildQuest childQuestList = 10;</code>
         */
        public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder getChildQuestListBuilder(
            int index) {
          return getChildQuestListFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .ChildQuest childQuestList = 10;</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 = 10;</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 = 10;</code>
         */
        public emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.Builder addChildQuestListBuilder() {
          return getChildQuestListFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.ChildQuestOuterClass.ChildQuest.getDefaultInstance());
        }
        /**
         * <code>repeated .ChildQuest childQuestList = 10;</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 = 10;</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_ & 0x00000002) != 0),
                    getParentForChildren(),
                    isClean());
            childQuestList_ = null;
          }
          return childQuestListBuilder_;
        }
  
        private boolean isFinished_ ;
        /**
         * <code>bool isFinished = 9;</code>
         * @return The isFinished.
         */
        @java.lang.Override
        public boolean getIsFinished() {
          return isFinished_;
        }
        /**
         * <code>bool isFinished = 9;</code>
         * @param value The isFinished to set.
         * @return This builder for chaining.
         */
        public Builder setIsFinished(boolean value) {
          
          isFinished_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool isFinished = 9;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsFinished() {
          
          isFinished_ = false;
          onChanged();
          return this;
        }
  
        private boolean isRandom_ ;
        /**
         * <code>bool isRandom = 11;</code>
         * @return The isRandom.
         */
        @java.lang.Override
        public boolean getIsRandom() {
          return isRandom_;
        }
        /**
         * <code>bool isRandom = 11;</code>
         * @param value The isRandom to set.
         * @return This builder for chaining.
         */
        public Builder setIsRandom(boolean value) {
          
          isRandom_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>bool isRandom = 11;</code>
         * @return This builder for chaining.
         */
        public Builder clearIsRandom() {
          
          isRandom_ = false;
          onChanged();
          return this;
        }
  
        private int parentQuestId_ ;
        /**
         * <code>uint32 parentQuestId = 1;</code>
         * @return The parentQuestId.
         */
        @java.lang.Override
        public int getParentQuestId() {
          return parentQuestId_;
        }
        /**
         * <code>uint32 parentQuestId = 1;</code>
         * @param value The parentQuestId to set.
         * @return This builder for chaining.
         */
        public Builder setParentQuestId(int value) {
          
          parentQuestId_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 parentQuestId = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearParentQuestId() {
          
          parentQuestId_ = 0;
          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; timeVarMap = 12;</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; timeVarMap = 12;</code>
         */
        @java.lang.Override
  
        public java.util.Map<java.lang.Integer, java.lang.Integer> getTimeVarMapMap() {
          return internalGetTimeVarMap().getMap();
        }
        /**
         * <code>map&lt;uint32, uint32&gt; timeVarMap = 12;</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; timeVarMap = 12;</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; timeVarMap = 12;</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; timeVarMap = 12;</code>
         */
        public Builder putTimeVarMap(
            int key,
            int value) {
          
          
          internalGetMutableTimeVarMap().getMutableMap()
              .put(key, value);
          return this;
        }
        /**
         * <code>map&lt;uint32, uint32&gt; timeVarMap = 12;</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 parentQuestState = 15;</code>
         * @return The parentQuestState.
         */
        @java.lang.Override
        public int getParentQuestState() {
          return parentQuestState_;
        }
        /**
         * <code>uint32 parentQuestState = 15;</code>
         * @param value The parentQuestState to set.
         * @return This builder for chaining.
         */
        public Builder setParentQuestState(int value) {
          
          parentQuestState_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 parentQuestState = 15;</code>
         * @return This builder for chaining.
         */
        public Builder clearParentQuestState() {
          
          parentQuestState_ = 0;
          onChanged();
          return this;
        }
  
        private long videoKey_ ;
        /**
         * <code>uint64 videoKey = 2;</code>
         * @return The videoKey.
         */
        @java.lang.Override
        public long getVideoKey() {
          return videoKey_;
        }
        /**
         * <code>uint64 videoKey = 2;</code>
         * @param value The videoKey to set.
         * @return This builder for chaining.
         */
        public Builder setVideoKey(long value) {
          
          videoKey_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint64 videoKey = 2;</code>
         * @return This builder for chaining.
         */
        public Builder clearVideoKey() {
          
          videoKey_ = 0L;
          onChanged();
          return this;
        }
  
        private java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo> inferencePageList_ =
          java.util.Collections.emptyList();
        private void ensureInferencePageListIsMutable() {
          if (!((bitField0_ & 0x00000008) != 0)) {
            inferencePageList_ = new java.util.ArrayList<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo>(inferencePageList_);
            bitField0_ |= 0x00000008;
           }
        }
  
        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 inferencePageList = 5;</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 inferencePageList = 5;</code>
         */
        public int getInferencePageListCount() {
          if (inferencePageListBuilder_ == null) {
            return inferencePageList_.size();
          } else {
            return inferencePageListBuilder_.getCount();
          }
        }
        /**
         * <code>repeated .InferencePageInfo inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</code>
         */
        public Builder clearInferencePageList() {
          if (inferencePageListBuilder_ == null) {
            inferencePageList_ = java.util.Collections.emptyList();
            bitField0_ = (bitField0_ & ~0x00000008);
            onChanged();
          } else {
            inferencePageListBuilder_.clear();
          }
          return this;
        }
        /**
         * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
         */
        public Builder removeInferencePageList(int index) {
          if (inferencePageListBuilder_ == null) {
            ensureInferencePageListIsMutable();
            inferencePageList_.remove(index);
            onChanged();
          } else {
            inferencePageListBuilder_.remove(index);
          }
          return this;
        }
        /**
         * <code>repeated .InferencePageInfo inferencePageList = 5;</code>
         */
        public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder getInferencePageListBuilder(
            int index) {
          return getInferencePageListFieldBuilder().getBuilder(index);
        }
        /**
         * <code>repeated .InferencePageInfo inferencePageList = 5;</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 inferencePageList = 5;</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 inferencePageList = 5;</code>
         */
        public emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.Builder addInferencePageListBuilder() {
          return getInferencePageListFieldBuilder().addBuilder(
              emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo.getDefaultInstance());
        }
        /**
         * <code>repeated .InferencePageInfo inferencePageList = 5;</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 inferencePageList = 5;</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_ & 0x00000008) != 0),
                    getParentForChildren(),
                    isClean());
            inferencePageList_ = null;
          }
          return inferencePageListBuilder_;
        }
  
        private int questVarSeq_ ;
        /**
         * <code>uint32 questVarSeq = 4;</code>
         * @return The questVarSeq.
         */
        @java.lang.Override
        public int getQuestVarSeq() {
          return questVarSeq_;
        }
        /**
         * <code>uint32 questVarSeq = 4;</code>
         * @param value The questVarSeq to set.
         * @return This builder for chaining.
         */
        public Builder setQuestVarSeq(int value) {
          
          questVarSeq_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>uint32 questVarSeq = 4;</code>
         * @return This builder for chaining.
         */
        public Builder clearQuestVarSeq() {
          
          questVarSeq_ = 0;
          onChanged();
          return this;
        }
        @java.lang.Override
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFields(unknownFields);
        }
  
        @java.lang.Override
        public final Builder mergeUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.mergeUnknownFields(unknownFields);
        }
  
  
        // @@protoc_insertion_point(builder_scope: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\033ParentQuestRandomIn" +
        "fo.proto\032\020ChildQuest.proto\032\027InferencePag" +
        "eInfo.proto\"\202\003\n\013ParentQuest\022*\n\nrandomInf" +
        "o\030\007 \001(\0132\026.ParentQuestRandomInfo\022\020\n\010quest" +
        "Var\030\010 \003(\005\022#\n\016childQuestList\030\n \003(\0132\013.Chil" +
        "dQuest\022\022\n\nisFinished\030\t \001(\010\022\020\n\010isRandom\030\013" +
        " \001(\010\022\025\n\rparentQuestId\030\001 \001(\r\0220\n\ntimeVarMa" +
        "p\030\014 \003(\0132\034.ParentQuest.TimeVarMapEntry\022\030\n" +
        "\020parentQuestState\030\017 \001(\r\022\020\n\010videoKey\030\002 \001(" +
        "\004\022-\n\021inferencePageList\030\005 \003(\0132\022.Inference" +
        "PageInfo\022\023\n\013questVarSeq\030\004 \001(\r\0321\n\017TimeVar" +
        "MapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001" +
        "B\033\n\031emu.grasscutter.net.protob\006proto3"
      };
      descriptor = com.google.protobuf.Descriptors.FileDescriptor
        .internalBuildGeneratedFileFrom(descriptorData,
          new com.google.protobuf.Descriptors.FileDescriptor[] {
            emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.getDescriptor(),
            emu.grasscutter.net.proto.ChildQuestOuterClass.getDescriptor(),
            emu.grasscutter.net.proto.InferencePageInfoOuterClass.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[] { "RandomInfo", "QuestVar", "ChildQuestList", "IsFinished", "IsRandom", "ParentQuestId", "TimeVarMap", "ParentQuestState", "VideoKey", "InferencePageList", "QuestVarSeq", });
      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.ParentQuestRandomInfoOuterClass.getDescriptor();
      emu.grasscutter.net.proto.ChildQuestOuterClass.getDescriptor();
      emu.grasscutter.net.proto.InferencePageInfoOuterClass.getDescriptor();
    }
  
    // @@protoc_insertion_point(outer_class_scope)
  }
  