games  v1
Public Member Functions | Static Public Member Functions | List of all members
google_games_api::PeerChannelDiagnostics Class Reference

#include <peer_channel_diagnostics.h>

Inheritance diagram for google_games_api::PeerChannelDiagnostics:

Public Member Functions

 PeerChannelDiagnostics (const Json::Value &storage)
 
 PeerChannelDiagnostics (Json::Value *storage)
 
virtual ~PeerChannelDiagnostics ()
 
const StringPiece GetTypeName () const
 
bool has_bytes_received () const
 
void clear_bytes_received ()
 
const AggregateStats get_bytes_received () const
 
AggregateStats mutable_bytesReceived ()
 
bool has_bytes_sent () const
 
void clear_bytes_sent ()
 
const AggregateStats get_bytes_sent () const
 
AggregateStats mutable_bytesSent ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_num_messages_lost () const
 
void clear_num_messages_lost ()
 
int32 get_num_messages_lost () const
 
void set_num_messages_lost (int32 value)
 
bool has_num_messages_received () const
 
void clear_num_messages_received ()
 
int32 get_num_messages_received () const
 
void set_num_messages_received (int32 value)
 
bool has_num_messages_sent () const
 
void clear_num_messages_sent ()
 
int32 get_num_messages_sent () const
 
void set_num_messages_sent (int32 value)
 
bool has_num_send_failures () const
 
void clear_num_send_failures ()
 
int32 get_num_send_failures () const
 
void set_num_send_failures (int32 value)
 
bool has_roundtrip_latency_millis () const
 
void clear_roundtrip_latency_millis ()
 
const AggregateStats get_roundtrip_latency_millis () const
 
AggregateStats mutable_roundtripLatencyMillis ()
 

Static Public Member Functions

static PeerChannelDiagnosticsNew ()
 

Detailed Description

This is a JSON template for peer channel diagnostics.

Constructor & Destructor Documentation

◆ PeerChannelDiagnostics() [1/2]

google_games_api::PeerChannelDiagnostics::PeerChannelDiagnostics ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ PeerChannelDiagnostics() [2/2]

google_games_api::PeerChannelDiagnostics::PeerChannelDiagnostics ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~PeerChannelDiagnostics()

google_games_api::PeerChannelDiagnostics::~PeerChannelDiagnostics ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bytes_received()

void google_games_api::PeerChannelDiagnostics::clear_bytes_received ( )
inline

Clears the 'bytesReceived' attribute.

◆ clear_bytes_sent()

void google_games_api::PeerChannelDiagnostics::clear_bytes_sent ( )
inline

Clears the 'bytesSent' attribute.

◆ clear_kind()

void google_games_api::PeerChannelDiagnostics::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_num_messages_lost()

void google_games_api::PeerChannelDiagnostics::clear_num_messages_lost ( )
inline

Clears the 'numMessagesLost' attribute.

◆ clear_num_messages_received()

void google_games_api::PeerChannelDiagnostics::clear_num_messages_received ( )
inline

Clears the 'numMessagesReceived' attribute.

◆ clear_num_messages_sent()

void google_games_api::PeerChannelDiagnostics::clear_num_messages_sent ( )
inline

Clears the 'numMessagesSent' attribute.

◆ clear_num_send_failures()

void google_games_api::PeerChannelDiagnostics::clear_num_send_failures ( )
inline

Clears the 'numSendFailures' attribute.

◆ clear_roundtrip_latency_millis()

void google_games_api::PeerChannelDiagnostics::clear_roundtrip_latency_millis ( )
inline

Clears the 'roundtripLatencyMillis' attribute.

◆ get_bytes_received()

const AggregateStats google_games_api::PeerChannelDiagnostics::get_bytes_received ( ) const

Get a reference to the value of the 'bytesReceived' attribute.

◆ get_bytes_sent()

const AggregateStats google_games_api::PeerChannelDiagnostics::get_bytes_sent ( ) const

Get a reference to the value of the 'bytesSent' attribute.

◆ get_kind()

const StringPiece google_games_api::PeerChannelDiagnostics::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_num_messages_lost()

int32 google_games_api::PeerChannelDiagnostics::get_num_messages_lost ( ) const
inline

Get the value of the 'numMessagesLost' attribute.

◆ get_num_messages_received()

int32 google_games_api::PeerChannelDiagnostics::get_num_messages_received ( ) const
inline

Get the value of the 'numMessagesReceived' attribute.

◆ get_num_messages_sent()

int32 google_games_api::PeerChannelDiagnostics::get_num_messages_sent ( ) const
inline

Get the value of the 'numMessagesSent' attribute.

◆ get_num_send_failures()

int32 google_games_api::PeerChannelDiagnostics::get_num_send_failures ( ) const
inline

Get the value of the 'numSendFailures' attribute.

◆ get_roundtrip_latency_millis()

const AggregateStats google_games_api::PeerChannelDiagnostics::get_roundtrip_latency_millis ( ) const

Get a reference to the value of the 'roundtripLatencyMillis' attribute.

◆ GetTypeName()

const StringPiece google_games_api::PeerChannelDiagnostics::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_games_api::PeerChannelDiagnostics

◆ has_bytes_received()

bool google_games_api::PeerChannelDiagnostics::has_bytes_received ( ) const
inline

Determine if the 'bytesReceived' attribute was set.

Returns
true if the 'bytesReceived' attribute was set.

◆ has_bytes_sent()

bool google_games_api::PeerChannelDiagnostics::has_bytes_sent ( ) const
inline

Determine if the 'bytesSent' attribute was set.

Returns
true if the 'bytesSent' attribute was set.

◆ has_kind()

bool google_games_api::PeerChannelDiagnostics::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_num_messages_lost()

bool google_games_api::PeerChannelDiagnostics::has_num_messages_lost ( ) const
inline

Determine if the 'numMessagesLost' attribute was set.

Returns
true if the 'numMessagesLost' attribute was set.

◆ has_num_messages_received()

bool google_games_api::PeerChannelDiagnostics::has_num_messages_received ( ) const
inline

Determine if the 'numMessagesReceived' attribute was set.

Returns
true if the 'numMessagesReceived' attribute was set.

◆ has_num_messages_sent()

bool google_games_api::PeerChannelDiagnostics::has_num_messages_sent ( ) const
inline

Determine if the 'numMessagesSent' attribute was set.

Returns
true if the 'numMessagesSent' attribute was set.

◆ has_num_send_failures()

bool google_games_api::PeerChannelDiagnostics::has_num_send_failures ( ) const
inline

Determine if the 'numSendFailures' attribute was set.

Returns
true if the 'numSendFailures' attribute was set.

◆ has_roundtrip_latency_millis()

bool google_games_api::PeerChannelDiagnostics::has_roundtrip_latency_millis ( ) const
inline

Determine if the 'roundtripLatencyMillis' attribute was set.

Returns
true if the 'roundtripLatencyMillis' attribute was set.

◆ mutable_bytesReceived()

AggregateStats google_games_api::PeerChannelDiagnostics::mutable_bytesReceived ( )

Gets a reference to a mutable value of the 'bytesReceived' property.

Number of bytes received.

Returns
The result can be modified to change the attribute value.

◆ mutable_bytesSent()

AggregateStats google_games_api::PeerChannelDiagnostics::mutable_bytesSent ( )

Gets a reference to a mutable value of the 'bytesSent' property.

Number of bytes sent.

Returns
The result can be modified to change the attribute value.

◆ mutable_roundtripLatencyMillis()

AggregateStats google_games_api::PeerChannelDiagnostics::mutable_roundtripLatencyMillis ( )

Gets a reference to a mutable value of the 'roundtripLatencyMillis' property.

Roundtrip latency stats in milliseconds.

Returns
The result can be modified to change the attribute value.

◆ New()

PeerChannelDiagnostics * google_games_api::PeerChannelDiagnostics::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_games_api::PeerChannelDiagnostics::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Uniquely identifies the type of this resource. Value is always the fixed string games::peerChannelDiagnostics.

Parameters
[in]valueThe new value.

◆ set_num_messages_lost()

void google_games_api::PeerChannelDiagnostics::set_num_messages_lost ( int32  value)
inline

Change the 'numMessagesLost' attribute.

Number of messages lost.

Parameters
[in]valueThe new value.

◆ set_num_messages_received()

void google_games_api::PeerChannelDiagnostics::set_num_messages_received ( int32  value)
inline

Change the 'numMessagesReceived' attribute.

Number of messages received.

Parameters
[in]valueThe new value.

◆ set_num_messages_sent()

void google_games_api::PeerChannelDiagnostics::set_num_messages_sent ( int32  value)
inline

Change the 'numMessagesSent' attribute.

Number of messages sent.

Parameters
[in]valueThe new value.

◆ set_num_send_failures()

void google_games_api::PeerChannelDiagnostics::set_num_send_failures ( int32  value)
inline

Change the 'numSendFailures' attribute.

Number of send failures.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: