public final class ScoreSubmission
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 |
|---|
ScoreSubmission() |
| Modifier and Type | Method and Description |
|---|---|
ScoreSubmission |
clone() |
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getLeaderboardId()
The leaderboard this score is being submitted to.
|
Long |
getScore()
The new score being submitted.
|
String |
getScoreTag()
Additional information about this score.
|
String |
getSignature()
Signature Values will contain URI-safe characters as defined by section 2.3 of RFC 3986.
|
ScoreSubmission |
set(String fieldName,
Object value) |
ScoreSubmission |
setKind(String kind)
Uniquely identifies the type of this resource.
|
ScoreSubmission |
setLeaderboardId(String leaderboardId)
The leaderboard this score is being submitted to.
|
ScoreSubmission |
setScore(Long score)
The new score being submitted.
|
ScoreSubmission |
setScoreTag(String scoreTag)
Additional information about this score.
|
ScoreSubmission |
setSignature(String signature)
Signature Values will contain URI-safe characters as defined by section 2.3 of RFC 3986.
|
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 getKind()
null for nonepublic ScoreSubmission setKind(String kind)
kind - kind or null for nonepublic String getLeaderboardId()
null for nonepublic ScoreSubmission setLeaderboardId(String leaderboardId)
leaderboardId - leaderboardId or null for nonepublic Long getScore()
null for nonepublic ScoreSubmission setScore(Long score)
score - score or null for nonepublic String getScoreTag()
null for nonepublic ScoreSubmission setScoreTag(String scoreTag)
scoreTag - scoreTag or null for nonepublic String getSignature()
null for nonepublic ScoreSubmission setSignature(String signature)
signature - signature or null for nonepublic ScoreSubmission set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ScoreSubmission clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.