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

package emu.grasscutter.net.proto;

public final class ChessInfoOuterClass {
  private ChessInfoOuterClass() {}
  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 ChessInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ChessInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint32 punishOverTime = 4;</code>
     * @return The punishOverTime.
     */
    int getPunishOverTime();

    /**
     * <code>uint32 contentCloseTime = 10;</code>
     * @return The contentCloseTime.
     */
    int getContentCloseTime();

    /**
     * <code>uint32 playerInfoMap = 5;</code>
     * @return The playerInfoMap.
     */
    int getPlayerInfoMap();

    /**
     * <code>uint32 exp = 11;</code>
     * @return The exp.
     */
    int getExp();

    /**
     * <code>bool escapedMonsters = 6;</code>
     * @return The escapedMonsters.
     */
    boolean getEscapedMonsters();

    /**
     * <code>uint32 selectedCardInfoList = 8;</code>
     * @return The selectedCardInfoList.
     */
    int getSelectedCardInfoList();

    /**
     * <code>uint32 level = 14;</code>
     * @return The level.
     */
    int getLevel();

    /**
     * <code>repeated uint32 totalRound = 7;</code>
     * @return A list containing the totalRound.
     */
    java.util.List<java.lang.Integer> getTotalRoundList();
    /**
     * <code>repeated uint32 totalRound = 7;</code>
     * @return The count of totalRound.
     */
    int getTotalRoundCount();
    /**
     * <code>repeated uint32 totalRound = 7;</code>
     * @param index The index of the element to return.
     * @return The totalRound at the given index.
     */
    int getTotalRound(int index);

    /**
     * <code>bool leftMonsters = 15;</code>
     * @return The leftMonsters.
     */
    boolean getLeftMonsters();
  }
  /**
   * Protobuf type {@code ChessInfo}
   */
  public static final class ChessInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ChessInfo)
      ChessInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ChessInfo.newBuilder() to construct.
    private ChessInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ChessInfo() {
      totalRound_ = emptyIntList();
    }

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

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

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

              playerInfoMap_ = input.readUInt32();
              break;
            }
            case 48: {

              escapedMonsters_ = input.readBool();
              break;
            }
            case 56: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                totalRound_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              totalRound_.addInt(input.readUInt32());
              break;
            }
            case 58: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                totalRound_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                totalRound_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 64: {

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

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

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

              level_ = input.readUInt32();
              break;
            }
            case 120: {

              leftMonsters_ = input.readBool();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          totalRound_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ChessInfoOuterClass.internal_static_ChessInfo_descriptor;
    }

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

    public static final int PUNISHOVERTIME_FIELD_NUMBER = 4;
    private int punishOverTime_;
    /**
     * <code>uint32 punishOverTime = 4;</code>
     * @return The punishOverTime.
     */
    @java.lang.Override
    public int getPunishOverTime() {
      return punishOverTime_;
    }

    public static final int CONTENTCLOSETIME_FIELD_NUMBER = 10;
    private int contentCloseTime_;
    /**
     * <code>uint32 contentCloseTime = 10;</code>
     * @return The contentCloseTime.
     */
    @java.lang.Override
    public int getContentCloseTime() {
      return contentCloseTime_;
    }

    public static final int PLAYERINFOMAP_FIELD_NUMBER = 5;
    private int playerInfoMap_;
    /**
     * <code>uint32 playerInfoMap = 5;</code>
     * @return The playerInfoMap.
     */
    @java.lang.Override
    public int getPlayerInfoMap() {
      return playerInfoMap_;
    }

    public static final int EXP_FIELD_NUMBER = 11;
    private int exp_;
    /**
     * <code>uint32 exp = 11;</code>
     * @return The exp.
     */
    @java.lang.Override
    public int getExp() {
      return exp_;
    }

    public static final int ESCAPEDMONSTERS_FIELD_NUMBER = 6;
    private boolean escapedMonsters_;
    /**
     * <code>bool escapedMonsters = 6;</code>
     * @return The escapedMonsters.
     */
    @java.lang.Override
    public boolean getEscapedMonsters() {
      return escapedMonsters_;
    }

    public static final int SELECTEDCARDINFOLIST_FIELD_NUMBER = 8;
    private int selectedCardInfoList_;
    /**
     * <code>uint32 selectedCardInfoList = 8;</code>
     * @return The selectedCardInfoList.
     */
    @java.lang.Override
    public int getSelectedCardInfoList() {
      return selectedCardInfoList_;
    }

    public static final int LEVEL_FIELD_NUMBER = 14;
    private int level_;
    /**
     * <code>uint32 level = 14;</code>
     * @return The level.
     */
    @java.lang.Override
    public int getLevel() {
      return level_;
    }

    public static final int TOTALROUND_FIELD_NUMBER = 7;
    private com.google.protobuf.Internal.IntList totalRound_;
    /**
     * <code>repeated uint32 totalRound = 7;</code>
     * @return A list containing the totalRound.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getTotalRoundList() {
      return totalRound_;
    }
    /**
     * <code>repeated uint32 totalRound = 7;</code>
     * @return The count of totalRound.
     */
    public int getTotalRoundCount() {
      return totalRound_.size();
    }
    /**
     * <code>repeated uint32 totalRound = 7;</code>
     * @param index The index of the element to return.
     * @return The totalRound at the given index.
     */
    public int getTotalRound(int index) {
      return totalRound_.getInt(index);
    }
    private int totalRoundMemoizedSerializedSize = -1;

    public static final int LEFTMONSTERS_FIELD_NUMBER = 15;
    private boolean leftMonsters_;
    /**
     * <code>bool leftMonsters = 15;</code>
     * @return The leftMonsters.
     */
    @java.lang.Override
    public boolean getLeftMonsters() {
      return leftMonsters_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (punishOverTime_ != 0) {
        output.writeUInt32(4, punishOverTime_);
      }
      if (playerInfoMap_ != 0) {
        output.writeUInt32(5, playerInfoMap_);
      }
      if (escapedMonsters_ != false) {
        output.writeBool(6, escapedMonsters_);
      }
      if (getTotalRoundList().size() > 0) {
        output.writeUInt32NoTag(58);
        output.writeUInt32NoTag(totalRoundMemoizedSerializedSize);
      }
      for (int i = 0; i < totalRound_.size(); i++) {
        output.writeUInt32NoTag(totalRound_.getInt(i));
      }
      if (selectedCardInfoList_ != 0) {
        output.writeUInt32(8, selectedCardInfoList_);
      }
      if (contentCloseTime_ != 0) {
        output.writeUInt32(10, contentCloseTime_);
      }
      if (exp_ != 0) {
        output.writeUInt32(11, exp_);
      }
      if (level_ != 0) {
        output.writeUInt32(14, level_);
      }
      if (leftMonsters_ != false) {
        output.writeBool(15, leftMonsters_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (punishOverTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, punishOverTime_);
      }
      if (playerInfoMap_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, playerInfoMap_);
      }
      if (escapedMonsters_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(6, escapedMonsters_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < totalRound_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(totalRound_.getInt(i));
        }
        size += dataSize;
        if (!getTotalRoundList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        totalRoundMemoizedSerializedSize = dataSize;
      }
      if (selectedCardInfoList_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(8, selectedCardInfoList_);
      }
      if (contentCloseTime_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, contentCloseTime_);
      }
      if (exp_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, exp_);
      }
      if (level_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, level_);
      }
      if (leftMonsters_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(15, leftMonsters_);
      }
      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.ChessInfoOuterClass.ChessInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo other = (emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo) obj;

      if (getPunishOverTime()
          != other.getPunishOverTime()) return false;
      if (getContentCloseTime()
          != other.getContentCloseTime()) return false;
      if (getPlayerInfoMap()
          != other.getPlayerInfoMap()) return false;
      if (getExp()
          != other.getExp()) return false;
      if (getEscapedMonsters()
          != other.getEscapedMonsters()) return false;
      if (getSelectedCardInfoList()
          != other.getSelectedCardInfoList()) return false;
      if (getLevel()
          != other.getLevel()) return false;
      if (!getTotalRoundList()
          .equals(other.getTotalRoundList())) return false;
      if (getLeftMonsters()
          != other.getLeftMonsters()) 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) + PUNISHOVERTIME_FIELD_NUMBER;
      hash = (53 * hash) + getPunishOverTime();
      hash = (37 * hash) + CONTENTCLOSETIME_FIELD_NUMBER;
      hash = (53 * hash) + getContentCloseTime();
      hash = (37 * hash) + PLAYERINFOMAP_FIELD_NUMBER;
      hash = (53 * hash) + getPlayerInfoMap();
      hash = (37 * hash) + EXP_FIELD_NUMBER;
      hash = (53 * hash) + getExp();
      hash = (37 * hash) + ESCAPEDMONSTERS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getEscapedMonsters());
      hash = (37 * hash) + SELECTEDCARDINFOLIST_FIELD_NUMBER;
      hash = (53 * hash) + getSelectedCardInfoList();
      hash = (37 * hash) + LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getLevel();
      if (getTotalRoundCount() > 0) {
        hash = (37 * hash) + TOTALROUND_FIELD_NUMBER;
        hash = (53 * hash) + getTotalRoundList().hashCode();
      }
      hash = (37 * hash) + LEFTMONSTERS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getLeftMonsters());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

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

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

        contentCloseTime_ = 0;

        playerInfoMap_ = 0;

        exp_ = 0;

        escapedMonsters_ = false;

        selectedCardInfoList_ = 0;

        level_ = 0;

        totalRound_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        leftMonsters_ = false;

        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo buildPartial() {
        emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo result = new emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo(this);
        int from_bitField0_ = bitField0_;
        result.punishOverTime_ = punishOverTime_;
        result.contentCloseTime_ = contentCloseTime_;
        result.playerInfoMap_ = playerInfoMap_;
        result.exp_ = exp_;
        result.escapedMonsters_ = escapedMonsters_;
        result.selectedCardInfoList_ = selectedCardInfoList_;
        result.level_ = level_;
        if (((bitField0_ & 0x00000001) != 0)) {
          totalRound_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.totalRound_ = totalRound_;
        result.leftMonsters_ = leftMonsters_;
        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.ChessInfoOuterClass.ChessInfo) {
          return mergeFrom((emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo other) {
        if (other == emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo.getDefaultInstance()) return this;
        if (other.getPunishOverTime() != 0) {
          setPunishOverTime(other.getPunishOverTime());
        }
        if (other.getContentCloseTime() != 0) {
          setContentCloseTime(other.getContentCloseTime());
        }
        if (other.getPlayerInfoMap() != 0) {
          setPlayerInfoMap(other.getPlayerInfoMap());
        }
        if (other.getExp() != 0) {
          setExp(other.getExp());
        }
        if (other.getEscapedMonsters() != false) {
          setEscapedMonsters(other.getEscapedMonsters());
        }
        if (other.getSelectedCardInfoList() != 0) {
          setSelectedCardInfoList(other.getSelectedCardInfoList());
        }
        if (other.getLevel() != 0) {
          setLevel(other.getLevel());
        }
        if (!other.totalRound_.isEmpty()) {
          if (totalRound_.isEmpty()) {
            totalRound_ = other.totalRound_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureTotalRoundIsMutable();
            totalRound_.addAll(other.totalRound_);
          }
          onChanged();
        }
        if (other.getLeftMonsters() != false) {
          setLeftMonsters(other.getLeftMonsters());
        }
        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.ChessInfoOuterClass.ChessInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int punishOverTime_ ;
      /**
       * <code>uint32 punishOverTime = 4;</code>
       * @return The punishOverTime.
       */
      @java.lang.Override
      public int getPunishOverTime() {
        return punishOverTime_;
      }
      /**
       * <code>uint32 punishOverTime = 4;</code>
       * @param value The punishOverTime to set.
       * @return This builder for chaining.
       */
      public Builder setPunishOverTime(int value) {
        
        punishOverTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 punishOverTime = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearPunishOverTime() {
        
        punishOverTime_ = 0;
        onChanged();
        return this;
      }

      private int contentCloseTime_ ;
      /**
       * <code>uint32 contentCloseTime = 10;</code>
       * @return The contentCloseTime.
       */
      @java.lang.Override
      public int getContentCloseTime() {
        return contentCloseTime_;
      }
      /**
       * <code>uint32 contentCloseTime = 10;</code>
       * @param value The contentCloseTime to set.
       * @return This builder for chaining.
       */
      public Builder setContentCloseTime(int value) {
        
        contentCloseTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 contentCloseTime = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearContentCloseTime() {
        
        contentCloseTime_ = 0;
        onChanged();
        return this;
      }

      private int playerInfoMap_ ;
      /**
       * <code>uint32 playerInfoMap = 5;</code>
       * @return The playerInfoMap.
       */
      @java.lang.Override
      public int getPlayerInfoMap() {
        return playerInfoMap_;
      }
      /**
       * <code>uint32 playerInfoMap = 5;</code>
       * @param value The playerInfoMap to set.
       * @return This builder for chaining.
       */
      public Builder setPlayerInfoMap(int value) {
        
        playerInfoMap_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 playerInfoMap = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearPlayerInfoMap() {
        
        playerInfoMap_ = 0;
        onChanged();
        return this;
      }

      private int exp_ ;
      /**
       * <code>uint32 exp = 11;</code>
       * @return The exp.
       */
      @java.lang.Override
      public int getExp() {
        return exp_;
      }
      /**
       * <code>uint32 exp = 11;</code>
       * @param value The exp to set.
       * @return This builder for chaining.
       */
      public Builder setExp(int value) {
        
        exp_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 exp = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearExp() {
        
        exp_ = 0;
        onChanged();
        return this;
      }

      private boolean escapedMonsters_ ;
      /**
       * <code>bool escapedMonsters = 6;</code>
       * @return The escapedMonsters.
       */
      @java.lang.Override
      public boolean getEscapedMonsters() {
        return escapedMonsters_;
      }
      /**
       * <code>bool escapedMonsters = 6;</code>
       * @param value The escapedMonsters to set.
       * @return This builder for chaining.
       */
      public Builder setEscapedMonsters(boolean value) {
        
        escapedMonsters_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool escapedMonsters = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearEscapedMonsters() {
        
        escapedMonsters_ = false;
        onChanged();
        return this;
      }

      private int selectedCardInfoList_ ;
      /**
       * <code>uint32 selectedCardInfoList = 8;</code>
       * @return The selectedCardInfoList.
       */
      @java.lang.Override
      public int getSelectedCardInfoList() {
        return selectedCardInfoList_;
      }
      /**
       * <code>uint32 selectedCardInfoList = 8;</code>
       * @param value The selectedCardInfoList to set.
       * @return This builder for chaining.
       */
      public Builder setSelectedCardInfoList(int value) {
        
        selectedCardInfoList_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 selectedCardInfoList = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearSelectedCardInfoList() {
        
        selectedCardInfoList_ = 0;
        onChanged();
        return this;
      }

      private int level_ ;
      /**
       * <code>uint32 level = 14;</code>
       * @return The level.
       */
      @java.lang.Override
      public int getLevel() {
        return level_;
      }
      /**
       * <code>uint32 level = 14;</code>
       * @param value The level to set.
       * @return This builder for chaining.
       */
      public Builder setLevel(int value) {
        
        level_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 level = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearLevel() {
        
        level_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList totalRound_ = emptyIntList();
      private void ensureTotalRoundIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          totalRound_ = mutableCopy(totalRound_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 totalRound = 7;</code>
       * @return A list containing the totalRound.
       */
      public java.util.List<java.lang.Integer>
          getTotalRoundList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(totalRound_) : totalRound_;
      }
      /**
       * <code>repeated uint32 totalRound = 7;</code>
       * @return The count of totalRound.
       */
      public int getTotalRoundCount() {
        return totalRound_.size();
      }
      /**
       * <code>repeated uint32 totalRound = 7;</code>
       * @param index The index of the element to return.
       * @return The totalRound at the given index.
       */
      public int getTotalRound(int index) {
        return totalRound_.getInt(index);
      }
      /**
       * <code>repeated uint32 totalRound = 7;</code>
       * @param index The index to set the value at.
       * @param value The totalRound to set.
       * @return This builder for chaining.
       */
      public Builder setTotalRound(
          int index, int value) {
        ensureTotalRoundIsMutable();
        totalRound_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 totalRound = 7;</code>
       * @param value The totalRound to add.
       * @return This builder for chaining.
       */
      public Builder addTotalRound(int value) {
        ensureTotalRoundIsMutable();
        totalRound_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 totalRound = 7;</code>
       * @param values The totalRound to add.
       * @return This builder for chaining.
       */
      public Builder addAllTotalRound(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureTotalRoundIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, totalRound_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 totalRound = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearTotalRound() {
        totalRound_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private boolean leftMonsters_ ;
      /**
       * <code>bool leftMonsters = 15;</code>
       * @return The leftMonsters.
       */
      @java.lang.Override
      public boolean getLeftMonsters() {
        return leftMonsters_;
      }
      /**
       * <code>bool leftMonsters = 15;</code>
       * @param value The leftMonsters to set.
       * @return This builder for chaining.
       */
      public Builder setLeftMonsters(boolean value) {
        
        leftMonsters_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool leftMonsters = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearLeftMonsters() {
        
        leftMonsters_ = false;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:ChessInfo)
    }

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

    public static emu.grasscutter.net.proto.ChessInfoOuterClass.ChessInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ChessInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ChessInfo_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\017ChessInfo.proto\"\321\001\n\tChessInfo\022\026\n\016punis" +
      "hOverTime\030\004 \001(\r\022\030\n\020contentCloseTime\030\n \001(" +
      "\r\022\025\n\rplayerInfoMap\030\005 \001(\r\022\013\n\003exp\030\013 \001(\r\022\027\n" +
      "\017escapedMonsters\030\006 \001(\010\022\034\n\024selectedCardIn" +
      "foList\030\010 \001(\r\022\r\n\005level\030\016 \001(\r\022\022\n\ntotalRoun" +
      "d\030\007 \003(\r\022\024\n\014leftMonsters\030\017 \001(\010B\033\n\031emu.gra" +
      "sscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_ChessInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ChessInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ChessInfo_descriptor,
        new java.lang.String[] { "PunishOverTime", "ContentCloseTime", "PlayerInfoMap", "Exp", "EscapedMonsters", "SelectedCardInfoList", "Level", "TotalRound", "LeftMonsters", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
