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

package io.grasscutter.net.proto.activity;

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

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

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

            isOpen_ = input.readBool();
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              levelDataList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.IrodoriChessLevelData>();
              mutable_bitField0_ |= 0x00000001;
            }
            levelDataList_.add(
                input.readMessage(io.grasscutter.net.proto.activity.IrodoriChessLevelData.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        levelDataList_ = java.util.Collections.unmodifiableList(levelDataList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_IrodoriChessData_descriptor;
  }

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

  public static final int LEVEL_DATA_LIST_FIELD_NUMBER = 2;
  private java.util.List<io.grasscutter.net.proto.activity.IrodoriChessLevelData> levelDataList_;
  /**
   * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.IrodoriChessLevelData> getLevelDataListList() {
    return levelDataList_;
  }
  /**
   * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.IrodoriChessLevelDataOrBuilder> 
      getLevelDataListOrBuilderList() {
    return levelDataList_;
  }
  /**
   * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
   */
  @java.lang.Override
  public int getLevelDataListCount() {
    return levelDataList_.size();
  }
  /**
   * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.IrodoriChessLevelData getLevelDataList(int index) {
    return levelDataList_.get(index);
  }
  /**
   * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.IrodoriChessLevelDataOrBuilder getLevelDataListOrBuilder(
      int index) {
    return levelDataList_.get(index);
  }

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

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (isOpen_ != false) {
      output.writeBool(1, isOpen_);
    }
    for (int i = 0; i < levelDataList_.size(); i++) {
      output.writeMessage(2, levelDataList_.get(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (isOpen_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(1, isOpen_);
    }
    for (int i = 0; i < levelDataList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, levelDataList_.get(i));
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

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

    if (!getLevelDataListList()
        .equals(other.getLevelDataListList())) return false;
    if (getIsOpen()
        != other.getIsOpen()) 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 (getLevelDataListCount() > 0) {
      hash = (37 * hash) + LEVEL_DATA_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getLevelDataListList().hashCode();
    }
    hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsOpen());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getLevelDataListFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (levelDataListBuilder_ == null) {
        levelDataList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        levelDataListBuilder_.clear();
      }
      isOpen_ = false;

      return this;
    }

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

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

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

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

    public Builder mergeFrom(io.grasscutter.net.proto.activity.IrodoriChessData other) {
      if (other == io.grasscutter.net.proto.activity.IrodoriChessData.getDefaultInstance()) return this;
      if (levelDataListBuilder_ == null) {
        if (!other.levelDataList_.isEmpty()) {
          if (levelDataList_.isEmpty()) {
            levelDataList_ = other.levelDataList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureLevelDataListIsMutable();
            levelDataList_.addAll(other.levelDataList_);
          }
          onChanged();
        }
      } else {
        if (!other.levelDataList_.isEmpty()) {
          if (levelDataListBuilder_.isEmpty()) {
            levelDataListBuilder_.dispose();
            levelDataListBuilder_ = null;
            levelDataList_ = other.levelDataList_;
            bitField0_ = (bitField0_ & ~0x00000001);
            levelDataListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getLevelDataListFieldBuilder() : null;
          } else {
            levelDataListBuilder_.addAllMessages(other.levelDataList_);
          }
        }
      }
      if (other.getIsOpen() != false) {
        setIsOpen(other.getIsOpen());
      }
      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.IrodoriChessData parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.IrodoriChessData) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.util.List<io.grasscutter.net.proto.activity.IrodoriChessLevelData> levelDataList_ =
      java.util.Collections.emptyList();
    private void ensureLevelDataListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        levelDataList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.IrodoriChessLevelData>(levelDataList_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.IrodoriChessLevelData, io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder, io.grasscutter.net.proto.activity.IrodoriChessLevelDataOrBuilder> levelDataListBuilder_;

    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.IrodoriChessLevelData> getLevelDataListList() {
      if (levelDataListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(levelDataList_);
      } else {
        return levelDataListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public int getLevelDataListCount() {
      if (levelDataListBuilder_ == null) {
        return levelDataList_.size();
      } else {
        return levelDataListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public io.grasscutter.net.proto.activity.IrodoriChessLevelData getLevelDataList(int index) {
      if (levelDataListBuilder_ == null) {
        return levelDataList_.get(index);
      } else {
        return levelDataListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder setLevelDataList(
        int index, io.grasscutter.net.proto.activity.IrodoriChessLevelData value) {
      if (levelDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLevelDataListIsMutable();
        levelDataList_.set(index, value);
        onChanged();
      } else {
        levelDataListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder setLevelDataList(
        int index, io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder builderForValue) {
      if (levelDataListBuilder_ == null) {
        ensureLevelDataListIsMutable();
        levelDataList_.set(index, builderForValue.build());
        onChanged();
      } else {
        levelDataListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder addLevelDataList(io.grasscutter.net.proto.activity.IrodoriChessLevelData value) {
      if (levelDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLevelDataListIsMutable();
        levelDataList_.add(value);
        onChanged();
      } else {
        levelDataListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder addLevelDataList(
        int index, io.grasscutter.net.proto.activity.IrodoriChessLevelData value) {
      if (levelDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLevelDataListIsMutable();
        levelDataList_.add(index, value);
        onChanged();
      } else {
        levelDataListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder addLevelDataList(
        io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder builderForValue) {
      if (levelDataListBuilder_ == null) {
        ensureLevelDataListIsMutable();
        levelDataList_.add(builderForValue.build());
        onChanged();
      } else {
        levelDataListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder addLevelDataList(
        int index, io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder builderForValue) {
      if (levelDataListBuilder_ == null) {
        ensureLevelDataListIsMutable();
        levelDataList_.add(index, builderForValue.build());
        onChanged();
      } else {
        levelDataListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder addAllLevelDataList(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.IrodoriChessLevelData> values) {
      if (levelDataListBuilder_ == null) {
        ensureLevelDataListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, levelDataList_);
        onChanged();
      } else {
        levelDataListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder clearLevelDataList() {
      if (levelDataListBuilder_ == null) {
        levelDataList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        levelDataListBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public Builder removeLevelDataList(int index) {
      if (levelDataListBuilder_ == null) {
        ensureLevelDataListIsMutable();
        levelDataList_.remove(index);
        onChanged();
      } else {
        levelDataListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder getLevelDataListBuilder(
        int index) {
      return getLevelDataListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public io.grasscutter.net.proto.activity.IrodoriChessLevelDataOrBuilder getLevelDataListOrBuilder(
        int index) {
      if (levelDataListBuilder_ == null) {
        return levelDataList_.get(index);  } else {
        return levelDataListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.IrodoriChessLevelDataOrBuilder> 
         getLevelDataListOrBuilderList() {
      if (levelDataListBuilder_ != null) {
        return levelDataListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(levelDataList_);
      }
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder addLevelDataListBuilder() {
      return getLevelDataListFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.IrodoriChessLevelData.getDefaultInstance());
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder addLevelDataListBuilder(
        int index) {
      return getLevelDataListFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.IrodoriChessLevelData.getDefaultInstance());
    }
    /**
     * <code>repeated .IrodoriChessLevelData level_data_list = 2;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder> 
         getLevelDataListBuilderList() {
      return getLevelDataListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.IrodoriChessLevelData, io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder, io.grasscutter.net.proto.activity.IrodoriChessLevelDataOrBuilder> 
        getLevelDataListFieldBuilder() {
      if (levelDataListBuilder_ == null) {
        levelDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.IrodoriChessLevelData, io.grasscutter.net.proto.activity.IrodoriChessLevelData.Builder, io.grasscutter.net.proto.activity.IrodoriChessLevelDataOrBuilder>(
                levelDataList_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        levelDataList_ = null;
      }
      return levelDataListBuilder_;
    }

    private boolean isOpen_ ;
    /**
     * <code>bool is_open = 1;</code>
     * @return The isOpen.
     */
    @java.lang.Override
    public boolean getIsOpen() {
      return isOpen_;
    }
    /**
     * <code>bool is_open = 1;</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 = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsOpen() {
      
      isOpen_ = false;
      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:IrodoriChessData)
  }

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

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

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

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

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

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

}

