public final class NetworkDiagnostics
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 |
|---|
NetworkDiagnostics() |
| Modifier and Type | Method and Description |
|---|---|
NetworkDiagnostics |
clone() |
java.lang.Integer |
getAndroidNetworkSubtype()
The Android network subtype.
|
java.lang.Integer |
getAndroidNetworkType()
The Android network type.
|
java.lang.Integer |
getIosNetworkType()
iOS network type as defined in Reachability.h.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getNetworkOperatorCode()
The MCC+MNC code for the client's network connection.
|
java.lang.String |
getNetworkOperatorName()
The name of the carrier of the client's network connection.
|
java.lang.Integer |
getRegistrationLatencyMillis()
The amount of time in milliseconds it took for the client to establish a connection with the
XMPP server.
|
NetworkDiagnostics |
set(java.lang.String fieldName,
java.lang.Object value) |
NetworkDiagnostics |
setAndroidNetworkSubtype(java.lang.Integer androidNetworkSubtype)
The Android network subtype.
|
NetworkDiagnostics |
setAndroidNetworkType(java.lang.Integer androidNetworkType)
The Android network type.
|
NetworkDiagnostics |
setIosNetworkType(java.lang.Integer iosNetworkType)
iOS network type as defined in Reachability.h.
|
NetworkDiagnostics |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
NetworkDiagnostics |
setNetworkOperatorCode(java.lang.String networkOperatorCode)
The MCC+MNC code for the client's network connection.
|
NetworkDiagnostics |
setNetworkOperatorName(java.lang.String networkOperatorName)
The name of the carrier of the client's network connection.
|
NetworkDiagnostics |
setRegistrationLatencyMillis(java.lang.Integer registrationLatencyMillis)
The amount of time in milliseconds it took for the client to establish a connection with the
XMPP server.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getAndroidNetworkSubtype()
null for nonepublic NetworkDiagnostics setAndroidNetworkSubtype(java.lang.Integer androidNetworkSubtype)
androidNetworkSubtype - androidNetworkSubtype or null for nonepublic java.lang.Integer getAndroidNetworkType()
null for nonepublic NetworkDiagnostics setAndroidNetworkType(java.lang.Integer androidNetworkType)
androidNetworkType - androidNetworkType or null for nonepublic java.lang.Integer getIosNetworkType()
null for nonepublic NetworkDiagnostics setIosNetworkType(java.lang.Integer iosNetworkType)
iosNetworkType - iosNetworkType or null for nonepublic java.lang.String getKind()
null for nonepublic NetworkDiagnostics setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getNetworkOperatorCode()
null for nonepublic NetworkDiagnostics setNetworkOperatorCode(java.lang.String networkOperatorCode)
networkOperatorCode - networkOperatorCode or null for nonepublic java.lang.String getNetworkOperatorName()
null for nonepublic NetworkDiagnostics setNetworkOperatorName(java.lang.String networkOperatorName)
networkOperatorName - networkOperatorName or null for nonepublic java.lang.Integer getRegistrationLatencyMillis()
null for nonepublic NetworkDiagnostics setRegistrationLatencyMillis(java.lang.Integer registrationLatencyMillis)
registrationLatencyMillis - registrationLatencyMillis or null for nonepublic NetworkDiagnostics set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic NetworkDiagnostics clone()
clone in class com.google.api.client.json.GenericJson