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

package emu.grasscutter.net.proto;

public final class RogueDiaryActivityDetailInfoOuterClass {
  private RogueDiaryActivityDetailInfoOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface RogueDiaryActivityDetailInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:RogueDiaryActivityDetailInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>bool is_content_closed = 3;</code>
     * @return The isContentClosed.
     */
    boolean getIsContentClosed();

    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    java.util.List<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo> 
        getStageListList();
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo getStageList(int index);
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    int getStageListCount();
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder> 
        getStageListOrBuilderList();
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder getStageListOrBuilder(
        int index);

    /**
     * <code>bool is_have_progress = 5;</code>
     * @return The isHaveProgress.
     */
    boolean getIsHaveProgress();

    /**
     * <code>.RogueDiaryProgress cur_progress = 10;</code>
     * @return Whether the curProgress field is set.
     */
    boolean hasCurProgress();
    /**
     * <code>.RogueDiaryProgress cur_progress = 10;</code>
     * @return The curProgress.
     */
    emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress getCurProgress();
    /**
     * <code>.RogueDiaryProgress cur_progress = 10;</code>
     */
    emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgressOrBuilder getCurProgressOrBuilder();
  }
  /**
   * Protobuf type {@code RogueDiaryActivityDetailInfo}
   */
  public static final class RogueDiaryActivityDetailInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:RogueDiaryActivityDetailInfo)
      RogueDiaryActivityDetailInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use RogueDiaryActivityDetailInfo.newBuilder() to construct.
    private RogueDiaryActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private RogueDiaryActivityDetailInfo() {
      stageList_ = java.util.Collections.emptyList();
    }

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

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

              isContentClosed_ = input.readBool();
              break;
            }
            case 40: {

              isHaveProgress_ = input.readBool();
              break;
            }
            case 82: {
              emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.Builder subBuilder = null;
              if (curProgress_ != null) {
                subBuilder = curProgress_.toBuilder();
              }
              curProgress_ = input.readMessage(emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(curProgress_);
                curProgress_ = subBuilder.buildPartial();
              }

              break;
            }
            case 90: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                stageList_ = new java.util.ArrayList<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              stageList_.add(
                  input.readMessage(emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.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)) {
          stageList_ = java.util.Collections.unmodifiableList(stageList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.internal_static_RogueDiaryActivityDetailInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.internal_static_RogueDiaryActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo.class, emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo.Builder.class);
    }

    public static final int IS_CONTENT_CLOSED_FIELD_NUMBER = 3;
    private boolean isContentClosed_;
    /**
     * <code>bool is_content_closed = 3;</code>
     * @return The isContentClosed.
     */
    @java.lang.Override
    public boolean getIsContentClosed() {
      return isContentClosed_;
    }

    public static final int STAGE_LIST_FIELD_NUMBER = 11;
    private java.util.List<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo> stageList_;
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo> getStageListList() {
      return stageList_;
    }
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder> 
        getStageListOrBuilderList() {
      return stageList_;
    }
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    @java.lang.Override
    public int getStageListCount() {
      return stageList_.size();
    }
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo getStageList(int index) {
      return stageList_.get(index);
    }
    /**
     * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder getStageListOrBuilder(
        int index) {
      return stageList_.get(index);
    }

    public static final int IS_HAVE_PROGRESS_FIELD_NUMBER = 5;
    private boolean isHaveProgress_;
    /**
     * <code>bool is_have_progress = 5;</code>
     * @return The isHaveProgress.
     */
    @java.lang.Override
    public boolean getIsHaveProgress() {
      return isHaveProgress_;
    }

    public static final int CUR_PROGRESS_FIELD_NUMBER = 10;
    private emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress curProgress_;
    /**
     * <code>.RogueDiaryProgress cur_progress = 10;</code>
     * @return Whether the curProgress field is set.
     */
    @java.lang.Override
    public boolean hasCurProgress() {
      return curProgress_ != null;
    }
    /**
     * <code>.RogueDiaryProgress cur_progress = 10;</code>
     * @return The curProgress.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress getCurProgress() {
      return curProgress_ == null ? emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.getDefaultInstance() : curProgress_;
    }
    /**
     * <code>.RogueDiaryProgress cur_progress = 10;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgressOrBuilder getCurProgressOrBuilder() {
      return getCurProgress();
    }

    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 (isContentClosed_ != false) {
        output.writeBool(3, isContentClosed_);
      }
      if (isHaveProgress_ != false) {
        output.writeBool(5, isHaveProgress_);
      }
      if (curProgress_ != null) {
        output.writeMessage(10, getCurProgress());
      }
      for (int i = 0; i < stageList_.size(); i++) {
        output.writeMessage(11, stageList_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (isContentClosed_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, isContentClosed_);
      }
      if (isHaveProgress_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(5, isHaveProgress_);
      }
      if (curProgress_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(10, getCurProgress());
      }
      for (int i = 0; i < stageList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, stageList_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

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

      if (getIsContentClosed()
          != other.getIsContentClosed()) return false;
      if (!getStageListList()
          .equals(other.getStageListList())) return false;
      if (getIsHaveProgress()
          != other.getIsHaveProgress()) return false;
      if (hasCurProgress() != other.hasCurProgress()) return false;
      if (hasCurProgress()) {
        if (!getCurProgress()
            .equals(other.getCurProgress())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + IS_CONTENT_CLOSED_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsContentClosed());
      if (getStageListCount() > 0) {
        hash = (37 * hash) + STAGE_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getStageListList().hashCode();
      }
      hash = (37 * hash) + IS_HAVE_PROGRESS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsHaveProgress());
      if (hasCurProgress()) {
        hash = (37 * hash) + CUR_PROGRESS_FIELD_NUMBER;
        hash = (53 * hash) + getCurProgress().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo 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 RogueDiaryActivityDetailInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:RogueDiaryActivityDetailInfo)
        emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.internal_static_RogueDiaryActivityDetailInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.internal_static_RogueDiaryActivityDetailInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo.class, emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo.Builder.class);
      }

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

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getStageListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        isContentClosed_ = false;

        if (stageListBuilder_ == null) {
          stageList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          stageListBuilder_.clear();
        }
        isHaveProgress_ = false;

        if (curProgressBuilder_ == null) {
          curProgress_ = null;
        } else {
          curProgress_ = null;
          curProgressBuilder_ = null;
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo buildPartial() {
        emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo result = new emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo(this);
        int from_bitField0_ = bitField0_;
        result.isContentClosed_ = isContentClosed_;
        if (stageListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            stageList_ = java.util.Collections.unmodifiableList(stageList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.stageList_ = stageList_;
        } else {
          result.stageList_ = stageListBuilder_.build();
        }
        result.isHaveProgress_ = isHaveProgress_;
        if (curProgressBuilder_ == null) {
          result.curProgress_ = curProgress_;
        } else {
          result.curProgress_ = curProgressBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo) {
          return mergeFrom((emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo other) {
        if (other == emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo.getDefaultInstance()) return this;
        if (other.getIsContentClosed() != false) {
          setIsContentClosed(other.getIsContentClosed());
        }
        if (stageListBuilder_ == null) {
          if (!other.stageList_.isEmpty()) {
            if (stageList_.isEmpty()) {
              stageList_ = other.stageList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureStageListIsMutable();
              stageList_.addAll(other.stageList_);
            }
            onChanged();
          }
        } else {
          if (!other.stageList_.isEmpty()) {
            if (stageListBuilder_.isEmpty()) {
              stageListBuilder_.dispose();
              stageListBuilder_ = null;
              stageList_ = other.stageList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              stageListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getStageListFieldBuilder() : null;
            } else {
              stageListBuilder_.addAllMessages(other.stageList_);
            }
          }
        }
        if (other.getIsHaveProgress() != false) {
          setIsHaveProgress(other.getIsHaveProgress());
        }
        if (other.hasCurProgress()) {
          mergeCurProgress(other.getCurProgress());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private boolean isContentClosed_ ;
      /**
       * <code>bool is_content_closed = 3;</code>
       * @return The isContentClosed.
       */
      @java.lang.Override
      public boolean getIsContentClosed() {
        return isContentClosed_;
      }
      /**
       * <code>bool is_content_closed = 3;</code>
       * @param value The isContentClosed to set.
       * @return This builder for chaining.
       */
      public Builder setIsContentClosed(boolean value) {
        
        isContentClosed_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_content_closed = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsContentClosed() {
        
        isContentClosed_ = false;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo> stageList_ =
        java.util.Collections.emptyList();
      private void ensureStageListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          stageList_ = new java.util.ArrayList<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo>(stageList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder> stageListBuilder_;

      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo> getStageListList() {
        if (stageListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(stageList_);
        } else {
          return stageListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public int getStageListCount() {
        if (stageListBuilder_ == null) {
          return stageList_.size();
        } else {
          return stageListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo getStageList(int index) {
        if (stageListBuilder_ == null) {
          return stageList_.get(index);
        } else {
          return stageListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder setStageList(
          int index, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo value) {
        if (stageListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStageListIsMutable();
          stageList_.set(index, value);
          onChanged();
        } else {
          stageListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder setStageList(
          int index, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder builderForValue) {
        if (stageListBuilder_ == null) {
          ensureStageListIsMutable();
          stageList_.set(index, builderForValue.build());
          onChanged();
        } else {
          stageListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder addStageList(emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo value) {
        if (stageListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStageListIsMutable();
          stageList_.add(value);
          onChanged();
        } else {
          stageListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder addStageList(
          int index, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo value) {
        if (stageListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureStageListIsMutable();
          stageList_.add(index, value);
          onChanged();
        } else {
          stageListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder addStageList(
          emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder builderForValue) {
        if (stageListBuilder_ == null) {
          ensureStageListIsMutable();
          stageList_.add(builderForValue.build());
          onChanged();
        } else {
          stageListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder addStageList(
          int index, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder builderForValue) {
        if (stageListBuilder_ == null) {
          ensureStageListIsMutable();
          stageList_.add(index, builderForValue.build());
          onChanged();
        } else {
          stageListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder addAllStageList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo> values) {
        if (stageListBuilder_ == null) {
          ensureStageListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, stageList_);
          onChanged();
        } else {
          stageListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder clearStageList() {
        if (stageListBuilder_ == null) {
          stageList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          stageListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public Builder removeStageList(int index) {
        if (stageListBuilder_ == null) {
          ensureStageListIsMutable();
          stageList_.remove(index);
          onChanged();
        } else {
          stageListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder getStageListBuilder(
          int index) {
        return getStageListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder getStageListOrBuilder(
          int index) {
        if (stageListBuilder_ == null) {
          return stageList_.get(index);  } else {
          return stageListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder> 
           getStageListOrBuilderList() {
        if (stageListBuilder_ != null) {
          return stageListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(stageList_);
        }
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder addStageListBuilder() {
        return getStageListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder addStageListBuilder(
          int index) {
        return getStageListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .RogueDiaryStageInfo stage_list = 11;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder> 
           getStageListBuilderList() {
        return getStageListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder> 
          getStageListFieldBuilder() {
        if (stageListBuilder_ == null) {
          stageListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfo.Builder, emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.RogueDiaryStageInfoOrBuilder>(
                  stageList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          stageList_ = null;
        }
        return stageListBuilder_;
      }

      private boolean isHaveProgress_ ;
      /**
       * <code>bool is_have_progress = 5;</code>
       * @return The isHaveProgress.
       */
      @java.lang.Override
      public boolean getIsHaveProgress() {
        return isHaveProgress_;
      }
      /**
       * <code>bool is_have_progress = 5;</code>
       * @param value The isHaveProgress to set.
       * @return This builder for chaining.
       */
      public Builder setIsHaveProgress(boolean value) {
        
        isHaveProgress_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool is_have_progress = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsHaveProgress() {
        
        isHaveProgress_ = false;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress curProgress_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress, emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.Builder, emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgressOrBuilder> curProgressBuilder_;
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       * @return Whether the curProgress field is set.
       */
      public boolean hasCurProgress() {
        return curProgressBuilder_ != null || curProgress_ != null;
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       * @return The curProgress.
       */
      public emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress getCurProgress() {
        if (curProgressBuilder_ == null) {
          return curProgress_ == null ? emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.getDefaultInstance() : curProgress_;
        } else {
          return curProgressBuilder_.getMessage();
        }
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       */
      public Builder setCurProgress(emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress value) {
        if (curProgressBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          curProgress_ = value;
          onChanged();
        } else {
          curProgressBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       */
      public Builder setCurProgress(
          emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.Builder builderForValue) {
        if (curProgressBuilder_ == null) {
          curProgress_ = builderForValue.build();
          onChanged();
        } else {
          curProgressBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       */
      public Builder mergeCurProgress(emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress value) {
        if (curProgressBuilder_ == null) {
          if (curProgress_ != null) {
            curProgress_ =
              emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.newBuilder(curProgress_).mergeFrom(value).buildPartial();
          } else {
            curProgress_ = value;
          }
          onChanged();
        } else {
          curProgressBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       */
      public Builder clearCurProgress() {
        if (curProgressBuilder_ == null) {
          curProgress_ = null;
          onChanged();
        } else {
          curProgress_ = null;
          curProgressBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       */
      public emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.Builder getCurProgressBuilder() {
        
        onChanged();
        return getCurProgressFieldBuilder().getBuilder();
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       */
      public emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgressOrBuilder getCurProgressOrBuilder() {
        if (curProgressBuilder_ != null) {
          return curProgressBuilder_.getMessageOrBuilder();
        } else {
          return curProgress_ == null ?
              emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.getDefaultInstance() : curProgress_;
        }
      }
      /**
       * <code>.RogueDiaryProgress cur_progress = 10;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress, emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.Builder, emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgressOrBuilder> 
          getCurProgressFieldBuilder() {
        if (curProgressBuilder_ == null) {
          curProgressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress, emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgress.Builder, emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.RogueDiaryProgressOrBuilder>(
                  getCurProgress(),
                  getParentForChildren(),
                  isClean());
          curProgress_ = null;
        }
        return curProgressBuilder_;
      }
      @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:RogueDiaryActivityDetailInfo)
    }

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

    public static emu.grasscutter.net.proto.RogueDiaryActivityDetailInfoOuterClass.RogueDiaryActivityDetailInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_RogueDiaryActivityDetailInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_RogueDiaryActivityDetailInfo_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\"RogueDiaryActivityDetailInfo.proto\032\030Ro" +
      "gueDiaryProgress.proto\032\031RogueDiaryStageI" +
      "nfo.proto\"\250\001\n\034RogueDiaryActivityDetailIn" +
      "fo\022\031\n\021is_content_closed\030\003 \001(\010\022(\n\nstage_l" +
      "ist\030\013 \003(\0132\024.RogueDiaryStageInfo\022\030\n\020is_ha" +
      "ve_progress\030\005 \001(\010\022)\n\014cur_progress\030\n \001(\0132" +
      "\023.RogueDiaryProgressB\033\n\031emu.grasscutter." +
      "net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.getDescriptor(),
        });
    internal_static_RogueDiaryActivityDetailInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_RogueDiaryActivityDetailInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_RogueDiaryActivityDetailInfo_descriptor,
        new java.lang.String[] { "IsContentClosed", "StageList", "IsHaveProgress", "CurProgress", });
    emu.grasscutter.net.proto.RogueDiaryProgressOuterClass.getDescriptor();
    emu.grasscutter.net.proto.RogueDiaryStageInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
