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

package emu.grasscutter.net.proto;

public final class BrickBreakerStageInfoOuterClass {
  private BrickBreakerStageInfoOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface BrickBreakerStageInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:BrickBreakerStageInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.BrickBreakerStageType stage_type = 15;</code>
     * @return The enum numeric value on the wire for stageType.
     */
    int getStageTypeValue();
    /**
     * <code>.BrickBreakerStageType stage_type = 15;</code>
     * @return The stageType.
     */
    emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType getStageType();

    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    java.util.List<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo> 
        getBattleInfoListList();
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo getBattleInfoList(int index);
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    int getBattleInfoListCount();
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder> 
        getBattleInfoListOrBuilderList();
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder getBattleInfoListOrBuilder(
        int index);

    /**
     * <code>uint32 level_id = 13;</code>
     * @return The levelId.
     */
    int getLevelId();
  }
  /**
   * <pre>
   * Obf: OFGDGKOBJKO
   * </pre>
   *
   * Protobuf type {@code BrickBreakerStageInfo}
   */
  public static final class BrickBreakerStageInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:BrickBreakerStageInfo)
      BrickBreakerStageInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BrickBreakerStageInfo.newBuilder() to construct.
    private BrickBreakerStageInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private BrickBreakerStageInfo() {
      stageType_ = 0;
      battleInfoList_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private BrickBreakerStageInfo(
        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 66: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                battleInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              battleInfoList_.add(
                  input.readMessage(emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.parser(), extensionRegistry));
              break;
            }
            case 104: {

              levelId_ = input.readUInt32();
              break;
            }
            case 120: {
              int rawValue = input.readEnum();

              stageType_ = rawValue;
              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)) {
          battleInfoList_ = java.util.Collections.unmodifiableList(battleInfoList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.internal_static_BrickBreakerStageInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.internal_static_BrickBreakerStageInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo.class, emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo.Builder.class);
    }

    public static final int STAGE_TYPE_FIELD_NUMBER = 15;
    private int stageType_;
    /**
     * <code>.BrickBreakerStageType stage_type = 15;</code>
     * @return The enum numeric value on the wire for stageType.
     */
    @java.lang.Override public int getStageTypeValue() {
      return stageType_;
    }
    /**
     * <code>.BrickBreakerStageType stage_type = 15;</code>
     * @return The stageType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType getStageType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType result = emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType.valueOf(stageType_);
      return result == null ? emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType.UNRECOGNIZED : result;
    }

    public static final int BATTLE_INFO_LIST_FIELD_NUMBER = 8;
    private java.util.List<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo> battleInfoList_;
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo> getBattleInfoListList() {
      return battleInfoList_;
    }
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder> 
        getBattleInfoListOrBuilderList() {
      return battleInfoList_;
    }
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    @java.lang.Override
    public int getBattleInfoListCount() {
      return battleInfoList_.size();
    }
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo getBattleInfoList(int index) {
      return battleInfoList_.get(index);
    }
    /**
     * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder getBattleInfoListOrBuilder(
        int index) {
      return battleInfoList_.get(index);
    }

    public static final int LEVEL_ID_FIELD_NUMBER = 13;
    private int levelId_;
    /**
     * <code>uint32 level_id = 13;</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 {
      for (int i = 0; i < battleInfoList_.size(); i++) {
        output.writeMessage(8, battleInfoList_.get(i));
      }
      if (levelId_ != 0) {
        output.writeUInt32(13, levelId_);
      }
      if (stageType_ != emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType.BRICK_BREAKER_STAGE_PREPARE.getNumber()) {
        output.writeEnum(15, stageType_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < battleInfoList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, battleInfoList_.get(i));
      }
      if (levelId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, levelId_);
      }
      if (stageType_ != emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType.BRICK_BREAKER_STAGE_PREPARE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(15, stageType_);
      }
      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 emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo other = (emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo) obj;

      if (stageType_ != other.stageType_) return false;
      if (!getBattleInfoListList()
          .equals(other.getBattleInfoListList())) 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();
      hash = (37 * hash) + STAGE_TYPE_FIELD_NUMBER;
      hash = (53 * hash) + stageType_;
      if (getBattleInfoListCount() > 0) {
        hash = (37 * hash) + BATTLE_INFO_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getBattleInfoListList().hashCode();
      }
      hash = (37 * hash) + LEVEL_ID_FIELD_NUMBER;
      hash = (53 * hash) + getLevelId();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo 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 emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo 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 emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo 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(emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo 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;
    }
    /**
     * <pre>
     * Obf: OFGDGKOBJKO
     * </pre>
     *
     * Protobuf type {@code BrickBreakerStageInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:BrickBreakerStageInfo)
        emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.internal_static_BrickBreakerStageInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.internal_static_BrickBreakerStageInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo.class, emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getBattleInfoListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        stageType_ = 0;

        if (battleInfoListBuilder_ == null) {
          battleInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          battleInfoListBuilder_.clear();
        }
        levelId_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.internal_static_BrickBreakerStageInfo_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo.getDefaultInstance();
      }

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

      @java.lang.Override
      public emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo buildPartial() {
        emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo result = new emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo(this);
        int from_bitField0_ = bitField0_;
        result.stageType_ = stageType_;
        if (battleInfoListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            battleInfoList_ = java.util.Collections.unmodifiableList(battleInfoList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.battleInfoList_ = battleInfoList_;
        } else {
          result.battleInfoList_ = battleInfoListBuilder_.build();
        }
        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 emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo) {
          return mergeFrom((emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo other) {
        if (other == emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo.getDefaultInstance()) return this;
        if (other.stageType_ != 0) {
          setStageTypeValue(other.getStageTypeValue());
        }
        if (battleInfoListBuilder_ == null) {
          if (!other.battleInfoList_.isEmpty()) {
            if (battleInfoList_.isEmpty()) {
              battleInfoList_ = other.battleInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureBattleInfoListIsMutable();
              battleInfoList_.addAll(other.battleInfoList_);
            }
            onChanged();
          }
        } else {
          if (!other.battleInfoList_.isEmpty()) {
            if (battleInfoListBuilder_.isEmpty()) {
              battleInfoListBuilder_.dispose();
              battleInfoListBuilder_ = null;
              battleInfoList_ = other.battleInfoList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              battleInfoListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getBattleInfoListFieldBuilder() : null;
            } else {
              battleInfoListBuilder_.addAllMessages(other.battleInfoList_);
            }
          }
        }
        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 {
        emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int stageType_ = 0;
      /**
       * <code>.BrickBreakerStageType stage_type = 15;</code>
       * @return The enum numeric value on the wire for stageType.
       */
      @java.lang.Override public int getStageTypeValue() {
        return stageType_;
      }
      /**
       * <code>.BrickBreakerStageType stage_type = 15;</code>
       * @param value The enum numeric value on the wire for stageType to set.
       * @return This builder for chaining.
       */
      public Builder setStageTypeValue(int value) {
        
        stageType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.BrickBreakerStageType stage_type = 15;</code>
       * @return The stageType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType getStageType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType result = emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType.valueOf(stageType_);
        return result == null ? emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType.UNRECOGNIZED : result;
      }
      /**
       * <code>.BrickBreakerStageType stage_type = 15;</code>
       * @param value The stageType to set.
       * @return This builder for chaining.
       */
      public Builder setStageType(emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.BrickBreakerStageType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        stageType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.BrickBreakerStageType stage_type = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearStageType() {
        
        stageType_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo> battleInfoList_ =
        java.util.Collections.emptyList();
      private void ensureBattleInfoListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          battleInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo>(battleInfoList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder> battleInfoListBuilder_;

      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo> getBattleInfoListList() {
        if (battleInfoListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(battleInfoList_);
        } else {
          return battleInfoListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public int getBattleInfoListCount() {
        if (battleInfoListBuilder_ == null) {
          return battleInfoList_.size();
        } else {
          return battleInfoListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo getBattleInfoList(int index) {
        if (battleInfoListBuilder_ == null) {
          return battleInfoList_.get(index);
        } else {
          return battleInfoListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder setBattleInfoList(
          int index, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo value) {
        if (battleInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureBattleInfoListIsMutable();
          battleInfoList_.set(index, value);
          onChanged();
        } else {
          battleInfoListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder setBattleInfoList(
          int index, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder builderForValue) {
        if (battleInfoListBuilder_ == null) {
          ensureBattleInfoListIsMutable();
          battleInfoList_.set(index, builderForValue.build());
          onChanged();
        } else {
          battleInfoListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder addBattleInfoList(emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo value) {
        if (battleInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureBattleInfoListIsMutable();
          battleInfoList_.add(value);
          onChanged();
        } else {
          battleInfoListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder addBattleInfoList(
          int index, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo value) {
        if (battleInfoListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureBattleInfoListIsMutable();
          battleInfoList_.add(index, value);
          onChanged();
        } else {
          battleInfoListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder addBattleInfoList(
          emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder builderForValue) {
        if (battleInfoListBuilder_ == null) {
          ensureBattleInfoListIsMutable();
          battleInfoList_.add(builderForValue.build());
          onChanged();
        } else {
          battleInfoListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder addBattleInfoList(
          int index, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder builderForValue) {
        if (battleInfoListBuilder_ == null) {
          ensureBattleInfoListIsMutable();
          battleInfoList_.add(index, builderForValue.build());
          onChanged();
        } else {
          battleInfoListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder addAllBattleInfoList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo> values) {
        if (battleInfoListBuilder_ == null) {
          ensureBattleInfoListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, battleInfoList_);
          onChanged();
        } else {
          battleInfoListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder clearBattleInfoList() {
        if (battleInfoListBuilder_ == null) {
          battleInfoList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          battleInfoListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public Builder removeBattleInfoList(int index) {
        if (battleInfoListBuilder_ == null) {
          ensureBattleInfoListIsMutable();
          battleInfoList_.remove(index);
          onChanged();
        } else {
          battleInfoListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder getBattleInfoListBuilder(
          int index) {
        return getBattleInfoListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder getBattleInfoListOrBuilder(
          int index) {
        if (battleInfoListBuilder_ == null) {
          return battleInfoList_.get(index);  } else {
          return battleInfoListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder> 
           getBattleInfoListOrBuilderList() {
        if (battleInfoListBuilder_ != null) {
          return battleInfoListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(battleInfoList_);
        }
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder addBattleInfoListBuilder() {
        return getBattleInfoListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder addBattleInfoListBuilder(
          int index) {
        return getBattleInfoListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .BrickBreakerPlayerBattleInfo battle_info_list = 8;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder> 
           getBattleInfoListBuilderList() {
        return getBattleInfoListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder> 
          getBattleInfoListFieldBuilder() {
        if (battleInfoListBuilder_ == null) {
          battleInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfo.Builder, emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.BrickBreakerPlayerBattleInfoOrBuilder>(
                  battleInfoList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          battleInfoList_ = null;
        }
        return battleInfoListBuilder_;
      }

      private int levelId_ ;
      /**
       * <code>uint32 level_id = 13;</code>
       * @return The levelId.
       */
      @java.lang.Override
      public int getLevelId() {
        return levelId_;
      }
      /**
       * <code>uint32 level_id = 13;</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 = 13;</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:BrickBreakerStageInfo)
    }

    // @@protoc_insertion_point(class_scope:BrickBreakerStageInfo)
    private static final emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo();
    }

    public static emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public emu.grasscutter.net.proto.BrickBreakerStageInfoOuterClass.BrickBreakerStageInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_BrickBreakerStageInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_BrickBreakerStageInfo_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\033BrickBreakerStageInfo.proto\032\033BrickBrea" +
      "kerStageType.proto\032\"BrickBreakerPlayerBa" +
      "ttleInfo.proto\"\216\001\n\025BrickBreakerStageInfo" +
      "\022*\n\nstage_type\030\017 \001(\0162\026.BrickBreakerStage" +
      "Type\0227\n\020battle_info_list\030\010 \003(\0132\035.BrickBr" +
      "eakerPlayerBattleInfo\022\020\n\010level_id\030\r \001(\rB" +
      "\033\n\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.getDescriptor(),
        });
    internal_static_BrickBreakerStageInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_BrickBreakerStageInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_BrickBreakerStageInfo_descriptor,
        new java.lang.String[] { "StageType", "BattleInfoList", "LevelId", });
    emu.grasscutter.net.proto.BrickBreakerStageTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.BrickBreakerPlayerBattleInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
