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

#include <worker_health_report_response.h>

Inheritance diagram for google_dataflow_api::WorkerHealthReportResponse:

Public Member Functions

 WorkerHealthReportResponse (const Json::Value &storage)
 
 WorkerHealthReportResponse (Json::Value *storage)
 
virtual ~WorkerHealthReportResponse ()
 
const StringPiece GetTypeName () const
 
bool has_report_interval () const
 
void clear_report_interval ()
 
const StringPiece get_report_interval () const
 
void set_report_interval (const StringPiece &value)
 

Static Public Member Functions

static WorkerHealthReportResponseNew ()
 

Detailed Description

WorkerHealthReportResponse contains information returned to the worker in response to a health ping.

Constructor & Destructor Documentation

◆ WorkerHealthReportResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ WorkerHealthReportResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~WorkerHealthReportResponse()

google_dataflow_api::WorkerHealthReportResponse::~WorkerHealthReportResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_report_interval()

void google_dataflow_api::WorkerHealthReportResponse::clear_report_interval ( )
inline

Clears the 'reportInterval' attribute.

◆ get_report_interval()

const StringPiece google_dataflow_api::WorkerHealthReportResponse::get_report_interval ( ) const
inline

Get the value of the 'reportInterval' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::WorkerHealthReportResponse

◆ has_report_interval()

bool google_dataflow_api::WorkerHealthReportResponse::has_report_interval ( ) const
inline

Determine if the 'reportInterval' attribute was set.

Returns
true if the 'reportInterval' attribute was set.

◆ New()

WorkerHealthReportResponse * google_dataflow_api::WorkerHealthReportResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_report_interval()

void google_dataflow_api::WorkerHealthReportResponse::set_report_interval ( const StringPiece &  value)
inline

Change the 'reportInterval' attribute.

A positive value indicates the worker should change its reporting interval to the specified value.

The default value of zero means no change in report rate is requested by the server.

Parameters
[in]valueThe new value.

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