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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private BrickBreakerLevelInfo(
      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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              cPMFMPHHFKI_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            cPMFMPHHFKI_.addInt(input.readUInt32());
            break;
          }
          case 10: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
              cPMFMPHHFKI_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            while (input.getBytesUntilLimit() > 0) {
              cPMFMPHHFKI_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 32: {

            maxScore_ = input.readUInt32();
            break;
          }
          case 40: {

            isFinish_ = input.readBool();
            break;
          }
          case 48: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              dDBDIFLNHDG_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            dDBDIFLNHDG_.addInt(input.readUInt32());
            break;
          }
          case 50: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
              dDBDIFLNHDG_ = newIntList();
              mutable_bitField0_ |= 0x00000002;
            }
            while (input.getBytesUntilLimit() > 0) {
              dDBDIFLNHDG_.addInt(input.readUInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 80: {

            levelId_ = input.readUInt32();
            break;
          }
          case 104: {

            isCanStart_ = 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)) {
        cPMFMPHHFKI_.makeImmutable(); // C
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        dDBDIFLNHDG_.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_BrickBreakerLevelInfo_descriptor;
  }

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

  public static final int CPMFMPHHFKI_FIELD_NUMBER = 1;
  private com.google.protobuf.Internal.IntList cPMFMPHHFKI_;
  /**
   * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
   * @return A list containing the cPMFMPHHFKI.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getCPMFMPHHFKIList() {
    return cPMFMPHHFKI_;
  }
  /**
   * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
   * @return The count of cPMFMPHHFKI.
   */
  public int getCPMFMPHHFKICount() {
    return cPMFMPHHFKI_.size();
  }
  /**
   * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
   * @param index The index of the element to return.
   * @return The cPMFMPHHFKI at the given index.
   */
  public int getCPMFMPHHFKI(int index) {
    return cPMFMPHHFKI_.getInt(index);
  }
  private int cPMFMPHHFKIMemoizedSerializedSize = -1;

  public static final int DDBDIFLNHDG_FIELD_NUMBER = 6;
  private com.google.protobuf.Internal.IntList dDBDIFLNHDG_;
  /**
   * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
   * @return A list containing the dDBDIFLNHDG.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getDDBDIFLNHDGList() {
    return dDBDIFLNHDG_;
  }
  /**
   * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
   * @return The count of dDBDIFLNHDG.
   */
  public int getDDBDIFLNHDGCount() {
    return dDBDIFLNHDG_.size();
  }
  /**
   * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
   * @param index The index of the element to return.
   * @return The dDBDIFLNHDG at the given index.
   */
  public int getDDBDIFLNHDG(int index) {
    return dDBDIFLNHDG_.getInt(index);
  }
  private int dDBDIFLNHDGMemoizedSerializedSize = -1;

  public static final int IS_FINISH_FIELD_NUMBER = 5;
  private boolean isFinish_;
  /**
   * <code>bool is_finish = 5;</code>
   * @return The isFinish.
   */
  @java.lang.Override
  public boolean getIsFinish() {
    return isFinish_;
  }

  public static final int IS_CAN_START_FIELD_NUMBER = 13;
  private boolean isCanStart_;
  /**
   * <code>bool is_can_start = 13;</code>
   * @return The isCanStart.
   */
  @java.lang.Override
  public boolean getIsCanStart() {
    return isCanStart_;
  }

  public static final int MAX_SCORE_FIELD_NUMBER = 4;
  private int maxScore_;
  /**
   * <code>uint32 max_score = 4;</code>
   * @return The maxScore.
   */
  @java.lang.Override
  public int getMaxScore() {
    return maxScore_;
  }

  public static final int LEVEL_ID_FIELD_NUMBER = 10;
  private int levelId_;
  /**
   * <code>uint32 level_id = 10;</code>
   * @return The levelId.
   */
  @java.lang.Override
  public int getLevelId() {
    return levelId_;
  }

  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 (getCPMFMPHHFKIList().size() > 0) {
      output.writeUInt32NoTag(10);
      output.writeUInt32NoTag(cPMFMPHHFKIMemoizedSerializedSize);
    }
    for (int i = 0; i < cPMFMPHHFKI_.size(); i++) {
      output.writeUInt32NoTag(cPMFMPHHFKI_.getInt(i));
    }
    if (maxScore_ != 0) {
      output.writeUInt32(4, maxScore_);
    }
    if (isFinish_ != false) {
      output.writeBool(5, isFinish_);
    }
    if (getDDBDIFLNHDGList().size() > 0) {
      output.writeUInt32NoTag(50);
      output.writeUInt32NoTag(dDBDIFLNHDGMemoizedSerializedSize);
    }
    for (int i = 0; i < dDBDIFLNHDG_.size(); i++) {
      output.writeUInt32NoTag(dDBDIFLNHDG_.getInt(i));
    }
    if (levelId_ != 0) {
      output.writeUInt32(10, levelId_);
    }
    if (isCanStart_ != false) {
      output.writeBool(13, isCanStart_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    {
      int dataSize = 0;
      for (int i = 0; i < cPMFMPHHFKI_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(cPMFMPHHFKI_.getInt(i));
      }
      size += dataSize;
      if (!getCPMFMPHHFKIList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      cPMFMPHHFKIMemoizedSerializedSize = dataSize;
    }
    if (maxScore_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(4, maxScore_);
    }
    if (isFinish_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(5, isFinish_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < dDBDIFLNHDG_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeUInt32SizeNoTag(dDBDIFLNHDG_.getInt(i));
      }
      size += dataSize;
      if (!getDDBDIFLNHDGList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      dDBDIFLNHDGMemoizedSerializedSize = dataSize;
    }
    if (levelId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(10, levelId_);
    }
    if (isCanStart_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(13, isCanStart_);
    }
    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.BrickBreakerLevelInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.BrickBreakerLevelInfo other = (io.grasscutter.net.proto.activity.BrickBreakerLevelInfo) obj;

    if (!getCPMFMPHHFKIList()
        .equals(other.getCPMFMPHHFKIList())) return false;
    if (!getDDBDIFLNHDGList()
        .equals(other.getDDBDIFLNHDGList())) return false;
    if (getIsFinish()
        != other.getIsFinish()) return false;
    if (getIsCanStart()
        != other.getIsCanStart()) return false;
    if (getMaxScore()
        != other.getMaxScore()) return false;
    if (getLevelId()
        != other.getLevelId()) 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 (getCPMFMPHHFKICount() > 0) {
      hash = (37 * hash) + CPMFMPHHFKI_FIELD_NUMBER;
      hash = (53 * hash) + getCPMFMPHHFKIList().hashCode();
    }
    if (getDDBDIFLNHDGCount() > 0) {
      hash = (37 * hash) + DDBDIFLNHDG_FIELD_NUMBER;
      hash = (53 * hash) + getDDBDIFLNHDGList().hashCode();
    }
    hash = (37 * hash) + IS_FINISH_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsFinish());
    hash = (37 * hash) + IS_CAN_START_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsCanStart());
    hash = (37 * hash) + MAX_SCORE_FIELD_NUMBER;
    hash = (53 * hash) + getMaxScore();
    hash = (37 * hash) + LEVEL_ID_FIELD_NUMBER;
    hash = (53 * hash) + getLevelId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    // Construct using io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.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();
      cPMFMPHHFKI_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      dDBDIFLNHDG_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      isFinish_ = false;

      isCanStart_ = false;

      maxScore_ = 0;

      levelId_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo buildPartial() {
      io.grasscutter.net.proto.activity.BrickBreakerLevelInfo result = new io.grasscutter.net.proto.activity.BrickBreakerLevelInfo(this);
      int from_bitField0_ = bitField0_;
      if (((bitField0_ & 0x00000001) != 0)) {
        cPMFMPHHFKI_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.cPMFMPHHFKI_ = cPMFMPHHFKI_;
      if (((bitField0_ & 0x00000002) != 0)) {
        dDBDIFLNHDG_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000002);
      }
      result.dDBDIFLNHDG_ = dDBDIFLNHDG_;
      result.isFinish_ = isFinish_;
      result.isCanStart_ = isCanStart_;
      result.maxScore_ = maxScore_;
      result.levelId_ = levelId_;
      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.BrickBreakerLevelInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.BrickBreakerLevelInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.BrickBreakerLevelInfo other) {
      if (other == io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.getDefaultInstance()) return this;
      if (!other.cPMFMPHHFKI_.isEmpty()) {
        if (cPMFMPHHFKI_.isEmpty()) {
          cPMFMPHHFKI_ = other.cPMFMPHHFKI_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureCPMFMPHHFKIIsMutable();
          cPMFMPHHFKI_.addAll(other.cPMFMPHHFKI_);
        }
        onChanged();
      }
      if (!other.dDBDIFLNHDG_.isEmpty()) {
        if (dDBDIFLNHDG_.isEmpty()) {
          dDBDIFLNHDG_ = other.dDBDIFLNHDG_;
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          ensureDDBDIFLNHDGIsMutable();
          dDBDIFLNHDG_.addAll(other.dDBDIFLNHDG_);
        }
        onChanged();
      }
      if (other.getIsFinish() != false) {
        setIsFinish(other.getIsFinish());
      }
      if (other.getIsCanStart() != false) {
        setIsCanStart(other.getIsCanStart());
      }
      if (other.getMaxScore() != 0) {
        setMaxScore(other.getMaxScore());
      }
      if (other.getLevelId() != 0) {
        setLevelId(other.getLevelId());
      }
      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.BrickBreakerLevelInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.BrickBreakerLevelInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.Internal.IntList cPMFMPHHFKI_ = emptyIntList();
    private void ensureCPMFMPHHFKIIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        cPMFMPHHFKI_ = mutableCopy(cPMFMPHHFKI_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
     * @return A list containing the cPMFMPHHFKI.
     */
    public java.util.List<java.lang.Integer>
        getCPMFMPHHFKIList() {
      return ((bitField0_ & 0x00000001) != 0) ?
               java.util.Collections.unmodifiableList(cPMFMPHHFKI_) : cPMFMPHHFKI_;
    }
    /**
     * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
     * @return The count of cPMFMPHHFKI.
     */
    public int getCPMFMPHHFKICount() {
      return cPMFMPHHFKI_.size();
    }
    /**
     * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
     * @param index The index of the element to return.
     * @return The cPMFMPHHFKI at the given index.
     */
    public int getCPMFMPHHFKI(int index) {
      return cPMFMPHHFKI_.getInt(index);
    }
    /**
     * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
     * @param index The index to set the value at.
     * @param value The cPMFMPHHFKI to set.
     * @return This builder for chaining.
     */
    public Builder setCPMFMPHHFKI(
        int index, int value) {
      ensureCPMFMPHHFKIIsMutable();
      cPMFMPHHFKI_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
     * @param value The cPMFMPHHFKI to add.
     * @return This builder for chaining.
     */
    public Builder addCPMFMPHHFKI(int value) {
      ensureCPMFMPHHFKIIsMutable();
      cPMFMPHHFKI_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
     * @param values The cPMFMPHHFKI to add.
     * @return This builder for chaining.
     */
    public Builder addAllCPMFMPHHFKI(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureCPMFMPHHFKIIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, cPMFMPHHFKI_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 CPMFMPHHFKI = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearCPMFMPHHFKI() {
      cPMFMPHHFKI_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.IntList dDBDIFLNHDG_ = emptyIntList();
    private void ensureDDBDIFLNHDGIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        dDBDIFLNHDG_ = mutableCopy(dDBDIFLNHDG_);
        bitField0_ |= 0x00000002;
       }
    }
    /**
     * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
     * @return A list containing the dDBDIFLNHDG.
     */
    public java.util.List<java.lang.Integer>
        getDDBDIFLNHDGList() {
      return ((bitField0_ & 0x00000002) != 0) ?
               java.util.Collections.unmodifiableList(dDBDIFLNHDG_) : dDBDIFLNHDG_;
    }
    /**
     * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
     * @return The count of dDBDIFLNHDG.
     */
    public int getDDBDIFLNHDGCount() {
      return dDBDIFLNHDG_.size();
    }
    /**
     * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
     * @param index The index of the element to return.
     * @return The dDBDIFLNHDG at the given index.
     */
    public int getDDBDIFLNHDG(int index) {
      return dDBDIFLNHDG_.getInt(index);
    }
    /**
     * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
     * @param index The index to set the value at.
     * @param value The dDBDIFLNHDG to set.
     * @return This builder for chaining.
     */
    public Builder setDDBDIFLNHDG(
        int index, int value) {
      ensureDDBDIFLNHDGIsMutable();
      dDBDIFLNHDG_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
     * @param value The dDBDIFLNHDG to add.
     * @return This builder for chaining.
     */
    public Builder addDDBDIFLNHDG(int value) {
      ensureDDBDIFLNHDGIsMutable();
      dDBDIFLNHDG_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
     * @param values The dDBDIFLNHDG to add.
     * @return This builder for chaining.
     */
    public Builder addAllDDBDIFLNHDG(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureDDBDIFLNHDGIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, dDBDIFLNHDG_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated uint32 DDBDIFLNHDG = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearDDBDIFLNHDG() {
      dDBDIFLNHDG_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }

    private boolean isFinish_ ;
    /**
     * <code>bool is_finish = 5;</code>
     * @return The isFinish.
     */
    @java.lang.Override
    public boolean getIsFinish() {
      return isFinish_;
    }
    /**
     * <code>bool is_finish = 5;</code>
     * @param value The isFinish to set.
     * @return This builder for chaining.
     */
    public Builder setIsFinish(boolean value) {
      
      isFinish_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_finish = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsFinish() {
      
      isFinish_ = false;
      onChanged();
      return this;
    }

    private boolean isCanStart_ ;
    /**
     * <code>bool is_can_start = 13;</code>
     * @return The isCanStart.
     */
    @java.lang.Override
    public boolean getIsCanStart() {
      return isCanStart_;
    }
    /**
     * <code>bool is_can_start = 13;</code>
     * @param value The isCanStart to set.
     * @return This builder for chaining.
     */
    public Builder setIsCanStart(boolean value) {
      
      isCanStart_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_can_start = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsCanStart() {
      
      isCanStart_ = false;
      onChanged();
      return this;
    }

    private int maxScore_ ;
    /**
     * <code>uint32 max_score = 4;</code>
     * @return The maxScore.
     */
    @java.lang.Override
    public int getMaxScore() {
      return maxScore_;
    }
    /**
     * <code>uint32 max_score = 4;</code>
     * @param value The maxScore to set.
     * @return This builder for chaining.
     */
    public Builder setMaxScore(int value) {
      
      maxScore_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 max_score = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearMaxScore() {
      
      maxScore_ = 0;
      onChanged();
      return this;
    }

    private int levelId_ ;
    /**
     * <code>uint32 level_id = 10;</code>
     * @return The levelId.
     */
    @java.lang.Override
    public int getLevelId() {
      return levelId_;
    }
    /**
     * <code>uint32 level_id = 10;</code>
     * @param value The levelId to set.
     * @return This builder for chaining.
     */
    public Builder setLevelId(int value) {
      
      levelId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 level_id = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearLevelId() {
      
      levelId_ = 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:BrickBreakerLevelInfo)
  }

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

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

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

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

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

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

}

