public final class RoomP2PStatus 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 |
|---|
RoomP2PStatus() |
| Modifier and Type | Method and Description |
|---|---|
RoomP2PStatus |
clone() |
Integer |
getConnectionSetupLatencyMillis()
The amount of time in milliseconds it took to establish connections with this peer.
|
String |
getError()
The error code in event of a failure.
|
String |
getErrorReason()
More detailed diagnostic message returned in event of a failure.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getParticipantId()
The ID of the participant.
|
String |
getStatus()
The status of the peer in the room.
|
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(String fieldName,
Object value) |
RoomP2PStatus |
setConnectionSetupLatencyMillis(Integer connectionSetupLatencyMillis)
The amount of time in milliseconds it took to establish connections with this peer.
|
RoomP2PStatus |
setError(String error)
The error code in event of a failure.
|
RoomP2PStatus |
setErrorReason(String errorReason)
More detailed diagnostic message returned in event of a failure.
|
RoomP2PStatus |
setKind(String kind)
Uniquely identifies the type of this resource.
|
RoomP2PStatus |
setParticipantId(String participantId)
The ID of the participant.
|
RoomP2PStatus |
setStatus(String status)
The status of the peer in the room.
|
RoomP2PStatus |
setUnreliableRoundtripLatencyMillis(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, 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 Integer getConnectionSetupLatencyMillis()
null for nonepublic RoomP2PStatus setConnectionSetupLatencyMillis(Integer connectionSetupLatencyMillis)
connectionSetupLatencyMillis - connectionSetupLatencyMillis or null for nonepublic String getError()
null for nonepublic RoomP2PStatus setError(String error)
error - error or null for nonepublic String getErrorReason()
null for nonepublic RoomP2PStatus setErrorReason(String errorReason)
errorReason - errorReason or null for nonepublic String getKind()
null for nonepublic RoomP2PStatus setKind(String kind)
kind - kind or null for nonepublic String getParticipantId()
null for nonepublic RoomP2PStatus setParticipantId(String participantId)
participantId - participantId or null for nonepublic String getStatus()
null for nonepublic RoomP2PStatus setStatus(String status)
status - status or null for nonepublic Integer getUnreliableRoundtripLatencyMillis()
null for nonepublic RoomP2PStatus setUnreliableRoundtripLatencyMillis(Integer unreliableRoundtripLatencyMillis)
unreliableRoundtripLatencyMillis - unreliableRoundtripLatencyMillis or null for nonepublic RoomP2PStatus set(String fieldName, Object value)
set in class GenericJsonpublic RoomP2PStatus clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.