public final class RoomP2PStatus
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
RoomP2PStatus() |
| Modifier and Type | Method and Description |
|---|---|
RoomP2PStatus |
clone() |
java.lang.Integer |
getConnectionSetupLatencyMillis()
The amount of time in milliseconds it took to establish connections with this peer.
|
java.lang.String |
getError()
The error code in event of a failure.
|
java.lang.String |
getErrorReason()
More detailed diagnostic message returned in event of a failure.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getParticipantId()
The ID of the participant.
|
java.lang.String |
getStatus()
The status of the peer in the room.
|
java.lang.Integer |
getUnreliableRoundtripLatencyMillis()
The amount of time in milliseconds it took to send packets back and forth on the unreliable
channel with this peer.
|
RoomP2PStatus |
set(java.lang.String fieldName,
java.lang.Object value) |
RoomP2PStatus |
setConnectionSetupLatencyMillis(java.lang.Integer connectionSetupLatencyMillis)
The amount of time in milliseconds it took to establish connections with this peer.
|
RoomP2PStatus |
setError(java.lang.String error)
The error code in event of a failure.
|
RoomP2PStatus |
setErrorReason(java.lang.String errorReason)
More detailed diagnostic message returned in event of a failure.
|
RoomP2PStatus |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
RoomP2PStatus |
setParticipantId(java.lang.String participantId)
The ID of the participant.
|
RoomP2PStatus |
setStatus(java.lang.String status)
The status of the peer in the room.
|
RoomP2PStatus |
setUnreliableRoundtripLatencyMillis(java.lang.Integer unreliableRoundtripLatencyMillis)
The amount of time in milliseconds it took to send packets back and forth on the unreliable
channel with this peer.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getConnectionSetupLatencyMillis()
null for nonepublic RoomP2PStatus setConnectionSetupLatencyMillis(java.lang.Integer connectionSetupLatencyMillis)
connectionSetupLatencyMillis - connectionSetupLatencyMillis or null for nonepublic java.lang.String getError()
null for nonepublic RoomP2PStatus setError(java.lang.String error)
error - error or null for nonepublic java.lang.String getErrorReason()
null for nonepublic RoomP2PStatus setErrorReason(java.lang.String errorReason)
errorReason - errorReason or null for nonepublic java.lang.String getKind()
null for nonepublic RoomP2PStatus setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getParticipantId()
null for nonepublic RoomP2PStatus setParticipantId(java.lang.String participantId)
participantId - participantId or null for nonepublic java.lang.String getStatus()
null for nonepublic RoomP2PStatus setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.Integer getUnreliableRoundtripLatencyMillis()
null for nonepublic RoomP2PStatus setUnreliableRoundtripLatencyMillis(java.lang.Integer unreliableRoundtripLatencyMillis)
unreliableRoundtripLatencyMillis - unreliableRoundtripLatencyMillis or null for nonepublic RoomP2PStatus set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic RoomP2PStatus clone()
clone in class com.google.api.client.json.GenericJson