public final class RoomJoinRequest 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 |
|---|
RoomJoinRequest() |
| Modifier and Type | Method and Description |
|---|---|
RoomJoinRequest |
clone() |
List<String> |
getCapabilities()
The capabilities that this client supports for realtime communication.
|
RoomClientAddress |
getClientAddress()
Client address for the player joining the room.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
NetworkDiagnostics |
getNetworkDiagnostics()
Network diagnostics for the client joining the room.
|
RoomJoinRequest |
set(String fieldName,
Object value) |
RoomJoinRequest |
setCapabilities(List<String> capabilities)
The capabilities that this client supports for realtime communication.
|
RoomJoinRequest |
setClientAddress(RoomClientAddress clientAddress)
Client address for the player joining the room.
|
RoomJoinRequest |
setKind(String kind)
Uniquely identifies the type of this resource.
|
RoomJoinRequest |
setNetworkDiagnostics(NetworkDiagnostics networkDiagnostics)
Network diagnostics for the client joining the room.
|
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 List<String> getCapabilities()
null for nonepublic RoomJoinRequest setCapabilities(List<String> capabilities)
capabilities - capabilities or null for nonepublic RoomClientAddress getClientAddress()
null for nonepublic RoomJoinRequest setClientAddress(RoomClientAddress clientAddress)
clientAddress - clientAddress or null for nonepublic String getKind()
null for nonepublic RoomJoinRequest setKind(String kind)
kind - kind or null for nonepublic NetworkDiagnostics getNetworkDiagnostics()
null for nonepublic RoomJoinRequest setNetworkDiagnostics(NetworkDiagnostics networkDiagnostics)
networkDiagnostics - networkDiagnostics or null for nonepublic RoomJoinRequest set(String fieldName, Object value)
set in class GenericJsonpublic RoomJoinRequest clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.