public final class PlayerLeaderboardScore extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PlayerLeaderboardScore() |
| Modifier and Type | Method and Description |
|---|---|
PlayerLeaderboardScore |
clone() |
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.
|
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 |
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 |
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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 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 GenericJsonpublic PlayerLeaderboardScore clone()
clone in class GenericJson