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

package io.grasscutter.net.proto.activity;

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

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

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

            dungeonIndex_ = input.readUInt32();
            break;
          }
          case 40: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              lastConditionIdList_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            lastConditionIdList_.addInt(input.readUInt32());
            break;
          }
          case 42: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
              lastConditionIdList_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            while (input.getBytesUntilLimit() > 0) {
              lastConditionIdList_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 64: {

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

            openTime_ = input.readUInt32();
            break;
          }
          case 112: {

            isOpen_ = input.readBool();
            break;
          }
          case 120: {

            isFirstPassRewardTaken_ = 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)) {
        lastConditionIdList_.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_ChannellerSlabLoopDungeonInfo_descriptor;
  }

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

  public static final int LAST_CONDITION_ID_LIST_FIELD_NUMBER = 5;
  private com.google.protobuf.Internal.IntList lastConditionIdList_;
  /**
   * <code>repeated uint32 last_condition_id_list = 5;</code>
   * @return A list containing the lastConditionIdList.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getLastConditionIdListList() {
    return lastConditionIdList_;
  }
  /**
   * <code>repeated uint32 last_condition_id_list = 5;</code>
   * @return The count of lastConditionIdList.
   */
  public int getLastConditionIdListCount() {
    return lastConditionIdList_.size();
  }
  /**
   * <code>repeated uint32 last_condition_id_list = 5;</code>
   * @param index The index of the element to return.
   * @return The lastConditionIdList at the given index.
   */
  public int getLastConditionIdList(int index) {
    return lastConditionIdList_.getInt(index);
  }
  private int lastConditionIdListMemoizedSerializedSize = -1;

  public static final int IS_OPEN_FIELD_NUMBER = 14;
  private boolean isOpen_;
  /**
   * <code>bool is_open = 14;</code>
   * @return The isOpen.
   */
  @java.lang.Override
  public boolean getIsOpen() {
    return isOpen_;
  }

  public static final int IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER = 15;
  private boolean isFirstPassRewardTaken_;
  /**
   * <code>bool is_first_pass_reward_taken = 15;</code>
   * @return The isFirstPassRewardTaken.
   */
  @java.lang.Override
  public boolean getIsFirstPassRewardTaken() {
    return isFirstPassRewardTaken_;
  }

  public static final int SCORE_FIELD_NUMBER = 8;
  private int score_;
  /**
   * <code>uint32 score = 8;</code>
   * @return The score.
   */
  @java.lang.Override
  public int getScore() {
    return score_;
  }

  public static final int OPEN_TIME_FIELD_NUMBER = 10;
  private int openTime_;
  /**
   * <code>uint32 open_time = 10;</code>
   * @return The openTime.
   */
  @java.lang.Override
  public int getOpenTime() {
    return openTime_;
  }

  public static final int DUNGEON_INDEX_FIELD_NUMBER = 3;
  private int dungeonIndex_;
  /**
   * <code>uint32 dungeon_index = 3;</code>
   * @return The dungeonIndex.
   */
  @java.lang.Override
  public int getDungeonIndex() {
    return dungeonIndex_;
  }

  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 (dungeonIndex_ != 0) {
      output.writeUInt32(3, dungeonIndex_);
    }
    if (getLastConditionIdListList().size() > 0) {
      output.writeUInt32NoTag(42);
      output.writeUInt32NoTag(lastConditionIdListMemoizedSerializedSize);
    }
    for (int i = 0; i < lastConditionIdList_.size(); i++) {
      output.writeUInt32NoTag(lastConditionIdList_.getInt(i));
    }
    if (score_ != 0) {
      output.writeUInt32(8, score_);
    }
    if (openTime_ != 0) {
      output.writeUInt32(10, openTime_);
    }
    if (isOpen_ != false) {
      output.writeBool(14, isOpen_);
    }
    if (isFirstPassRewardTaken_ != false) {
      output.writeBool(15, isFirstPassRewardTaken_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (dungeonIndex_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(3, dungeonIndex_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < lastConditionIdList_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(lastConditionIdList_.getInt(i));
      }
      size += dataSize;
      if (!getLastConditionIdListList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      lastConditionIdListMemoizedSerializedSize = dataSize;
    }
    if (score_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(8, score_);
    }
    if (openTime_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(10, openTime_);
    }
    if (isOpen_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(14, isOpen_);
    }
    if (isFirstPassRewardTaken_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(15, isFirstPassRewardTaken_);
    }
    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.ChannellerSlabLoopDungeonInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo other = (io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo) obj;

    if (!getLastConditionIdListList()
        .equals(other.getLastConditionIdListList())) return false;
    if (getIsOpen()
        != other.getIsOpen()) return false;
    if (getIsFirstPassRewardTaken()
        != other.getIsFirstPassRewardTaken()) return false;
    if (getScore()
        != other.getScore()) return false;
    if (getOpenTime()
        != other.getOpenTime()) return false;
    if (getDungeonIndex()
        != other.getDungeonIndex()) 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 (getLastConditionIdListCount() > 0) {
      hash = (37 * hash) + LAST_CONDITION_ID_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getLastConditionIdListList().hashCode();
    }
    hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsOpen());
    hash = (37 * hash) + IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsFirstPassRewardTaken());
    hash = (37 * hash) + SCORE_FIELD_NUMBER;
    hash = (53 * hash) + getScore();
    hash = (37 * hash) + OPEN_TIME_FIELD_NUMBER;
    hash = (53 * hash) + getOpenTime();
    hash = (37 * hash) + DUNGEON_INDEX_FIELD_NUMBER;
    hash = (53 * hash) + getDungeonIndex();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    // Construct using io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo.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();
      lastConditionIdList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      isOpen_ = false;

      isFirstPassRewardTaken_ = false;

      score_ = 0;

      openTime_ = 0;

      dungeonIndex_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo buildPartial() {
      io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo result = new io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo(this);
      int from_bitField0_ = bitField0_;
      if (((bitField0_ & 0x00000001) != 0)) {
        lastConditionIdList_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.lastConditionIdList_ = lastConditionIdList_;
      result.isOpen_ = isOpen_;
      result.isFirstPassRewardTaken_ = isFirstPassRewardTaken_;
      result.score_ = score_;
      result.openTime_ = openTime_;
      result.dungeonIndex_ = dungeonIndex_;
      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.ChannellerSlabLoopDungeonInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo other) {
      if (other == io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo.getDefaultInstance()) return this;
      if (!other.lastConditionIdList_.isEmpty()) {
        if (lastConditionIdList_.isEmpty()) {
          lastConditionIdList_ = other.lastConditionIdList_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureLastConditionIdListIsMutable();
          lastConditionIdList_.addAll(other.lastConditionIdList_);
        }
        onChanged();
      }
      if (other.getIsOpen() != false) {
        setIsOpen(other.getIsOpen());
      }
      if (other.getIsFirstPassRewardTaken() != false) {
        setIsFirstPassRewardTaken(other.getIsFirstPassRewardTaken());
      }
      if (other.getScore() != 0) {
        setScore(other.getScore());
      }
      if (other.getOpenTime() != 0) {
        setOpenTime(other.getOpenTime());
      }
      if (other.getDungeonIndex() != 0) {
        setDungeonIndex(other.getDungeonIndex());
      }
      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.ChannellerSlabLoopDungeonInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.ChannellerSlabLoopDungeonInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.Internal.IntList lastConditionIdList_ = emptyIntList();
    private void ensureLastConditionIdListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        lastConditionIdList_ = mutableCopy(lastConditionIdList_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated uint32 last_condition_id_list = 5;</code>
     * @return A list containing the lastConditionIdList.
     */
    public java.util.List<java.lang.Integer>
        getLastConditionIdListList() {
      return ((bitField0_ & 0x00000001) != 0) ?
               java.util.Collections.unmodifiableList(lastConditionIdList_) : lastConditionIdList_;
    }
    /**
     * <code>repeated uint32 last_condition_id_list = 5;</code>
     * @return The count of lastConditionIdList.
     */
    public int getLastConditionIdListCount() {
      return lastConditionIdList_.size();
    }
    /**
     * <code>repeated uint32 last_condition_id_list = 5;</code>
     * @param index The index of the element to return.
     * @return The lastConditionIdList at the given index.
     */
    public int getLastConditionIdList(int index) {
      return lastConditionIdList_.getInt(index);
    }
    /**
     * <code>repeated uint32 last_condition_id_list = 5;</code>
     * @param index The index to set the value at.
     * @param value The lastConditionIdList to set.
     * @return This builder for chaining.
     */
    public Builder setLastConditionIdList(
        int index, int value) {
      ensureLastConditionIdListIsMutable();
      lastConditionIdList_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 last_condition_id_list = 5;</code>
     * @param value The lastConditionIdList to add.
     * @return This builder for chaining.
     */
    public Builder addLastConditionIdList(int value) {
      ensureLastConditionIdListIsMutable();
      lastConditionIdList_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 last_condition_id_list = 5;</code>
     * @param values The lastConditionIdList to add.
     * @return This builder for chaining.
     */
    public Builder addAllLastConditionIdList(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureLastConditionIdListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, lastConditionIdList_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 last_condition_id_list = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearLastConditionIdList() {
      lastConditionIdList_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    private boolean isOpen_ ;
    /**
     * <code>bool is_open = 14;</code>
     * @return The isOpen.
     */
    @java.lang.Override
    public boolean getIsOpen() {
      return isOpen_;
    }
    /**
     * <code>bool is_open = 14;</code>
     * @param value The isOpen to set.
     * @return This builder for chaining.
     */
    public Builder setIsOpen(boolean value) {
      
      isOpen_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_open = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsOpen() {
      
      isOpen_ = false;
      onChanged();
      return this;
    }

    private boolean isFirstPassRewardTaken_ ;
    /**
     * <code>bool is_first_pass_reward_taken = 15;</code>
     * @return The isFirstPassRewardTaken.
     */
    @java.lang.Override
    public boolean getIsFirstPassRewardTaken() {
      return isFirstPassRewardTaken_;
    }
    /**
     * <code>bool is_first_pass_reward_taken = 15;</code>
     * @param value The isFirstPassRewardTaken to set.
     * @return This builder for chaining.
     */
    public Builder setIsFirstPassRewardTaken(boolean value) {
      
      isFirstPassRewardTaken_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_first_pass_reward_taken = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsFirstPassRewardTaken() {
      
      isFirstPassRewardTaken_ = false;
      onChanged();
      return this;
    }

    private int score_ ;
    /**
     * <code>uint32 score = 8;</code>
     * @return The score.
     */
    @java.lang.Override
    public int getScore() {
      return score_;
    }
    /**
     * <code>uint32 score = 8;</code>
     * @param value The score to set.
     * @return This builder for chaining.
     */
    public Builder setScore(int value) {
      
      score_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 score = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearScore() {
      
      score_ = 0;
      onChanged();
      return this;
    }

    private int openTime_ ;
    /**
     * <code>uint32 open_time = 10;</code>
     * @return The openTime.
     */
    @java.lang.Override
    public int getOpenTime() {
      return openTime_;
    }
    /**
     * <code>uint32 open_time = 10;</code>
     * @param value The openTime to set.
     * @return This builder for chaining.
     */
    public Builder setOpenTime(int value) {
      
      openTime_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 open_time = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearOpenTime() {
      
      openTime_ = 0;
      onChanged();
      return this;
    }

    private int dungeonIndex_ ;
    /**
     * <code>uint32 dungeon_index = 3;</code>
     * @return The dungeonIndex.
     */
    @java.lang.Override
    public int getDungeonIndex() {
      return dungeonIndex_;
    }
    /**
     * <code>uint32 dungeon_index = 3;</code>
     * @param value The dungeonIndex to set.
     * @return This builder for chaining.
     */
    public Builder setDungeonIndex(int value) {
      
      dungeonIndex_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 dungeon_index = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearDungeonIndex() {
      
      dungeonIndex_ = 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:ChannellerSlabLoopDungeonInfo)
  }

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

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

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

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

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

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

}

