public final class AchievementDefinition
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 |
|---|
AchievementDefinition() |
| Modifier and Type | Method and Description |
|---|---|
AchievementDefinition |
clone() |
String |
getAchievementType()
The type of the achievement.
|
String |
getDescription()
The description of the achievement.
|
Long |
getExperiencePoints()
Experience points which will be earned when unlocking this achievement.
|
String |
getFormattedTotalSteps()
The total steps for an incremental achievement as a string.
|
String |
getId()
The ID of the achievement.
|
String |
getInitialState()
The initial state of the achievement.
|
Boolean |
getIsRevealedIconUrlDefault()
Indicates whether the revealed icon image being returned is a default image, or is provided by
the game.
|
Boolean |
getIsUnlockedIconUrlDefault()
Indicates whether the unlocked icon image being returned is a default image, or is game-
provided.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getName()
The name of the achievement.
|
String |
getRevealedIconUrl()
The image URL for the revealed achievement icon.
|
Integer |
getTotalSteps()
The total steps for an incremental achievement.
|
String |
getUnlockedIconUrl()
The image URL for the unlocked achievement icon.
|
AchievementDefinition |
set(String fieldName,
Object value) |
AchievementDefinition |
setAchievementType(String achievementType)
The type of the achievement.
|
AchievementDefinition |
setDescription(String description)
The description of the achievement.
|
AchievementDefinition |
setExperiencePoints(Long experiencePoints)
Experience points which will be earned when unlocking this achievement.
|
AchievementDefinition |
setFormattedTotalSteps(String formattedTotalSteps)
The total steps for an incremental achievement as a string.
|
AchievementDefinition |
setId(String id)
The ID of the achievement.
|
AchievementDefinition |
setInitialState(String initialState)
The initial state of the achievement.
|
AchievementDefinition |
setIsRevealedIconUrlDefault(Boolean isRevealedIconUrlDefault)
Indicates whether the revealed icon image being returned is a default image, or is provided by
the game.
|
AchievementDefinition |
setIsUnlockedIconUrlDefault(Boolean isUnlockedIconUrlDefault)
Indicates whether the unlocked icon image being returned is a default image, or is game-
provided.
|
AchievementDefinition |
setKind(String kind)
Uniquely identifies the type of this resource.
|
AchievementDefinition |
setName(String name)
The name of the achievement.
|
AchievementDefinition |
setRevealedIconUrl(String revealedIconUrl)
The image URL for the revealed achievement icon.
|
AchievementDefinition |
setTotalSteps(Integer totalSteps)
The total steps for an incremental achievement.
|
AchievementDefinition |
setUnlockedIconUrl(String unlockedIconUrl)
The image URL for the unlocked achievement icon.
|
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 getAchievementType()
null for nonepublic AchievementDefinition setAchievementType(String achievementType)
achievementType - achievementType or null for nonepublic String getDescription()
null for nonepublic AchievementDefinition setDescription(String description)
description - description or null for nonepublic Long getExperiencePoints()
null for nonepublic AchievementDefinition setExperiencePoints(Long experiencePoints)
experiencePoints - experiencePoints or null for nonepublic String getFormattedTotalSteps()
null for nonepublic AchievementDefinition setFormattedTotalSteps(String formattedTotalSteps)
formattedTotalSteps - formattedTotalSteps or null for nonepublic String getId()
null for nonepublic AchievementDefinition setId(String id)
id - id or null for nonepublic String getInitialState()
null for nonepublic AchievementDefinition setInitialState(String initialState)
initialState - initialState or null for nonepublic Boolean getIsRevealedIconUrlDefault()
null for nonepublic AchievementDefinition setIsRevealedIconUrlDefault(Boolean isRevealedIconUrlDefault)
isRevealedIconUrlDefault - isRevealedIconUrlDefault or null for nonepublic Boolean getIsUnlockedIconUrlDefault()
null for nonepublic AchievementDefinition setIsUnlockedIconUrlDefault(Boolean isUnlockedIconUrlDefault)
isUnlockedIconUrlDefault - isUnlockedIconUrlDefault or null for nonepublic String getKind()
null for nonepublic AchievementDefinition setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic AchievementDefinition setName(String name)
name - name or null for nonepublic String getRevealedIconUrl()
null for nonepublic AchievementDefinition setRevealedIconUrl(String revealedIconUrl)
revealedIconUrl - revealedIconUrl or null for nonepublic Integer getTotalSteps()
null for nonepublic AchievementDefinition setTotalSteps(Integer totalSteps)
totalSteps - totalSteps or null for nonepublic String getUnlockedIconUrl()
null for nonepublic AchievementDefinition setUnlockedIconUrl(String unlockedIconUrl)
unlockedIconUrl - unlockedIconUrl or null for nonepublic AchievementDefinition set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AchievementDefinition clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.