public final class TurnBasedMatchDataRequest 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 |
|---|
TurnBasedMatchDataRequest() |
| Modifier and Type | Method and Description |
|---|---|
TurnBasedMatchDataRequest |
clone() |
byte[] |
decodeData()
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the
URL_SAFE encoding option.
|
TurnBasedMatchDataRequest |
encodeData(byte[] data)
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the
URL_SAFE encoding option.
|
String |
getData()
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the
URL_SAFE encoding option.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
TurnBasedMatchDataRequest |
set(String fieldName,
Object value) |
TurnBasedMatchDataRequest |
setData(String data)
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the
URL_SAFE encoding option.
|
TurnBasedMatchDataRequest |
setKind(String kind)
Uniquely identifies the type of this resource.
|
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 getData()
null for nonedecodeData()public byte[] decodeData()
null for nonegetData()public TurnBasedMatchDataRequest setData(String data)
data - data or null for none#encodeData()public TurnBasedMatchDataRequest encodeData(byte[] data)
The value is encoded Base64 or {@code null} for none.
public String getKind()
null for nonepublic TurnBasedMatchDataRequest setKind(String kind)
kind - kind or null for nonepublic TurnBasedMatchDataRequest set(String fieldName, Object value)
set in class GenericJsonpublic TurnBasedMatchDataRequest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.