dataflow
v1b3
|
#include <streaming_computation_task.h>
Public Member Functions | |
StreamingComputationTask (const Json::Value &storage) | |
StreamingComputationTask (Json::Value *storage) | |
virtual | ~StreamingComputationTask () |
const StringPiece | GetTypeName () const |
bool | has_computation_ranges () const |
void | clear_computation_ranges () |
const client::JsonCppArray< StreamingComputationRanges > | get_computation_ranges () const |
client::JsonCppArray< StreamingComputationRanges > | mutable_computationRanges () |
bool | has_data_disks () const |
void | clear_data_disks () |
const client::JsonCppArray< MountedDataDisk > | get_data_disks () const |
client::JsonCppArray< MountedDataDisk > | mutable_dataDisks () |
bool | has_task_type () const |
void | clear_task_type () |
const StringPiece | get_task_type () const |
void | set_task_type (const StringPiece &value) |
Static Public Member Functions | |
static StreamingComputationTask * | New () |
A task which describes what action should be performed for the specified streaming computation ranges.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'computationRanges
' attribute.
|
inline |
Clears the 'dataDisks
' attribute.
|
inline |
Clears the 'taskType
' attribute.
const client::JsonCppArray<StreamingComputationRanges > google_dataflow_api::StreamingComputationTask::get_computation_ranges | ( | ) | const |
Get a reference to the value of the 'computationRanges
' attribute.
const client::JsonCppArray<MountedDataDisk > google_dataflow_api::StreamingComputationTask::get_data_disks | ( | ) | const |
Get a reference to the value of the 'dataDisks
' attribute.
|
inline |
Get the value of the 'taskType
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'computationRanges
' attribute was set.
computationRanges
' attribute was set.
|
inline |
Determine if the 'dataDisks
' attribute was set.
dataDisks
' attribute was set.
|
inline |
Determine if the 'taskType
' attribute was set.
taskType
' attribute was set. client::JsonCppArray<StreamingComputationRanges > google_dataflow_api::StreamingComputationTask::mutable_computationRanges | ( | ) |
Gets a reference to a mutable value of the 'computationRanges
' property.
Contains ranges of a streaming computation this task should apply to.
client::JsonCppArray<MountedDataDisk > google_dataflow_api::StreamingComputationTask::mutable_dataDisks | ( | ) |
Gets a reference to a mutable value of the 'dataDisks
' property.
Describes the set of data disks this task should apply to.
|
static |
Creates a new default instance.
|
inline |
Change the 'taskType
' attribute.
A type of streaming computation task.
[in] | value | The new value. |