// Code generated by protocol buffer compiler. Do not edit!
package emu.lunarcore.proto;

import java.io.IOException;
import us.hebi.quickbuf.FieldName;
import us.hebi.quickbuf.InvalidProtocolBufferException;
import us.hebi.quickbuf.JsonSink;
import us.hebi.quickbuf.JsonSource;
import us.hebi.quickbuf.MessageFactory;
import us.hebi.quickbuf.ProtoMessage;
import us.hebi.quickbuf.ProtoSink;
import us.hebi.quickbuf.ProtoSource;
import us.hebi.quickbuf.RepeatedInt;

public final class ChallengeSettleNotifyOuterClass {
  /**
   * Protobuf type {@code ChallengeSettleNotify}
   */
  public static final class ChallengeSettleNotify extends ProtoMessage<ChallengeSettleNotify> implements Cloneable {
    private static final long serialVersionUID = 0L;

    /**
     * <code>optional uint32 challenge_id = 1;</code>
     */
    private int challengeId;

    /**
     * <code>optional uint32 stars = 4;</code>
     */
    private int stars;

    /**
     * <code>optional uint32 challenge_score = 14;</code>
     */
    private int challengeScore;

    /**
     * <code>optional uint32 score_two = 15;</code>
     */
    private int scoreTwo;

    /**
     * <code>optional bool is_win = 12;</code>
     */
    private boolean isWin;

    /**
     * <code>optional .ItemList reward_list = 10;</code>
     */
    private final ItemListOuterClass.ItemList rewardList = ItemListOuterClass.ItemList.newInstance();

    /**
     * <code>optional .ChallengeInfo challenge_info = 11;</code>
     */
    private final ChallengeInfoOuterClass.ChallengeInfo challengeInfo = ChallengeInfoOuterClass.ChallengeInfo.newInstance();

    /**
     * <code>repeated uint32 challenge_id_list = 9;</code>
     */
    private final RepeatedInt challengeIdList = RepeatedInt.newEmptyInstance();

    private ChallengeSettleNotify() {
    }

    /**
     * @return a new empty instance of {@code ChallengeSettleNotify}
     */
    public static ChallengeSettleNotify newInstance() {
      return new ChallengeSettleNotify();
    }

    /**
     * <code>optional uint32 challenge_id = 1;</code>
     * @return whether the challengeId field is set
     */
    public boolean hasChallengeId() {
      return (bitField0_ & 0x00000001) != 0;
    }

    /**
     * <code>optional uint32 challenge_id = 1;</code>
     * @return this
     */
    public ChallengeSettleNotify clearChallengeId() {
      bitField0_ &= ~0x00000001;
      challengeId = 0;
      return this;
    }

    /**
     * <code>optional uint32 challenge_id = 1;</code>
     * @return the challengeId
     */
    public int getChallengeId() {
      return challengeId;
    }

    /**
     * <code>optional uint32 challenge_id = 1;</code>
     * @param value the challengeId to set
     * @return this
     */
    public ChallengeSettleNotify setChallengeId(final int value) {
      bitField0_ |= 0x00000001;
      challengeId = value;
      return this;
    }

    /**
     * <code>optional uint32 stars = 4;</code>
     * @return whether the stars field is set
     */
    public boolean hasStars() {
      return (bitField0_ & 0x00000002) != 0;
    }

    /**
     * <code>optional uint32 stars = 4;</code>
     * @return this
     */
    public ChallengeSettleNotify clearStars() {
      bitField0_ &= ~0x00000002;
      stars = 0;
      return this;
    }

    /**
     * <code>optional uint32 stars = 4;</code>
     * @return the stars
     */
    public int getStars() {
      return stars;
    }

    /**
     * <code>optional uint32 stars = 4;</code>
     * @param value the stars to set
     * @return this
     */
    public ChallengeSettleNotify setStars(final int value) {
      bitField0_ |= 0x00000002;
      stars = value;
      return this;
    }

    /**
     * <code>optional uint32 challenge_score = 14;</code>
     * @return whether the challengeScore field is set
     */
    public boolean hasChallengeScore() {
      return (bitField0_ & 0x00000004) != 0;
    }

    /**
     * <code>optional uint32 challenge_score = 14;</code>
     * @return this
     */
    public ChallengeSettleNotify clearChallengeScore() {
      bitField0_ &= ~0x00000004;
      challengeScore = 0;
      return this;
    }

    /**
     * <code>optional uint32 challenge_score = 14;</code>
     * @return the challengeScore
     */
    public int getChallengeScore() {
      return challengeScore;
    }

    /**
     * <code>optional uint32 challenge_score = 14;</code>
     * @param value the challengeScore to set
     * @return this
     */
    public ChallengeSettleNotify setChallengeScore(final int value) {
      bitField0_ |= 0x00000004;
      challengeScore = value;
      return this;
    }

    /**
     * <code>optional uint32 score_two = 15;</code>
     * @return whether the scoreTwo field is set
     */
    public boolean hasScoreTwo() {
      return (bitField0_ & 0x00000008) != 0;
    }

    /**
     * <code>optional uint32 score_two = 15;</code>
     * @return this
     */
    public ChallengeSettleNotify clearScoreTwo() {
      bitField0_ &= ~0x00000008;
      scoreTwo = 0;
      return this;
    }

    /**
     * <code>optional uint32 score_two = 15;</code>
     * @return the scoreTwo
     */
    public int getScoreTwo() {
      return scoreTwo;
    }

    /**
     * <code>optional uint32 score_two = 15;</code>
     * @param value the scoreTwo to set
     * @return this
     */
    public ChallengeSettleNotify setScoreTwo(final int value) {
      bitField0_ |= 0x00000008;
      scoreTwo = value;
      return this;
    }

    /**
     * <code>optional bool is_win = 12;</code>
     * @return whether the isWin field is set
     */
    public boolean hasIsWin() {
      return (bitField0_ & 0x00000010) != 0;
    }

    /**
     * <code>optional bool is_win = 12;</code>
     * @return this
     */
    public ChallengeSettleNotify clearIsWin() {
      bitField0_ &= ~0x00000010;
      isWin = false;
      return this;
    }

    /**
     * <code>optional bool is_win = 12;</code>
     * @return the isWin
     */
    public boolean getIsWin() {
      return isWin;
    }

    /**
     * <code>optional bool is_win = 12;</code>
     * @param value the isWin to set
     * @return this
     */
    public ChallengeSettleNotify setIsWin(final boolean value) {
      bitField0_ |= 0x00000010;
      isWin = value;
      return this;
    }

    /**
     * <code>optional .ItemList reward_list = 10;</code>
     * @return whether the rewardList field is set
     */
    public boolean hasRewardList() {
      return (bitField0_ & 0x00000020) != 0;
    }

    /**
     * <code>optional .ItemList reward_list = 10;</code>
     * @return this
     */
    public ChallengeSettleNotify clearRewardList() {
      bitField0_ &= ~0x00000020;
      rewardList.clear();
      return this;
    }

    /**
     * <code>optional .ItemList reward_list = 10;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableRewardList()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public ItemListOuterClass.ItemList getRewardList() {
      return rewardList;
    }

    /**
     * <code>optional .ItemList reward_list = 10;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public ItemListOuterClass.ItemList getMutableRewardList() {
      bitField0_ |= 0x00000020;
      return rewardList;
    }

    /**
     * <code>optional .ItemList reward_list = 10;</code>
     * @param value the rewardList to set
     * @return this
     */
    public ChallengeSettleNotify setRewardList(final ItemListOuterClass.ItemList value) {
      bitField0_ |= 0x00000020;
      rewardList.copyFrom(value);
      return this;
    }

    /**
     * <code>optional .ChallengeInfo challenge_info = 11;</code>
     * @return whether the challengeInfo field is set
     */
    public boolean hasChallengeInfo() {
      return (bitField0_ & 0x00000040) != 0;
    }

    /**
     * <code>optional .ChallengeInfo challenge_info = 11;</code>
     * @return this
     */
    public ChallengeSettleNotify clearChallengeInfo() {
      bitField0_ &= ~0x00000040;
      challengeInfo.clear();
      return this;
    }

    /**
     * <code>optional .ChallengeInfo challenge_info = 11;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableChallengeInfo()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public ChallengeInfoOuterClass.ChallengeInfo getChallengeInfo() {
      return challengeInfo;
    }

    /**
     * <code>optional .ChallengeInfo challenge_info = 11;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public ChallengeInfoOuterClass.ChallengeInfo getMutableChallengeInfo() {
      bitField0_ |= 0x00000040;
      return challengeInfo;
    }

    /**
     * <code>optional .ChallengeInfo challenge_info = 11;</code>
     * @param value the challengeInfo to set
     * @return this
     */
    public ChallengeSettleNotify setChallengeInfo(
        final ChallengeInfoOuterClass.ChallengeInfo value) {
      bitField0_ |= 0x00000040;
      challengeInfo.copyFrom(value);
      return this;
    }

    /**
     * <code>repeated uint32 challenge_id_list = 9;</code>
     * @return whether the challengeIdList field is set
     */
    public boolean hasChallengeIdList() {
      return (bitField0_ & 0x00000080) != 0;
    }

    /**
     * <code>repeated uint32 challenge_id_list = 9;</code>
     * @return this
     */
    public ChallengeSettleNotify clearChallengeIdList() {
      bitField0_ &= ~0x00000080;
      challengeIdList.clear();
      return this;
    }

    /**
     * <code>repeated uint32 challenge_id_list = 9;</code>
     *
     * This method returns the internal storage object without modifying any has state.
     * The returned object should not be modified and be treated as read-only.
     *
     * Use {@link #getMutableChallengeIdList()} if you want to modify it.
     *
     * @return internal storage object for reading
     */
    public RepeatedInt getChallengeIdList() {
      return challengeIdList;
    }

    /**
     * <code>repeated uint32 challenge_id_list = 9;</code>
     *
     * This method returns the internal storage object and sets the corresponding
     * has state. The returned object will become part of this message and its
     * contents may be modified as long as the has state is not cleared.
     *
     * @return internal storage object for modifications
     */
    public RepeatedInt getMutableChallengeIdList() {
      bitField0_ |= 0x00000080;
      return challengeIdList;
    }

    /**
     * <code>repeated uint32 challenge_id_list = 9;</code>
     * @param value the challengeIdList to add
     * @return this
     */
    public ChallengeSettleNotify addChallengeIdList(final int value) {
      bitField0_ |= 0x00000080;
      challengeIdList.add(value);
      return this;
    }

    /**
     * <code>repeated uint32 challenge_id_list = 9;</code>
     * @param values the challengeIdList to add
     * @return this
     */
    public ChallengeSettleNotify addAllChallengeIdList(final int... values) {
      bitField0_ |= 0x00000080;
      challengeIdList.addAll(values);
      return this;
    }

    @Override
    public ChallengeSettleNotify copyFrom(final ChallengeSettleNotify other) {
      cachedSize = other.cachedSize;
      if ((bitField0_ | other.bitField0_) != 0) {
        bitField0_ = other.bitField0_;
        challengeId = other.challengeId;
        stars = other.stars;
        challengeScore = other.challengeScore;
        scoreTwo = other.scoreTwo;
        isWin = other.isWin;
        rewardList.copyFrom(other.rewardList);
        challengeInfo.copyFrom(other.challengeInfo);
        challengeIdList.copyFrom(other.challengeIdList);
      }
      return this;
    }

    @Override
    public ChallengeSettleNotify mergeFrom(final ChallengeSettleNotify other) {
      if (other.isEmpty()) {
        return this;
      }
      cachedSize = -1;
      if (other.hasChallengeId()) {
        setChallengeId(other.challengeId);
      }
      if (other.hasStars()) {
        setStars(other.stars);
      }
      if (other.hasChallengeScore()) {
        setChallengeScore(other.challengeScore);
      }
      if (other.hasScoreTwo()) {
        setScoreTwo(other.scoreTwo);
      }
      if (other.hasIsWin()) {
        setIsWin(other.isWin);
      }
      if (other.hasRewardList()) {
        getMutableRewardList().mergeFrom(other.rewardList);
      }
      if (other.hasChallengeInfo()) {
        getMutableChallengeInfo().mergeFrom(other.challengeInfo);
      }
      if (other.hasChallengeIdList()) {
        getMutableChallengeIdList().addAll(other.challengeIdList);
      }
      return this;
    }

    @Override
    public ChallengeSettleNotify clear() {
      if (isEmpty()) {
        return this;
      }
      cachedSize = -1;
      bitField0_ = 0;
      challengeId = 0;
      stars = 0;
      challengeScore = 0;
      scoreTwo = 0;
      isWin = false;
      rewardList.clear();
      challengeInfo.clear();
      challengeIdList.clear();
      return this;
    }

    @Override
    public ChallengeSettleNotify clearQuick() {
      if (isEmpty()) {
        return this;
      }
      cachedSize = -1;
      bitField0_ = 0;
      rewardList.clearQuick();
      challengeInfo.clearQuick();
      challengeIdList.clear();
      return this;
    }

    @Override
    public boolean equals(Object o) {
      if (o == this) {
        return true;
      }
      if (!(o instanceof ChallengeSettleNotify)) {
        return false;
      }
      ChallengeSettleNotify other = (ChallengeSettleNotify) o;
      return bitField0_ == other.bitField0_
        && (!hasChallengeId() || challengeId == other.challengeId)
        && (!hasStars() || stars == other.stars)
        && (!hasChallengeScore() || challengeScore == other.challengeScore)
        && (!hasScoreTwo() || scoreTwo == other.scoreTwo)
        && (!hasIsWin() || isWin == other.isWin)
        && (!hasRewardList() || rewardList.equals(other.rewardList))
        && (!hasChallengeInfo() || challengeInfo.equals(other.challengeInfo))
        && (!hasChallengeIdList() || challengeIdList.equals(other.challengeIdList));
    }

    @Override
    public void writeTo(final ProtoSink output) throws IOException {
      if ((bitField0_ & 0x00000001) != 0) {
        output.writeRawByte((byte) 8);
        output.writeUInt32NoTag(challengeId);
      }
      if ((bitField0_ & 0x00000002) != 0) {
        output.writeRawByte((byte) 32);
        output.writeUInt32NoTag(stars);
      }
      if ((bitField0_ & 0x00000004) != 0) {
        output.writeRawByte((byte) 112);
        output.writeUInt32NoTag(challengeScore);
      }
      if ((bitField0_ & 0x00000008) != 0) {
        output.writeRawByte((byte) 120);
        output.writeUInt32NoTag(scoreTwo);
      }
      if ((bitField0_ & 0x00000010) != 0) {
        output.writeRawByte((byte) 96);
        output.writeBoolNoTag(isWin);
      }
      if ((bitField0_ & 0x00000020) != 0) {
        output.writeRawByte((byte) 82);
        output.writeMessageNoTag(rewardList);
      }
      if ((bitField0_ & 0x00000040) != 0) {
        output.writeRawByte((byte) 90);
        output.writeMessageNoTag(challengeInfo);
      }
      if ((bitField0_ & 0x00000080) != 0) {
        for (int i = 0; i < challengeIdList.length(); i++) {
          output.writeRawByte((byte) 72);
          output.writeUInt32NoTag(challengeIdList.array()[i]);
        }
      }
    }

    @Override
    protected int computeSerializedSize() {
      int size = 0;
      if ((bitField0_ & 0x00000001) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeId);
      }
      if ((bitField0_ & 0x00000002) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(stars);
      }
      if ((bitField0_ & 0x00000004) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(challengeScore);
      }
      if ((bitField0_ & 0x00000008) != 0) {
        size += 1 + ProtoSink.computeUInt32SizeNoTag(scoreTwo);
      }
      if ((bitField0_ & 0x00000010) != 0) {
        size += 2;
      }
      if ((bitField0_ & 0x00000020) != 0) {
        size += 1 + ProtoSink.computeMessageSizeNoTag(rewardList);
      }
      if ((bitField0_ & 0x00000040) != 0) {
        size += 1 + ProtoSink.computeMessageSizeNoTag(challengeInfo);
      }
      if ((bitField0_ & 0x00000080) != 0) {
        size += (1 * challengeIdList.length()) + ProtoSink.computeRepeatedUInt32SizeNoTag(challengeIdList);
      }
      return size;
    }

    @Override
    @SuppressWarnings("fallthrough")
    public ChallengeSettleNotify mergeFrom(final ProtoSource input) throws IOException {
      // Enabled Fall-Through Optimization (QuickBuffers)
      int tag = input.readTag();
      while (true) {
        switch (tag) {
          case 8: {
            // challengeId
            challengeId = input.readUInt32();
            bitField0_ |= 0x00000001;
            tag = input.readTag();
            if (tag != 32) {
              break;
            }
          }
          case 32: {
            // stars
            stars = input.readUInt32();
            bitField0_ |= 0x00000002;
            tag = input.readTag();
            if (tag != 112) {
              break;
            }
          }
          case 112: {
            // challengeScore
            challengeScore = input.readUInt32();
            bitField0_ |= 0x00000004;
            tag = input.readTag();
            if (tag != 120) {
              break;
            }
          }
          case 120: {
            // scoreTwo
            scoreTwo = input.readUInt32();
            bitField0_ |= 0x00000008;
            tag = input.readTag();
            if (tag != 96) {
              break;
            }
          }
          case 96: {
            // isWin
            isWin = input.readBool();
            bitField0_ |= 0x00000010;
            tag = input.readTag();
            if (tag != 82) {
              break;
            }
          }
          case 82: {
            // rewardList
            input.readMessage(rewardList);
            bitField0_ |= 0x00000020;
            tag = input.readTag();
            if (tag != 90) {
              break;
            }
          }
          case 90: {
            // challengeInfo
            input.readMessage(challengeInfo);
            bitField0_ |= 0x00000040;
            tag = input.readTag();
            if (tag != 74) {
              break;
            }
          }
          case 74: {
            // challengeIdList [packed=true]
            input.readPackedUInt32(challengeIdList, tag);
            bitField0_ |= 0x00000080;
            tag = input.readTag();
            if (tag != 0) {
              break;
            }
          }
          case 0: {
            return this;
          }
          default: {
            if (!input.skipField(tag)) {
              return this;
            }
            tag = input.readTag();
            break;
          }
          case 72: {
            // challengeIdList [packed=false]
            tag = input.readRepeatedUInt32(challengeIdList, tag);
            bitField0_ |= 0x00000080;
            break;
          }
        }
      }
    }

    @Override
    public void writeTo(final JsonSink output) throws IOException {
      output.beginObject();
      if ((bitField0_ & 0x00000001) != 0) {
        output.writeUInt32(FieldNames.challengeId, challengeId);
      }
      if ((bitField0_ & 0x00000002) != 0) {
        output.writeUInt32(FieldNames.stars, stars);
      }
      if ((bitField0_ & 0x00000004) != 0) {
        output.writeUInt32(FieldNames.challengeScore, challengeScore);
      }
      if ((bitField0_ & 0x00000008) != 0) {
        output.writeUInt32(FieldNames.scoreTwo, scoreTwo);
      }
      if ((bitField0_ & 0x00000010) != 0) {
        output.writeBool(FieldNames.isWin, isWin);
      }
      if ((bitField0_ & 0x00000020) != 0) {
        output.writeMessage(FieldNames.rewardList, rewardList);
      }
      if ((bitField0_ & 0x00000040) != 0) {
        output.writeMessage(FieldNames.challengeInfo, challengeInfo);
      }
      if ((bitField0_ & 0x00000080) != 0) {
        output.writeRepeatedUInt32(FieldNames.challengeIdList, challengeIdList);
      }
      output.endObject();
    }

    @Override
    public ChallengeSettleNotify mergeFrom(final JsonSource input) throws IOException {
      if (!input.beginObject()) {
        return this;
      }
      while (!input.isAtEnd()) {
        switch (input.readFieldHash()) {
          case -689112866:
          case 112359031: {
            if (input.isAtField(FieldNames.challengeId)) {
              if (!input.trySkipNullValue()) {
                challengeId = input.readUInt32();
                bitField0_ |= 0x00000001;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 109757537: {
            if (input.isAtField(FieldNames.stars)) {
              if (!input.trySkipNullValue()) {
                stars = input.readUInt32();
                bitField0_ |= 0x00000002;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 591599599:
          case 1517684662: {
            if (input.isAtField(FieldNames.challengeScore)) {
              if (!input.trySkipNullValue()) {
                challengeScore = input.readUInt32();
                bitField0_ |= 0x00000004;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -485512614:
          case 2129303327: {
            if (input.isAtField(FieldNames.scoreTwo)) {
              if (!input.trySkipNullValue()) {
                scoreTwo = input.readUInt32();
                bitField0_ |= 0x00000008;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 100482642:
          case -1179753657: {
            if (input.isAtField(FieldNames.isWin)) {
              if (!input.trySkipNullValue()) {
                isWin = input.readBool();
                bitField0_ |= 0x00000010;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 1690977389:
          case 898318254: {
            if (input.isAtField(FieldNames.rewardList)) {
              if (!input.trySkipNullValue()) {
                input.readMessage(rewardList);
                bitField0_ |= 0x00000020;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case -812487759:
          case 602859274: {
            if (input.isAtField(FieldNames.challengeInfo)) {
              if (!input.trySkipNullValue()) {
                input.readMessage(challengeInfo);
                bitField0_ |= 0x00000040;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          case 873299612:
          case -2065341082: {
            if (input.isAtField(FieldNames.challengeIdList)) {
              if (!input.trySkipNullValue()) {
                input.readRepeatedUInt32(challengeIdList);
                bitField0_ |= 0x00000080;
              }
            } else {
              input.skipUnknownField();
            }
            break;
          }
          default: {
            input.skipUnknownField();
            break;
          }
        }
      }
      input.endObject();
      return this;
    }

    @Override
    public ChallengeSettleNotify clone() {
      return new ChallengeSettleNotify().copyFrom(this);
    }

    @Override
    public boolean isEmpty() {
      return ((bitField0_) == 0);
    }

    public static ChallengeSettleNotify parseFrom(final byte[] data) throws
        InvalidProtocolBufferException {
      return ProtoMessage.mergeFrom(new ChallengeSettleNotify(), data).checkInitialized();
    }

    public static ChallengeSettleNotify parseFrom(final ProtoSource input) throws IOException {
      return ProtoMessage.mergeFrom(new ChallengeSettleNotify(), input).checkInitialized();
    }

    public static ChallengeSettleNotify parseFrom(final JsonSource input) throws IOException {
      return ProtoMessage.mergeFrom(new ChallengeSettleNotify(), input).checkInitialized();
    }

    /**
     * @return factory for creating ChallengeSettleNotify messages
     */
    public static MessageFactory<ChallengeSettleNotify> getFactory() {
      return ChallengeSettleNotifyFactory.INSTANCE;
    }

    private enum ChallengeSettleNotifyFactory implements MessageFactory<ChallengeSettleNotify> {
      INSTANCE;

      @Override
      public ChallengeSettleNotify create() {
        return ChallengeSettleNotify.newInstance();
      }
    }

    /**
     * Contains name constants used for serializing JSON
     */
    static class FieldNames {
      static final FieldName challengeId = FieldName.forField("challengeId", "challenge_id");

      static final FieldName stars = FieldName.forField("stars");

      static final FieldName challengeScore = FieldName.forField("challengeScore", "challenge_score");

      static final FieldName scoreTwo = FieldName.forField("scoreTwo", "score_two");

      static final FieldName isWin = FieldName.forField("isWin", "is_win");

      static final FieldName rewardList = FieldName.forField("rewardList", "reward_list");

      static final FieldName challengeInfo = FieldName.forField("challengeInfo", "challenge_info");

      static final FieldName challengeIdList = FieldName.forField("challengeIdList", "challenge_id_list");
    }
  }
}
