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

package io.grasscutter.net.proto.quest;

/**
 * <pre>
 * CmdId: 5755
 * </pre>
 *
 * Protobuf type {@code ParentQuestInferenceDataNotify}
 */
public final class ParentQuestInferenceDataNotify extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ParentQuestInferenceDataNotify)
    ParentQuestInferenceDataNotifyOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ParentQuestInferenceDataNotify.newBuilder() to construct.
  private ParentQuestInferenceDataNotify(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ParentQuestInferenceDataNotify() {
    inferencePageList_ = java.util.Collections.emptyList();
  }

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

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

            parentQuestId_ = input.readUInt32();
            break;
          }
          case 90: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              inferencePageList_ = new java.util.ArrayList<io.grasscutter.net.proto.quest.InferencePageInfo>();
              mutable_bitField0_ |= 0x00000001;
            }
            inferencePageList_.add(
                input.readMessage(io.grasscutter.net.proto.quest.InferencePageInfo.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        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_ParentQuestInferenceDataNotify_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.quest.Quest.internal_static_ParentQuestInferenceDataNotify_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify.class, io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify.Builder.class);
  }

  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 PARENT_QUEST_ID_FIELD_NUMBER = 7;
  private int parentQuestId_;
  /**
   * <code>uint32 parent_quest_id = 7;</code>
   * @return The parentQuestId.
   */
  @java.lang.Override
  public int getParentQuestId() {
    return parentQuestId_;
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (parentQuestId_ != 0) {
      output.writeUInt32(7, parentQuestId_);
    }
    for (int i = 0; i < inferencePageList_.size(); i++) {
      output.writeMessage(11, inferencePageList_.get(i));
    }
    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(7, parentQuestId_);
    }
    for (int i = 0; i < inferencePageList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(11, inferencePageList_.get(i));
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify other = (io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify) obj;

    if (!getInferencePageListList()
        .equals(other.getInferencePageListList())) return false;
    if (getParentQuestId()
        != other.getParentQuestId()) 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 (getInferencePageListCount() > 0) {
      hash = (37 * hash) + INFERENCE_PAGE_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getInferencePageListList().hashCode();
    }
    hash = (37 * hash) + PARENT_QUEST_ID_FIELD_NUMBER;
    hash = (53 * hash) + getParentQuestId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * CmdId: 5755
   * </pre>
   *
   * Protobuf type {@code ParentQuestInferenceDataNotify}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:ParentQuestInferenceDataNotify)
      io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotifyOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.quest.Quest.internal_static_ParentQuestInferenceDataNotify_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.quest.Quest.internal_static_ParentQuestInferenceDataNotify_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify.class, io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify.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();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (inferencePageListBuilder_ == null) {
        inferencePageList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        inferencePageListBuilder_.clear();
      }
      parentQuestId_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify buildPartial() {
      io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify result = new io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify(this);
      int from_bitField0_ = bitField0_;
      if (inferencePageListBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          inferencePageList_ = java.util.Collections.unmodifiableList(inferencePageList_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.inferencePageList_ = inferencePageList_;
      } else {
        result.inferencePageList_ = inferencePageListBuilder_.build();
      }
      result.parentQuestId_ = parentQuestId_;
      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.ParentQuestInferenceDataNotify) {
        return mergeFrom((io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify other) {
      if (other == io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify.getDefaultInstance()) return this;
      if (inferencePageListBuilder_ == null) {
        if (!other.inferencePageList_.isEmpty()) {
          if (inferencePageList_.isEmpty()) {
            inferencePageList_ = other.inferencePageList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureInferencePageListIsMutable();
            inferencePageList_.addAll(other.inferencePageList_);
          }
          onChanged();
        }
      } else {
        if (!other.inferencePageList_.isEmpty()) {
          if (inferencePageListBuilder_.isEmpty()) {
            inferencePageListBuilder_.dispose();
            inferencePageListBuilder_ = null;
            inferencePageList_ = other.inferencePageList_;
            bitField0_ = (bitField0_ & ~0x00000001);
            inferencePageListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getInferencePageListFieldBuilder() : null;
          } else {
            inferencePageListBuilder_.addAllMessages(other.inferencePageList_);
          }
        }
      }
      if (other.getParentQuestId() != 0) {
        setParentQuestId(other.getParentQuestId());
      }
      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.ParentQuestInferenceDataNotify parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

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

    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_ & ~0x00000001);
        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_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        inferencePageList_ = null;
      }
      return inferencePageListBuilder_;
    }

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

  // @@protoc_insertion_point(class_scope:ParentQuestInferenceDataNotify)
  private static final io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify();
  }

  public static io.grasscutter.net.proto.quest.ParentQuestInferenceDataNotify getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

