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 Game 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.Flags| Constructor and Description |
|---|
PlayerLeaderboardScore() |
| Modifier and Type | Method and Description |
|---|---|
PlayerLeaderboardScore |
clone() |
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getLeaderboardId()
The ID of the leaderboard this score is in.
|
LeaderboardScoreRank |
getPublicRank()
The public rank of the score in this leaderboard.
|
java.lang.String |
getScoreString()
The formatted value of this score.
|
java.lang.String |
getScoreTag()
Additional information about the score.
|
java.lang.Long |
getScoreValue()
The numerical value of this score.
|
LeaderboardScoreRank |
getSocialRank()
The social rank of the score in this leaderboard.
|
java.lang.String |
getTimeSpan()
The time span of this score.
|
java.lang.Long |
getWriteTimestamp()
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
|
PlayerLeaderboardScore |
set(java.lang.String fieldName,
java.lang.Object value) |
PlayerLeaderboardScore |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
PlayerLeaderboardScore |
setLeaderboardId(java.lang.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(java.lang.String scoreString)
The formatted value of this score.
|
PlayerLeaderboardScore |
setScoreTag(java.lang.String scoreTag)
Additional information about the score.
|
PlayerLeaderboardScore |
setScoreValue(java.lang.Long scoreValue)
The numerical value of this score.
|
PlayerLeaderboardScore |
setSocialRank(LeaderboardScoreRank socialRank)
The social rank of the score in this leaderboard.
|
PlayerLeaderboardScore |
setTimeSpan(java.lang.String timeSpan)
The time span of this score.
|
PlayerLeaderboardScore |
setWriteTimestamp(java.lang.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, setUnknownKeyspublic java.lang.String getKind()
null for nonepublic PlayerLeaderboardScore setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLeaderboardId()
null for nonepublic PlayerLeaderboardScore setLeaderboardId(java.lang.String leaderboardId)
leaderboardId - leaderboardId or null for nonepublic LeaderboardScoreRank getPublicRank()
null for nonepublic PlayerLeaderboardScore setPublicRank(LeaderboardScoreRank publicRank)
publicRank - publicRank or null for nonepublic java.lang.String getScoreString()
null for nonepublic PlayerLeaderboardScore setScoreString(java.lang.String scoreString)
scoreString - scoreString or null for nonepublic java.lang.String getScoreTag()
null for nonepublic PlayerLeaderboardScore setScoreTag(java.lang.String scoreTag)
scoreTag - scoreTag or null for nonepublic java.lang.Long getScoreValue()
null for nonepublic PlayerLeaderboardScore setScoreValue(java.lang.Long scoreValue)
scoreValue - scoreValue or null for nonepublic LeaderboardScoreRank getSocialRank()
null for nonepublic PlayerLeaderboardScore setSocialRank(LeaderboardScoreRank socialRank)
socialRank - socialRank or null for nonepublic java.lang.String getTimeSpan()
null for nonepublic PlayerLeaderboardScore setTimeSpan(java.lang.String timeSpan)
timeSpan - timeSpan or null for nonepublic java.lang.Long getWriteTimestamp()
null for nonepublic PlayerLeaderboardScore setWriteTimestamp(java.lang.Long writeTimestamp)
writeTimestamp - writeTimestamp or null for nonepublic PlayerLeaderboardScore set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerLeaderboardScore clone()
clone in class com.google.api.client.json.GenericJson