public final class RoomStatus 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 |
|---|
RoomStatus() |
| Modifier and Type | Method and Description |
|---|---|
RoomStatus |
clone() |
RoomAutoMatchStatus |
getAutoMatchingStatus()
Auto-matching status for this room.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
List<RoomParticipant> |
getParticipants()
The participants involved in the room, along with their statuses.
|
String |
getRoomId()
Globally unique ID for a room.
|
String |
getStatus()
The status of the room.
|
Integer |
getStatusVersion()
The version of the status for the room: an increasing counter, used by the client to ignore
out-of-order updates to room status.
|
RoomStatus |
set(String fieldName,
Object value) |
RoomStatus |
setAutoMatchingStatus(RoomAutoMatchStatus autoMatchingStatus)
Auto-matching status for this room.
|
RoomStatus |
setKind(String kind)
Uniquely identifies the type of this resource.
|
RoomStatus |
setParticipants(List<RoomParticipant> participants)
The participants involved in the room, along with their statuses.
|
RoomStatus |
setRoomId(String roomId)
Globally unique ID for a room.
|
RoomStatus |
setStatus(String status)
The status of the room.
|
RoomStatus |
setStatusVersion(Integer statusVersion)
The version of the status for the room: an increasing counter, used by the client to ignore
out-of-order updates to room status.
|
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 RoomAutoMatchStatus getAutoMatchingStatus()
null for nonepublic RoomStatus setAutoMatchingStatus(RoomAutoMatchStatus autoMatchingStatus)
autoMatchingStatus - autoMatchingStatus or null for nonepublic String getKind()
null for nonepublic RoomStatus setKind(String kind)
kind - kind or null for nonepublic List<RoomParticipant> getParticipants()
null for nonepublic RoomStatus setParticipants(List<RoomParticipant> participants)
participants - participants or null for nonepublic String getRoomId()
null for nonepublic RoomStatus setRoomId(String roomId)
roomId - roomId or null for nonepublic String getStatus()
null for nonepublic RoomStatus setStatus(String status)
status - status or null for nonepublic Integer getStatusVersion()
null for nonepublic RoomStatus setStatusVersion(Integer statusVersion)
statusVersion - statusVersion or null for nonepublic RoomStatus set(String fieldName, Object value)
set in class GenericJsonpublic RoomStatus clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.