games
v1
|
#include <peer_channel_diagnostics.h>
Static Public Member Functions | |
static PeerChannelDiagnostics * | New () |
This is a JSON template for peer channel diagnostics.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'bytesReceived
' attribute.
|
inline |
Clears the 'bytesSent
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'numMessagesLost
' attribute.
|
inline |
Clears the 'numMessagesReceived
' attribute.
|
inline |
Clears the 'numMessagesSent
' attribute.
|
inline |
Clears the 'numSendFailures
' attribute.
|
inline |
Clears the 'roundtripLatencyMillis
' attribute.
const AggregateStats google_games_api::PeerChannelDiagnostics::get_bytes_received | ( | ) | const |
Get a reference to the value of the 'bytesReceived
' attribute.
const AggregateStats google_games_api::PeerChannelDiagnostics::get_bytes_sent | ( | ) | const |
Get a reference to the value of the 'bytesSent
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'numMessagesLost
' attribute.
|
inline |
Get the value of the 'numMessagesReceived
' attribute.
|
inline |
Get the value of the 'numMessagesSent
' attribute.
|
inline |
Get the value of the 'numSendFailures
' attribute.
const AggregateStats google_games_api::PeerChannelDiagnostics::get_roundtrip_latency_millis | ( | ) | const |
Get a reference to the value of the 'roundtripLatencyMillis
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'bytesReceived
' attribute was set.
bytesReceived
' attribute was set.
|
inline |
Determine if the 'bytesSent
' attribute was set.
bytesSent
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'numMessagesLost
' attribute was set.
numMessagesLost
' attribute was set.
|
inline |
Determine if the 'numMessagesReceived
' attribute was set.
numMessagesReceived
' attribute was set.
|
inline |
Determine if the 'numMessagesSent
' attribute was set.
numMessagesSent
' attribute was set.
|
inline |
Determine if the 'numSendFailures
' attribute was set.
numSendFailures
' attribute was set.
|
inline |
Determine if the 'roundtripLatencyMillis
' attribute was set.
roundtripLatencyMillis
' attribute was set. AggregateStats google_games_api::PeerChannelDiagnostics::mutable_bytesReceived | ( | ) |
Gets a reference to a mutable value of the 'bytesReceived
' property.
Number of bytes received.
AggregateStats google_games_api::PeerChannelDiagnostics::mutable_bytesSent | ( | ) |
Gets a reference to a mutable value of the 'bytesSent
' property.
Number of bytes sent.
AggregateStats google_games_api::PeerChannelDiagnostics::mutable_roundtripLatencyMillis | ( | ) |
Gets a reference to a mutable value of the 'roundtripLatencyMillis
' property.
Roundtrip latency stats in milliseconds.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind
' attribute.
Uniquely identifies the type of this resource. Value is always the fixed string games::peerChannelDiagnostics.
[in] | value | The new value. |
|
inline |
Change the 'numMessagesLost
' attribute.
Number of messages lost.
[in] | value | The new value. |
|
inline |
Change the 'numMessagesReceived
' attribute.
Number of messages received.
[in] | value | The new value. |
|
inline |
Change the 'numMessagesSent
' attribute.
Number of messages sent.
[in] | value | The new value. |
|
inline |
Change the 'numSendFailures
' attribute.
Number of send failures.
[in] | value | The new value. |