#include <reported_parallelism.h>
Represents the level of parallelism in a WorkItem's input, reported by the worker.
◆ ReportedParallelism() [1/2]
| google_dataflow_api::ReportedParallelism::ReportedParallelism |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ReportedParallelism() [2/2]
| google_dataflow_api::ReportedParallelism::ReportedParallelism |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~ReportedParallelism()
| google_dataflow_api::ReportedParallelism::~ReportedParallelism |
( |
| ) |
|
|
virtual |
◆ clear_is_infinite()
| void google_dataflow_api::ReportedParallelism::clear_is_infinite |
( |
| ) |
|
|
inline |
Clears the 'isInfinite' attribute.
◆ clear_value()
| void google_dataflow_api::ReportedParallelism::clear_value |
( |
| ) |
|
|
inline |
Clears the 'value' attribute.
◆ get_is_infinite()
| bool google_dataflow_api::ReportedParallelism::get_is_infinite |
( |
| ) |
const |
|
inline |
Get the value of the 'isInfinite' attribute.
◆ get_value()
| double google_dataflow_api::ReportedParallelism::get_value |
( |
| ) |
const |
|
inline |
Get the value of the 'value' attribute.
◆ GetTypeName()
| const StringPiece google_dataflow_api::ReportedParallelism::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_is_infinite()
| bool google_dataflow_api::ReportedParallelism::has_is_infinite |
( |
| ) |
const |
|
inline |
Determine if the 'isInfinite' attribute was set.
- Returns
- true if the '
isInfinite' attribute was set.
◆ has_value()
| bool google_dataflow_api::ReportedParallelism::has_value |
( |
| ) |
const |
|
inline |
Determine if the 'value' attribute was set.
- Returns
- true if the '
value' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_is_infinite()
| void google_dataflow_api::ReportedParallelism::set_is_infinite |
( |
bool |
value | ) |
|
|
inline |
Change the 'isInfinite' attribute.
Specifies whether the parallelism is infinite. If true, "value" is ignored. Infinite parallelism means the service will assume that the work item can always be split into more non-empty work items by dynamic splitting. This is a work-around for lack of support for infinity by the current JSON-based Java RPC stack.
- Parameters
-
◆ set_value()
| void google_dataflow_api::ReportedParallelism::set_value |
( |
double |
value | ) |
|
|
inline |
Change the 'value' attribute.
Specifies the level of parallelism in case it is finite.
- Parameters
-
The documentation for this class was generated from the following files: