public final class TurnBasedMatchDataRequest
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 |
|---|
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.
|
java.lang.String |
getData()
The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the
URL_SAFE encoding option.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
TurnBasedMatchDataRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
TurnBasedMatchDataRequest |
setData(java.lang.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(java.lang.String kind)
Uniquely identifies the type of this resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getData()
null for nonedecodeData()public byte[] decodeData()
null for nonegetData()public TurnBasedMatchDataRequest setData(java.lang.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 java.lang.String getKind()
null for nonepublic TurnBasedMatchDataRequest setKind(java.lang.String kind)
kind - kind or null for nonepublic TurnBasedMatchDataRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TurnBasedMatchDataRequest clone()
clone in class com.google.api.client.json.GenericJson