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

#include <autoscaling_settings.h>

Inheritance diagram for google_dataflow_api::AutoscalingSettings:

Public Member Functions

 AutoscalingSettings (const Json::Value &storage)
 
 AutoscalingSettings (Json::Value *storage)
 
virtual ~AutoscalingSettings ()
 
const StringPiece GetTypeName () const
 
bool has_algorithm () const
 
void clear_algorithm ()
 
const StringPiece get_algorithm () const
 
void set_algorithm (const StringPiece &value)
 
bool has_max_num_workers () const
 
void clear_max_num_workers ()
 
int32 get_max_num_workers () const
 
void set_max_num_workers (int32 value)
 

Static Public Member Functions

static AutoscalingSettingsNew ()
 

Detailed Description

Settings for WorkerPool autoscaling.

Constructor & Destructor Documentation

◆ AutoscalingSettings() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~AutoscalingSettings()

google_dataflow_api::AutoscalingSettings::~AutoscalingSettings ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::AutoscalingSettings

◆ 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()

AutoscalingSettings * google_dataflow_api::AutoscalingSettings::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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