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