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

package io.grasscutter.net.proto.activity;

/**
 * Protobuf type {@code ChessActivityDetailInfo}
 */
public final class ChessActivityDetailInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:ChessActivityDetailInfo)
    ChessActivityDetailInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ChessActivityDetailInfo.newBuilder() to construct.
  private ChessActivityDetailInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ChessActivityDetailInfo() {
    finishedMapIdList_ = emptyIntList();
  }

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

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

            contentCloseTime_ = input.readUInt32();
            break;
          }
          case 24: {

            level_ = input.readUInt32();
            break;
          }
          case 32: {

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

            dEENKHENHPD_ = input.readUInt32();
            break;
          }
          case 72: {

            fEIDGCJNIHI_ = input.readUInt32();
            break;
          }
          case 80: {

            lIKPBCBBHAA_ = input.readUInt32();
            break;
          }
          case 96: {

            bIHJKCGJFML_ = input.readUInt32();
            break;
          }
          case 104: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              finishedMapIdList_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            finishedMapIdList_.addInt(input.readUInt32());
            break;
          }
          case 106: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
              finishedMapIdList_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            while (input.getBytesUntilLimit() > 0) {
              finishedMapIdList_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 120: {

            isTeachDungeonFinished_ = input.readBool();
            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)) {
        finishedMapIdList_.makeImmutable(); // C
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_ChessActivityDetailInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_ChessActivityDetailInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.ChessActivityDetailInfo.class, io.grasscutter.net.proto.activity.ChessActivityDetailInfo.Builder.class);
  }

  public static final int FINISHED_MAP_ID_LIST_FIELD_NUMBER = 13;
  private com.google.protobuf.Internal.IntList finishedMapIdList_;
  /**
   * <code>repeated uint32 finished_map_id_list = 13;</code>
   * @return A list containing the finishedMapIdList.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getFinishedMapIdListList() {
    return finishedMapIdList_;
  }
  /**
   * <code>repeated uint32 finished_map_id_list = 13;</code>
   * @return The count of finishedMapIdList.
   */
  public int getFinishedMapIdListCount() {
    return finishedMapIdList_.size();
  }
  /**
   * <code>repeated uint32 finished_map_id_list = 13;</code>
   * @param index The index of the element to return.
   * @return The finishedMapIdList at the given index.
   */
  public int getFinishedMapIdList(int index) {
    return finishedMapIdList_.getInt(index);
  }
  private int finishedMapIdListMemoizedSerializedSize = -1;

  public static final int LEVEL_FIELD_NUMBER = 3;
  private int level_;
  /**
   * <code>uint32 level = 3;</code>
   * @return The level.
   */
  @java.lang.Override
  public int getLevel() {
    return level_;
  }

  public static final int FEIDGCJNIHI_FIELD_NUMBER = 9;
  private int fEIDGCJNIHI_;
  /**
   * <code>uint32 FEIDGCJNIHI = 9;</code>
   * @return The fEIDGCJNIHI.
   */
  @java.lang.Override
  public int getFEIDGCJNIHI() {
    return fEIDGCJNIHI_;
  }

  public static final int LIKPBCBBHAA_FIELD_NUMBER = 10;
  private int lIKPBCBBHAA_;
  /**
   * <code>uint32 LIKPBCBBHAA = 10;</code>
   * @return The lIKPBCBBHAA.
   */
  @java.lang.Override
  public int getLIKPBCBBHAA() {
    return lIKPBCBBHAA_;
  }

  public static final int IS_TEACH_DUNGEON_FINISHED_FIELD_NUMBER = 15;
  private boolean isTeachDungeonFinished_;
  /**
   * <code>bool is_teach_dungeon_finished = 15;</code>
   * @return The isTeachDungeonFinished.
   */
  @java.lang.Override
  public boolean getIsTeachDungeonFinished() {
    return isTeachDungeonFinished_;
  }

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

  public static final int DEENKHENHPD_FIELD_NUMBER = 7;
  private int dEENKHENHPD_;
  /**
   * <code>uint32 DEENKHENHPD = 7;</code>
   * @return The dEENKHENHPD.
   */
  @java.lang.Override
  public int getDEENKHENHPD() {
    return dEENKHENHPD_;
  }

  public static final int BIHJKCGJFML_FIELD_NUMBER = 12;
  private int bIHJKCGJFML_;
  /**
   * <code>uint32 BIHJKCGJFML = 12;</code>
   * @return The bIHJKCGJFML.
   */
  @java.lang.Override
  public int getBIHJKCGJFML() {
    return bIHJKCGJFML_;
  }

  public static final int CONTENT_CLOSE_TIME_FIELD_NUMBER = 2;
  private int contentCloseTime_;
  /**
   * <code>uint32 content_close_time = 2;</code>
   * @return The contentCloseTime.
   */
  @java.lang.Override
  public int getContentCloseTime() {
    return contentCloseTime_;
  }

  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 (contentCloseTime_ != 0) {
      output.writeUInt32(2, contentCloseTime_);
    }
    if (level_ != 0) {
      output.writeUInt32(3, level_);
    }
    if (isContentClosed_ != false) {
      output.writeBool(4, isContentClosed_);
    }
    if (dEENKHENHPD_ != 0) {
      output.writeUInt32(7, dEENKHENHPD_);
    }
    if (fEIDGCJNIHI_ != 0) {
      output.writeUInt32(9, fEIDGCJNIHI_);
    }
    if (lIKPBCBBHAA_ != 0) {
      output.writeUInt32(10, lIKPBCBBHAA_);
    }
    if (bIHJKCGJFML_ != 0) {
      output.writeUInt32(12, bIHJKCGJFML_);
    }
    if (getFinishedMapIdListList().size() > 0) {
      output.writeUInt32NoTag(106);
      output.writeUInt32NoTag(finishedMapIdListMemoizedSerializedSize);
    }
    for (int i = 0; i < finishedMapIdList_.size(); i++) {
      output.writeUInt32NoTag(finishedMapIdList_.getInt(i));
    }
    if (isTeachDungeonFinished_ != false) {
      output.writeBool(15, isTeachDungeonFinished_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (contentCloseTime_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(2, contentCloseTime_);
    }
    if (level_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(3, level_);
    }
    if (isContentClosed_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(4, isContentClosed_);
    }
    if (dEENKHENHPD_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(7, dEENKHENHPD_);
    }
    if (fEIDGCJNIHI_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(9, fEIDGCJNIHI_);
    }
    if (lIKPBCBBHAA_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(10, lIKPBCBBHAA_);
    }
    if (bIHJKCGJFML_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(12, bIHJKCGJFML_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < finishedMapIdList_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(finishedMapIdList_.getInt(i));
      }
      size += dataSize;
      if (!getFinishedMapIdListList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      finishedMapIdListMemoizedSerializedSize = dataSize;
    }
    if (isTeachDungeonFinished_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(15, isTeachDungeonFinished_);
    }
    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.activity.ChessActivityDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.ChessActivityDetailInfo other = (io.grasscutter.net.proto.activity.ChessActivityDetailInfo) obj;

    if (!getFinishedMapIdListList()
        .equals(other.getFinishedMapIdListList())) return false;
    if (getLevel()
        != other.getLevel()) return false;
    if (getFEIDGCJNIHI()
        != other.getFEIDGCJNIHI()) return false;
    if (getLIKPBCBBHAA()
        != other.getLIKPBCBBHAA()) return false;
    if (getIsTeachDungeonFinished()
        != other.getIsTeachDungeonFinished()) return false;
    if (getIsContentClosed()
        != other.getIsContentClosed()) return false;
    if (getDEENKHENHPD()
        != other.getDEENKHENHPD()) return false;
    if (getBIHJKCGJFML()
        != other.getBIHJKCGJFML()) return false;
    if (getContentCloseTime()
        != other.getContentCloseTime()) 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 (getFinishedMapIdListCount() > 0) {
      hash = (37 * hash) + FINISHED_MAP_ID_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getFinishedMapIdListList().hashCode();
    }
    hash = (37 * hash) + LEVEL_FIELD_NUMBER;
    hash = (53 * hash) + getLevel();
    hash = (37 * hash) + FEIDGCJNIHI_FIELD_NUMBER;
    hash = (53 * hash) + getFEIDGCJNIHI();
    hash = (37 * hash) + LIKPBCBBHAA_FIELD_NUMBER;
    hash = (53 * hash) + getLIKPBCBBHAA();
    hash = (37 * hash) + IS_TEACH_DUNGEON_FINISHED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsTeachDungeonFinished());
    hash = (37 * hash) + IS_CONTENT_CLOSED_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsContentClosed());
    hash = (37 * hash) + DEENKHENHPD_FIELD_NUMBER;
    hash = (53 * hash) + getDEENKHENHPD();
    hash = (37 * hash) + BIHJKCGJFML_FIELD_NUMBER;
    hash = (53 * hash) + getBIHJKCGJFML();
    hash = (37 * hash) + CONTENT_CLOSE_TIME_FIELD_NUMBER;
    hash = (53 * hash) + getContentCloseTime();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_ChessActivityDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.ChessActivityDetailInfo.class, io.grasscutter.net.proto.activity.ChessActivityDetailInfo.Builder.class);
    }

    // Construct using io.grasscutter.net.proto.activity.ChessActivityDetailInfo.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      finishedMapIdList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      level_ = 0;

      fEIDGCJNIHI_ = 0;

      lIKPBCBBHAA_ = 0;

      isTeachDungeonFinished_ = false;

      isContentClosed_ = false;

      dEENKHENHPD_ = 0;

      bIHJKCGJFML_ = 0;

      contentCloseTime_ = 0;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_ChessActivityDetailInfo_descriptor;
    }

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.ChessActivityDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.ChessActivityDetailInfo result = new io.grasscutter.net.proto.activity.ChessActivityDetailInfo(this);
      int from_bitField0_ = bitField0_;
      if (((bitField0_ & 0x00000001) != 0)) {
        finishedMapIdList_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.finishedMapIdList_ = finishedMapIdList_;
      result.level_ = level_;
      result.fEIDGCJNIHI_ = fEIDGCJNIHI_;
      result.lIKPBCBBHAA_ = lIKPBCBBHAA_;
      result.isTeachDungeonFinished_ = isTeachDungeonFinished_;
      result.isContentClosed_ = isContentClosed_;
      result.dEENKHENHPD_ = dEENKHENHPD_;
      result.bIHJKCGJFML_ = bIHJKCGJFML_;
      result.contentCloseTime_ = contentCloseTime_;
      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.activity.ChessActivityDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.ChessActivityDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.ChessActivityDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.ChessActivityDetailInfo.getDefaultInstance()) return this;
      if (!other.finishedMapIdList_.isEmpty()) {
        if (finishedMapIdList_.isEmpty()) {
          finishedMapIdList_ = other.finishedMapIdList_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureFinishedMapIdListIsMutable();
          finishedMapIdList_.addAll(other.finishedMapIdList_);
        }
        onChanged();
      }
      if (other.getLevel() != 0) {
        setLevel(other.getLevel());
      }
      if (other.getFEIDGCJNIHI() != 0) {
        setFEIDGCJNIHI(other.getFEIDGCJNIHI());
      }
      if (other.getLIKPBCBBHAA() != 0) {
        setLIKPBCBBHAA(other.getLIKPBCBBHAA());
      }
      if (other.getIsTeachDungeonFinished() != false) {
        setIsTeachDungeonFinished(other.getIsTeachDungeonFinished());
      }
      if (other.getIsContentClosed() != false) {
        setIsContentClosed(other.getIsContentClosed());
      }
      if (other.getDEENKHENHPD() != 0) {
        setDEENKHENHPD(other.getDEENKHENHPD());
      }
      if (other.getBIHJKCGJFML() != 0) {
        setBIHJKCGJFML(other.getBIHJKCGJFML());
      }
      if (other.getContentCloseTime() != 0) {
        setContentCloseTime(other.getContentCloseTime());
      }
      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.activity.ChessActivityDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.ChessActivityDetailInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.Internal.IntList finishedMapIdList_ = emptyIntList();
    private void ensureFinishedMapIdListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        finishedMapIdList_ = mutableCopy(finishedMapIdList_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated uint32 finished_map_id_list = 13;</code>
     * @return A list containing the finishedMapIdList.
     */
    public java.util.List<java.lang.Integer>
        getFinishedMapIdListList() {
      return ((bitField0_ & 0x00000001) != 0) ?
               java.util.Collections.unmodifiableList(finishedMapIdList_) : finishedMapIdList_;
    }
    /**
     * <code>repeated uint32 finished_map_id_list = 13;</code>
     * @return The count of finishedMapIdList.
     */
    public int getFinishedMapIdListCount() {
      return finishedMapIdList_.size();
    }
    /**
     * <code>repeated uint32 finished_map_id_list = 13;</code>
     * @param index The index of the element to return.
     * @return The finishedMapIdList at the given index.
     */
    public int getFinishedMapIdList(int index) {
      return finishedMapIdList_.getInt(index);
    }
    /**
     * <code>repeated uint32 finished_map_id_list = 13;</code>
     * @param index The index to set the value at.
     * @param value The finishedMapIdList to set.
     * @return This builder for chaining.
     */
    public Builder setFinishedMapIdList(
        int index, int value) {
      ensureFinishedMapIdListIsMutable();
      finishedMapIdList_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 finished_map_id_list = 13;</code>
     * @param value The finishedMapIdList to add.
     * @return This builder for chaining.
     */
    public Builder addFinishedMapIdList(int value) {
      ensureFinishedMapIdListIsMutable();
      finishedMapIdList_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 finished_map_id_list = 13;</code>
     * @param values The finishedMapIdList to add.
     * @return This builder for chaining.
     */
    public Builder addAllFinishedMapIdList(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureFinishedMapIdListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, finishedMapIdList_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 finished_map_id_list = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearFinishedMapIdList() {
      finishedMapIdList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    private int level_ ;
    /**
     * <code>uint32 level = 3;</code>
     * @return The level.
     */
    @java.lang.Override
    public int getLevel() {
      return level_;
    }
    /**
     * <code>uint32 level = 3;</code>
     * @param value The level to set.
     * @return This builder for chaining.
     */
    public Builder setLevel(int value) {
      
      level_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 level = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearLevel() {
      
      level_ = 0;
      onChanged();
      return this;
    }

    private int fEIDGCJNIHI_ ;
    /**
     * <code>uint32 FEIDGCJNIHI = 9;</code>
     * @return The fEIDGCJNIHI.
     */
    @java.lang.Override
    public int getFEIDGCJNIHI() {
      return fEIDGCJNIHI_;
    }
    /**
     * <code>uint32 FEIDGCJNIHI = 9;</code>
     * @param value The fEIDGCJNIHI to set.
     * @return This builder for chaining.
     */
    public Builder setFEIDGCJNIHI(int value) {
      
      fEIDGCJNIHI_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 FEIDGCJNIHI = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearFEIDGCJNIHI() {
      
      fEIDGCJNIHI_ = 0;
      onChanged();
      return this;
    }

    private int lIKPBCBBHAA_ ;
    /**
     * <code>uint32 LIKPBCBBHAA = 10;</code>
     * @return The lIKPBCBBHAA.
     */
    @java.lang.Override
    public int getLIKPBCBBHAA() {
      return lIKPBCBBHAA_;
    }
    /**
     * <code>uint32 LIKPBCBBHAA = 10;</code>
     * @param value The lIKPBCBBHAA to set.
     * @return This builder for chaining.
     */
    public Builder setLIKPBCBBHAA(int value) {
      
      lIKPBCBBHAA_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 LIKPBCBBHAA = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearLIKPBCBBHAA() {
      
      lIKPBCBBHAA_ = 0;
      onChanged();
      return this;
    }

    private boolean isTeachDungeonFinished_ ;
    /**
     * <code>bool is_teach_dungeon_finished = 15;</code>
     * @return The isTeachDungeonFinished.
     */
    @java.lang.Override
    public boolean getIsTeachDungeonFinished() {
      return isTeachDungeonFinished_;
    }
    /**
     * <code>bool is_teach_dungeon_finished = 15;</code>
     * @param value The isTeachDungeonFinished to set.
     * @return This builder for chaining.
     */
    public Builder setIsTeachDungeonFinished(boolean value) {
      
      isTeachDungeonFinished_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_teach_dungeon_finished = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsTeachDungeonFinished() {
      
      isTeachDungeonFinished_ = false;
      onChanged();
      return this;
    }

    private boolean isContentClosed_ ;
    /**
     * <code>bool is_content_closed = 4;</code>
     * @return The isContentClosed.
     */
    @java.lang.Override
    public boolean getIsContentClosed() {
      return isContentClosed_;
    }
    /**
     * <code>bool is_content_closed = 4;</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 = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsContentClosed() {
      
      isContentClosed_ = false;
      onChanged();
      return this;
    }

    private int dEENKHENHPD_ ;
    /**
     * <code>uint32 DEENKHENHPD = 7;</code>
     * @return The dEENKHENHPD.
     */
    @java.lang.Override
    public int getDEENKHENHPD() {
      return dEENKHENHPD_;
    }
    /**
     * <code>uint32 DEENKHENHPD = 7;</code>
     * @param value The dEENKHENHPD to set.
     * @return This builder for chaining.
     */
    public Builder setDEENKHENHPD(int value) {
      
      dEENKHENHPD_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 DEENKHENHPD = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearDEENKHENHPD() {
      
      dEENKHENHPD_ = 0;
      onChanged();
      return this;
    }

    private int bIHJKCGJFML_ ;
    /**
     * <code>uint32 BIHJKCGJFML = 12;</code>
     * @return The bIHJKCGJFML.
     */
    @java.lang.Override
    public int getBIHJKCGJFML() {
      return bIHJKCGJFML_;
    }
    /**
     * <code>uint32 BIHJKCGJFML = 12;</code>
     * @param value The bIHJKCGJFML to set.
     * @return This builder for chaining.
     */
    public Builder setBIHJKCGJFML(int value) {
      
      bIHJKCGJFML_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 BIHJKCGJFML = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearBIHJKCGJFML() {
      
      bIHJKCGJFML_ = 0;
      onChanged();
      return this;
    }

    private int contentCloseTime_ ;
    /**
     * <code>uint32 content_close_time = 2;</code>
     * @return The contentCloseTime.
     */
    @java.lang.Override
    public int getContentCloseTime() {
      return contentCloseTime_;
    }
    /**
     * <code>uint32 content_close_time = 2;</code>
     * @param value The contentCloseTime to set.
     * @return This builder for chaining.
     */
    public Builder setContentCloseTime(int value) {
      
      contentCloseTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 content_close_time = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearContentCloseTime() {
      
      contentCloseTime_ = 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:ChessActivityDetailInfo)
  }

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

  public static io.grasscutter.net.proto.activity.ChessActivityDetailInfo getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

