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

package emu.grasscutter.net.proto;

public final class DigActivityDetailInfoOuterClass {
  private DigActivityDetailInfoOuterClass() {}
  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 DigActivityDetailInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:DigActivityDetailInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint32 stage_id = 3;</code>
     * @return The stageId.
     */
    int getStageId();

    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    java.util.List<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint> 
        getDigMarkPointListList();
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint getDigMarkPointList(int index);
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    int getDigMarkPointListCount();
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder> 
        getDigMarkPointListOrBuilderList();
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder getDigMarkPointListOrBuilder(
        int index);

    /**
     * <code>repeated uint32 stage_id_list = 5;</code>
     * @return A list containing the stageIdList.
     */
    java.util.List<java.lang.Integer> getStageIdListList();
    /**
     * <code>repeated uint32 stage_id_list = 5;</code>
     * @return The count of stageIdList.
     */
    int getStageIdListCount();
    /**
     * <code>repeated uint32 stage_id_list = 5;</code>
     * @param index The index of the element to return.
     * @return The stageIdList at the given index.
     */
    int getStageIdList(int index);
  }
  /**
   * Protobuf type {@code DigActivityDetailInfo}
   */
  public static final class DigActivityDetailInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:DigActivityDetailInfo)
      DigActivityDetailInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DigActivityDetailInfo.newBuilder() to construct.
    private DigActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private DigActivityDetailInfo() {
      digMarkPointList_ = java.util.Collections.emptyList();
      stageIdList_ = emptyIntList();
    }

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

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

              stageId_ = input.readUInt32();
              break;
            }
            case 40: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                stageIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              stageIdList_.addInt(input.readUInt32());
              break;
            }
            case 42: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                stageIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                stageIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 98: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                digMarkPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint>();
                mutable_bitField0_ |= 0x00000001;
              }
              digMarkPointList_.add(
                  input.readMessage(emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.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_ & 0x00000002) != 0)) {
          stageIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          digMarkPointList_ = java.util.Collections.unmodifiableList(digMarkPointList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.internal_static_DigActivityDetailInfo_descriptor;
    }

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

    public static final int STAGE_ID_FIELD_NUMBER = 3;
    private int stageId_;
    /**
     * <code>uint32 stage_id = 3;</code>
     * @return The stageId.
     */
    @java.lang.Override
    public int getStageId() {
      return stageId_;
    }

    public static final int DIG_MARK_POINT_LIST_FIELD_NUMBER = 12;
    private java.util.List<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint> digMarkPointList_;
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint> getDigMarkPointListList() {
      return digMarkPointList_;
    }
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder> 
        getDigMarkPointListOrBuilderList() {
      return digMarkPointList_;
    }
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    @java.lang.Override
    public int getDigMarkPointListCount() {
      return digMarkPointList_.size();
    }
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint getDigMarkPointList(int index) {
      return digMarkPointList_.get(index);
    }
    /**
     * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder getDigMarkPointListOrBuilder(
        int index) {
      return digMarkPointList_.get(index);
    }

    public static final int STAGE_ID_LIST_FIELD_NUMBER = 5;
    private com.google.protobuf.Internal.IntList stageIdList_;
    /**
     * <code>repeated uint32 stage_id_list = 5;</code>
     * @return A list containing the stageIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getStageIdListList() {
      return stageIdList_;
    }
    /**
     * <code>repeated uint32 stage_id_list = 5;</code>
     * @return The count of stageIdList.
     */
    public int getStageIdListCount() {
      return stageIdList_.size();
    }
    /**
     * <code>repeated uint32 stage_id_list = 5;</code>
     * @param index The index of the element to return.
     * @return The stageIdList at the given index.
     */
    public int getStageIdList(int index) {
      return stageIdList_.getInt(index);
    }
    private int stageIdListMemoizedSerializedSize = -1;

    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 (stageId_ != 0) {
        output.writeUInt32(3, stageId_);
      }
      if (getStageIdListList().size() > 0) {
        output.writeUInt32NoTag(42);
        output.writeUInt32NoTag(stageIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < stageIdList_.size(); i++) {
        output.writeUInt32NoTag(stageIdList_.getInt(i));
      }
      for (int i = 0; i < digMarkPointList_.size(); i++) {
        output.writeMessage(12, digMarkPointList_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (stageId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, stageId_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < stageIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(stageIdList_.getInt(i));
        }
        size += dataSize;
        if (!getStageIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        stageIdListMemoizedSerializedSize = dataSize;
      }
      for (int i = 0; i < digMarkPointList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, digMarkPointList_.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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo other = (emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo) obj;

      if (getStageId()
          != other.getStageId()) return false;
      if (!getDigMarkPointListList()
          .equals(other.getDigMarkPointListList())) return false;
      if (!getStageIdListList()
          .equals(other.getStageIdListList())) 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) + STAGE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getStageId();
      if (getDigMarkPointListCount() > 0) {
        hash = (37 * hash) + DIG_MARK_POINT_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getDigMarkPointListList().hashCode();
      }
      if (getStageIdListCount() > 0) {
        hash = (37 * hash) + STAGE_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getStageIdListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo 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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo 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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo 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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo 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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo 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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo 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 DigActivityDetailInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:DigActivityDetailInfo)
        emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.internal_static_DigActivityDetailInfo_descriptor;
      }

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

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

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

        if (digMarkPointListBuilder_ == null) {
          digMarkPointList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          digMarkPointListBuilder_.clear();
        }
        stageIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo buildPartial() {
        emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo result = new emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo(this);
        int from_bitField0_ = bitField0_;
        result.stageId_ = stageId_;
        if (digMarkPointListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            digMarkPointList_ = java.util.Collections.unmodifiableList(digMarkPointList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.digMarkPointList_ = digMarkPointList_;
        } else {
          result.digMarkPointList_ = digMarkPointListBuilder_.build();
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          stageIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.stageIdList_ = stageIdList_;
        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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo) {
          return mergeFrom((emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo other) {
        if (other == emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo.getDefaultInstance()) return this;
        if (other.getStageId() != 0) {
          setStageId(other.getStageId());
        }
        if (digMarkPointListBuilder_ == null) {
          if (!other.digMarkPointList_.isEmpty()) {
            if (digMarkPointList_.isEmpty()) {
              digMarkPointList_ = other.digMarkPointList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDigMarkPointListIsMutable();
              digMarkPointList_.addAll(other.digMarkPointList_);
            }
            onChanged();
          }
        } else {
          if (!other.digMarkPointList_.isEmpty()) {
            if (digMarkPointListBuilder_.isEmpty()) {
              digMarkPointListBuilder_.dispose();
              digMarkPointListBuilder_ = null;
              digMarkPointList_ = other.digMarkPointList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              digMarkPointListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDigMarkPointListFieldBuilder() : null;
            } else {
              digMarkPointListBuilder_.addAllMessages(other.digMarkPointList_);
            }
          }
        }
        if (!other.stageIdList_.isEmpty()) {
          if (stageIdList_.isEmpty()) {
            stageIdList_ = other.stageIdList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureStageIdListIsMutable();
            stageIdList_.addAll(other.stageIdList_);
          }
          onChanged();
        }
        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.DigActivityDetailInfoOuterClass.DigActivityDetailInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int stageId_ ;
      /**
       * <code>uint32 stage_id = 3;</code>
       * @return The stageId.
       */
      @java.lang.Override
      public int getStageId() {
        return stageId_;
      }
      /**
       * <code>uint32 stage_id = 3;</code>
       * @param value The stageId to set.
       * @return This builder for chaining.
       */
      public Builder setStageId(int value) {
        
        stageId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 stage_id = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearStageId() {
        
        stageId_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint> digMarkPointList_ =
        java.util.Collections.emptyList();
      private void ensureDigMarkPointListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          digMarkPointList_ = new java.util.ArrayList<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint>(digMarkPointList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder> digMarkPointListBuilder_;

      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint> getDigMarkPointListList() {
        if (digMarkPointListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(digMarkPointList_);
        } else {
          return digMarkPointListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public int getDigMarkPointListCount() {
        if (digMarkPointListBuilder_ == null) {
          return digMarkPointList_.size();
        } else {
          return digMarkPointListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint getDigMarkPointList(int index) {
        if (digMarkPointListBuilder_ == null) {
          return digMarkPointList_.get(index);
        } else {
          return digMarkPointListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder setDigMarkPointList(
          int index, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint value) {
        if (digMarkPointListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDigMarkPointListIsMutable();
          digMarkPointList_.set(index, value);
          onChanged();
        } else {
          digMarkPointListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder setDigMarkPointList(
          int index, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder builderForValue) {
        if (digMarkPointListBuilder_ == null) {
          ensureDigMarkPointListIsMutable();
          digMarkPointList_.set(index, builderForValue.build());
          onChanged();
        } else {
          digMarkPointListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder addDigMarkPointList(emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint value) {
        if (digMarkPointListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDigMarkPointListIsMutable();
          digMarkPointList_.add(value);
          onChanged();
        } else {
          digMarkPointListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder addDigMarkPointList(
          int index, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint value) {
        if (digMarkPointListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDigMarkPointListIsMutable();
          digMarkPointList_.add(index, value);
          onChanged();
        } else {
          digMarkPointListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder addDigMarkPointList(
          emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder builderForValue) {
        if (digMarkPointListBuilder_ == null) {
          ensureDigMarkPointListIsMutable();
          digMarkPointList_.add(builderForValue.build());
          onChanged();
        } else {
          digMarkPointListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder addDigMarkPointList(
          int index, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder builderForValue) {
        if (digMarkPointListBuilder_ == null) {
          ensureDigMarkPointListIsMutable();
          digMarkPointList_.add(index, builderForValue.build());
          onChanged();
        } else {
          digMarkPointListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder addAllDigMarkPointList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint> values) {
        if (digMarkPointListBuilder_ == null) {
          ensureDigMarkPointListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, digMarkPointList_);
          onChanged();
        } else {
          digMarkPointListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder clearDigMarkPointList() {
        if (digMarkPointListBuilder_ == null) {
          digMarkPointList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          digMarkPointListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public Builder removeDigMarkPointList(int index) {
        if (digMarkPointListBuilder_ == null) {
          ensureDigMarkPointListIsMutable();
          digMarkPointList_.remove(index);
          onChanged();
        } else {
          digMarkPointListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder getDigMarkPointListBuilder(
          int index) {
        return getDigMarkPointListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder getDigMarkPointListOrBuilder(
          int index) {
        if (digMarkPointListBuilder_ == null) {
          return digMarkPointList_.get(index);  } else {
          return digMarkPointListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder> 
           getDigMarkPointListOrBuilderList() {
        if (digMarkPointListBuilder_ != null) {
          return digMarkPointListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(digMarkPointList_);
        }
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder addDigMarkPointListBuilder() {
        return getDigMarkPointListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.getDefaultInstance());
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder addDigMarkPointListBuilder(
          int index) {
        return getDigMarkPointListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.getDefaultInstance());
      }
      /**
       * <code>repeated .DigMarkPoint dig_mark_point_list = 12;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder> 
           getDigMarkPointListBuilderList() {
        return getDigMarkPointListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder> 
          getDigMarkPointListFieldBuilder() {
        if (digMarkPointListBuilder_ == null) {
          digMarkPointListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPoint.Builder, emu.grasscutter.net.proto.DigMarkPointOuterClass.DigMarkPointOrBuilder>(
                  digMarkPointList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          digMarkPointList_ = null;
        }
        return digMarkPointListBuilder_;
      }

      private com.google.protobuf.Internal.IntList stageIdList_ = emptyIntList();
      private void ensureStageIdListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          stageIdList_ = mutableCopy(stageIdList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 stage_id_list = 5;</code>
       * @return A list containing the stageIdList.
       */
      public java.util.List<java.lang.Integer>
          getStageIdListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(stageIdList_) : stageIdList_;
      }
      /**
       * <code>repeated uint32 stage_id_list = 5;</code>
       * @return The count of stageIdList.
       */
      public int getStageIdListCount() {
        return stageIdList_.size();
      }
      /**
       * <code>repeated uint32 stage_id_list = 5;</code>
       * @param index The index of the element to return.
       * @return The stageIdList at the given index.
       */
      public int getStageIdList(int index) {
        return stageIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 stage_id_list = 5;</code>
       * @param index The index to set the value at.
       * @param value The stageIdList to set.
       * @return This builder for chaining.
       */
      public Builder setStageIdList(
          int index, int value) {
        ensureStageIdListIsMutable();
        stageIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 stage_id_list = 5;</code>
       * @param value The stageIdList to add.
       * @return This builder for chaining.
       */
      public Builder addStageIdList(int value) {
        ensureStageIdListIsMutable();
        stageIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 stage_id_list = 5;</code>
       * @param values The stageIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllStageIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureStageIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, stageIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 stage_id_list = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearStageIdList() {
        stageIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        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:DigActivityDetailInfo)
    }

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

    public static emu.grasscutter.net.proto.DigActivityDetailInfoOuterClass.DigActivityDetailInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_DigActivityDetailInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_DigActivityDetailInfo_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\033DigActivityDetailInfo.proto\032\022DigMarkPo" +
      "int.proto\"l\n\025DigActivityDetailInfo\022\020\n\010st" +
      "age_id\030\003 \001(\r\022*\n\023dig_mark_point_list\030\014 \003(" +
      "\0132\r.DigMarkPoint\022\025\n\rstage_id_list\030\005 \003(\rB" +
      "\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.DigMarkPointOuterClass.getDescriptor(),
        });
    internal_static_DigActivityDetailInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_DigActivityDetailInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_DigActivityDetailInfo_descriptor,
        new java.lang.String[] { "StageId", "DigMarkPointList", "StageIdList", });
    emu.grasscutter.net.proto.DigMarkPointOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
