public final class PeerChannelDiagnostics 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 |
|---|
PeerChannelDiagnostics() |
| Modifier and Type | Method and Description |
|---|---|
PeerChannelDiagnostics |
clone() |
AggregateStats |
getBytesReceived()
Number of bytes received.
|
AggregateStats |
getBytesSent()
Number of bytes sent.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Integer |
getNumMessagesLost()
Number of messages lost.
|
Integer |
getNumMessagesReceived()
Number of messages received.
|
Integer |
getNumMessagesSent()
Number of messages sent.
|
Integer |
getNumSendFailures()
Number of send failures.
|
AggregateStats |
getRoundtripLatencyMillis()
Roundtrip latency stats in milliseconds.
|
PeerChannelDiagnostics |
set(String fieldName,
Object value) |
PeerChannelDiagnostics |
setBytesReceived(AggregateStats bytesReceived)
Number of bytes received.
|
PeerChannelDiagnostics |
setBytesSent(AggregateStats bytesSent)
Number of bytes sent.
|
PeerChannelDiagnostics |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PeerChannelDiagnostics |
setNumMessagesLost(Integer numMessagesLost)
Number of messages lost.
|
PeerChannelDiagnostics |
setNumMessagesReceived(Integer numMessagesReceived)
Number of messages received.
|
PeerChannelDiagnostics |
setNumMessagesSent(Integer numMessagesSent)
Number of messages sent.
|
PeerChannelDiagnostics |
setNumSendFailures(Integer numSendFailures)
Number of send failures.
|
PeerChannelDiagnostics |
setRoundtripLatencyMillis(AggregateStats roundtripLatencyMillis)
Roundtrip latency stats in milliseconds.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic AggregateStats getBytesReceived()
null for nonepublic PeerChannelDiagnostics setBytesReceived(AggregateStats bytesReceived)
bytesReceived - bytesReceived or null for nonepublic AggregateStats getBytesSent()
null for nonepublic PeerChannelDiagnostics setBytesSent(AggregateStats bytesSent)
bytesSent - bytesSent or null for nonepublic String getKind()
null for nonepublic PeerChannelDiagnostics setKind(String kind)
kind - kind or null for nonepublic Integer getNumMessagesLost()
null for nonepublic PeerChannelDiagnostics setNumMessagesLost(Integer numMessagesLost)
numMessagesLost - numMessagesLost or null for nonepublic Integer getNumMessagesReceived()
null for nonepublic PeerChannelDiagnostics setNumMessagesReceived(Integer numMessagesReceived)
numMessagesReceived - numMessagesReceived or null for nonepublic Integer getNumMessagesSent()
null for nonepublic PeerChannelDiagnostics setNumMessagesSent(Integer numMessagesSent)
numMessagesSent - numMessagesSent or null for nonepublic Integer getNumSendFailures()
null for nonepublic PeerChannelDiagnostics setNumSendFailures(Integer numSendFailures)
numSendFailures - numSendFailures or null for nonepublic AggregateStats getRoundtripLatencyMillis()
null for nonepublic PeerChannelDiagnostics setRoundtripLatencyMillis(AggregateStats roundtripLatencyMillis)
roundtripLatencyMillis - roundtripLatencyMillis or null for nonepublic PeerChannelDiagnostics set(String fieldName, Object value)
set in class GenericJsonpublic PeerChannelDiagnostics clone()
clone in class GenericJson