public final class QuestMilestone extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
QuestMilestone() |
| Modifier and Type | Method and Description |
|---|---|
QuestMilestone |
clone() |
byte[] |
decodeCompletionRewardData()
The completion reward data of the milestone, represented as a Base64-encoded string.
|
QuestMilestone |
encodeCompletionRewardData(byte[] completionRewardData)
The completion reward data of the milestone, represented as a Base64-encoded string.
|
String |
getCompletionRewardData()
The completion reward data of the milestone, represented as a Base64-encoded string.
|
List<QuestCriterion> |
getCriteria()
The criteria of the milestone.
|
String |
getId()
The milestone ID.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getState()
The current state of the milestone.
|
QuestMilestone |
set(String fieldName,
Object value) |
QuestMilestone |
setCompletionRewardData(String completionRewardData)
The completion reward data of the milestone, represented as a Base64-encoded string.
|
QuestMilestone |
setCriteria(List<QuestCriterion> criteria)
The criteria of the milestone.
|
QuestMilestone |
setId(String id)
The milestone ID.
|
QuestMilestone |
setKind(String kind)
Uniquely identifies the type of this resource.
|
QuestMilestone |
setState(String state)
The current state of the milestone.
|
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 getCompletionRewardData()
null for nonedecodeCompletionRewardData()public byte[] decodeCompletionRewardData()
null for nonegetCompletionRewardData()public QuestMilestone setCompletionRewardData(String completionRewardData)
completionRewardData - completionRewardData or null for none#encodeCompletionRewardData()public QuestMilestone encodeCompletionRewardData(byte[] completionRewardData)
The value is encoded Base64 or {@code null} for none.
public List<QuestCriterion> getCriteria()
null for nonepublic QuestMilestone setCriteria(List<QuestCriterion> criteria)
criteria - criteria or null for nonepublic String getId()
null for nonepublic QuestMilestone setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic QuestMilestone setKind(String kind)
kind - kind or null for nonepublic String getState()
null for nonepublic QuestMilestone setState(String state)
state - state or null for nonepublic QuestMilestone set(String fieldName, Object value)
set in class GenericJsonpublic QuestMilestone clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.