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

#include <key_range_data_disk_assignment.h>

Inheritance diagram for google_dataflow_api::KeyRangeDataDiskAssignment:

Public Member Functions

 KeyRangeDataDiskAssignment (const Json::Value &storage)
 
 KeyRangeDataDiskAssignment (Json::Value *storage)
 
virtual ~KeyRangeDataDiskAssignment ()
 
const StringPiece GetTypeName () const
 
bool has_data_disk () const
 
void clear_data_disk ()
 
const StringPiece get_data_disk () const
 
void set_data_disk (const StringPiece &value)
 
bool has_end () const
 
void clear_end ()
 
const StringPiece get_end () const
 
void set_end (const StringPiece &value)
 
bool has_start () const
 
void clear_start ()
 
const StringPiece get_start () const
 
void set_start (const StringPiece &value)
 

Static Public Member Functions

static KeyRangeDataDiskAssignmentNew ()
 

Detailed Description

Data disk assignment information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.

Constructor & Destructor Documentation

◆ KeyRangeDataDiskAssignment() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ KeyRangeDataDiskAssignment() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~KeyRangeDataDiskAssignment()

google_dataflow_api::KeyRangeDataDiskAssignment::~KeyRangeDataDiskAssignment ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_data_disk()

void google_dataflow_api::KeyRangeDataDiskAssignment::clear_data_disk ( )
inline

Clears the 'dataDisk' attribute.

◆ clear_end()

void google_dataflow_api::KeyRangeDataDiskAssignment::clear_end ( )
inline

Clears the 'end' attribute.

◆ clear_start()

void google_dataflow_api::KeyRangeDataDiskAssignment::clear_start ( )
inline

Clears the 'start' attribute.

◆ get_data_disk()

const StringPiece google_dataflow_api::KeyRangeDataDiskAssignment::get_data_disk ( ) const
inline

Get the value of the 'dataDisk' attribute.

◆ get_end()

const StringPiece google_dataflow_api::KeyRangeDataDiskAssignment::get_end ( ) const
inline

Get the value of the 'end' attribute.

◆ get_start()

const StringPiece google_dataflow_api::KeyRangeDataDiskAssignment::get_start ( ) const
inline

Get the value of the 'start' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::KeyRangeDataDiskAssignment

◆ has_data_disk()

bool google_dataflow_api::KeyRangeDataDiskAssignment::has_data_disk ( ) const
inline

Determine if the 'dataDisk' attribute was set.

Returns
true if the 'dataDisk' attribute was set.

◆ has_end()

bool google_dataflow_api::KeyRangeDataDiskAssignment::has_end ( ) const
inline

Determine if the 'end' attribute was set.

Returns
true if the 'end' attribute was set.

◆ has_start()

bool google_dataflow_api::KeyRangeDataDiskAssignment::has_start ( ) const
inline

Determine if the 'start' attribute was set.

Returns
true if the 'start' attribute was set.

◆ New()

KeyRangeDataDiskAssignment * google_dataflow_api::KeyRangeDataDiskAssignment::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_data_disk()

void google_dataflow_api::KeyRangeDataDiskAssignment::set_data_disk ( const StringPiece &  value)
inline

Change the 'dataDisk' attribute.

The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".

Parameters
[in]valueThe new value.

◆ set_end()

void google_dataflow_api::KeyRangeDataDiskAssignment::set_end ( const StringPiece &  value)
inline

Change the 'end' attribute.

The end (exclusive) of the key range.

Parameters
[in]valueThe new value.

◆ set_start()

void google_dataflow_api::KeyRangeDataDiskAssignment::set_start ( const StringPiece &  value)
inline

Change the 'start' attribute.

The start (inclusive) of the key range.

Parameters
[in]valueThe new value.

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