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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private BrickBreakerDetailInfo(
      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 10: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              pFNDPOBLJFO_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo>();
              mutable_bitField0_ |= 0x00000001;
            }
            pFNDPOBLJFO_.add(
                input.readMessage(io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.parser(), extensionRegistry));
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              skillInfoMap_ = com.google.protobuf.MapField.newMapField(
                  SkillInfoMapDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000008;
            }
            com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
            skillInfoMap__ = input.readMessage(
                SkillInfoMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            skillInfoMap_.getMutableMap().put(
                skillInfoMap__.getKey(), skillInfoMap__.getValue());
            break;
          }
          case 82: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              jCPBDGAJLEL_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo>();
              mutable_bitField0_ |= 0x00000002;
            }
            jCPBDGAJLEL_.add(
                input.readMessage(io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.parser(), extensionRegistry));
            break;
          }
          case 122: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              stageInfoList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo>();
              mutable_bitField0_ |= 0x00000004;
            }
            stageInfoList_.add(
                input.readMessage(io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.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)) {
        pFNDPOBLJFO_ = java.util.Collections.unmodifiableList(pFNDPOBLJFO_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        jCPBDGAJLEL_ = java.util.Collections.unmodifiableList(jCPBDGAJLEL_);
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        stageInfoList_ = java.util.Collections.unmodifiableList(stageInfoList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_BrickBreakerDetailInfo_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 2:
        return internalGetSkillInfoMap();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_BrickBreakerDetailInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.activity.BrickBreakerDetailInfo.class, io.grasscutter.net.proto.activity.BrickBreakerDetailInfo.Builder.class);
  }

  public static final int PFNDPOBLJFO_FIELD_NUMBER = 1;
  private java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> pFNDPOBLJFO_;
  /**
   * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> getPFNDPOBLJFOList() {
    return pFNDPOBLJFO_;
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> 
      getPFNDPOBLJFOOrBuilderList() {
    return pFNDPOBLJFO_;
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
   */
  @java.lang.Override
  public int getPFNDPOBLJFOCount() {
    return pFNDPOBLJFO_.size();
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo getPFNDPOBLJFO(int index) {
    return pFNDPOBLJFO_.get(index);
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder getPFNDPOBLJFOOrBuilder(
      int index) {
    return pFNDPOBLJFO_.get(index);
  }

  public static final int JCPBDGAJLEL_FIELD_NUMBER = 10;
  private java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> jCPBDGAJLEL_;
  /**
   * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> getJCPBDGAJLELList() {
    return jCPBDGAJLEL_;
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> 
      getJCPBDGAJLELOrBuilderList() {
    return jCPBDGAJLEL_;
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
   */
  @java.lang.Override
  public int getJCPBDGAJLELCount() {
    return jCPBDGAJLEL_.size();
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo getJCPBDGAJLEL(int index) {
    return jCPBDGAJLEL_.get(index);
  }
  /**
   * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder getJCPBDGAJLELOrBuilder(
      int index) {
    return jCPBDGAJLEL_.get(index);
  }

  public static final int STAGE_INFO_LIST_FIELD_NUMBER = 15;
  private java.util.List<io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo> stageInfoList_;
  /**
   * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo> getStageInfoListList() {
    return stageInfoList_;
  }
  /**
   * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfoOrBuilder> 
      getStageInfoListOrBuilderList() {
    return stageInfoList_;
  }
  /**
   * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
   */
  @java.lang.Override
  public int getStageInfoListCount() {
    return stageInfoList_.size();
  }
  /**
   * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo getStageInfoList(int index) {
    return stageInfoList_.get(index);
  }
  /**
   * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfoOrBuilder getStageInfoListOrBuilder(
      int index) {
    return stageInfoList_.get(index);
  }

  public static final int SKILL_INFO_MAP_FIELD_NUMBER = 2;
  private static final class SkillInfoMapDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.Integer, java.lang.Integer> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                io.grasscutter.net.proto.activity.Activity.internal_static_BrickBreakerDetailInfo_SkillInfoMapEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0,
                com.google.protobuf.WireFormat.FieldType.UINT32,
                0);
  }
  private com.google.protobuf.MapField<
      java.lang.Integer, java.lang.Integer> skillInfoMap_;
  private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
  internalGetSkillInfoMap() {
    if (skillInfoMap_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          SkillInfoMapDefaultEntryHolder.defaultEntry);
    }
    return skillInfoMap_;
  }

  public int getSkillInfoMapCount() {
    return internalGetSkillInfoMap().getMap().size();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
   */

  @java.lang.Override
  public boolean containsSkillInfoMap(
      int key) {
    
    return internalGetSkillInfoMap().getMap().containsKey(key);
  }
  /**
   * Use {@link #getSkillInfoMapMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillInfoMap() {
    return getSkillInfoMapMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
   */
  @java.lang.Override

  public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillInfoMapMap() {
    return internalGetSkillInfoMap().getMap();
  }
  /**
   * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
   */
  @java.lang.Override

  public int getSkillInfoMapOrDefault(
      int key,
      int defaultValue) {
    
    java.util.Map<java.lang.Integer, java.lang.Integer> map =
        internalGetSkillInfoMap().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
   */
  @java.lang.Override

  public int getSkillInfoMapOrThrow(
      int key) {
    
    java.util.Map<java.lang.Integer, java.lang.Integer> map =
        internalGetSkillInfoMap().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  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 {
    for (int i = 0; i < pFNDPOBLJFO_.size(); i++) {
      output.writeMessage(1, pFNDPOBLJFO_.get(i));
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeIntegerMapTo(
        output,
        internalGetSkillInfoMap(),
        SkillInfoMapDefaultEntryHolder.defaultEntry,
        2);
    for (int i = 0; i < jCPBDGAJLEL_.size(); i++) {
      output.writeMessage(10, jCPBDGAJLEL_.get(i));
    }
    for (int i = 0; i < stageInfoList_.size(); i++) {
      output.writeMessage(15, stageInfoList_.get(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < pFNDPOBLJFO_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, pFNDPOBLJFO_.get(i));
    }
    for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
         : internalGetSkillInfoMap().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
      skillInfoMap__ = SkillInfoMapDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, skillInfoMap__);
    }
    for (int i = 0; i < jCPBDGAJLEL_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, jCPBDGAJLEL_.get(i));
    }
    for (int i = 0; i < stageInfoList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(15, stageInfoList_.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.BrickBreakerDetailInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.BrickBreakerDetailInfo other = (io.grasscutter.net.proto.activity.BrickBreakerDetailInfo) obj;

    if (!getPFNDPOBLJFOList()
        .equals(other.getPFNDPOBLJFOList())) return false;
    if (!getJCPBDGAJLELList()
        .equals(other.getJCPBDGAJLELList())) return false;
    if (!getStageInfoListList()
        .equals(other.getStageInfoListList())) return false;
    if (!internalGetSkillInfoMap().equals(
        other.internalGetSkillInfoMap())) 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 (getPFNDPOBLJFOCount() > 0) {
      hash = (37 * hash) + PFNDPOBLJFO_FIELD_NUMBER;
      hash = (53 * hash) + getPFNDPOBLJFOList().hashCode();
    }
    if (getJCPBDGAJLELCount() > 0) {
      hash = (37 * hash) + JCPBDGAJLEL_FIELD_NUMBER;
      hash = (53 * hash) + getJCPBDGAJLELList().hashCode();
    }
    if (getStageInfoListCount() > 0) {
      hash = (37 * hash) + STAGE_INFO_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getStageInfoListList().hashCode();
    }
    if (!internalGetSkillInfoMap().getMap().isEmpty()) {
      hash = (37 * hash) + SKILL_INFO_MAP_FIELD_NUMBER;
      hash = (53 * hash) + internalGetSkillInfoMap().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 2:
          return internalGetSkillInfoMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 2:
          return internalGetMutableSkillInfoMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.grasscutter.net.proto.activity.Activity.internal_static_BrickBreakerDetailInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.grasscutter.net.proto.activity.BrickBreakerDetailInfo.class, io.grasscutter.net.proto.activity.BrickBreakerDetailInfo.Builder.class);
    }

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getPFNDPOBLJFOFieldBuilder();
        getJCPBDGAJLELFieldBuilder();
        getStageInfoListFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (pFNDPOBLJFOBuilder_ == null) {
        pFNDPOBLJFO_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        pFNDPOBLJFOBuilder_.clear();
      }
      if (jCPBDGAJLELBuilder_ == null) {
        jCPBDGAJLEL_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
      } else {
        jCPBDGAJLELBuilder_.clear();
      }
      if (stageInfoListBuilder_ == null) {
        stageInfoList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
      } else {
        stageInfoListBuilder_.clear();
      }
      internalGetMutableSkillInfoMap().clear();
      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.BrickBreakerDetailInfo buildPartial() {
      io.grasscutter.net.proto.activity.BrickBreakerDetailInfo result = new io.grasscutter.net.proto.activity.BrickBreakerDetailInfo(this);
      int from_bitField0_ = bitField0_;
      if (pFNDPOBLJFOBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          pFNDPOBLJFO_ = java.util.Collections.unmodifiableList(pFNDPOBLJFO_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.pFNDPOBLJFO_ = pFNDPOBLJFO_;
      } else {
        result.pFNDPOBLJFO_ = pFNDPOBLJFOBuilder_.build();
      }
      if (jCPBDGAJLELBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          jCPBDGAJLEL_ = java.util.Collections.unmodifiableList(jCPBDGAJLEL_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.jCPBDGAJLEL_ = jCPBDGAJLEL_;
      } else {
        result.jCPBDGAJLEL_ = jCPBDGAJLELBuilder_.build();
      }
      if (stageInfoListBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          stageInfoList_ = java.util.Collections.unmodifiableList(stageInfoList_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.stageInfoList_ = stageInfoList_;
      } else {
        result.stageInfoList_ = stageInfoListBuilder_.build();
      }
      result.skillInfoMap_ = internalGetSkillInfoMap();
      result.skillInfoMap_.makeImmutable();
      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.BrickBreakerDetailInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.BrickBreakerDetailInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.BrickBreakerDetailInfo other) {
      if (other == io.grasscutter.net.proto.activity.BrickBreakerDetailInfo.getDefaultInstance()) return this;
      if (pFNDPOBLJFOBuilder_ == null) {
        if (!other.pFNDPOBLJFO_.isEmpty()) {
          if (pFNDPOBLJFO_.isEmpty()) {
            pFNDPOBLJFO_ = other.pFNDPOBLJFO_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensurePFNDPOBLJFOIsMutable();
            pFNDPOBLJFO_.addAll(other.pFNDPOBLJFO_);
          }
          onChanged();
        }
      } else {
        if (!other.pFNDPOBLJFO_.isEmpty()) {
          if (pFNDPOBLJFOBuilder_.isEmpty()) {
            pFNDPOBLJFOBuilder_.dispose();
            pFNDPOBLJFOBuilder_ = null;
            pFNDPOBLJFO_ = other.pFNDPOBLJFO_;
            bitField0_ = (bitField0_ & ~0x00000001);
            pFNDPOBLJFOBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getPFNDPOBLJFOFieldBuilder() : null;
          } else {
            pFNDPOBLJFOBuilder_.addAllMessages(other.pFNDPOBLJFO_);
          }
        }
      }
      if (jCPBDGAJLELBuilder_ == null) {
        if (!other.jCPBDGAJLEL_.isEmpty()) {
          if (jCPBDGAJLEL_.isEmpty()) {
            jCPBDGAJLEL_ = other.jCPBDGAJLEL_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureJCPBDGAJLELIsMutable();
            jCPBDGAJLEL_.addAll(other.jCPBDGAJLEL_);
          }
          onChanged();
        }
      } else {
        if (!other.jCPBDGAJLEL_.isEmpty()) {
          if (jCPBDGAJLELBuilder_.isEmpty()) {
            jCPBDGAJLELBuilder_.dispose();
            jCPBDGAJLELBuilder_ = null;
            jCPBDGAJLEL_ = other.jCPBDGAJLEL_;
            bitField0_ = (bitField0_ & ~0x00000002);
            jCPBDGAJLELBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getJCPBDGAJLELFieldBuilder() : null;
          } else {
            jCPBDGAJLELBuilder_.addAllMessages(other.jCPBDGAJLEL_);
          }
        }
      }
      if (stageInfoListBuilder_ == null) {
        if (!other.stageInfoList_.isEmpty()) {
          if (stageInfoList_.isEmpty()) {
            stageInfoList_ = other.stageInfoList_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureStageInfoListIsMutable();
            stageInfoList_.addAll(other.stageInfoList_);
          }
          onChanged();
        }
      } else {
        if (!other.stageInfoList_.isEmpty()) {
          if (stageInfoListBuilder_.isEmpty()) {
            stageInfoListBuilder_.dispose();
            stageInfoListBuilder_ = null;
            stageInfoList_ = other.stageInfoList_;
            bitField0_ = (bitField0_ & ~0x00000004);
            stageInfoListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getStageInfoListFieldBuilder() : null;
          } else {
            stageInfoListBuilder_.addAllMessages(other.stageInfoList_);
          }
        }
      }
      internalGetMutableSkillInfoMap().mergeFrom(
          other.internalGetSkillInfoMap());
      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.BrickBreakerDetailInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.BrickBreakerDetailInfo) 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.BrickBreakerLevelInfo> pFNDPOBLJFO_ =
      java.util.Collections.emptyList();
    private void ensurePFNDPOBLJFOIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        pFNDPOBLJFO_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo>(pFNDPOBLJFO_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.BrickBreakerLevelInfo, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> pFNDPOBLJFOBuilder_;

    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> getPFNDPOBLJFOList() {
      if (pFNDPOBLJFOBuilder_ == null) {
        return java.util.Collections.unmodifiableList(pFNDPOBLJFO_);
      } else {
        return pFNDPOBLJFOBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public int getPFNDPOBLJFOCount() {
      if (pFNDPOBLJFOBuilder_ == null) {
        return pFNDPOBLJFO_.size();
      } else {
        return pFNDPOBLJFOBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo getPFNDPOBLJFO(int index) {
      if (pFNDPOBLJFOBuilder_ == null) {
        return pFNDPOBLJFO_.get(index);
      } else {
        return pFNDPOBLJFOBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder setPFNDPOBLJFO(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo value) {
      if (pFNDPOBLJFOBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePFNDPOBLJFOIsMutable();
        pFNDPOBLJFO_.set(index, value);
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder setPFNDPOBLJFO(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder builderForValue) {
      if (pFNDPOBLJFOBuilder_ == null) {
        ensurePFNDPOBLJFOIsMutable();
        pFNDPOBLJFO_.set(index, builderForValue.build());
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder addPFNDPOBLJFO(io.grasscutter.net.proto.activity.BrickBreakerLevelInfo value) {
      if (pFNDPOBLJFOBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePFNDPOBLJFOIsMutable();
        pFNDPOBLJFO_.add(value);
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder addPFNDPOBLJFO(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo value) {
      if (pFNDPOBLJFOBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePFNDPOBLJFOIsMutable();
        pFNDPOBLJFO_.add(index, value);
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder addPFNDPOBLJFO(
        io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder builderForValue) {
      if (pFNDPOBLJFOBuilder_ == null) {
        ensurePFNDPOBLJFOIsMutable();
        pFNDPOBLJFO_.add(builderForValue.build());
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder addPFNDPOBLJFO(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder builderForValue) {
      if (pFNDPOBLJFOBuilder_ == null) {
        ensurePFNDPOBLJFOIsMutable();
        pFNDPOBLJFO_.add(index, builderForValue.build());
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder addAllPFNDPOBLJFO(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> values) {
      if (pFNDPOBLJFOBuilder_ == null) {
        ensurePFNDPOBLJFOIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, pFNDPOBLJFO_);
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder clearPFNDPOBLJFO() {
      if (pFNDPOBLJFOBuilder_ == null) {
        pFNDPOBLJFO_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public Builder removePFNDPOBLJFO(int index) {
      if (pFNDPOBLJFOBuilder_ == null) {
        ensurePFNDPOBLJFOIsMutable();
        pFNDPOBLJFO_.remove(index);
        onChanged();
      } else {
        pFNDPOBLJFOBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder getPFNDPOBLJFOBuilder(
        int index) {
      return getPFNDPOBLJFOFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder getPFNDPOBLJFOOrBuilder(
        int index) {
      if (pFNDPOBLJFOBuilder_ == null) {
        return pFNDPOBLJFO_.get(index);  } else {
        return pFNDPOBLJFOBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> 
         getPFNDPOBLJFOOrBuilderList() {
      if (pFNDPOBLJFOBuilder_ != null) {
        return pFNDPOBLJFOBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(pFNDPOBLJFO_);
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder addPFNDPOBLJFOBuilder() {
      return getPFNDPOBLJFOFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder addPFNDPOBLJFOBuilder(
        int index) {
      return getPFNDPOBLJFOFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo PFNDPOBLJFO = 1;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder> 
         getPFNDPOBLJFOBuilderList() {
      return getPFNDPOBLJFOFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.BrickBreakerLevelInfo, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> 
        getPFNDPOBLJFOFieldBuilder() {
      if (pFNDPOBLJFOBuilder_ == null) {
        pFNDPOBLJFOBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.BrickBreakerLevelInfo, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder>(
                pFNDPOBLJFO_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        pFNDPOBLJFO_ = null;
      }
      return pFNDPOBLJFOBuilder_;
    }

    private java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> jCPBDGAJLEL_ =
      java.util.Collections.emptyList();
    private void ensureJCPBDGAJLELIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        jCPBDGAJLEL_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo>(jCPBDGAJLEL_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.BrickBreakerLevelInfo, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> jCPBDGAJLELBuilder_;

    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> getJCPBDGAJLELList() {
      if (jCPBDGAJLELBuilder_ == null) {
        return java.util.Collections.unmodifiableList(jCPBDGAJLEL_);
      } else {
        return jCPBDGAJLELBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public int getJCPBDGAJLELCount() {
      if (jCPBDGAJLELBuilder_ == null) {
        return jCPBDGAJLEL_.size();
      } else {
        return jCPBDGAJLELBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo getJCPBDGAJLEL(int index) {
      if (jCPBDGAJLELBuilder_ == null) {
        return jCPBDGAJLEL_.get(index);
      } else {
        return jCPBDGAJLELBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder setJCPBDGAJLEL(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo value) {
      if (jCPBDGAJLELBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJCPBDGAJLELIsMutable();
        jCPBDGAJLEL_.set(index, value);
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder setJCPBDGAJLEL(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder builderForValue) {
      if (jCPBDGAJLELBuilder_ == null) {
        ensureJCPBDGAJLELIsMutable();
        jCPBDGAJLEL_.set(index, builderForValue.build());
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder addJCPBDGAJLEL(io.grasscutter.net.proto.activity.BrickBreakerLevelInfo value) {
      if (jCPBDGAJLELBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJCPBDGAJLELIsMutable();
        jCPBDGAJLEL_.add(value);
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder addJCPBDGAJLEL(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo value) {
      if (jCPBDGAJLELBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureJCPBDGAJLELIsMutable();
        jCPBDGAJLEL_.add(index, value);
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder addJCPBDGAJLEL(
        io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder builderForValue) {
      if (jCPBDGAJLELBuilder_ == null) {
        ensureJCPBDGAJLELIsMutable();
        jCPBDGAJLEL_.add(builderForValue.build());
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder addJCPBDGAJLEL(
        int index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder builderForValue) {
      if (jCPBDGAJLELBuilder_ == null) {
        ensureJCPBDGAJLELIsMutable();
        jCPBDGAJLEL_.add(index, builderForValue.build());
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder addAllJCPBDGAJLEL(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.BrickBreakerLevelInfo> values) {
      if (jCPBDGAJLELBuilder_ == null) {
        ensureJCPBDGAJLELIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, jCPBDGAJLEL_);
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder clearJCPBDGAJLEL() {
      if (jCPBDGAJLELBuilder_ == null) {
        jCPBDGAJLEL_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public Builder removeJCPBDGAJLEL(int index) {
      if (jCPBDGAJLELBuilder_ == null) {
        ensureJCPBDGAJLELIsMutable();
        jCPBDGAJLEL_.remove(index);
        onChanged();
      } else {
        jCPBDGAJLELBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder getJCPBDGAJLELBuilder(
        int index) {
      return getJCPBDGAJLELFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder getJCPBDGAJLELOrBuilder(
        int index) {
      if (jCPBDGAJLELBuilder_ == null) {
        return jCPBDGAJLEL_.get(index);  } else {
        return jCPBDGAJLELBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> 
         getJCPBDGAJLELOrBuilderList() {
      if (jCPBDGAJLELBuilder_ != null) {
        return jCPBDGAJLELBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(jCPBDGAJLEL_);
      }
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder addJCPBDGAJLELBuilder() {
      return getJCPBDGAJLELFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder addJCPBDGAJLELBuilder(
        int index) {
      return getJCPBDGAJLELFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .BrickBreakerLevelInfo JCPBDGAJLEL = 10;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder> 
         getJCPBDGAJLELBuilderList() {
      return getJCPBDGAJLELFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.BrickBreakerLevelInfo, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder> 
        getJCPBDGAJLELFieldBuilder() {
      if (jCPBDGAJLELBuilder_ == null) {
        jCPBDGAJLELBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.BrickBreakerLevelInfo, io.grasscutter.net.proto.activity.BrickBreakerLevelInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerLevelInfoOrBuilder>(
                jCPBDGAJLEL_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        jCPBDGAJLEL_ = null;
      }
      return jCPBDGAJLELBuilder_;
    }

    private java.util.List<io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo> stageInfoList_ =
      java.util.Collections.emptyList();
    private void ensureStageInfoListIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        stageInfoList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo>(stageInfoList_);
        bitField0_ |= 0x00000004;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfoOrBuilder> stageInfoListBuilder_;

    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo> getStageInfoListList() {
      if (stageInfoListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(stageInfoList_);
      } else {
        return stageInfoListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public int getStageInfoListCount() {
      if (stageInfoListBuilder_ == null) {
        return stageInfoList_.size();
      } else {
        return stageInfoListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo getStageInfoList(int index) {
      if (stageInfoListBuilder_ == null) {
        return stageInfoList_.get(index);
      } else {
        return stageInfoListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder setStageInfoList(
        int index, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo value) {
      if (stageInfoListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStageInfoListIsMutable();
        stageInfoList_.set(index, value);
        onChanged();
      } else {
        stageInfoListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder setStageInfoList(
        int index, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder builderForValue) {
      if (stageInfoListBuilder_ == null) {
        ensureStageInfoListIsMutable();
        stageInfoList_.set(index, builderForValue.build());
        onChanged();
      } else {
        stageInfoListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder addStageInfoList(io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo value) {
      if (stageInfoListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStageInfoListIsMutable();
        stageInfoList_.add(value);
        onChanged();
      } else {
        stageInfoListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder addStageInfoList(
        int index, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo value) {
      if (stageInfoListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStageInfoListIsMutable();
        stageInfoList_.add(index, value);
        onChanged();
      } else {
        stageInfoListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder addStageInfoList(
        io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder builderForValue) {
      if (stageInfoListBuilder_ == null) {
        ensureStageInfoListIsMutable();
        stageInfoList_.add(builderForValue.build());
        onChanged();
      } else {
        stageInfoListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder addStageInfoList(
        int index, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder builderForValue) {
      if (stageInfoListBuilder_ == null) {
        ensureStageInfoListIsMutable();
        stageInfoList_.add(index, builderForValue.build());
        onChanged();
      } else {
        stageInfoListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder addAllStageInfoList(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo> values) {
      if (stageInfoListBuilder_ == null) {
        ensureStageInfoListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, stageInfoList_);
        onChanged();
      } else {
        stageInfoListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder clearStageInfoList() {
      if (stageInfoListBuilder_ == null) {
        stageInfoList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        stageInfoListBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public Builder removeStageInfoList(int index) {
      if (stageInfoListBuilder_ == null) {
        ensureStageInfoListIsMutable();
        stageInfoList_.remove(index);
        onChanged();
      } else {
        stageInfoListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder getStageInfoListBuilder(
        int index) {
      return getStageInfoListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfoOrBuilder getStageInfoListOrBuilder(
        int index) {
      if (stageInfoListBuilder_ == null) {
        return stageInfoList_.get(index);  } else {
        return stageInfoListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfoOrBuilder> 
         getStageInfoListOrBuilderList() {
      if (stageInfoListBuilder_ != null) {
        return stageInfoListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(stageInfoList_);
      }
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder addStageInfoListBuilder() {
      return getStageInfoListFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder addStageInfoListBuilder(
        int index) {
      return getStageInfoListFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .BrickBreakerActivityStageInfo stage_info_list = 15;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder> 
         getStageInfoListBuilderList() {
      return getStageInfoListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfoOrBuilder> 
        getStageInfoListFieldBuilder() {
      if (stageInfoListBuilder_ == null) {
        stageInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfo.Builder, io.grasscutter.net.proto.activity.BrickBreakerActivityStageInfoOrBuilder>(
                stageInfoList_,
                ((bitField0_ & 0x00000004) != 0),
                getParentForChildren(),
                isClean());
        stageInfoList_ = null;
      }
      return stageInfoListBuilder_;
    }

    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> skillInfoMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetSkillInfoMap() {
      if (skillInfoMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            SkillInfoMapDefaultEntryHolder.defaultEntry);
      }
      return skillInfoMap_;
    }
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetMutableSkillInfoMap() {
      onChanged();;
      if (skillInfoMap_ == null) {
        skillInfoMap_ = com.google.protobuf.MapField.newMapField(
            SkillInfoMapDefaultEntryHolder.defaultEntry);
      }
      if (!skillInfoMap_.isMutable()) {
        skillInfoMap_ = skillInfoMap_.copy();
      }
      return skillInfoMap_;
    }

    public int getSkillInfoMapCount() {
      return internalGetSkillInfoMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
     */

    @java.lang.Override
    public boolean containsSkillInfoMap(
        int key) {
      
      return internalGetSkillInfoMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getSkillInfoMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillInfoMap() {
      return getSkillInfoMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillInfoMapMap() {
      return internalGetSkillInfoMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
     */
    @java.lang.Override

    public int getSkillInfoMapOrDefault(
        int key,
        int defaultValue) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSkillInfoMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
     */
    @java.lang.Override

    public int getSkillInfoMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetSkillInfoMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearSkillInfoMap() {
      internalGetMutableSkillInfoMap().getMutableMap()
          .clear();
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
     */

    public Builder removeSkillInfoMap(
        int key) {
      
      internalGetMutableSkillInfoMap().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer>
    getMutableSkillInfoMap() {
      return internalGetMutableSkillInfoMap().getMutableMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
     */
    public Builder putSkillInfoMap(
        int key,
        int value) {
      
      
      internalGetMutableSkillInfoMap().getMutableMap()
          .put(key, value);
      return this;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; skill_info_map = 2;</code>
     */

    public Builder putAllSkillInfoMap(
        java.util.Map<java.lang.Integer, java.lang.Integer> values) {
      internalGetMutableSkillInfoMap().getMutableMap()
          .putAll(values);
      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:BrickBreakerDetailInfo)
  }

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

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

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

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

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

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

}

