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: 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 |
|---|
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, 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 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 GenericJsonCopyright © 2011–2020 Google. All rights reserved.