public final class LeaderboardEntry
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 |
|---|
LeaderboardEntry() |
| Modifier and Type | Method and Description |
|---|---|
LeaderboardEntry |
clone() |
String |
getFormattedScore()
The localized string for the numerical value of this score.
|
String |
getFormattedScoreRank()
The localized string for the rank of this score for this leaderboard.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Player |
getPlayer()
The player who holds this score.
|
Long |
getScoreRank()
The rank of this score for this leaderboard.
|
String |
getScoreTag()
Additional information about the score.
|
Long |
getScoreValue()
The numerical value of this score.
|
String |
getTimeSpan()
The time span of this high score.
|
Long |
getWriteTimestampMillis()
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
|
LeaderboardEntry |
set(String fieldName,
Object value) |
LeaderboardEntry |
setFormattedScore(String formattedScore)
The localized string for the numerical value of this score.
|
LeaderboardEntry |
setFormattedScoreRank(String formattedScoreRank)
The localized string for the rank of this score for this leaderboard.
|
LeaderboardEntry |
setKind(String kind)
Uniquely identifies the type of this resource.
|
LeaderboardEntry |
setPlayer(Player player)
The player who holds this score.
|
LeaderboardEntry |
setScoreRank(Long scoreRank)
The rank of this score for this leaderboard.
|
LeaderboardEntry |
setScoreTag(String scoreTag)
Additional information about the score.
|
LeaderboardEntry |
setScoreValue(Long scoreValue)
The numerical value of this score.
|
LeaderboardEntry |
setTimeSpan(String timeSpan)
The time span of this high score.
|
LeaderboardEntry |
setWriteTimestampMillis(Long writeTimestampMillis)
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 String getFormattedScore()
null for nonepublic LeaderboardEntry setFormattedScore(String formattedScore)
formattedScore - formattedScore or null for nonepublic String getFormattedScoreRank()
null for nonepublic LeaderboardEntry setFormattedScoreRank(String formattedScoreRank)
formattedScoreRank - formattedScoreRank or null for nonepublic String getKind()
null for nonepublic LeaderboardEntry setKind(String kind)
kind - kind or null for nonepublic Player getPlayer()
null for nonepublic LeaderboardEntry setPlayer(Player player)
player - player or null for nonepublic Long getScoreRank()
null for nonepublic LeaderboardEntry setScoreRank(Long scoreRank)
scoreRank - scoreRank or null for nonepublic String getScoreTag()
null for nonepublic LeaderboardEntry setScoreTag(String scoreTag)
scoreTag - scoreTag or null for nonepublic Long getScoreValue()
null for nonepublic LeaderboardEntry setScoreValue(Long scoreValue)
scoreValue - scoreValue or null for nonepublic String getTimeSpan()
null for nonepublic LeaderboardEntry setTimeSpan(String timeSpan)
timeSpan - timeSpan or null for nonepublic Long getWriteTimestampMillis()
null for nonepublic LeaderboardEntry setWriteTimestampMillis(Long writeTimestampMillis)
writeTimestampMillis - writeTimestampMillis or null for nonepublic LeaderboardEntry set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LeaderboardEntry clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.