public final class Room
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 |
|---|
Room() |
| Modifier and Type | Method and Description |
|---|---|
Room |
clone() |
java.lang.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.
|
java.lang.String |
getDescription()
This short description is generated by our servers and worded relative to the player requesting
the room.
|
java.lang.String |
getInviterId()
The ID of the participant that invited the user to the room.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
RoomModification |
getLastUpdateDetails()
Details about the last update to the room.
|
java.util.List<RoomParticipant> |
getParticipants()
The participants involved in the room, along with their statuses.
|
java.lang.String |
getRoomId()
Globally unique ID for a room.
|
java.lang.Integer |
getRoomStatusVersion()
The version of the room status: an increasing counter, used by the client to ignore out-of-
order updates to room status.
|
java.lang.String |
getStatus()
The status of the room.
|
java.lang.Integer |
getVariant()
The variant / mode of the application being played; can be any integer value, or left blank.
|
Room |
set(java.lang.String fieldName,
java.lang.Object value) |
Room |
setApplicationId(java.lang.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(java.lang.String description)
This short description is generated by our servers and worded relative to the player requesting
the room.
|
Room |
setInviterId(java.lang.String inviterId)
The ID of the participant that invited the user to the room.
|
Room |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
Room |
setLastUpdateDetails(RoomModification lastUpdateDetails)
Details about the last update to the room.
|
Room |
setParticipants(java.util.List<RoomParticipant> participants)
The participants involved in the room, along with their statuses.
|
Room |
setRoomId(java.lang.String roomId)
Globally unique ID for a room.
|
Room |
setRoomStatusVersion(java.lang.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(java.lang.String status)
The status of the room.
|
Room |
setVariant(java.lang.Integer variant)
The variant / mode of the application being played; can be any integer value, or left blank.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getApplicationId()
null for nonepublic Room setApplicationId(java.lang.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 java.lang.String getDescription()
null for nonepublic Room setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getInviterId()
null for nonepublic Room setInviterId(java.lang.String inviterId)
inviterId - inviterId or null for nonepublic java.lang.String getKind()
null for nonepublic Room setKind(java.lang.String kind)
kind - kind or null for nonepublic RoomModification getLastUpdateDetails()
null for nonepublic Room setLastUpdateDetails(RoomModification lastUpdateDetails)
lastUpdateDetails - lastUpdateDetails or null for nonepublic java.util.List<RoomParticipant> getParticipants()
null for nonepublic Room setParticipants(java.util.List<RoomParticipant> participants)
participants - participants or null for nonepublic java.lang.String getRoomId()
null for nonepublic Room setRoomId(java.lang.String roomId)
roomId - roomId or null for nonepublic java.lang.Integer getRoomStatusVersion()
null for nonepublic Room setRoomStatusVersion(java.lang.Integer roomStatusVersion)
roomStatusVersion - roomStatusVersion or null for nonepublic java.lang.String getStatus()
null for nonepublic Room setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.Integer getVariant()
null for nonepublic Room setVariant(java.lang.Integer variant)
variant - variant or null for nonepublic Room set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Room clone()
clone in class com.google.api.client.json.GenericJson