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 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 |
|---|
PlayerAchievement() |
| Modifier and Type | Method and Description |
|---|---|
PlayerAchievement |
clone() |
String |
getAchievementState()
The state of the achievement.
|
Integer |
getCurrentSteps()
The current steps for an incremental achievement.
|
Long |
getExperiencePoints()
Experience points earned for the achievement.
|
String |
getFormattedCurrentStepsString()
The current steps for an incremental achievement as a string.
|
String |
getId()
The ID of the achievement.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Long |
getLastUpdatedTimestamp()
The timestamp of the last modification to this achievement's state.
|
PlayerAchievement |
set(String fieldName,
Object value) |
PlayerAchievement |
setAchievementState(String achievementState)
The state of the achievement.
|
PlayerAchievement |
setCurrentSteps(Integer currentSteps)
The current steps for an incremental achievement.
|
PlayerAchievement |
setExperiencePoints(Long experiencePoints)
Experience points earned for the achievement.
|
PlayerAchievement |
setFormattedCurrentStepsString(String formattedCurrentStepsString)
The current steps for an incremental achievement as a string.
|
PlayerAchievement |
setId(String id)
The ID of the achievement.
|
PlayerAchievement |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerAchievement |
setLastUpdatedTimestamp(Long lastUpdatedTimestamp)
The timestamp of the last modification to this achievement's state.
|
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 getAchievementState()
null for nonepublic PlayerAchievement setAchievementState(String achievementState)
achievementState - achievementState or null for nonepublic Integer getCurrentSteps()
null for nonepublic PlayerAchievement setCurrentSteps(Integer currentSteps)
currentSteps - currentSteps or null for nonepublic Long getExperiencePoints()
null for nonepublic PlayerAchievement setExperiencePoints(Long experiencePoints)
experiencePoints - experiencePoints or null for nonepublic String getFormattedCurrentStepsString()
null for nonepublic PlayerAchievement setFormattedCurrentStepsString(String formattedCurrentStepsString)
formattedCurrentStepsString - formattedCurrentStepsString or null for nonepublic String getId()
null for nonepublic PlayerAchievement setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic PlayerAchievement setKind(String kind)
kind - kind or null for nonepublic Long getLastUpdatedTimestamp()
null for nonepublic PlayerAchievement setLastUpdatedTimestamp(Long lastUpdatedTimestamp)
lastUpdatedTimestamp - lastUpdatedTimestamp or null for nonepublic PlayerAchievement set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerAchievement clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.