public final class PlayerAchievement
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 |
|---|
PlayerAchievement() |
| Modifier and Type | Method and Description |
|---|---|
PlayerAchievement |
clone() |
java.lang.String |
getAchievementState()
The state of the achievement.
|
java.lang.Integer |
getCurrentSteps()
The current steps for an incremental achievement.
|
java.lang.Long |
getExperiencePoints()
Experience points earned for the achievement.
|
java.lang.String |
getFormattedCurrentStepsString()
The current steps for an incremental achievement as a string.
|
java.lang.String |
getId()
The ID of the achievement.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Long |
getLastUpdatedTimestamp()
The timestamp of the last modification to this achievement's state.
|
PlayerAchievement |
set(java.lang.String fieldName,
java.lang.Object value) |
PlayerAchievement |
setAchievementState(java.lang.String achievementState)
The state of the achievement.
|
PlayerAchievement |
setCurrentSteps(java.lang.Integer currentSteps)
The current steps for an incremental achievement.
|
PlayerAchievement |
setExperiencePoints(java.lang.Long experiencePoints)
Experience points earned for the achievement.
|
PlayerAchievement |
setFormattedCurrentStepsString(java.lang.String formattedCurrentStepsString)
The current steps for an incremental achievement as a string.
|
PlayerAchievement |
setId(java.lang.String id)
The ID of the achievement.
|
PlayerAchievement |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
PlayerAchievement |
setLastUpdatedTimestamp(java.lang.Long lastUpdatedTimestamp)
The timestamp of the last modification to this achievement's state.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAchievementState()
null for nonepublic PlayerAchievement setAchievementState(java.lang.String achievementState)
achievementState - achievementState or null for nonepublic java.lang.Integer getCurrentSteps()
null for nonepublic PlayerAchievement setCurrentSteps(java.lang.Integer currentSteps)
currentSteps - currentSteps or null for nonepublic java.lang.Long getExperiencePoints()
null for nonepublic PlayerAchievement setExperiencePoints(java.lang.Long experiencePoints)
experiencePoints - experiencePoints or null for nonepublic java.lang.String getFormattedCurrentStepsString()
null for nonepublic PlayerAchievement setFormattedCurrentStepsString(java.lang.String formattedCurrentStepsString)
formattedCurrentStepsString - formattedCurrentStepsString or null for nonepublic java.lang.String getId()
null for nonepublic PlayerAchievement setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic PlayerAchievement setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getLastUpdatedTimestamp()
null for nonepublic PlayerAchievement setLastUpdatedTimestamp(java.lang.Long lastUpdatedTimestamp)
lastUpdatedTimestamp - lastUpdatedTimestamp or null for nonepublic PlayerAchievement set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerAchievement clone()
clone in class com.google.api.client.json.GenericJson