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

#include <worker_message_response.h>

Inheritance diagram for google_dataflow_api::WorkerMessageResponse:

Public Member Functions

 WorkerMessageResponse (const Json::Value &storage)
 
 WorkerMessageResponse (Json::Value *storage)
 
virtual ~WorkerMessageResponse ()
 
const StringPiece GetTypeName () const
 
bool has_worker_health_report_response () const
 
void clear_worker_health_report_response ()
 
const WorkerHealthReportResponse get_worker_health_report_response () const
 
WorkerHealthReportResponse mutable_workerHealthReportResponse ()
 
bool has_worker_metrics_response () const
 
void clear_worker_metrics_response ()
 
const ResourceUtilizationReportResponse get_worker_metrics_response () const
 
ResourceUtilizationReportResponse mutable_workerMetricsResponse ()
 
bool has_worker_shutdown_notice_response () const
 
void clear_worker_shutdown_notice_response ()
 
const WorkerShutdownNoticeResponse get_worker_shutdown_notice_response () const
 
WorkerShutdownNoticeResponse mutable_workerShutdownNoticeResponse ()
 

Static Public Member Functions

static WorkerMessageResponseNew ()
 

Detailed Description

A worker_message response allows the server to pass information to the sender.

Constructor & Destructor Documentation

◆ WorkerMessageResponse() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ WorkerMessageResponse() [2/2]

google_dataflow_api::WorkerMessageResponse::WorkerMessageResponse ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~WorkerMessageResponse()

google_dataflow_api::WorkerMessageResponse::~WorkerMessageResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_worker_health_report_response()

void google_dataflow_api::WorkerMessageResponse::clear_worker_health_report_response ( )
inline

Clears the 'workerHealthReportResponse' attribute.

◆ clear_worker_metrics_response()

void google_dataflow_api::WorkerMessageResponse::clear_worker_metrics_response ( )
inline

Clears the 'workerMetricsResponse' attribute.

◆ clear_worker_shutdown_notice_response()

void google_dataflow_api::WorkerMessageResponse::clear_worker_shutdown_notice_response ( )
inline

Clears the 'workerShutdownNoticeResponse' attribute.

◆ get_worker_health_report_response()

const WorkerHealthReportResponse google_dataflow_api::WorkerMessageResponse::get_worker_health_report_response ( ) const

Get a reference to the value of the 'workerHealthReportResponse' attribute.

◆ get_worker_metrics_response()

const ResourceUtilizationReportResponse google_dataflow_api::WorkerMessageResponse::get_worker_metrics_response ( ) const

Get a reference to the value of the 'workerMetricsResponse' attribute.

◆ get_worker_shutdown_notice_response()

const WorkerShutdownNoticeResponse google_dataflow_api::WorkerMessageResponse::get_worker_shutdown_notice_response ( ) const

Get a reference to the value of the 'workerShutdownNoticeResponse' attribute.

◆ GetTypeName()

const StringPiece google_dataflow_api::WorkerMessageResponse::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::WorkerMessageResponse

◆ has_worker_health_report_response()

bool google_dataflow_api::WorkerMessageResponse::has_worker_health_report_response ( ) const
inline

Determine if the 'workerHealthReportResponse' attribute was set.

Returns
true if the 'workerHealthReportResponse' attribute was set.

◆ has_worker_metrics_response()

bool google_dataflow_api::WorkerMessageResponse::has_worker_metrics_response ( ) const
inline

Determine if the 'workerMetricsResponse' attribute was set.

Returns
true if the 'workerMetricsResponse' attribute was set.

◆ has_worker_shutdown_notice_response()

bool google_dataflow_api::WorkerMessageResponse::has_worker_shutdown_notice_response ( ) const
inline

Determine if the 'workerShutdownNoticeResponse' attribute was set.

Returns
true if the 'workerShutdownNoticeResponse' attribute was set.

◆ mutable_workerHealthReportResponse()

WorkerHealthReportResponse google_dataflow_api::WorkerMessageResponse::mutable_workerHealthReportResponse ( )

Gets a reference to a mutable value of the 'workerHealthReportResponse' property.

The service's response to a worker's health report.

Returns
The result can be modified to change the attribute value.

◆ mutable_workerMetricsResponse()

ResourceUtilizationReportResponse google_dataflow_api::WorkerMessageResponse::mutable_workerMetricsResponse ( )

Gets a reference to a mutable value of the 'workerMetricsResponse' property.

Service's response to reporting worker metrics (currently empty).

Returns
The result can be modified to change the attribute value.

◆ mutable_workerShutdownNoticeResponse()

WorkerShutdownNoticeResponse google_dataflow_api::WorkerMessageResponse::mutable_workerShutdownNoticeResponse ( )

Gets a reference to a mutable value of the 'workerShutdownNoticeResponse' property.

Service's response to shutdown notice (currently empty).

Returns
The result can be modified to change the attribute value.

◆ New()

WorkerMessageResponse * google_dataflow_api::WorkerMessageResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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