public final class QuestMilestone
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 |
|---|
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.
|
java.lang.String |
getCompletionRewardData()
The completion reward data of the milestone, represented as a Base64-encoded string.
|
java.util.List<QuestCriterion> |
getCriteria()
The criteria of the milestone.
|
java.lang.String |
getId()
The milestone ID.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getState()
The current state of the milestone.
|
QuestMilestone |
set(java.lang.String fieldName,
java.lang.Object value) |
QuestMilestone |
setCompletionRewardData(java.lang.String completionRewardData)
The completion reward data of the milestone, represented as a Base64-encoded string.
|
QuestMilestone |
setCriteria(java.util.List<QuestCriterion> criteria)
The criteria of the milestone.
|
QuestMilestone |
setId(java.lang.String id)
The milestone ID.
|
QuestMilestone |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
QuestMilestone |
setState(java.lang.String state)
The current state of the milestone.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCompletionRewardData()
null for nonedecodeCompletionRewardData()public byte[] decodeCompletionRewardData()
null for nonegetCompletionRewardData()public QuestMilestone setCompletionRewardData(java.lang.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 java.util.List<QuestCriterion> getCriteria()
null for nonepublic QuestMilestone setCriteria(java.util.List<QuestCriterion> criteria)
criteria - criteria or null for nonepublic java.lang.String getId()
null for nonepublic QuestMilestone setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic QuestMilestone setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getState()
null for nonepublic QuestMilestone setState(java.lang.String state)
state - state or null for nonepublic QuestMilestone set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic QuestMilestone clone()
clone in class com.google.api.client.json.GenericJson