public final class PeerSessionDiagnostics
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 |
|---|
PeerSessionDiagnostics() |
| Modifier and Type | Method and Description |
|---|---|
PeerSessionDiagnostics |
clone() |
java.lang.Long |
getConnectedTimestampMillis()
Connected time in milliseconds.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getParticipantId()
The participant ID of the peer.
|
PeerChannelDiagnostics |
getReliableChannel()
Reliable channel diagnostics.
|
PeerChannelDiagnostics |
getUnreliableChannel()
Unreliable channel diagnostics.
|
PeerSessionDiagnostics |
set(java.lang.String fieldName,
java.lang.Object value) |
PeerSessionDiagnostics |
setConnectedTimestampMillis(java.lang.Long connectedTimestampMillis)
Connected time in milliseconds.
|
PeerSessionDiagnostics |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
PeerSessionDiagnostics |
setParticipantId(java.lang.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, setUnknownKeyspublic java.lang.Long getConnectedTimestampMillis()
null for nonepublic PeerSessionDiagnostics setConnectedTimestampMillis(java.lang.Long connectedTimestampMillis)
connectedTimestampMillis - connectedTimestampMillis or null for nonepublic java.lang.String getKind()
null for nonepublic PeerSessionDiagnostics setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getParticipantId()
null for nonepublic PeerSessionDiagnostics setParticipantId(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PeerSessionDiagnostics clone()
clone in class com.google.api.client.json.GenericJson