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 Game Services API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
LeaderboardEntry() |
| Modifier and Type | Method and Description |
|---|---|
LeaderboardEntry |
clone() |
java.lang.String |
getFormattedScore()
The localized string for the numerical value of this score.
|
java.lang.String |
getFormattedScoreRank()
The localized string for the rank of this score for this leaderboard.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
Player |
getPlayer()
The player who holds this score.
|
java.lang.Long |
getScoreRank()
The rank of this score for this leaderboard.
|
java.lang.String |
getScoreTag()
Additional information about the score.
|
java.lang.Long |
getScoreValue()
The numerical value of this score.
|
java.lang.String |
getTimeSpan()
The time span of this high score.
|
java.lang.Long |
getWriteTimestampMillis()
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
|
LeaderboardEntry |
set(java.lang.String fieldName,
java.lang.Object value) |
LeaderboardEntry |
setFormattedScore(java.lang.String formattedScore)
The localized string for the numerical value of this score.
|
LeaderboardEntry |
setFormattedScoreRank(java.lang.String formattedScoreRank)
The localized string for the rank of this score for this leaderboard.
|
LeaderboardEntry |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
LeaderboardEntry |
setPlayer(Player player)
The player who holds this score.
|
LeaderboardEntry |
setScoreRank(java.lang.Long scoreRank)
The rank of this score for this leaderboard.
|
LeaderboardEntry |
setScoreTag(java.lang.String scoreTag)
Additional information about the score.
|
LeaderboardEntry |
setScoreValue(java.lang.Long scoreValue)
The numerical value of this score.
|
LeaderboardEntry |
setTimeSpan(java.lang.String timeSpan)
The time span of this high score.
|
LeaderboardEntry |
setWriteTimestampMillis(java.lang.Long writeTimestampMillis)
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getFormattedScore()
null for nonepublic LeaderboardEntry setFormattedScore(java.lang.String formattedScore)
formattedScore - formattedScore or null for nonepublic java.lang.String getFormattedScoreRank()
null for nonepublic LeaderboardEntry setFormattedScoreRank(java.lang.String formattedScoreRank)
formattedScoreRank - formattedScoreRank or null for nonepublic java.lang.String getKind()
null for nonepublic LeaderboardEntry setKind(java.lang.String kind)
kind - kind or null for nonepublic Player getPlayer()
null for nonepublic LeaderboardEntry setPlayer(Player player)
player - player or null for nonepublic java.lang.Long getScoreRank()
null for nonepublic LeaderboardEntry setScoreRank(java.lang.Long scoreRank)
scoreRank - scoreRank or null for nonepublic java.lang.String getScoreTag()
null for nonepublic LeaderboardEntry setScoreTag(java.lang.String scoreTag)
scoreTag - scoreTag or null for nonepublic java.lang.Long getScoreValue()
null for nonepublic LeaderboardEntry setScoreValue(java.lang.Long scoreValue)
scoreValue - scoreValue or null for nonepublic java.lang.String getTimeSpan()
null for nonepublic LeaderboardEntry setTimeSpan(java.lang.String timeSpan)
timeSpan - timeSpan or null for nonepublic java.lang.Long getWriteTimestampMillis()
null for nonepublic LeaderboardEntry setWriteTimestampMillis(java.lang.Long writeTimestampMillis)
writeTimestampMillis - writeTimestampMillis or null for nonepublic LeaderboardEntry set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LeaderboardEntry clone()
clone in class com.google.api.client.json.GenericJson