public final class RoomCreateRequest 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 |
|---|
RoomCreateRequest() |
| Modifier and Type | Method and Description |
|---|---|
RoomCreateRequest |
clone() |
RoomAutoMatchingCriteria |
getAutoMatchingCriteria()
Criteria for auto-matching players into this room.
|
List<String> |
getCapabilities()
The capabilities that this client supports for realtime communication.
|
RoomClientAddress |
getClientAddress()
Client address for the player creating the room.
|
List<String> |
getInvitedPlayerIds()
The player IDs to invite to the room.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
NetworkDiagnostics |
getNetworkDiagnostics()
Network diagnostics for the client creating the room.
|
Long |
getRequestId()
A randomly generated numeric ID.
|
Integer |
getVariant()
The variant / mode of the application to be played.
|
RoomCreateRequest |
set(String fieldName,
Object value) |
RoomCreateRequest |
setAutoMatchingCriteria(RoomAutoMatchingCriteria autoMatchingCriteria)
Criteria for auto-matching players into this room.
|
RoomCreateRequest |
setCapabilities(List<String> capabilities)
The capabilities that this client supports for realtime communication.
|
RoomCreateRequest |
setClientAddress(RoomClientAddress clientAddress)
Client address for the player creating the room.
|
RoomCreateRequest |
setInvitedPlayerIds(List<String> invitedPlayerIds)
The player IDs to invite to the room.
|
RoomCreateRequest |
setKind(String kind)
Uniquely identifies the type of this resource.
|
RoomCreateRequest |
setNetworkDiagnostics(NetworkDiagnostics networkDiagnostics)
Network diagnostics for the client creating the room.
|
RoomCreateRequest |
setRequestId(Long requestId)
A randomly generated numeric ID.
|
RoomCreateRequest |
setVariant(Integer variant)
The variant / mode of the application to be played.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic RoomAutoMatchingCriteria getAutoMatchingCriteria()
null for nonepublic RoomCreateRequest setAutoMatchingCriteria(RoomAutoMatchingCriteria autoMatchingCriteria)
autoMatchingCriteria - autoMatchingCriteria or null for nonepublic List<String> getCapabilities()
null for nonepublic RoomCreateRequest setCapabilities(List<String> capabilities)
capabilities - capabilities or null for nonepublic RoomClientAddress getClientAddress()
null for nonepublic RoomCreateRequest setClientAddress(RoomClientAddress clientAddress)
clientAddress - clientAddress or null for nonepublic List<String> getInvitedPlayerIds()
null for nonepublic RoomCreateRequest setInvitedPlayerIds(List<String> invitedPlayerIds)
invitedPlayerIds - invitedPlayerIds or null for nonepublic String getKind()
null for nonepublic RoomCreateRequest setKind(String kind)
kind - kind or null for nonepublic NetworkDiagnostics getNetworkDiagnostics()
null for nonepublic RoomCreateRequest setNetworkDiagnostics(NetworkDiagnostics networkDiagnostics)
networkDiagnostics - networkDiagnostics or null for nonepublic Long getRequestId()
null for nonepublic RoomCreateRequest setRequestId(Long requestId)
requestId - requestId or null for nonepublic Integer getVariant()
null for nonepublic RoomCreateRequest setVariant(Integer variant)
variant - variant or null for nonepublic RoomCreateRequest set(String fieldName, Object value)
set in class GenericJsonpublic RoomCreateRequest clone()
clone in class GenericJson