#include <autoscaling_settings.h>
Settings for WorkerPool autoscaling.
◆ AutoscalingSettings() [1/2]
google_dataflow_api::AutoscalingSettings::AutoscalingSettings |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AutoscalingSettings() [2/2]
google_dataflow_api::AutoscalingSettings::AutoscalingSettings |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AutoscalingSettings()
google_dataflow_api::AutoscalingSettings::~AutoscalingSettings |
( |
| ) |
|
|
virtual |
◆ clear_algorithm()
void google_dataflow_api::AutoscalingSettings::clear_algorithm |
( |
| ) |
|
|
inline |
Clears the 'algorithm
' attribute.
◆ clear_max_num_workers()
void google_dataflow_api::AutoscalingSettings::clear_max_num_workers |
( |
| ) |
|
|
inline |
Clears the 'maxNumWorkers
' attribute.
◆ get_algorithm()
const StringPiece google_dataflow_api::AutoscalingSettings::get_algorithm |
( |
| ) |
const |
|
inline |
Get the value of the 'algorithm
' attribute.
◆ get_max_num_workers()
int32 google_dataflow_api::AutoscalingSettings::get_max_num_workers |
( |
| ) |
const |
|
inline |
Get the value of the 'maxNumWorkers
' attribute.
◆ GetTypeName()
const StringPiece google_dataflow_api::AutoscalingSettings::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_algorithm()
bool google_dataflow_api::AutoscalingSettings::has_algorithm |
( |
| ) |
const |
|
inline |
Determine if the 'algorithm
' attribute was set.
- Returns
- true if the '
algorithm
' attribute was set.
◆ has_max_num_workers()
bool google_dataflow_api::AutoscalingSettings::has_max_num_workers |
( |
| ) |
const |
|
inline |
Determine if the 'maxNumWorkers
' attribute was set.
- Returns
- true if the '
maxNumWorkers
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_algorithm()
void google_dataflow_api::AutoscalingSettings::set_algorithm |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'algorithm
' attribute.
The algorithm to use for autoscaling.
- Parameters
-
◆ set_max_num_workers()
void google_dataflow_api::AutoscalingSettings::set_max_num_workers |
( |
int32 |
value | ) |
|
|
inline |
Change the 'maxNumWorkers
' attribute.
The maximum number of workers to cap scaling at.
- Parameters
-
The documentation for this class was generated from the following files: