Interface LeaderboardItemOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    LeaderboardItem, LeaderboardItem.Builder

    public interface LeaderboardItemOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAvatar()
      string avatar = 7 [json_name = "avatar"];
      com.google.protobuf.ByteString getAvatarBytes()
      string avatar = 7 [json_name = "avatar"];
      int getCorrect()
      int32 correct = 2 [json_name = "correct"];
      int getFriendsRank()
      for summary request only
      int getIncorrect()
      int32 incorrect = 3 [json_name = "incorrect"];
      int getInTop()
      for summary request only
      java.lang.String getName()
      string name = 6 [json_name = "name"];
      com.google.protobuf.ByteString getNameBytes()
      string name = 6 [json_name = "name"];
      int getPoints()
      int32 points = 4 [json_name = "points"];
      int getRank()
      int32 rank = 5 [json_name = "rank"];
      int getRecentCorrect()
      int32 recent_correct = 9 [json_name = "recentCorrect"];
      int getStreak()
      int32 streak = 1 [json_name = "streak"];
      int getStreakLoss()
      int32 streak_loss = 10 [json_name = "streakLoss"];
      java.lang.String getUserId()
      string user_id = 8 [json_name = "userId"];
      com.google.protobuf.ByteString getUserIdBytes()
      string user_id = 8 [json_name = "userId"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getStreak

        int getStreak()
        int32 streak = 1 [json_name = "streak"];
        Returns:
        The streak.
      • getCorrect

        int getCorrect()
        int32 correct = 2 [json_name = "correct"];
        Returns:
        The correct.
      • getIncorrect

        int getIncorrect()
        int32 incorrect = 3 [json_name = "incorrect"];
        Returns:
        The incorrect.
      • getPoints

        int getPoints()
        int32 points = 4 [json_name = "points"];
        Returns:
        The points.
      • getRank

        int getRank()
        int32 rank = 5 [json_name = "rank"];
        Returns:
        The rank.
      • getName

        java.lang.String getName()
        string name = 6 [json_name = "name"];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        string name = 6 [json_name = "name"];
        Returns:
        The bytes for name.
      • getAvatar

        java.lang.String getAvatar()
        string avatar = 7 [json_name = "avatar"];
        Returns:
        The avatar.
      • getAvatarBytes

        com.google.protobuf.ByteString getAvatarBytes()
        string avatar = 7 [json_name = "avatar"];
        Returns:
        The bytes for avatar.
      • getUserId

        java.lang.String getUserId()
        string user_id = 8 [json_name = "userId"];
        Returns:
        The userId.
      • getUserIdBytes

        com.google.protobuf.ByteString getUserIdBytes()
        string user_id = 8 [json_name = "userId"];
        Returns:
        The bytes for userId.
      • getRecentCorrect

        int getRecentCorrect()
        int32 recent_correct = 9 [json_name = "recentCorrect"];
        Returns:
        The recentCorrect.
      • getStreakLoss

        int getStreakLoss()
        int32 streak_loss = 10 [json_name = "streakLoss"];
        Returns:
        The streakLoss.
      • getFriendsRank

        int getFriendsRank()
         for summary request only
         
        int32 friends_rank = 11 [json_name = "friendsRank"];
        Returns:
        The friendsRank.
      • getInTop

        int getInTop()
         for summary request only
         
        int32 in_top = 12 [json_name = "inTop"];
        Returns:
        The inTop.