#include <autoscaling_event.h>
A structured message reporting an autoscaling decision made by the Dataflow service.
◆ AutoscalingEvent() [1/2]
google_dataflow_api::AutoscalingEvent::AutoscalingEvent |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AutoscalingEvent() [2/2]
google_dataflow_api::AutoscalingEvent::AutoscalingEvent |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AutoscalingEvent()
google_dataflow_api::AutoscalingEvent::~AutoscalingEvent |
( |
| ) |
|
|
virtual |
◆ clear_current_num_workers()
void google_dataflow_api::AutoscalingEvent::clear_current_num_workers |
( |
| ) |
|
|
inline |
Clears the 'currentNumWorkers
' attribute.
◆ clear_description()
void google_dataflow_api::AutoscalingEvent::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_event_type()
void google_dataflow_api::AutoscalingEvent::clear_event_type |
( |
| ) |
|
|
inline |
Clears the 'eventType
' attribute.
◆ clear_target_num_workers()
void google_dataflow_api::AutoscalingEvent::clear_target_num_workers |
( |
| ) |
|
|
inline |
Clears the 'targetNumWorkers
' attribute.
◆ clear_time()
void google_dataflow_api::AutoscalingEvent::clear_time |
( |
| ) |
|
|
inline |
Clears the 'time
' attribute.
◆ clear_worker_pool()
void google_dataflow_api::AutoscalingEvent::clear_worker_pool |
( |
| ) |
|
|
inline |
Clears the 'workerPool
' attribute.
◆ get_current_num_workers()
int64 google_dataflow_api::AutoscalingEvent::get_current_num_workers |
( |
| ) |
const |
|
inline |
Get the value of the 'currentNumWorkers
' attribute.
◆ get_description()
const StructuredMessage google_dataflow_api::AutoscalingEvent::get_description |
( |
| ) |
const |
Get a reference to the value of the 'description
' attribute.
◆ get_event_type()
const StringPiece google_dataflow_api::AutoscalingEvent::get_event_type |
( |
| ) |
const |
|
inline |
Get the value of the 'eventType
' attribute.
◆ get_target_num_workers()
int64 google_dataflow_api::AutoscalingEvent::get_target_num_workers |
( |
| ) |
const |
|
inline |
Get the value of the 'targetNumWorkers
' attribute.
◆ get_time()
const StringPiece google_dataflow_api::AutoscalingEvent::get_time |
( |
| ) |
const |
|
inline |
Get the value of the 'time
' attribute.
◆ get_worker_pool()
const StringPiece google_dataflow_api::AutoscalingEvent::get_worker_pool |
( |
| ) |
const |
|
inline |
Get the value of the 'workerPool
' attribute.
◆ GetTypeName()
const StringPiece google_dataflow_api::AutoscalingEvent::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_current_num_workers()
bool google_dataflow_api::AutoscalingEvent::has_current_num_workers |
( |
| ) |
const |
|
inline |
Determine if the 'currentNumWorkers
' attribute was set.
- Returns
- true if the '
currentNumWorkers
' attribute was set.
◆ has_description()
bool google_dataflow_api::AutoscalingEvent::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_event_type()
bool google_dataflow_api::AutoscalingEvent::has_event_type |
( |
| ) |
const |
|
inline |
Determine if the 'eventType
' attribute was set.
- Returns
- true if the '
eventType
' attribute was set.
◆ has_target_num_workers()
bool google_dataflow_api::AutoscalingEvent::has_target_num_workers |
( |
| ) |
const |
|
inline |
Determine if the 'targetNumWorkers
' attribute was set.
- Returns
- true if the '
targetNumWorkers
' attribute was set.
◆ has_time()
bool google_dataflow_api::AutoscalingEvent::has_time |
( |
| ) |
const |
|
inline |
Determine if the 'time
' attribute was set.
- Returns
- true if the '
time
' attribute was set.
◆ has_worker_pool()
bool google_dataflow_api::AutoscalingEvent::has_worker_pool |
( |
| ) |
const |
|
inline |
Determine if the 'workerPool
' attribute was set.
- Returns
- true if the '
workerPool
' attribute was set.
◆ mutable_description()
Gets a reference to a mutable value of the 'description
' property.
A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_current_num_workers()
void google_dataflow_api::AutoscalingEvent::set_current_num_workers |
( |
int64 |
value | ) |
|
|
inline |
Change the 'currentNumWorkers
' attribute.
The current number of workers the job has.
- Parameters
-
◆ set_event_type()
void google_dataflow_api::AutoscalingEvent::set_event_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'eventType
' attribute.
The type of autoscaling event to report.
- Parameters
-
◆ set_target_num_workers()
void google_dataflow_api::AutoscalingEvent::set_target_num_workers |
( |
int64 |
value | ) |
|
|
inline |
Change the 'targetNumWorkers
' attribute.
The target number of workers the worker pool wants to resize to use.
- Parameters
-
◆ set_time()
void google_dataflow_api::AutoscalingEvent::set_time |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'time
' attribute.
The time this event was emitted to indicate a new target or current num_workers value.
- Parameters
-
◆ set_worker_pool()
void google_dataflow_api::AutoscalingEvent::set_worker_pool |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'workerPool
' attribute.
A short and friendly name for the worker pool this event refers to, populated from the value of PoolStageRelation::user_pool_name.
- Parameters
-
The documentation for this class was generated from the following files: