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

#include <peer_session_diagnostics.h>

Inheritance diagram for google_games_api::PeerSessionDiagnostics:

Public Member Functions

 PeerSessionDiagnostics (const Json::Value &storage)
 
 PeerSessionDiagnostics (Json::Value *storage)
 
virtual ~PeerSessionDiagnostics ()
 
const StringPiece GetTypeName () const
 
bool has_connected_timestamp_millis () const
 
void clear_connected_timestamp_millis ()
 
int64 get_connected_timestamp_millis () const
 
void set_connected_timestamp_millis (int64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_participant_id () const
 
void clear_participant_id ()
 
const StringPiece get_participant_id () const
 
void set_participant_id (const StringPiece &value)
 
bool has_reliable_channel () const
 
void clear_reliable_channel ()
 
const PeerChannelDiagnostics get_reliable_channel () const
 
PeerChannelDiagnostics mutable_reliableChannel ()
 
bool has_unreliable_channel () const
 
void clear_unreliable_channel ()
 
const PeerChannelDiagnostics get_unreliable_channel () const
 
PeerChannelDiagnostics mutable_unreliableChannel ()
 

Static Public Member Functions

static PeerSessionDiagnosticsNew ()
 

Detailed Description

This is a JSON template for peer session diagnostics.

Constructor & Destructor Documentation

◆ PeerSessionDiagnostics() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ PeerSessionDiagnostics() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~PeerSessionDiagnostics()

google_games_api::PeerSessionDiagnostics::~PeerSessionDiagnostics ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_connected_timestamp_millis()

void google_games_api::PeerSessionDiagnostics::clear_connected_timestamp_millis ( )
inline

Clears the 'connectedTimestampMillis' attribute.

◆ clear_kind()

void google_games_api::PeerSessionDiagnostics::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_participant_id()

void google_games_api::PeerSessionDiagnostics::clear_participant_id ( )
inline

Clears the 'participantId' attribute.

◆ clear_reliable_channel()

void google_games_api::PeerSessionDiagnostics::clear_reliable_channel ( )
inline

Clears the 'reliableChannel' attribute.

◆ clear_unreliable_channel()

void google_games_api::PeerSessionDiagnostics::clear_unreliable_channel ( )
inline

Clears the 'unreliableChannel' attribute.

◆ get_connected_timestamp_millis()

int64 google_games_api::PeerSessionDiagnostics::get_connected_timestamp_millis ( ) const
inline

Get the value of the 'connectedTimestampMillis' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_participant_id()

const StringPiece google_games_api::PeerSessionDiagnostics::get_participant_id ( ) const
inline

Get the value of the 'participantId' attribute.

◆ get_reliable_channel()

const PeerChannelDiagnostics google_games_api::PeerSessionDiagnostics::get_reliable_channel ( ) const

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

◆ get_unreliable_channel()

const PeerChannelDiagnostics google_games_api::PeerSessionDiagnostics::get_unreliable_channel ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_games_api::PeerSessionDiagnostics

◆ has_connected_timestamp_millis()

bool google_games_api::PeerSessionDiagnostics::has_connected_timestamp_millis ( ) const
inline

Determine if the 'connectedTimestampMillis' attribute was set.

Returns
true if the 'connectedTimestampMillis' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_participant_id()

bool google_games_api::PeerSessionDiagnostics::has_participant_id ( ) const
inline

Determine if the 'participantId' attribute was set.

Returns
true if the 'participantId' attribute was set.

◆ has_reliable_channel()

bool google_games_api::PeerSessionDiagnostics::has_reliable_channel ( ) const
inline

Determine if the 'reliableChannel' attribute was set.

Returns
true if the 'reliableChannel' attribute was set.

◆ has_unreliable_channel()

bool google_games_api::PeerSessionDiagnostics::has_unreliable_channel ( ) const
inline

Determine if the 'unreliableChannel' attribute was set.

Returns
true if the 'unreliableChannel' attribute was set.

◆ mutable_reliableChannel()

PeerChannelDiagnostics google_games_api::PeerSessionDiagnostics::mutable_reliableChannel ( )

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

Reliable channel diagnostics.

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

◆ mutable_unreliableChannel()

PeerChannelDiagnostics google_games_api::PeerSessionDiagnostics::mutable_unreliableChannel ( )

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

Unreliable channel diagnostics.

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

◆ New()

PeerSessionDiagnostics * google_games_api::PeerSessionDiagnostics::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_connected_timestamp_millis()

void google_games_api::PeerSessionDiagnostics::set_connected_timestamp_millis ( int64  value)
inline

Change the 'connectedTimestampMillis' attribute.

Connected time in milliseconds.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_participant_id()

void google_games_api::PeerSessionDiagnostics::set_participant_id ( const StringPiece &  value)
inline

Change the 'participantId' attribute.

The participant ID of the peer.

Parameters
[in]valueThe new value.

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