public final class PlayerLeaderboardScore
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Games Services API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PlayerLeaderboardScore() |
| Modifier and Type | Method and Description |
|---|---|
PlayerLeaderboardScore |
clone() |
LeaderboardScoreRank |
getFriendsRank()
The rank of the score in the friends collection for this leaderboard.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getLeaderboardId()
The ID of the leaderboard this score is in.
|
LeaderboardScoreRank |
getPublicRank()
The public rank of the score in this leaderboard.
|
String |
getScoreString()
The formatted value of this score.
|
String |
getScoreTag()
Additional information about the score.
|
Long |
getScoreValue()
The numerical value of this score.
|
LeaderboardScoreRank |
getSocialRank()
The social rank of the score in this leaderboard.
|
String |
getTimeSpan()
The time span of this score.
|
Long |
getWriteTimestamp()
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
|
PlayerLeaderboardScore |
set(String fieldName,
Object value) |
PlayerLeaderboardScore |
setFriendsRank(LeaderboardScoreRank friendsRank)
The rank of the score in the friends collection for this leaderboard.
|
PlayerLeaderboardScore |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerLeaderboardScore |
setLeaderboardId(String leaderboardId)
The ID of the leaderboard this score is in.
|
PlayerLeaderboardScore |
setPublicRank(LeaderboardScoreRank publicRank)
The public rank of the score in this leaderboard.
|
PlayerLeaderboardScore |
setScoreString(String scoreString)
The formatted value of this score.
|
PlayerLeaderboardScore |
setScoreTag(String scoreTag)
Additional information about the score.
|
PlayerLeaderboardScore |
setScoreValue(Long scoreValue)
The numerical value of this score.
|
PlayerLeaderboardScore |
setSocialRank(LeaderboardScoreRank socialRank)
The social rank of the score in this leaderboard.
|
PlayerLeaderboardScore |
setTimeSpan(String timeSpan)
The time span of this score.
|
PlayerLeaderboardScore |
setWriteTimestamp(Long writeTimestamp)
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic LeaderboardScoreRank getFriendsRank()
null for nonepublic PlayerLeaderboardScore setFriendsRank(LeaderboardScoreRank friendsRank)
friendsRank - friendsRank or null for nonepublic String getKind()
null for nonepublic PlayerLeaderboardScore setKind(String kind)
kind - kind or null for nonepublic String getLeaderboardId()
null for nonepublic PlayerLeaderboardScore setLeaderboardId(String leaderboardId)
leaderboardId - leaderboardId or null for nonepublic LeaderboardScoreRank getPublicRank()
null for nonepublic PlayerLeaderboardScore setPublicRank(LeaderboardScoreRank publicRank)
publicRank - publicRank or null for nonepublic String getScoreString()
null for nonepublic PlayerLeaderboardScore setScoreString(String scoreString)
scoreString - scoreString or null for nonepublic String getScoreTag()
null for nonepublic PlayerLeaderboardScore setScoreTag(String scoreTag)
scoreTag - scoreTag or null for nonepublic Long getScoreValue()
null for nonepublic PlayerLeaderboardScore setScoreValue(Long scoreValue)
scoreValue - scoreValue or null for nonepublic LeaderboardScoreRank getSocialRank()
null for nonepublic PlayerLeaderboardScore setSocialRank(LeaderboardScoreRank socialRank)
socialRank - socialRank or null for nonepublic String getTimeSpan()
null for nonepublic PlayerLeaderboardScore setTimeSpan(String timeSpan)
timeSpan - timeSpan or null for nonepublic Long getWriteTimestamp()
null for nonepublic PlayerLeaderboardScore setWriteTimestamp(Long writeTimestamp)
writeTimestamp - writeTimestamp or null for nonepublic PlayerLeaderboardScore set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerLeaderboardScore clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.