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

#include <approximate_progress.h>

Inheritance diagram for google_dataflow_api::ApproximateProgress:

Public Member Functions

 ApproximateProgress (const Json::Value &storage)
 
 ApproximateProgress (Json::Value *storage)
 
virtual ~ApproximateProgress ()
 
const StringPiece GetTypeName () const
 
bool has_percent_complete () const
 
void clear_percent_complete ()
 
float get_percent_complete () const
 
void set_percent_complete (float value)
 
bool has_position () const
 
void clear_position ()
 
const Position get_position () const
 
Position mutable_position ()
 
bool has_remaining_time () const
 
void clear_remaining_time ()
 
const StringPiece get_remaining_time () const
 
void set_remaining_time (const StringPiece &value)
 

Static Public Member Functions

static ApproximateProgressNew ()
 

Detailed Description

Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.

Constructor & Destructor Documentation

◆ ApproximateProgress() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ApproximateProgress() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ApproximateProgress()

google_dataflow_api::ApproximateProgress::~ApproximateProgress ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_percent_complete()

void google_dataflow_api::ApproximateProgress::clear_percent_complete ( )
inline

Clears the 'percentComplete' attribute.

◆ clear_position()

void google_dataflow_api::ApproximateProgress::clear_position ( )
inline

Clears the 'position' attribute.

◆ clear_remaining_time()

void google_dataflow_api::ApproximateProgress::clear_remaining_time ( )
inline

Clears the 'remainingTime' attribute.

◆ get_percent_complete()

float google_dataflow_api::ApproximateProgress::get_percent_complete ( ) const
inline

Get the value of the 'percentComplete' attribute.

◆ get_position()

const Position google_dataflow_api::ApproximateProgress::get_position ( ) const

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

◆ get_remaining_time()

const StringPiece google_dataflow_api::ApproximateProgress::get_remaining_time ( ) const
inline

Get the value of the 'remainingTime' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::ApproximateProgress

◆ has_percent_complete()

bool google_dataflow_api::ApproximateProgress::has_percent_complete ( ) const
inline

Determine if the 'percentComplete' attribute was set.

Returns
true if the 'percentComplete' attribute was set.

◆ has_position()

bool google_dataflow_api::ApproximateProgress::has_position ( ) const
inline

Determine if the 'position' attribute was set.

Returns
true if the 'position' attribute was set.

◆ has_remaining_time()

bool google_dataflow_api::ApproximateProgress::has_remaining_time ( ) const
inline

Determine if the 'remainingTime' attribute was set.

Returns
true if the 'remainingTime' attribute was set.

◆ mutable_position()

Position google_dataflow_api::ApproximateProgress::mutable_position ( )

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

Obsolete.

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

◆ New()

ApproximateProgress * google_dataflow_api::ApproximateProgress::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_percent_complete()

void google_dataflow_api::ApproximateProgress::set_percent_complete ( float  value)
inline

Change the 'percentComplete' attribute.

Obsolete.

Parameters
[in]valueThe new value.

◆ set_remaining_time()

void google_dataflow_api::ApproximateProgress::set_remaining_time ( const StringPiece &  value)
inline

Change the 'remainingTime' attribute.

Obsolete.

Parameters
[in]valueThe new value.

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