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

package io.grasscutter.net.proto.activity;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private RogueStageInfo(
      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)) {
              runeRecordList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.RoguelikeRuneRecord>();
              mutable_bitField0_ |= 0x00000001;
            }
            runeRecordList_.add(
                input.readMessage(io.grasscutter.net.proto.activity.RoguelikeRuneRecord.parser(), extensionRegistry));
            break;
          }
          case 26: {
            io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.Builder subBuilder = null;
            if (avatarTeam_ != null) {
              subBuilder = avatarTeam_.toBuilder();
            }
            avatarTeam_ = input.readMessage(io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(avatarTeam_);
              avatarTeam_ = subBuilder.buildPartial();
            }

            break;
          }
          case 32: {

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

            gFJOKBOEGNB_ = input.readBool();
            break;
          }
          case 48: {

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

            stageId_ = input.readUInt32();
            break;
          }
          case 72: {

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

            pDDBKMCNOGE_ = input.readUInt32();
            break;
          }
          case 88: {

            curLevel_ = input.readUInt32();
            break;
          }
          case 96: {

            isTakenReward_ = input.readBool();
            break;
          }
          case 104: {

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

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

            hECCLOPGDMP_ = input.readBool();
            break;
          }
          case 6912: {

            kANCLMECAIG_ = input.readUInt32();
            break;
          }
          case 7416: {

            kHIHKMMNCMO_ = input.readUInt32();
            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)) {
        runeRecordList_ = java.util.Collections.unmodifiableList(runeRecordList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.grasscutter.net.proto.activity.Activity.internal_static_RogueStageInfo_descriptor;
  }

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

  public static final int RUNE_RECORD_LIST_FIELD_NUMBER = 1;
  private java.util.List<io.grasscutter.net.proto.activity.RoguelikeRuneRecord> runeRecordList_;
  /**
   * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
   */
  @java.lang.Override
  public java.util.List<io.grasscutter.net.proto.activity.RoguelikeRuneRecord> getRuneRecordListList() {
    return runeRecordList_;
  }
  /**
   * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
   */
  @java.lang.Override
  public java.util.List<? extends io.grasscutter.net.proto.activity.RoguelikeRuneRecordOrBuilder> 
      getRuneRecordListOrBuilderList() {
    return runeRecordList_;
  }
  /**
   * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
   */
  @java.lang.Override
  public int getRuneRecordListCount() {
    return runeRecordList_.size();
  }
  /**
   * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.RoguelikeRuneRecord getRuneRecordList(int index) {
    return runeRecordList_.get(index);
  }
  /**
   * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.RoguelikeRuneRecordOrBuilder getRuneRecordListOrBuilder(
      int index) {
    return runeRecordList_.get(index);
  }

  public static final int AVATAR_TEAM_FIELD_NUMBER = 3;
  private io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo avatarTeam_;
  /**
   * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
   * @return Whether the avatarTeam field is set.
   */
  @java.lang.Override
  public boolean hasAvatarTeam() {
    return avatarTeam_ != null;
  }
  /**
   * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
   * @return The avatarTeam.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo getAvatarTeam() {
    return avatarTeam_ == null ? io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.getDefaultInstance() : avatarTeam_;
  }
  /**
   * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfoOrBuilder getAvatarTeamOrBuilder() {
    return getAvatarTeam();
  }

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

  public static final int KHIHKMMNCMO_FIELD_NUMBER = 927;
  private int kHIHKMMNCMO_;
  /**
   * <code>uint32 KHIHKMMNCMO = 927;</code>
   * @return The kHIHKMMNCMO.
   */
  @java.lang.Override
  public int getKHIHKMMNCMO() {
    return kHIHKMMNCMO_;
  }

  public static final int NHLALBGDKAM_FIELD_NUMBER = 4;
  private int nHLALBGDKAM_;
  /**
   * <code>uint32 NHLALBGDKAM = 4;</code>
   * @return The nHLALBGDKAM.
   */
  @java.lang.Override
  public int getNHLALBGDKAM() {
    return nHLALBGDKAM_;
  }

  public static final int GFJOKBOEGNB_FIELD_NUMBER = 5;
  private boolean gFJOKBOEGNB_;
  /**
   * <code>bool GFJOKBOEGNB = 5;</code>
   * @return The gFJOKBOEGNB.
   */
  @java.lang.Override
  public boolean getGFJOKBOEGNB() {
    return gFJOKBOEGNB_;
  }

  public static final int EALAFDPGNPN_FIELD_NUMBER = 14;
  private boolean eALAFDPGNPN_;
  /**
   * <code>bool EALAFDPGNPN = 14;</code>
   * @return The eALAFDPGNPN.
   */
  @java.lang.Override
  public boolean getEALAFDPGNPN() {
    return eALAFDPGNPN_;
  }

  public static final int HECCLOPGDMP_FIELD_NUMBER = 15;
  private boolean hECCLOPGDMP_;
  /**
   * <code>bool HECCLOPGDMP = 15;</code>
   * @return The hECCLOPGDMP.
   */
  @java.lang.Override
  public boolean getHECCLOPGDMP() {
    return hECCLOPGDMP_;
  }

  public static final int IS_TAKEN_REWARD_FIELD_NUMBER = 12;
  private boolean isTakenReward_;
  /**
   * <code>bool is_taken_reward = 12;</code>
   * @return The isTakenReward.
   */
  @java.lang.Override
  public boolean getIsTakenReward() {
    return isTakenReward_;
  }

  public static final int PFLHCLGNKOF_FIELD_NUMBER = 13;
  private int pFLHCLGNKOF_;
  /**
   * <code>uint32 PFLHCLGNKOF = 13;</code>
   * @return The pFLHCLGNKOF.
   */
  @java.lang.Override
  public int getPFLHCLGNKOF() {
    return pFLHCLGNKOF_;
  }

  public static final int CUR_LEVEL_FIELD_NUMBER = 11;
  private int curLevel_;
  /**
   * <code>uint32 cur_level = 11;</code>
   * @return The curLevel.
   */
  @java.lang.Override
  public int getCurLevel() {
    return curLevel_;
  }

  public static final int PDDBKMCNOGE_FIELD_NUMBER = 10;
  private int pDDBKMCNOGE_;
  /**
   * <code>uint32 PDDBKMCNOGE = 10;</code>
   * @return The pDDBKMCNOGE.
   */
  @java.lang.Override
  public int getPDDBKMCNOGE() {
    return pDDBKMCNOGE_;
  }

  public static final int FKCMFHKPGHA_FIELD_NUMBER = 9;
  private int fKCMFHKPGHA_;
  /**
   * <code>uint32 FKCMFHKPGHA = 9;</code>
   * @return The fKCMFHKPGHA.
   */
  @java.lang.Override
  public int getFKCMFHKPGHA() {
    return fKCMFHKPGHA_;
  }

  public static final int KANCLMECAIG_FIELD_NUMBER = 864;
  private int kANCLMECAIG_;
  /**
   * <code>uint32 KANCLMECAIG = 864;</code>
   * @return The kANCLMECAIG.
   */
  @java.lang.Override
  public int getKANCLMECAIG() {
    return kANCLMECAIG_;
  }

  public static final int STAGE_ID_FIELD_NUMBER = 8;
  private int stageId_;
  /**
   * <code>uint32 stage_id = 8;</code>
   * @return The stageId.
   */
  @java.lang.Override
  public int getStageId() {
    return stageId_;
  }

  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 < runeRecordList_.size(); i++) {
      output.writeMessage(1, runeRecordList_.get(i));
    }
    if (avatarTeam_ != null) {
      output.writeMessage(3, getAvatarTeam());
    }
    if (nHLALBGDKAM_ != 0) {
      output.writeUInt32(4, nHLALBGDKAM_);
    }
    if (gFJOKBOEGNB_ != false) {
      output.writeBool(5, gFJOKBOEGNB_);
    }
    if (isOpen_ != false) {
      output.writeBool(6, isOpen_);
    }
    if (stageId_ != 0) {
      output.writeUInt32(8, stageId_);
    }
    if (fKCMFHKPGHA_ != 0) {
      output.writeUInt32(9, fKCMFHKPGHA_);
    }
    if (pDDBKMCNOGE_ != 0) {
      output.writeUInt32(10, pDDBKMCNOGE_);
    }
    if (curLevel_ != 0) {
      output.writeUInt32(11, curLevel_);
    }
    if (isTakenReward_ != false) {
      output.writeBool(12, isTakenReward_);
    }
    if (pFLHCLGNKOF_ != 0) {
      output.writeUInt32(13, pFLHCLGNKOF_);
    }
    if (eALAFDPGNPN_ != false) {
      output.writeBool(14, eALAFDPGNPN_);
    }
    if (hECCLOPGDMP_ != false) {
      output.writeBool(15, hECCLOPGDMP_);
    }
    if (kANCLMECAIG_ != 0) {
      output.writeUInt32(864, kANCLMECAIG_);
    }
    if (kHIHKMMNCMO_ != 0) {
      output.writeUInt32(927, kHIHKMMNCMO_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < runeRecordList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, runeRecordList_.get(i));
    }
    if (avatarTeam_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getAvatarTeam());
    }
    if (nHLALBGDKAM_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(4, nHLALBGDKAM_);
    }
    if (gFJOKBOEGNB_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(5, gFJOKBOEGNB_);
    }
    if (isOpen_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(6, isOpen_);
    }
    if (stageId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(8, stageId_);
    }
    if (fKCMFHKPGHA_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(9, fKCMFHKPGHA_);
    }
    if (pDDBKMCNOGE_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(10, pDDBKMCNOGE_);
    }
    if (curLevel_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(11, curLevel_);
    }
    if (isTakenReward_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(12, isTakenReward_);
    }
    if (pFLHCLGNKOF_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(13, pFLHCLGNKOF_);
    }
    if (eALAFDPGNPN_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(14, eALAFDPGNPN_);
    }
    if (hECCLOPGDMP_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(15, hECCLOPGDMP_);
    }
    if (kANCLMECAIG_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(864, kANCLMECAIG_);
    }
    if (kHIHKMMNCMO_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(927, kHIHKMMNCMO_);
    }
    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.RogueStageInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.activity.RogueStageInfo other = (io.grasscutter.net.proto.activity.RogueStageInfo) obj;

    if (!getRuneRecordListList()
        .equals(other.getRuneRecordListList())) return false;
    if (hasAvatarTeam() != other.hasAvatarTeam()) return false;
    if (hasAvatarTeam()) {
      if (!getAvatarTeam()
          .equals(other.getAvatarTeam())) return false;
    }
    if (getIsOpen()
        != other.getIsOpen()) return false;
    if (getKHIHKMMNCMO()
        != other.getKHIHKMMNCMO()) return false;
    if (getNHLALBGDKAM()
        != other.getNHLALBGDKAM()) return false;
    if (getGFJOKBOEGNB()
        != other.getGFJOKBOEGNB()) return false;
    if (getEALAFDPGNPN()
        != other.getEALAFDPGNPN()) return false;
    if (getHECCLOPGDMP()
        != other.getHECCLOPGDMP()) return false;
    if (getIsTakenReward()
        != other.getIsTakenReward()) return false;
    if (getPFLHCLGNKOF()
        != other.getPFLHCLGNKOF()) return false;
    if (getCurLevel()
        != other.getCurLevel()) return false;
    if (getPDDBKMCNOGE()
        != other.getPDDBKMCNOGE()) return false;
    if (getFKCMFHKPGHA()
        != other.getFKCMFHKPGHA()) return false;
    if (getKANCLMECAIG()
        != other.getKANCLMECAIG()) return false;
    if (getStageId()
        != other.getStageId()) 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 (getRuneRecordListCount() > 0) {
      hash = (37 * hash) + RUNE_RECORD_LIST_FIELD_NUMBER;
      hash = (53 * hash) + getRuneRecordListList().hashCode();
    }
    if (hasAvatarTeam()) {
      hash = (37 * hash) + AVATAR_TEAM_FIELD_NUMBER;
      hash = (53 * hash) + getAvatarTeam().hashCode();
    }
    hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsOpen());
    hash = (37 * hash) + KHIHKMMNCMO_FIELD_NUMBER;
    hash = (53 * hash) + getKHIHKMMNCMO();
    hash = (37 * hash) + NHLALBGDKAM_FIELD_NUMBER;
    hash = (53 * hash) + getNHLALBGDKAM();
    hash = (37 * hash) + GFJOKBOEGNB_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getGFJOKBOEGNB());
    hash = (37 * hash) + EALAFDPGNPN_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getEALAFDPGNPN());
    hash = (37 * hash) + HECCLOPGDMP_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getHECCLOPGDMP());
    hash = (37 * hash) + IS_TAKEN_REWARD_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getIsTakenReward());
    hash = (37 * hash) + PFLHCLGNKOF_FIELD_NUMBER;
    hash = (53 * hash) + getPFLHCLGNKOF();
    hash = (37 * hash) + CUR_LEVEL_FIELD_NUMBER;
    hash = (53 * hash) + getCurLevel();
    hash = (37 * hash) + PDDBKMCNOGE_FIELD_NUMBER;
    hash = (53 * hash) + getPDDBKMCNOGE();
    hash = (37 * hash) + FKCMFHKPGHA_FIELD_NUMBER;
    hash = (53 * hash) + getFKCMFHKPGHA();
    hash = (37 * hash) + KANCLMECAIG_FIELD_NUMBER;
    hash = (53 * hash) + getKANCLMECAIG();
    hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
    hash = (53 * hash) + getStageId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

      kHIHKMMNCMO_ = 0;

      nHLALBGDKAM_ = 0;

      gFJOKBOEGNB_ = false;

      eALAFDPGNPN_ = false;

      hECCLOPGDMP_ = false;

      isTakenReward_ = false;

      pFLHCLGNKOF_ = 0;

      curLevel_ = 0;

      pDDBKMCNOGE_ = 0;

      fKCMFHKPGHA_ = 0;

      kANCLMECAIG_ = 0;

      stageId_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.activity.RogueStageInfo buildPartial() {
      io.grasscutter.net.proto.activity.RogueStageInfo result = new io.grasscutter.net.proto.activity.RogueStageInfo(this);
      int from_bitField0_ = bitField0_;
      if (runeRecordListBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          runeRecordList_ = java.util.Collections.unmodifiableList(runeRecordList_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.runeRecordList_ = runeRecordList_;
      } else {
        result.runeRecordList_ = runeRecordListBuilder_.build();
      }
      if (avatarTeamBuilder_ == null) {
        result.avatarTeam_ = avatarTeam_;
      } else {
        result.avatarTeam_ = avatarTeamBuilder_.build();
      }
      result.isOpen_ = isOpen_;
      result.kHIHKMMNCMO_ = kHIHKMMNCMO_;
      result.nHLALBGDKAM_ = nHLALBGDKAM_;
      result.gFJOKBOEGNB_ = gFJOKBOEGNB_;
      result.eALAFDPGNPN_ = eALAFDPGNPN_;
      result.hECCLOPGDMP_ = hECCLOPGDMP_;
      result.isTakenReward_ = isTakenReward_;
      result.pFLHCLGNKOF_ = pFLHCLGNKOF_;
      result.curLevel_ = curLevel_;
      result.pDDBKMCNOGE_ = pDDBKMCNOGE_;
      result.fKCMFHKPGHA_ = fKCMFHKPGHA_;
      result.kANCLMECAIG_ = kANCLMECAIG_;
      result.stageId_ = stageId_;
      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.RogueStageInfo) {
        return mergeFrom((io.grasscutter.net.proto.activity.RogueStageInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.activity.RogueStageInfo other) {
      if (other == io.grasscutter.net.proto.activity.RogueStageInfo.getDefaultInstance()) return this;
      if (runeRecordListBuilder_ == null) {
        if (!other.runeRecordList_.isEmpty()) {
          if (runeRecordList_.isEmpty()) {
            runeRecordList_ = other.runeRecordList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureRuneRecordListIsMutable();
            runeRecordList_.addAll(other.runeRecordList_);
          }
          onChanged();
        }
      } else {
        if (!other.runeRecordList_.isEmpty()) {
          if (runeRecordListBuilder_.isEmpty()) {
            runeRecordListBuilder_.dispose();
            runeRecordListBuilder_ = null;
            runeRecordList_ = other.runeRecordList_;
            bitField0_ = (bitField0_ & ~0x00000001);
            runeRecordListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getRuneRecordListFieldBuilder() : null;
          } else {
            runeRecordListBuilder_.addAllMessages(other.runeRecordList_);
          }
        }
      }
      if (other.hasAvatarTeam()) {
        mergeAvatarTeam(other.getAvatarTeam());
      }
      if (other.getIsOpen() != false) {
        setIsOpen(other.getIsOpen());
      }
      if (other.getKHIHKMMNCMO() != 0) {
        setKHIHKMMNCMO(other.getKHIHKMMNCMO());
      }
      if (other.getNHLALBGDKAM() != 0) {
        setNHLALBGDKAM(other.getNHLALBGDKAM());
      }
      if (other.getGFJOKBOEGNB() != false) {
        setGFJOKBOEGNB(other.getGFJOKBOEGNB());
      }
      if (other.getEALAFDPGNPN() != false) {
        setEALAFDPGNPN(other.getEALAFDPGNPN());
      }
      if (other.getHECCLOPGDMP() != false) {
        setHECCLOPGDMP(other.getHECCLOPGDMP());
      }
      if (other.getIsTakenReward() != false) {
        setIsTakenReward(other.getIsTakenReward());
      }
      if (other.getPFLHCLGNKOF() != 0) {
        setPFLHCLGNKOF(other.getPFLHCLGNKOF());
      }
      if (other.getCurLevel() != 0) {
        setCurLevel(other.getCurLevel());
      }
      if (other.getPDDBKMCNOGE() != 0) {
        setPDDBKMCNOGE(other.getPDDBKMCNOGE());
      }
      if (other.getFKCMFHKPGHA() != 0) {
        setFKCMFHKPGHA(other.getFKCMFHKPGHA());
      }
      if (other.getKANCLMECAIG() != 0) {
        setKANCLMECAIG(other.getKANCLMECAIG());
      }
      if (other.getStageId() != 0) {
        setStageId(other.getStageId());
      }
      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.RogueStageInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.activity.RogueStageInfo) 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.RoguelikeRuneRecord> runeRecordList_ =
      java.util.Collections.emptyList();
    private void ensureRuneRecordListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        runeRecordList_ = new java.util.ArrayList<io.grasscutter.net.proto.activity.RoguelikeRuneRecord>(runeRecordList_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.RoguelikeRuneRecord, io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder, io.grasscutter.net.proto.activity.RoguelikeRuneRecordOrBuilder> runeRecordListBuilder_;

    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.RoguelikeRuneRecord> getRuneRecordListList() {
      if (runeRecordListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(runeRecordList_);
      } else {
        return runeRecordListBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public int getRuneRecordListCount() {
      if (runeRecordListBuilder_ == null) {
        return runeRecordList_.size();
      } else {
        return runeRecordListBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public io.grasscutter.net.proto.activity.RoguelikeRuneRecord getRuneRecordList(int index) {
      if (runeRecordListBuilder_ == null) {
        return runeRecordList_.get(index);
      } else {
        return runeRecordListBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder setRuneRecordList(
        int index, io.grasscutter.net.proto.activity.RoguelikeRuneRecord value) {
      if (runeRecordListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRuneRecordListIsMutable();
        runeRecordList_.set(index, value);
        onChanged();
      } else {
        runeRecordListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder setRuneRecordList(
        int index, io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder builderForValue) {
      if (runeRecordListBuilder_ == null) {
        ensureRuneRecordListIsMutable();
        runeRecordList_.set(index, builderForValue.build());
        onChanged();
      } else {
        runeRecordListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder addRuneRecordList(io.grasscutter.net.proto.activity.RoguelikeRuneRecord value) {
      if (runeRecordListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRuneRecordListIsMutable();
        runeRecordList_.add(value);
        onChanged();
      } else {
        runeRecordListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder addRuneRecordList(
        int index, io.grasscutter.net.proto.activity.RoguelikeRuneRecord value) {
      if (runeRecordListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRuneRecordListIsMutable();
        runeRecordList_.add(index, value);
        onChanged();
      } else {
        runeRecordListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder addRuneRecordList(
        io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder builderForValue) {
      if (runeRecordListBuilder_ == null) {
        ensureRuneRecordListIsMutable();
        runeRecordList_.add(builderForValue.build());
        onChanged();
      } else {
        runeRecordListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder addRuneRecordList(
        int index, io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder builderForValue) {
      if (runeRecordListBuilder_ == null) {
        ensureRuneRecordListIsMutable();
        runeRecordList_.add(index, builderForValue.build());
        onChanged();
      } else {
        runeRecordListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder addAllRuneRecordList(
        java.lang.Iterable<? extends io.grasscutter.net.proto.activity.RoguelikeRuneRecord> values) {
      if (runeRecordListBuilder_ == null) {
        ensureRuneRecordListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, runeRecordList_);
        onChanged();
      } else {
        runeRecordListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder clearRuneRecordList() {
      if (runeRecordListBuilder_ == null) {
        runeRecordList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        runeRecordListBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public Builder removeRuneRecordList(int index) {
      if (runeRecordListBuilder_ == null) {
        ensureRuneRecordListIsMutable();
        runeRecordList_.remove(index);
        onChanged();
      } else {
        runeRecordListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder getRuneRecordListBuilder(
        int index) {
      return getRuneRecordListFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public io.grasscutter.net.proto.activity.RoguelikeRuneRecordOrBuilder getRuneRecordListOrBuilder(
        int index) {
      if (runeRecordListBuilder_ == null) {
        return runeRecordList_.get(index);  } else {
        return runeRecordListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public java.util.List<? extends io.grasscutter.net.proto.activity.RoguelikeRuneRecordOrBuilder> 
         getRuneRecordListOrBuilderList() {
      if (runeRecordListBuilder_ != null) {
        return runeRecordListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(runeRecordList_);
      }
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder addRuneRecordListBuilder() {
      return getRuneRecordListFieldBuilder().addBuilder(
          io.grasscutter.net.proto.activity.RoguelikeRuneRecord.getDefaultInstance());
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder addRuneRecordListBuilder(
        int index) {
      return getRuneRecordListFieldBuilder().addBuilder(
          index, io.grasscutter.net.proto.activity.RoguelikeRuneRecord.getDefaultInstance());
    }
    /**
     * <code>repeated .RoguelikeRuneRecord rune_record_list = 1;</code>
     */
    public java.util.List<io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder> 
         getRuneRecordListBuilderList() {
      return getRuneRecordListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.grasscutter.net.proto.activity.RoguelikeRuneRecord, io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder, io.grasscutter.net.proto.activity.RoguelikeRuneRecordOrBuilder> 
        getRuneRecordListFieldBuilder() {
      if (runeRecordListBuilder_ == null) {
        runeRecordListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.grasscutter.net.proto.activity.RoguelikeRuneRecord, io.grasscutter.net.proto.activity.RoguelikeRuneRecord.Builder, io.grasscutter.net.proto.activity.RoguelikeRuneRecordOrBuilder>(
                runeRecordList_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        runeRecordList_ = null;
      }
      return runeRecordListBuilder_;
    }

    private io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo avatarTeam_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo, io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.Builder, io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfoOrBuilder> avatarTeamBuilder_;
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     * @return Whether the avatarTeam field is set.
     */
    public boolean hasAvatarTeam() {
      return avatarTeamBuilder_ != null || avatarTeam_ != null;
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     * @return The avatarTeam.
     */
    public io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo getAvatarTeam() {
      if (avatarTeamBuilder_ == null) {
        return avatarTeam_ == null ? io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.getDefaultInstance() : avatarTeam_;
      } else {
        return avatarTeamBuilder_.getMessage();
      }
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     */
    public Builder setAvatarTeam(io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo value) {
      if (avatarTeamBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        avatarTeam_ = value;
        onChanged();
      } else {
        avatarTeamBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     */
    public Builder setAvatarTeam(
        io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.Builder builderForValue) {
      if (avatarTeamBuilder_ == null) {
        avatarTeam_ = builderForValue.build();
        onChanged();
      } else {
        avatarTeamBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     */
    public Builder mergeAvatarTeam(io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo value) {
      if (avatarTeamBuilder_ == null) {
        if (avatarTeam_ != null) {
          avatarTeam_ =
            io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.newBuilder(avatarTeam_).mergeFrom(value).buildPartial();
        } else {
          avatarTeam_ = value;
        }
        onChanged();
      } else {
        avatarTeamBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     */
    public Builder clearAvatarTeam() {
      if (avatarTeamBuilder_ == null) {
        avatarTeam_ = null;
        onChanged();
      } else {
        avatarTeam_ = null;
        avatarTeamBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     */
    public io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.Builder getAvatarTeamBuilder() {
      
      onChanged();
      return getAvatarTeamFieldBuilder().getBuilder();
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     */
    public io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfoOrBuilder getAvatarTeamOrBuilder() {
      if (avatarTeamBuilder_ != null) {
        return avatarTeamBuilder_.getMessageOrBuilder();
      } else {
        return avatarTeam_ == null ?
            io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.getDefaultInstance() : avatarTeam_;
      }
    }
    /**
     * <code>.RogueShowAvatarTeamInfo avatar_team = 3;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo, io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.Builder, io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfoOrBuilder> 
        getAvatarTeamFieldBuilder() {
      if (avatarTeamBuilder_ == null) {
        avatarTeamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo, io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfo.Builder, io.grasscutter.net.proto.activity.RogueShowAvatarTeamInfoOrBuilder>(
                getAvatarTeam(),
                getParentForChildren(),
                isClean());
        avatarTeam_ = null;
      }
      return avatarTeamBuilder_;
    }

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

    private int kHIHKMMNCMO_ ;
    /**
     * <code>uint32 KHIHKMMNCMO = 927;</code>
     * @return The kHIHKMMNCMO.
     */
    @java.lang.Override
    public int getKHIHKMMNCMO() {
      return kHIHKMMNCMO_;
    }
    /**
     * <code>uint32 KHIHKMMNCMO = 927;</code>
     * @param value The kHIHKMMNCMO to set.
     * @return This builder for chaining.
     */
    public Builder setKHIHKMMNCMO(int value) {
      
      kHIHKMMNCMO_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 KHIHKMMNCMO = 927;</code>
     * @return This builder for chaining.
     */
    public Builder clearKHIHKMMNCMO() {
      
      kHIHKMMNCMO_ = 0;
      onChanged();
      return this;
    }

    private int nHLALBGDKAM_ ;
    /**
     * <code>uint32 NHLALBGDKAM = 4;</code>
     * @return The nHLALBGDKAM.
     */
    @java.lang.Override
    public int getNHLALBGDKAM() {
      return nHLALBGDKAM_;
    }
    /**
     * <code>uint32 NHLALBGDKAM = 4;</code>
     * @param value The nHLALBGDKAM to set.
     * @return This builder for chaining.
     */
    public Builder setNHLALBGDKAM(int value) {
      
      nHLALBGDKAM_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 NHLALBGDKAM = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearNHLALBGDKAM() {
      
      nHLALBGDKAM_ = 0;
      onChanged();
      return this;
    }

    private boolean gFJOKBOEGNB_ ;
    /**
     * <code>bool GFJOKBOEGNB = 5;</code>
     * @return The gFJOKBOEGNB.
     */
    @java.lang.Override
    public boolean getGFJOKBOEGNB() {
      return gFJOKBOEGNB_;
    }
    /**
     * <code>bool GFJOKBOEGNB = 5;</code>
     * @param value The gFJOKBOEGNB to set.
     * @return This builder for chaining.
     */
    public Builder setGFJOKBOEGNB(boolean value) {
      
      gFJOKBOEGNB_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool GFJOKBOEGNB = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearGFJOKBOEGNB() {
      
      gFJOKBOEGNB_ = false;
      onChanged();
      return this;
    }

    private boolean eALAFDPGNPN_ ;
    /**
     * <code>bool EALAFDPGNPN = 14;</code>
     * @return The eALAFDPGNPN.
     */
    @java.lang.Override
    public boolean getEALAFDPGNPN() {
      return eALAFDPGNPN_;
    }
    /**
     * <code>bool EALAFDPGNPN = 14;</code>
     * @param value The eALAFDPGNPN to set.
     * @return This builder for chaining.
     */
    public Builder setEALAFDPGNPN(boolean value) {
      
      eALAFDPGNPN_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool EALAFDPGNPN = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearEALAFDPGNPN() {
      
      eALAFDPGNPN_ = false;
      onChanged();
      return this;
    }

    private boolean hECCLOPGDMP_ ;
    /**
     * <code>bool HECCLOPGDMP = 15;</code>
     * @return The hECCLOPGDMP.
     */
    @java.lang.Override
    public boolean getHECCLOPGDMP() {
      return hECCLOPGDMP_;
    }
    /**
     * <code>bool HECCLOPGDMP = 15;</code>
     * @param value The hECCLOPGDMP to set.
     * @return This builder for chaining.
     */
    public Builder setHECCLOPGDMP(boolean value) {
      
      hECCLOPGDMP_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool HECCLOPGDMP = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearHECCLOPGDMP() {
      
      hECCLOPGDMP_ = false;
      onChanged();
      return this;
    }

    private boolean isTakenReward_ ;
    /**
     * <code>bool is_taken_reward = 12;</code>
     * @return The isTakenReward.
     */
    @java.lang.Override
    public boolean getIsTakenReward() {
      return isTakenReward_;
    }
    /**
     * <code>bool is_taken_reward = 12;</code>
     * @param value The isTakenReward to set.
     * @return This builder for chaining.
     */
    public Builder setIsTakenReward(boolean value) {
      
      isTakenReward_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool is_taken_reward = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearIsTakenReward() {
      
      isTakenReward_ = false;
      onChanged();
      return this;
    }

    private int pFLHCLGNKOF_ ;
    /**
     * <code>uint32 PFLHCLGNKOF = 13;</code>
     * @return The pFLHCLGNKOF.
     */
    @java.lang.Override
    public int getPFLHCLGNKOF() {
      return pFLHCLGNKOF_;
    }
    /**
     * <code>uint32 PFLHCLGNKOF = 13;</code>
     * @param value The pFLHCLGNKOF to set.
     * @return This builder for chaining.
     */
    public Builder setPFLHCLGNKOF(int value) {
      
      pFLHCLGNKOF_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 PFLHCLGNKOF = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearPFLHCLGNKOF() {
      
      pFLHCLGNKOF_ = 0;
      onChanged();
      return this;
    }

    private int curLevel_ ;
    /**
     * <code>uint32 cur_level = 11;</code>
     * @return The curLevel.
     */
    @java.lang.Override
    public int getCurLevel() {
      return curLevel_;
    }
    /**
     * <code>uint32 cur_level = 11;</code>
     * @param value The curLevel to set.
     * @return This builder for chaining.
     */
    public Builder setCurLevel(int value) {
      
      curLevel_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 cur_level = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearCurLevel() {
      
      curLevel_ = 0;
      onChanged();
      return this;
    }

    private int pDDBKMCNOGE_ ;
    /**
     * <code>uint32 PDDBKMCNOGE = 10;</code>
     * @return The pDDBKMCNOGE.
     */
    @java.lang.Override
    public int getPDDBKMCNOGE() {
      return pDDBKMCNOGE_;
    }
    /**
     * <code>uint32 PDDBKMCNOGE = 10;</code>
     * @param value The pDDBKMCNOGE to set.
     * @return This builder for chaining.
     */
    public Builder setPDDBKMCNOGE(int value) {
      
      pDDBKMCNOGE_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 PDDBKMCNOGE = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearPDDBKMCNOGE() {
      
      pDDBKMCNOGE_ = 0;
      onChanged();
      return this;
    }

    private int fKCMFHKPGHA_ ;
    /**
     * <code>uint32 FKCMFHKPGHA = 9;</code>
     * @return The fKCMFHKPGHA.
     */
    @java.lang.Override
    public int getFKCMFHKPGHA() {
      return fKCMFHKPGHA_;
    }
    /**
     * <code>uint32 FKCMFHKPGHA = 9;</code>
     * @param value The fKCMFHKPGHA to set.
     * @return This builder for chaining.
     */
    public Builder setFKCMFHKPGHA(int value) {
      
      fKCMFHKPGHA_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 FKCMFHKPGHA = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearFKCMFHKPGHA() {
      
      fKCMFHKPGHA_ = 0;
      onChanged();
      return this;
    }

    private int kANCLMECAIG_ ;
    /**
     * <code>uint32 KANCLMECAIG = 864;</code>
     * @return The kANCLMECAIG.
     */
    @java.lang.Override
    public int getKANCLMECAIG() {
      return kANCLMECAIG_;
    }
    /**
     * <code>uint32 KANCLMECAIG = 864;</code>
     * @param value The kANCLMECAIG to set.
     * @return This builder for chaining.
     */
    public Builder setKANCLMECAIG(int value) {
      
      kANCLMECAIG_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 KANCLMECAIG = 864;</code>
     * @return This builder for chaining.
     */
    public Builder clearKANCLMECAIG() {
      
      kANCLMECAIG_ = 0;
      onChanged();
      return this;
    }

    private int stageId_ ;
    /**
     * <code>uint32 stage_id = 8;</code>
     * @return The stageId.
     */
    @java.lang.Override
    public int getStageId() {
      return stageId_;
    }
    /**
     * <code>uint32 stage_id = 8;</code>
     * @param value The stageId to set.
     * @return This builder for chaining.
     */
    public Builder setStageId(int value) {
      
      stageId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 stage_id = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearStageId() {
      
      stageId_ = 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:RogueStageInfo)
  }

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

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

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

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

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

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

}

