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

package io.grasscutter.net.proto.quest;

/**
 * Protobuf type {@code ParentQuest}
 */
public 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();
    inferencePageList_ = java.util.Collections.emptyList();
    mKIFGEHEBLD_ = java.util.Collections.emptyList();
    childQuestList_ = java.util.Collections.emptyList();
  }

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

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

            dIJCHGHPAEE_ = input.readUInt32();
            break;
          }
          case 16: {

            videoKey_ = input.readUInt64();
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000010) != 0)) {
              childQuestList_ = new java.util.ArrayList<io.grasscutter.net.proto.quest.ChildQuest>();
              mutable_bitField0_ |= 0x00000010;
            }
            childQuestList_.add(
                input.readMessage(io.grasscutter.net.proto.quest.ChildQuest.parser(), extensionRegistry));
            break;
          }
          case 34: {
            io.grasscutter.net.proto.quest.ParentQuestRandomInfo.Builder subBuilder = null;
            if (randomInfo_ != null) {
              subBuilder = randomInfo_.toBuilder();
            }
            randomInfo_ = input.readMessage(io.grasscutter.net.proto.quest.ParentQuestRandomInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(randomInfo_);
              randomInfo_ = subBuilder.buildPartial();
            }

            break;
          }
          case 40: {

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

            kNFOKPOMCCK_ = input.readBool();
            break;
          }
          case 56: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              questVar_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            questVar_.addInt(input.readInt32());
            break;
          }
          case 58: {
            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 64: {

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

            pKHKGDHGHPA_ = input.readUInt32();
            break;
          }
          case 82: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              mKIFGEHEBLD_ = new java.util.ArrayList<io.grasscutter.net.proto.quest.CBMCENPMIHI>();
              mutable_bitField0_ |= 0x00000008;
            }
            mKIFGEHEBLD_.add(
                input.readMessage(io.grasscutter.net.proto.quest.CBMCENPMIHI.parser(), extensionRegistry));
            break;
          }
          case 90: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              inferencePageList_ = new java.util.ArrayList<io.grasscutter.net.proto.quest.InferencePageInfo>();
              mutable_bitField0_ |= 0x00000004;
            }
            inferencePageList_.add(
                input.readMessage(io.grasscutter.net.proto.quest.InferencePageInfo.parser(), extensionRegistry));
            break;
          }
          case 96: {

            isRandom_ = input.readBool();
            break;
          }
          case 104: {

            iKPEPKAHABM_ = input.readBool();
            break;
          }
          case 112: {

            parentQuestId_ = input.readUInt32();
            break;
          }
          case 122: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              timeVarMap_ = com.google.protobuf.MapField.newMapField(
                  TimeVarMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            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_ & 0x00000010) != 0)) {
        childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        questVar_.makeImmutable(); // C
      }
      if (((mutable_bitField0_ & 0x00000008) != 0)) {
        mKIFGEHEBLD_ = java.util.Collections.unmodifiableList(mKIFGEHEBLD_);
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        inferencePageList_ = java.util.Collections.unmodifiableList(inferencePageList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.quest.Quest.internal_static_ParentQuest_descriptor;
  }

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

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

  public static final int MKIFGEHEBLD_FIELD_NUMBER = 10;
  private java.util.List<io.grasscutter.net.proto.quest.CBMCENPMIHI> mKIFGEHEBLD_;
  /**
   * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.quest.CBMCENPMIHI> getMKIFGEHEBLDList() {
    return mKIFGEHEBLD_;
  }
  /**
   * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder> 
      getMKIFGEHEBLDOrBuilderList() {
    return mKIFGEHEBLD_;
  }
  /**
   * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
   */
  @java.lang.Override
  public int getMKIFGEHEBLDCount() {
    return mKIFGEHEBLD_.size();
  }
  /**
   * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.quest.CBMCENPMIHI getMKIFGEHEBLD(int index) {
    return mKIFGEHEBLD_.get(index);
  }
  /**
   * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder getMKIFGEHEBLDOrBuilder(
      int index) {
    return mKIFGEHEBLD_.get(index);
  }

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

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

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

  public static final int ACCEPT_TIME_FIELD_NUMBER = 5;
  private int acceptTime_;
  /**
   * <code>uint32 accept_time = 5;</code>
   * @return The acceptTime.
   */
  @java.lang.Override
  public int getAcceptTime() {
    return acceptTime_;
  }

  public static final int KNFOKPOMCCK_FIELD_NUMBER = 6;
  private boolean kNFOKPOMCCK_;
  /**
   * <code>bool KNFOKPOMCCK = 6;</code>
   * @return The kNFOKPOMCCK.
   */
  @java.lang.Override
  public boolean getKNFOKPOMCCK() {
    return kNFOKPOMCCK_;
  }

  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 IKPEPKAHABM_FIELD_NUMBER = 13;
  private boolean iKPEPKAHABM_;
  /**
   * <code>bool IKPEPKAHABM = 13;</code>
   * @return The iKPEPKAHABM.
   */
  @java.lang.Override
  public boolean getIKPEPKAHABM() {
    return iKPEPKAHABM_;
  }

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

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

  public static final int DIJCHGHPAEE_FIELD_NUMBER = 1;
  private int dIJCHGHPAEE_;
  /**
   * <code>uint32 DIJCHGHPAEE = 1;</code>
   * @return The dIJCHGHPAEE.
   */
  @java.lang.Override
  public int getDIJCHGHPAEE() {
    return dIJCHGHPAEE_;
  }

  public static final int PKHKGDHGHPA_FIELD_NUMBER = 9;
  private int pKHKGDHGHPA_;
  /**
   * <code>uint32 PKHKGDHGHPA = 9;</code>
   * @return The pKHKGDHGHPA.
   */
  @java.lang.Override
  public int getPKHKGDHGHPA() {
    return pKHKGDHGHPA_;
  }

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

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

    size = 0;
    if (dIJCHGHPAEE_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(1, dIJCHGHPAEE_);
    }
    if (videoKey_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(2, videoKey_);
    }
    for (int i = 0; i < childQuestList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, childQuestList_.get(i));
    }
    if (randomInfo_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, getRandomInfo());
    }
    if (acceptTime_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(5, acceptTime_);
    }
    if (kNFOKPOMCCK_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(6, kNFOKPOMCCK_);
    }
    {
      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(8, isFinished_);
    }
    if (pKHKGDHGHPA_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(9, pKHKGDHGHPA_);
    }
    for (int i = 0; i < mKIFGEHEBLD_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, mKIFGEHEBLD_.get(i));
    }
    for (int i = 0; i < inferencePageList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, inferencePageList_.get(i));
    }
    if (isRandom_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(12, isRandom_);
    }
    if (iKPEPKAHABM_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(13, iKPEPKAHABM_);
    }
    if (parentQuestId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(14, parentQuestId_);
    }
    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(15, 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 io.grasscutter.net.proto.quest.ParentQuest)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.quest.ParentQuest other = (io.grasscutter.net.proto.quest.ParentQuest) obj;

    if (!internalGetTimeVarMap().equals(
        other.internalGetTimeVarMap())) return false;
    if (!getQuestVarList()
        .equals(other.getQuestVarList())) return false;
    if (!getInferencePageListList()
        .equals(other.getInferencePageListList())) return false;
    if (!getMKIFGEHEBLDList()
        .equals(other.getMKIFGEHEBLDList())) return false;
    if (hasRandomInfo() != other.hasRandomInfo()) return false;
    if (hasRandomInfo()) {
      if (!getRandomInfo()
          .equals(other.getRandomInfo())) return false;
    }
    if (!getChildQuestListList()
        .equals(other.getChildQuestListList())) return false;
    if (getVideoKey()
        != other.getVideoKey()) return false;
    if (getAcceptTime()
        != other.getAcceptTime()) return false;
    if (getKNFOKPOMCCK()
        != other.getKNFOKPOMCCK()) return false;
    if (getIsFinished()
        != other.getIsFinished()) return false;
    if (getIKPEPKAHABM()
        != other.getIKPEPKAHABM()) return false;
    if (getIsRandom()
        != other.getIsRandom()) return false;
    if (getParentQuestId()
        != other.getParentQuestId()) return false;
    if (getDIJCHGHPAEE()
        != other.getDIJCHGHPAEE()) return false;
    if (getPKHKGDHGHPA()
        != other.getPKHKGDHGHPA()) 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 (!internalGetTimeVarMap().getMap().isEmpty()) {
      hash = (37 * hash) + TIME_VAR_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetTimeVarMap().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();
    }
    if (getMKIFGEHEBLDCount() > 0) {
      hash = (37 * hash) + MKIFGEHEBLD_FIELD_NUMBER;
      hash = (53 * hash) + getMKIFGEHEBLDList().hashCode();
    }
    if (hasRandomInfo()) {
      hash = (37 * hash) + RANDOM_INFO_FIELD_NUMBER;
      hash = (53 * hash) + getRandomInfo().hashCode();
    }
    if (getChildQuestListCount() > 0) {
      hash = (37 * hash) + CHILD_QUEST_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getChildQuestListList().hashCode();
    }
    hash = (37 * hash) + VIDEO_KEY_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getVideoKey());
    hash = (37 * hash) + ACCEPT_TIME_FIELD_NUMBER;
    hash = (53 * hash) + getAcceptTime();
    hash = (37 * hash) + KNFOKPOMCCK_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getKNFOKPOMCCK());
    hash = (37 * hash) + IS_FINISHED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsFinished());
    hash = (37 * hash) + IKPEPKAHABM_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIKPEPKAHABM());
    hash = (37 * hash) + IS_RANDOM_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsRandom());
    hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
    hash = (53 * hash) + getParentQuestId();
    hash = (37 * hash) + DIJCHGHPAEE_FIELD_NUMBER;
    hash = (53 * hash) + getDIJCHGHPAEE();
    hash = (37 * hash) + PKHKGDHGHPA_FIELD_NUMBER;
    hash = (53 * hash) + getPKHKGDHGHPA();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.grasscutter.net.proto.quest.ParentQuest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.quest.ParentQuest parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.quest.ParentQuest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.quest.ParentQuest parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.quest.ParentQuest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.quest.ParentQuest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static io.grasscutter.net.proto.quest.ParentQuest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.quest.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 io.grasscutter.net.proto.quest.ParentQuest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.quest.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 io.grasscutter.net.proto.quest.ParentQuest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.quest.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(io.grasscutter.net.proto.quest.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)
      io.grasscutter.net.proto.quest.ParentQuestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.quest.Quest.internal_static_ParentQuest_descriptor;
    }

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

    // Construct using io.grasscutter.net.proto.quest.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) {
        getInferencePageListFieldBuilder();
        getMKIFGEHEBLDFieldBuilder();
        getChildQuestListFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      internalGetMutableTimeVarMap().clear();
      questVar_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      if (inferencePageListBuilder_ == null) {
        inferencePageList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
      } else {
        inferencePageListBuilder_.clear();
      }
      if (mKIFGEHEBLDBuilder_ == null) {
        mKIFGEHEBLD_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
      } else {
        mKIFGEHEBLDBuilder_.clear();
      }
      if (randomInfoBuilder_ == null) {
        randomInfo_ = null;
      } else {
        randomInfo_ = null;
        randomInfoBuilder_ = null;
      }
      if (childQuestListBuilder_ == null) {
        childQuestList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000010);
      } else {
        childQuestListBuilder_.clear();
      }
      videoKey_ = 0L;

      acceptTime_ = 0;

      kNFOKPOMCCK_ = false;

      isFinished_ = false;

      iKPEPKAHABM_ = false;

      isRandom_ = false;

      parentQuestId_ = 0;

      dIJCHGHPAEE_ = 0;

      pKHKGDHGHPA_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.quest.ParentQuest buildPartial() {
      io.grasscutter.net.proto.quest.ParentQuest result = new io.grasscutter.net.proto.quest.ParentQuest(this);
      int from_bitField0_ = bitField0_;
      result.timeVarMap_ = internalGetTimeVarMap();
      result.timeVarMap_.makeImmutable();
      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();
      }
      if (mKIFGEHEBLDBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          mKIFGEHEBLD_ = java.util.Collections.unmodifiableList(mKIFGEHEBLD_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.mKIFGEHEBLD_ = mKIFGEHEBLD_;
      } else {
        result.mKIFGEHEBLD_ = mKIFGEHEBLDBuilder_.build();
      }
      if (randomInfoBuilder_ == null) {
        result.randomInfo_ = randomInfo_;
      } else {
        result.randomInfo_ = randomInfoBuilder_.build();
      }
      if (childQuestListBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0)) {
          childQuestList_ = java.util.Collections.unmodifiableList(childQuestList_);
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.childQuestList_ = childQuestList_;
      } else {
        result.childQuestList_ = childQuestListBuilder_.build();
      }
      result.videoKey_ = videoKey_;
      result.acceptTime_ = acceptTime_;
      result.kNFOKPOMCCK_ = kNFOKPOMCCK_;
      result.isFinished_ = isFinished_;
      result.iKPEPKAHABM_ = iKPEPKAHABM_;
      result.isRandom_ = isRandom_;
      result.parentQuestId_ = parentQuestId_;
      result.dIJCHGHPAEE_ = dIJCHGHPAEE_;
      result.pKHKGDHGHPA_ = pKHKGDHGHPA_;
      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 io.grasscutter.net.proto.quest.ParentQuest) {
        return mergeFrom((io.grasscutter.net.proto.quest.ParentQuest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.quest.ParentQuest other) {
      if (other == io.grasscutter.net.proto.quest.ParentQuest.getDefaultInstance()) return this;
      internalGetMutableTimeVarMap().mergeFrom(
          other.internalGetTimeVarMap());
      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 (mKIFGEHEBLDBuilder_ == null) {
        if (!other.mKIFGEHEBLD_.isEmpty()) {
          if (mKIFGEHEBLD_.isEmpty()) {
            mKIFGEHEBLD_ = other.mKIFGEHEBLD_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureMKIFGEHEBLDIsMutable();
            mKIFGEHEBLD_.addAll(other.mKIFGEHEBLD_);
          }
          onChanged();
        }
      } else {
        if (!other.mKIFGEHEBLD_.isEmpty()) {
          if (mKIFGEHEBLDBuilder_.isEmpty()) {
            mKIFGEHEBLDBuilder_.dispose();
            mKIFGEHEBLDBuilder_ = null;
            mKIFGEHEBLD_ = other.mKIFGEHEBLD_;
            bitField0_ = (bitField0_ & ~0x00000008);
            mKIFGEHEBLDBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getMKIFGEHEBLDFieldBuilder() : null;
          } else {
            mKIFGEHEBLDBuilder_.addAllMessages(other.mKIFGEHEBLD_);
          }
        }
      }
      if (other.hasRandomInfo()) {
        mergeRandomInfo(other.getRandomInfo());
      }
      if (childQuestListBuilder_ == null) {
        if (!other.childQuestList_.isEmpty()) {
          if (childQuestList_.isEmpty()) {
            childQuestList_ = other.childQuestList_;
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            ensureChildQuestListIsMutable();
            childQuestList_.addAll(other.childQuestList_);
          }
          onChanged();
        }
      } else {
        if (!other.childQuestList_.isEmpty()) {
          if (childQuestListBuilder_.isEmpty()) {
            childQuestListBuilder_.dispose();
            childQuestListBuilder_ = null;
            childQuestList_ = other.childQuestList_;
            bitField0_ = (bitField0_ & ~0x00000010);
            childQuestListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getChildQuestListFieldBuilder() : null;
          } else {
            childQuestListBuilder_.addAllMessages(other.childQuestList_);
          }
        }
      }
      if (other.getVideoKey() != 0L) {
        setVideoKey(other.getVideoKey());
      }
      if (other.getAcceptTime() != 0) {
        setAcceptTime(other.getAcceptTime());
      }
      if (other.getKNFOKPOMCCK() != false) {
        setKNFOKPOMCCK(other.getKNFOKPOMCCK());
      }
      if (other.getIsFinished() != false) {
        setIsFinished(other.getIsFinished());
      }
      if (other.getIKPEPKAHABM() != false) {
        setIKPEPKAHABM(other.getIKPEPKAHABM());
      }
      if (other.getIsRandom() != false) {
        setIsRandom(other.getIsRandom());
      }
      if (other.getParentQuestId() != 0) {
        setParentQuestId(other.getParentQuestId());
      }
      if (other.getDIJCHGHPAEE() != 0) {
        setDIJCHGHPAEE(other.getDIJCHGHPAEE());
      }
      if (other.getPKHKGDHGHPA() != 0) {
        setPKHKGDHGHPA(other.getPKHKGDHGHPA());
      }
      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 {
      io.grasscutter.net.proto.quest.ParentQuest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.quest.ParentQuest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    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 = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</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 = 15;</code>
     */
    public Builder putTimeVarMap(
        int key,
        int value) {
      
      
      internalGetMutableTimeVarMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; time_var_map = 15;</code>
     */

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

    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 = 7;</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 = 7;</code>
     * @return The count of questVar.
     */
    public int getQuestVarCount() {
      return questVar_.size();
    }
    /**
     * <code>repeated int32 quest_var = 7;</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 = 7;</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 = 7;</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 = 7;</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 = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearQuestVar() {
      questVar_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }

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

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

    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public java.util.List<io.grasscutter.net.proto.quest.InferencePageInfo> getInferencePageListList() {
      if (inferencePageListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(inferencePageList_);
      } else {
        return inferencePageListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public int getInferencePageListCount() {
      if (inferencePageListBuilder_ == null) {
        return inferencePageList_.size();
      } else {
        return inferencePageListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public io.grasscutter.net.proto.quest.InferencePageInfo getInferencePageList(int index) {
      if (inferencePageListBuilder_ == null) {
        return inferencePageList_.get(index);
      } else {
        return inferencePageListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public Builder setInferencePageList(
        int index, io.grasscutter.net.proto.quest.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 = 11;</code>
     */
    public Builder setInferencePageList(
        int index, io.grasscutter.net.proto.quest.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 = 11;</code>
     */
    public Builder addInferencePageList(io.grasscutter.net.proto.quest.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 = 11;</code>
     */
    public Builder addInferencePageList(
        int index, io.grasscutter.net.proto.quest.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 = 11;</code>
     */
    public Builder addInferencePageList(
        io.grasscutter.net.proto.quest.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 = 11;</code>
     */
    public Builder addInferencePageList(
        int index, io.grasscutter.net.proto.quest.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 = 11;</code>
     */
    public Builder addAllInferencePageList(
        java.lang.Iterable<? extends io.grasscutter.net.proto.quest.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 = 11;</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 = 11;</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 = 11;</code>
     */
    public io.grasscutter.net.proto.quest.InferencePageInfo.Builder getInferencePageListBuilder(
        int index) {
      return getInferencePageListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public io.grasscutter.net.proto.quest.InferencePageInfoOrBuilder getInferencePageListOrBuilder(
        int index) {
      if (inferencePageListBuilder_ == null) {
        return inferencePageList_.get(index);  } else {
        return inferencePageListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.quest.InferencePageInfoOrBuilder> 
         getInferencePageListOrBuilderList() {
      if (inferencePageListBuilder_ != null) {
        return inferencePageListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(inferencePageList_);
      }
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public io.grasscutter.net.proto.quest.InferencePageInfo.Builder addInferencePageListBuilder() {
      return getInferencePageListFieldBuilder().addBuilder(
          io.grasscutter.net.proto.quest.InferencePageInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public io.grasscutter.net.proto.quest.InferencePageInfo.Builder addInferencePageListBuilder(
        int index) {
      return getInferencePageListFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.quest.InferencePageInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .InferencePageInfo inference_page_list = 11;</code>
     */
    public java.util.List<io.grasscutter.net.proto.quest.InferencePageInfo.Builder> 
         getInferencePageListBuilderList() {
      return getInferencePageListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.quest.InferencePageInfo, io.grasscutter.net.proto.quest.InferencePageInfo.Builder, io.grasscutter.net.proto.quest.InferencePageInfoOrBuilder> 
        getInferencePageListFieldBuilder() {
      if (inferencePageListBuilder_ == null) {
        inferencePageListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.quest.InferencePageInfo, io.grasscutter.net.proto.quest.InferencePageInfo.Builder, io.grasscutter.net.proto.quest.InferencePageInfoOrBuilder>(
                inferencePageList_,
                ((bitField0_ & 0x00000004) != 0),
                getParentForChildren(),
                isClean());
        inferencePageList_ = null;
      }
      return inferencePageListBuilder_;
    }

    private java.util.List<io.grasscutter.net.proto.quest.CBMCENPMIHI> mKIFGEHEBLD_ =
      java.util.Collections.emptyList();
    private void ensureMKIFGEHEBLDIsMutable() {
      if (!((bitField0_ & 0x00000008) != 0)) {
        mKIFGEHEBLD_ = new java.util.ArrayList<io.grasscutter.net.proto.quest.CBMCENPMIHI>(mKIFGEHEBLD_);
        bitField0_ |= 0x00000008;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.quest.CBMCENPMIHI, io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder, io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder> mKIFGEHEBLDBuilder_;

    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public java.util.List<io.grasscutter.net.proto.quest.CBMCENPMIHI> getMKIFGEHEBLDList() {
      if (mKIFGEHEBLDBuilder_ == null) {
        return java.util.Collections.unmodifiableList(mKIFGEHEBLD_);
      } else {
        return mKIFGEHEBLDBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public int getMKIFGEHEBLDCount() {
      if (mKIFGEHEBLDBuilder_ == null) {
        return mKIFGEHEBLD_.size();
      } else {
        return mKIFGEHEBLDBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public io.grasscutter.net.proto.quest.CBMCENPMIHI getMKIFGEHEBLD(int index) {
      if (mKIFGEHEBLDBuilder_ == null) {
        return mKIFGEHEBLD_.get(index);
      } else {
        return mKIFGEHEBLDBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder setMKIFGEHEBLD(
        int index, io.grasscutter.net.proto.quest.CBMCENPMIHI value) {
      if (mKIFGEHEBLDBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMKIFGEHEBLDIsMutable();
        mKIFGEHEBLD_.set(index, value);
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder setMKIFGEHEBLD(
        int index, io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder builderForValue) {
      if (mKIFGEHEBLDBuilder_ == null) {
        ensureMKIFGEHEBLDIsMutable();
        mKIFGEHEBLD_.set(index, builderForValue.build());
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder addMKIFGEHEBLD(io.grasscutter.net.proto.quest.CBMCENPMIHI value) {
      if (mKIFGEHEBLDBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMKIFGEHEBLDIsMutable();
        mKIFGEHEBLD_.add(value);
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder addMKIFGEHEBLD(
        int index, io.grasscutter.net.proto.quest.CBMCENPMIHI value) {
      if (mKIFGEHEBLDBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMKIFGEHEBLDIsMutable();
        mKIFGEHEBLD_.add(index, value);
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder addMKIFGEHEBLD(
        io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder builderForValue) {
      if (mKIFGEHEBLDBuilder_ == null) {
        ensureMKIFGEHEBLDIsMutable();
        mKIFGEHEBLD_.add(builderForValue.build());
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder addMKIFGEHEBLD(
        int index, io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder builderForValue) {
      if (mKIFGEHEBLDBuilder_ == null) {
        ensureMKIFGEHEBLDIsMutable();
        mKIFGEHEBLD_.add(index, builderForValue.build());
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder addAllMKIFGEHEBLD(
        java.lang.Iterable<? extends io.grasscutter.net.proto.quest.CBMCENPMIHI> values) {
      if (mKIFGEHEBLDBuilder_ == null) {
        ensureMKIFGEHEBLDIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, mKIFGEHEBLD_);
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder clearMKIFGEHEBLD() {
      if (mKIFGEHEBLDBuilder_ == null) {
        mKIFGEHEBLD_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public Builder removeMKIFGEHEBLD(int index) {
      if (mKIFGEHEBLDBuilder_ == null) {
        ensureMKIFGEHEBLDIsMutable();
        mKIFGEHEBLD_.remove(index);
        onChanged();
      } else {
        mKIFGEHEBLDBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder getMKIFGEHEBLDBuilder(
        int index) {
      return getMKIFGEHEBLDFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder getMKIFGEHEBLDOrBuilder(
        int index) {
      if (mKIFGEHEBLDBuilder_ == null) {
        return mKIFGEHEBLD_.get(index);  } else {
        return mKIFGEHEBLDBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder> 
         getMKIFGEHEBLDOrBuilderList() {
      if (mKIFGEHEBLDBuilder_ != null) {
        return mKIFGEHEBLDBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(mKIFGEHEBLD_);
      }
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder addMKIFGEHEBLDBuilder() {
      return getMKIFGEHEBLDFieldBuilder().addBuilder(
          io.grasscutter.net.proto.quest.CBMCENPMIHI.getDefaultInstance());
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder addMKIFGEHEBLDBuilder(
        int index) {
      return getMKIFGEHEBLDFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.quest.CBMCENPMIHI.getDefaultInstance());
    }
    /**
     * <code>repeated .CBMCENPMIHI MKIFGEHEBLD = 10;</code>
     */
    public java.util.List<io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder> 
         getMKIFGEHEBLDBuilderList() {
      return getMKIFGEHEBLDFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.quest.CBMCENPMIHI, io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder, io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder> 
        getMKIFGEHEBLDFieldBuilder() {
      if (mKIFGEHEBLDBuilder_ == null) {
        mKIFGEHEBLDBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.quest.CBMCENPMIHI, io.grasscutter.net.proto.quest.CBMCENPMIHI.Builder, io.grasscutter.net.proto.quest.CBMCENPMIHIOrBuilder>(
                mKIFGEHEBLD_,
                ((bitField0_ & 0x00000008) != 0),
                getParentForChildren(),
                isClean());
        mKIFGEHEBLD_ = null;
      }
      return mKIFGEHEBLDBuilder_;
    }

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

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

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

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

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

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

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

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

    private long videoKey_ ;
    /**
     * <code>uint64 video_key = 2;</code>
     * @return The videoKey.
     */
    @java.lang.Override
    public long getVideoKey() {
      return videoKey_;
    }
    /**
     * <code>uint64 video_key = 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 video_key = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearVideoKey() {
      
      videoKey_ = 0L;
      onChanged();
      return this;
    }

    private int acceptTime_ ;
    /**
     * <code>uint32 accept_time = 5;</code>
     * @return The acceptTime.
     */
    @java.lang.Override
    public int getAcceptTime() {
      return acceptTime_;
    }
    /**
     * <code>uint32 accept_time = 5;</code>
     * @param value The acceptTime to set.
     * @return This builder for chaining.
     */
    public Builder setAcceptTime(int value) {
      
      acceptTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 accept_time = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearAcceptTime() {
      
      acceptTime_ = 0;
      onChanged();
      return this;
    }

    private boolean kNFOKPOMCCK_ ;
    /**
     * <code>bool KNFOKPOMCCK = 6;</code>
     * @return The kNFOKPOMCCK.
     */
    @java.lang.Override
    public boolean getKNFOKPOMCCK() {
      return kNFOKPOMCCK_;
    }
    /**
     * <code>bool KNFOKPOMCCK = 6;</code>
     * @param value The kNFOKPOMCCK to set.
     * @return This builder for chaining.
     */
    public Builder setKNFOKPOMCCK(boolean value) {
      
      kNFOKPOMCCK_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool KNFOKPOMCCK = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearKNFOKPOMCCK() {
      
      kNFOKPOMCCK_ = false;
      onChanged();
      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 boolean iKPEPKAHABM_ ;
    /**
     * <code>bool IKPEPKAHABM = 13;</code>
     * @return The iKPEPKAHABM.
     */
    @java.lang.Override
    public boolean getIKPEPKAHABM() {
      return iKPEPKAHABM_;
    }
    /**
     * <code>bool IKPEPKAHABM = 13;</code>
     * @param value The iKPEPKAHABM to set.
     * @return This builder for chaining.
     */
    public Builder setIKPEPKAHABM(boolean value) {
      
      iKPEPKAHABM_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool IKPEPKAHABM = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearIKPEPKAHABM() {
      
      iKPEPKAHABM_ = false;
      onChanged();
      return this;
    }

    private boolean isRandom_ ;
    /**
     * <code>bool is_random = 12;</code>
     * @return The isRandom.
     */
    @java.lang.Override
    public boolean getIsRandom() {
      return isRandom_;
    }
    /**
     * <code>bool is_random = 12;</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 = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsRandom() {
      
      isRandom_ = false;
      onChanged();
      return this;
    }

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

    private int dIJCHGHPAEE_ ;
    /**
     * <code>uint32 DIJCHGHPAEE = 1;</code>
     * @return The dIJCHGHPAEE.
     */
    @java.lang.Override
    public int getDIJCHGHPAEE() {
      return dIJCHGHPAEE_;
    }
    /**
     * <code>uint32 DIJCHGHPAEE = 1;</code>
     * @param value The dIJCHGHPAEE to set.
     * @return This builder for chaining.
     */
    public Builder setDIJCHGHPAEE(int value) {
      
      dIJCHGHPAEE_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 DIJCHGHPAEE = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearDIJCHGHPAEE() {
      
      dIJCHGHPAEE_ = 0;
      onChanged();
      return this;
    }

    private int pKHKGDHGHPA_ ;
    /**
     * <code>uint32 PKHKGDHGHPA = 9;</code>
     * @return The pKHKGDHGHPA.
     */
    @java.lang.Override
    public int getPKHKGDHGHPA() {
      return pKHKGDHGHPA_;
    }
    /**
     * <code>uint32 PKHKGDHGHPA = 9;</code>
     * @param value The pKHKGDHGHPA to set.
     * @return This builder for chaining.
     */
    public Builder setPKHKGDHGHPA(int value) {
      
      pKHKGDHGHPA_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 PKHKGDHGHPA = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearPKHKGDHGHPA() {
      
      pKHKGDHGHPA_ = 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 io.grasscutter.net.proto.quest.ParentQuest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.quest.ParentQuest();
  }

  public static io.grasscutter.net.proto.quest.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 io.grasscutter.net.proto.quest.ParentQuest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

