public final class PeerSessionDiagnostics 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PeerSessionDiagnostics() |
| Modifier and Type | Method and Description |
|---|---|
PeerSessionDiagnostics |
clone() |
Long |
getConnectedTimestampMillis()
Connected time in milliseconds.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getParticipantId()
The participant ID of the peer.
|
PeerChannelDiagnostics |
getReliableChannel()
Reliable channel diagnostics.
|
PeerChannelDiagnostics |
getUnreliableChannel()
Unreliable channel diagnostics.
|
PeerSessionDiagnostics |
set(String fieldName,
Object value) |
PeerSessionDiagnostics |
setConnectedTimestampMillis(Long connectedTimestampMillis)
Connected time in milliseconds.
|
PeerSessionDiagnostics |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PeerSessionDiagnostics |
setParticipantId(String participantId)
The participant ID of the peer.
|
PeerSessionDiagnostics |
setReliableChannel(PeerChannelDiagnostics reliableChannel)
Reliable channel diagnostics.
|
PeerSessionDiagnostics |
setUnreliableChannel(PeerChannelDiagnostics unreliableChannel)
Unreliable channel diagnostics.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Long getConnectedTimestampMillis()
null for nonepublic PeerSessionDiagnostics setConnectedTimestampMillis(Long connectedTimestampMillis)
connectedTimestampMillis - connectedTimestampMillis or null for nonepublic String getKind()
null for nonepublic PeerSessionDiagnostics setKind(String kind)
kind - kind or null for nonepublic String getParticipantId()
null for nonepublic PeerSessionDiagnostics setParticipantId(String participantId)
participantId - participantId or null for nonepublic PeerChannelDiagnostics getReliableChannel()
null for nonepublic PeerSessionDiagnostics setReliableChannel(PeerChannelDiagnostics reliableChannel)
reliableChannel - reliableChannel or null for nonepublic PeerChannelDiagnostics getUnreliableChannel()
null for nonepublic PeerSessionDiagnostics setUnreliableChannel(PeerChannelDiagnostics unreliableChannel)
unreliableChannel - unreliableChannel or null for nonepublic PeerSessionDiagnostics set(String fieldName, Object value)
set in class GenericJsonpublic PeerSessionDiagnostics clone()
clone in class GenericJson