compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::SerialPortOutput Class Reference

#include <serial_port_output.h>

Inheritance diagram for google_compute_api::SerialPortOutput:

Public Member Functions

 SerialPortOutput (const Json::Value &storage)
 
 SerialPortOutput (Json::Value *storage)
 
virtual ~SerialPortOutput ()
 
const StringPiece GetTypeName () const
 
bool has_contents () const
 
void clear_contents ()
 
const StringPiece get_contents () const
 
void set_contents (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_next () const
 
void clear_next ()
 
int64 get_next () const
 
void set_next (int64 value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_start () const
 
void clear_start ()
 
int64 get_start () const
 
void set_start (int64 value)
 

Static Public Member Functions

static SerialPortOutputNew ()
 

Detailed Description

An instance's serial console output.

Constructor & Destructor Documentation

◆ SerialPortOutput() [1/2]

google_compute_api::SerialPortOutput::SerialPortOutput ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ SerialPortOutput() [2/2]

google_compute_api::SerialPortOutput::SerialPortOutput ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~SerialPortOutput()

google_compute_api::SerialPortOutput::~SerialPortOutput ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_contents()

void google_compute_api::SerialPortOutput::clear_contents ( )
inline

Clears the 'contents' attribute.

◆ clear_kind()

void google_compute_api::SerialPortOutput::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_next()

void google_compute_api::SerialPortOutput::clear_next ( )
inline

Clears the 'next' attribute.

◆ clear_self_link()

void google_compute_api::SerialPortOutput::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_start()

void google_compute_api::SerialPortOutput::clear_start ( )
inline

Clears the 'start' attribute.

◆ get_contents()

const StringPiece google_compute_api::SerialPortOutput::get_contents ( ) const
inline

Get the value of the 'contents' attribute.

◆ get_kind()

const StringPiece google_compute_api::SerialPortOutput::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_next()

int64 google_compute_api::SerialPortOutput::get_next ( ) const
inline

Get the value of the 'next' attribute.

◆ get_self_link()

const StringPiece google_compute_api::SerialPortOutput::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_start()

int64 google_compute_api::SerialPortOutput::get_start ( ) const
inline

Get the value of the 'start' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::SerialPortOutput::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::SerialPortOutput

◆ has_contents()

bool google_compute_api::SerialPortOutput::has_contents ( ) const
inline

Determine if the 'contents' attribute was set.

Returns
true if the 'contents' attribute was set.

◆ has_kind()

bool google_compute_api::SerialPortOutput::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_next()

bool google_compute_api::SerialPortOutput::has_next ( ) const
inline

Determine if the 'next' attribute was set.

Returns
true if the 'next' attribute was set.

◆ has_self_link()

bool google_compute_api::SerialPortOutput::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_start()

bool google_compute_api::SerialPortOutput::has_start ( ) const
inline

Determine if the 'start' attribute was set.

Returns
true if the 'start' attribute was set.

◆ New()

SerialPortOutput * google_compute_api::SerialPortOutput::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_contents()

void google_compute_api::SerialPortOutput::set_contents ( const StringPiece &  value)
inline

Change the 'contents' attribute.

[Output Only] The contents of the console output.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::SerialPortOutput::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] Type of the resource. Always compute::serialPortOutput for serial port output.

Parameters
[in]valueThe new value.

◆ set_next()

void google_compute_api::SerialPortOutput::set_next ( int64  value)
inline

Change the 'next' attribute.

[Output Only] The position of the next byte of content from the serial console output. Use this value in the next request as the start parameter.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::SerialPortOutput::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for this resource.

Parameters
[in]valueThe new value.

◆ set_start()

void google_compute_api::SerialPortOutput::set_start ( int64  value)
inline

Change the 'start' attribute.

The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer, older output will be overwritten by newer content and the start values will be mismatched.

Parameters
[in]valueThe new value.

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