public final class Room 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 |
|---|
Room() |
| Modifier and Type | Method and Description |
|---|---|
Room |
clone() |
String |
getApplicationId()
The ID of the application being played.
|
RoomAutoMatchingCriteria |
getAutoMatchingCriteria()
Criteria for auto-matching players into this room.
|
RoomAutoMatchStatus |
getAutoMatchingStatus()
Auto-matching status for this room.
|
RoomModification |
getCreationDetails()
Details about the room creation.
|
String |
getDescription()
This short description is generated by our servers and worded relative to the player requesting
the room.
|
String |
getInviterId()
The ID of the participant that invited the user to the room.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
RoomModification |
getLastUpdateDetails()
Details about the last update to the room.
|
List<RoomParticipant> |
getParticipants()
The participants involved in the room, along with their statuses.
|
String |
getRoomId()
Globally unique ID for a room.
|
Integer |
getRoomStatusVersion()
The version of the room status: an increasing counter, used by the client to ignore out-of-
order updates to room status.
|
String |
getStatus()
The status of the room.
|
Integer |
getVariant()
The variant / mode of the application being played; can be any integer value, or left blank.
|
Room |
set(String fieldName,
Object value) |
Room |
setApplicationId(String applicationId)
The ID of the application being played.
|
Room |
setAutoMatchingCriteria(RoomAutoMatchingCriteria autoMatchingCriteria)
Criteria for auto-matching players into this room.
|
Room |
setAutoMatchingStatus(RoomAutoMatchStatus autoMatchingStatus)
Auto-matching status for this room.
|
Room |
setCreationDetails(RoomModification creationDetails)
Details about the room creation.
|
Room |
setDescription(String description)
This short description is generated by our servers and worded relative to the player requesting
the room.
|
Room |
setInviterId(String inviterId)
The ID of the participant that invited the user to the room.
|
Room |
setKind(String kind)
Uniquely identifies the type of this resource.
|
Room |
setLastUpdateDetails(RoomModification lastUpdateDetails)
Details about the last update to the room.
|
Room |
setParticipants(List<RoomParticipant> participants)
The participants involved in the room, along with their statuses.
|
Room |
setRoomId(String roomId)
Globally unique ID for a room.
|
Room |
setRoomStatusVersion(Integer roomStatusVersion)
The version of the room status: an increasing counter, used by the client to ignore out-of-
order updates to room status.
|
Room |
setStatus(String status)
The status of the room.
|
Room |
setVariant(Integer variant)
The variant / mode of the application being played; can be any integer value, or left blank.
|
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 String getApplicationId()
null for nonepublic Room setApplicationId(String applicationId)
applicationId - applicationId or null for nonepublic RoomAutoMatchingCriteria getAutoMatchingCriteria()
null for nonepublic Room setAutoMatchingCriteria(RoomAutoMatchingCriteria autoMatchingCriteria)
autoMatchingCriteria - autoMatchingCriteria or null for nonepublic RoomAutoMatchStatus getAutoMatchingStatus()
null for nonepublic Room setAutoMatchingStatus(RoomAutoMatchStatus autoMatchingStatus)
autoMatchingStatus - autoMatchingStatus or null for nonepublic RoomModification getCreationDetails()
null for nonepublic Room setCreationDetails(RoomModification creationDetails)
creationDetails - creationDetails or null for nonepublic String getDescription()
null for nonepublic Room setDescription(String description)
description - description or null for nonepublic String getInviterId()
null for nonepublic Room setInviterId(String inviterId)
inviterId - inviterId or null for nonepublic String getKind()
null for nonepublic Room setKind(String kind)
kind - kind or null for nonepublic RoomModification getLastUpdateDetails()
null for nonepublic Room setLastUpdateDetails(RoomModification lastUpdateDetails)
lastUpdateDetails - lastUpdateDetails or null for nonepublic List<RoomParticipant> getParticipants()
null for nonepublic Room setParticipants(List<RoomParticipant> participants)
participants - participants or null for nonepublic String getRoomId()
null for nonepublic Room setRoomId(String roomId)
roomId - roomId or null for nonepublic Integer getRoomStatusVersion()
null for nonepublic Room setRoomStatusVersion(Integer roomStatusVersion)
roomStatusVersion - roomStatusVersion or null for nonepublic String getStatus()
null for nonepublic Room setStatus(String status)
status - status or null for nonepublic Integer getVariant()
null for nonepublic Room setVariant(Integer variant)
variant - variant or null for nonepublic Room set(String fieldName, Object value)
set in class GenericJsonpublic Room clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.