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

#include <job_status.h>

Inheritance diagram for google_bigquery_api::JobStatus:

Public Member Functions

 JobStatus (const Json::Value &storage)
 
 JobStatus (Json::Value *storage)
 
virtual ~JobStatus ()
 
const StringPiece GetTypeName () const
 
bool has_error_result () const
 
void clear_error_result ()
 
const ErrorProto get_error_result () const
 
ErrorProto mutable_errorResult ()
 
bool has_errors () const
 
void clear_errors ()
 
const client::JsonCppArray< ErrorProtoget_errors () const
 
client::JsonCppArray< ErrorProtomutable_errors ()
 
bool has_state () const
 
void clear_state ()
 
const StringPiece get_state () const
 
void set_state (const StringPiece &value)
 

Static Public Member Functions

static JobStatusNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ JobStatus() [1/2]

google_bigquery_api::JobStatus::JobStatus ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ JobStatus() [2/2]

google_bigquery_api::JobStatus::JobStatus ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~JobStatus()

google_bigquery_api::JobStatus::~JobStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_error_result()

void google_bigquery_api::JobStatus::clear_error_result ( )
inline

Clears the 'errorResult' attribute.

◆ clear_errors()

void google_bigquery_api::JobStatus::clear_errors ( )
inline

Clears the 'errors' attribute.

◆ clear_state()

void google_bigquery_api::JobStatus::clear_state ( )
inline

Clears the 'state' attribute.

◆ get_error_result()

const ErrorProto google_bigquery_api::JobStatus::get_error_result ( ) const

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

◆ get_errors()

const client::JsonCppArray<ErrorProto > google_bigquery_api::JobStatus::get_errors ( ) const

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

◆ get_state()

const StringPiece google_bigquery_api::JobStatus::get_state ( ) const
inline

Get the value of the 'state' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::JobStatus::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::JobStatus

◆ has_error_result()

bool google_bigquery_api::JobStatus::has_error_result ( ) const
inline

Determine if the 'errorResult' attribute was set.

Returns
true if the 'errorResult' attribute was set.

◆ has_errors()

bool google_bigquery_api::JobStatus::has_errors ( ) const
inline

Determine if the 'errors' attribute was set.

Returns
true if the 'errors' attribute was set.

◆ has_state()

bool google_bigquery_api::JobStatus::has_state ( ) const
inline

Determine if the 'state' attribute was set.

Returns
true if the 'state' attribute was set.

◆ mutable_errorResult()

ErrorProto google_bigquery_api::JobStatus::mutable_errorResult ( )

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

[Output-only] Final error result of the job. If present, indicates that the job has completed and was unsuccessful.

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

◆ mutable_errors()

client::JsonCppArray<ErrorProto > google_bigquery_api::JobStatus::mutable_errors ( )

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

[Output-only] The first errors encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful.

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

◆ New()

JobStatus * google_bigquery_api::JobStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_state()

void google_bigquery_api::JobStatus::set_state ( const StringPiece &  value)
inline

Change the 'state' attribute.

[Output-only] Running state of the job.

Parameters
[in]valueThe new value.

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