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.StringgetAvatar()string avatar = 7;com.google.protobuf.ByteStringgetAvatarBytes()string avatar = 7;intgetCorrect()int32 correct = 2;intgetFriendsRank()for summary request onlyintgetIncorrect()int32 incorrect = 3;intgetInTop()for summary request onlyjava.lang.StringgetName()string name = 6;com.google.protobuf.ByteStringgetNameBytes()string name = 6;intgetPoints()int32 points = 4;intgetRank()int32 rank = 5;intgetRecentCorrect()int32 recent_correct = 9;intgetStreak()int32 streak = 1;intgetStreakLoss()int32 streak_loss = 10;java.lang.StringgetUserId()string user_id = 8;com.google.protobuf.ByteStringgetUserIdBytes()string user_id = 8;
-
-
-
Method Detail
-
getStreak
int getStreak()
int32 streak = 1;- Returns:
- The streak.
-
getCorrect
int getCorrect()
int32 correct = 2;- Returns:
- The correct.
-
getIncorrect
int getIncorrect()
int32 incorrect = 3;- Returns:
- The incorrect.
-
getPoints
int getPoints()
int32 points = 4;- Returns:
- The points.
-
getRank
int getRank()
int32 rank = 5;- Returns:
- The rank.
-
getName
java.lang.String getName()
string name = 6;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 6;- Returns:
- The bytes for name.
-
getAvatar
java.lang.String getAvatar()
string avatar = 7;- Returns:
- The avatar.
-
getAvatarBytes
com.google.protobuf.ByteString getAvatarBytes()
string avatar = 7;- Returns:
- The bytes for avatar.
-
getUserId
java.lang.String getUserId()
string user_id = 8;- Returns:
- The userId.
-
getUserIdBytes
com.google.protobuf.ByteString getUserIdBytes()
string user_id = 8;- Returns:
- The bytes for userId.
-
getRecentCorrect
int getRecentCorrect()
int32 recent_correct = 9;- Returns:
- The recentCorrect.
-
getStreakLoss
int getStreakLoss()
int32 streak_loss = 10;- Returns:
- The streakLoss.
-
getFriendsRank
int getFriendsRank()
for summary request only
int32 friends_rank = 11;- Returns:
- The friendsRank.
-
getInTop
int getInTop()
for summary request only
int32 in_top = 12;- Returns:
- The inTop.
-
-