dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::Disk Class Reference

#include <disk.h>

Inheritance diagram for google_dataflow_api::Disk:

Public Member Functions

 Disk (const Json::Value &storage)
 
 Disk (Json::Value *storage)
 
virtual ~Disk ()
 
const StringPiece GetTypeName () const
 
bool has_disk_type () const
 
void clear_disk_type ()
 
const StringPiece get_disk_type () const
 
void set_disk_type (const StringPiece &value)
 
bool has_mount_point () const
 
void clear_mount_point ()
 
const StringPiece get_mount_point () const
 
void set_mount_point (const StringPiece &value)
 
bool has_size_gb () const
 
void clear_size_gb ()
 
int32 get_size_gb () const
 
void set_size_gb (int32 value)
 

Static Public Member Functions

static DiskNew ()
 

Detailed Description

Describes the data disk used by a workflow job.

Constructor & Destructor Documentation

◆ Disk() [1/2]

google_dataflow_api::Disk::Disk ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Disk() [2/2]

google_dataflow_api::Disk::Disk ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Disk()

google_dataflow_api::Disk::~Disk ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_disk_type()

void google_dataflow_api::Disk::clear_disk_type ( )
inline

Clears the 'diskType' attribute.

◆ clear_mount_point()

void google_dataflow_api::Disk::clear_mount_point ( )
inline

Clears the 'mountPoint' attribute.

◆ clear_size_gb()

void google_dataflow_api::Disk::clear_size_gb ( )
inline

Clears the 'sizeGb' attribute.

◆ get_disk_type()

const StringPiece google_dataflow_api::Disk::get_disk_type ( ) const
inline

Get the value of the 'diskType' attribute.

◆ get_mount_point()

const StringPiece google_dataflow_api::Disk::get_mount_point ( ) const
inline

Get the value of the 'mountPoint' attribute.

◆ get_size_gb()

int32 google_dataflow_api::Disk::get_size_gb ( ) const
inline

Get the value of the 'sizeGb' attribute.

◆ GetTypeName()

const StringPiece google_dataflow_api::Disk::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::Disk

◆ has_disk_type()

bool google_dataflow_api::Disk::has_disk_type ( ) const
inline

Determine if the 'diskType' attribute was set.

Returns
true if the 'diskType' attribute was set.

◆ has_mount_point()

bool google_dataflow_api::Disk::has_mount_point ( ) const
inline

Determine if the 'mountPoint' attribute was set.

Returns
true if the 'mountPoint' attribute was set.

◆ has_size_gb()

bool google_dataflow_api::Disk::has_size_gb ( ) const
inline

Determine if the 'sizeGb' attribute was set.

Returns
true if the 'sizeGb' attribute was set.

◆ New()

Disk * google_dataflow_api::Disk::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_disk_type()

void google_dataflow_api::Disk::set_disk_type ( const StringPiece &  value)
inline

Change the 'diskType' attribute.

"pd <dd>standard". If SSD persistent disks are.
"pd <dd>ssd". The.

compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd- standard.

Parameters
[in]valueThe new value.

◆ set_mount_point()

void google_dataflow_api::Disk::set_mount_point ( const StringPiece &  value)
inline

Change the 'mountPoint' attribute.

Directory in a VM where disk is mounted.

Parameters
[in]valueThe new value.

◆ set_size_gb()

void google_dataflow_api::Disk::set_size_gb ( int32  value)
inline

Change the 'sizeGb' attribute.

Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.

Parameters
[in]valueThe new value.

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