bigquery  v2
Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::JobStatistics::JobStatisticsReservationUsage Class Reference

#include <job_statistics.h>

Inheritance diagram for google_bigquery_api::JobStatistics::JobStatisticsReservationUsage:

Public Member Functions

 JobStatisticsReservationUsage (const Json::Value &storage)
 
 JobStatisticsReservationUsage (Json::Value *storage)
 
virtual ~JobStatisticsReservationUsage ()
 
const StringPiece GetTypeName () const
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_slot_ms () const
 
void clear_slot_ms ()
 
int64 get_slot_ms () const
 
void set_slot_ms (int64 value)
 

Static Public Member Functions

static JobStatisticsReservationUsageNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ JobStatisticsReservationUsage() [1/2]

google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::JobStatisticsReservationUsage ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ JobStatisticsReservationUsage() [2/2]

google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::JobStatisticsReservationUsage ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~JobStatisticsReservationUsage()

google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::~JobStatisticsReservationUsage ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_name()

void google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_slot_ms()

void google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::clear_slot_ms ( )
inline

Clears the 'slotMs' attribute.

◆ get_name()

const StringPiece google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_slot_ms()

int64 google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::get_slot_ms ( ) const
inline

Get the value of the 'slotMs' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::JobStatisticsReservationUsage

◆ has_name()

bool google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_slot_ms()

bool google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::has_slot_ms ( ) const
inline

Determine if the 'slotMs' attribute was set.

Returns
true if the 'slotMs' attribute was set.

◆ New()

JobStatistics::JobStatisticsReservationUsage * google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_name()

void google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

[Output-only] Reservation name or "unreserved" for on-demand resources usage.

Parameters
[in]valueThe new value.

◆ set_slot_ms()

void google_bigquery_api::JobStatistics::JobStatisticsReservationUsage::set_slot_ms ( int64  value)
inline

Change the 'slotMs' attribute.

[Output-only] Slot-milliseconds the job spent in the given reservation.

Parameters
[in]valueThe new value.

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