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: http://code.google.com/p/google-http-java-client/wiki/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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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 GenericJson