sqladmin  v1beta4
Public Member Functions | Static Public Member Functions | List of all members
google_sqladmin_api::OperationError Class Reference

#include <operation_error.h>

Inheritance diagram for google_sqladmin_api::OperationError:

Public Member Functions

 OperationError (const Json::Value &storage)
 
 OperationError (Json::Value *storage)
 
virtual ~OperationError ()
 
const StringPiece GetTypeName () const
 
bool has_code () const
 
void clear_code ()
 
const StringPiece get_code () const
 
void set_code (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_message () const
 
void clear_message ()
 
const StringPiece get_message () const
 
void set_message (const StringPiece &value)
 

Static Public Member Functions

static OperationErrorNew ()
 

Detailed Description

Database instance operation error.

Constructor & Destructor Documentation

◆ OperationError() [1/2]

google_sqladmin_api::OperationError::OperationError ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ OperationError() [2/2]

google_sqladmin_api::OperationError::OperationError ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~OperationError()

google_sqladmin_api::OperationError::~OperationError ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_code()

void google_sqladmin_api::OperationError::clear_code ( )
inline

Clears the 'code' attribute.

◆ clear_kind()

void google_sqladmin_api::OperationError::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_message()

void google_sqladmin_api::OperationError::clear_message ( )
inline

Clears the 'message' attribute.

◆ get_code()

const StringPiece google_sqladmin_api::OperationError::get_code ( ) const
inline

Get the value of the 'code' attribute.

◆ get_kind()

const StringPiece google_sqladmin_api::OperationError::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_message()

const StringPiece google_sqladmin_api::OperationError::get_message ( ) const
inline

Get the value of the 'message' attribute.

◆ GetTypeName()

const StringPiece google_sqladmin_api::OperationError::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_sqladmin_api::OperationError

◆ has_code()

bool google_sqladmin_api::OperationError::has_code ( ) const
inline

Determine if the 'code' attribute was set.

Returns
true if the 'code' attribute was set.

◆ has_kind()

bool google_sqladmin_api::OperationError::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_message()

bool google_sqladmin_api::OperationError::has_message ( ) const
inline

Determine if the 'message' attribute was set.

Returns
true if the 'message' attribute was set.

◆ New()

OperationError * google_sqladmin_api::OperationError::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_code()

void google_sqladmin_api::OperationError::set_code ( const StringPiece &  value)
inline

Change the 'code' attribute.

Identifies the specific error that occurred.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_sqladmin_api::OperationError::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always sql::operationError.

Parameters
[in]valueThe new value.

◆ set_message()

void google_sqladmin_api::OperationError::set_message ( const StringPiece &  value)
inline

Change the 'message' attribute.

Additional information about the error encountered.

Parameters
[in]valueThe new value.

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