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

#include <report_work_item_status_request.h>

Inheritance diagram for google_dataflow_api::ReportWorkItemStatusRequest:

Public Member Functions

 ReportWorkItemStatusRequest (const Json::Value &storage)
 
 ReportWorkItemStatusRequest (Json::Value *storage)
 
virtual ~ReportWorkItemStatusRequest ()
 
const StringPiece GetTypeName () const
 
bool has_current_worker_time () const
 
void clear_current_worker_time ()
 
const StringPiece get_current_worker_time () const
 
void set_current_worker_time (const StringPiece &value)
 
bool has_location () const
 
void clear_location ()
 
const StringPiece get_location () const
 
void set_location (const StringPiece &value)
 
bool has_unified_worker_request () const
 
void clear_unified_worker_request ()
 
const client::JsonCppAssociativeArray< client::JsonCppData > get_unified_worker_request () const
 
client::JsonCppAssociativeArray< client::JsonCppData > mutable_unifiedWorkerRequest ()
 
bool has_work_item_statuses () const
 
void clear_work_item_statuses ()
 
const client::JsonCppArray< WorkItemStatusget_work_item_statuses () const
 
client::JsonCppArray< WorkItemStatusmutable_workItemStatuses ()
 
bool has_worker_id () const
 
void clear_worker_id ()
 
const StringPiece get_worker_id () const
 
void set_worker_id (const StringPiece &value)
 

Static Public Member Functions

static ReportWorkItemStatusRequestNew ()
 

Detailed Description

Request to report the status of WorkItems.

Constructor & Destructor Documentation

◆ ReportWorkItemStatusRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ReportWorkItemStatusRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ReportWorkItemStatusRequest()

google_dataflow_api::ReportWorkItemStatusRequest::~ReportWorkItemStatusRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_current_worker_time()

void google_dataflow_api::ReportWorkItemStatusRequest::clear_current_worker_time ( )
inline

Clears the 'currentWorkerTime' attribute.

◆ clear_location()

void google_dataflow_api::ReportWorkItemStatusRequest::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_unified_worker_request()

void google_dataflow_api::ReportWorkItemStatusRequest::clear_unified_worker_request ( )
inline

Clears the 'unifiedWorkerRequest' attribute.

◆ clear_work_item_statuses()

void google_dataflow_api::ReportWorkItemStatusRequest::clear_work_item_statuses ( )
inline

Clears the 'workItemStatuses' attribute.

◆ clear_worker_id()

void google_dataflow_api::ReportWorkItemStatusRequest::clear_worker_id ( )
inline

Clears the 'workerId' attribute.

◆ get_current_worker_time()

const StringPiece google_dataflow_api::ReportWorkItemStatusRequest::get_current_worker_time ( ) const
inline

Get the value of the 'currentWorkerTime' attribute.

◆ get_location()

const StringPiece google_dataflow_api::ReportWorkItemStatusRequest::get_location ( ) const
inline

Get the value of the 'location' attribute.

◆ get_unified_worker_request()

const client::JsonCppAssociativeArray<client::JsonCppData > google_dataflow_api::ReportWorkItemStatusRequest::get_unified_worker_request ( ) const
inline

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

◆ get_work_item_statuses()

const client::JsonCppArray<WorkItemStatus > google_dataflow_api::ReportWorkItemStatusRequest::get_work_item_statuses ( ) const

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

◆ get_worker_id()

const StringPiece google_dataflow_api::ReportWorkItemStatusRequest::get_worker_id ( ) const
inline

Get the value of the 'workerId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::ReportWorkItemStatusRequest

◆ has_current_worker_time()

bool google_dataflow_api::ReportWorkItemStatusRequest::has_current_worker_time ( ) const
inline

Determine if the 'currentWorkerTime' attribute was set.

Returns
true if the 'currentWorkerTime' attribute was set.

◆ has_location()

bool google_dataflow_api::ReportWorkItemStatusRequest::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_unified_worker_request()

bool google_dataflow_api::ReportWorkItemStatusRequest::has_unified_worker_request ( ) const
inline

Determine if the 'unifiedWorkerRequest' attribute was set.

Returns
true if the 'unifiedWorkerRequest' attribute was set.

◆ has_work_item_statuses()

bool google_dataflow_api::ReportWorkItemStatusRequest::has_work_item_statuses ( ) const
inline

Determine if the 'workItemStatuses' attribute was set.

Returns
true if the 'workItemStatuses' attribute was set.

◆ has_worker_id()

bool google_dataflow_api::ReportWorkItemStatusRequest::has_worker_id ( ) const
inline

Determine if the 'workerId' attribute was set.

Returns
true if the 'workerId' attribute was set.

◆ mutable_unifiedWorkerRequest()

client::JsonCppAssociativeArray<client::JsonCppData > google_dataflow_api::ReportWorkItemStatusRequest::mutable_unifiedWorkerRequest ( )
inline

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

Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.

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

◆ mutable_workItemStatuses()

client::JsonCppArray<WorkItemStatus > google_dataflow_api::ReportWorkItemStatusRequest::mutable_workItemStatuses ( )

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

The order is unimportant, except that the order of the WorkItemServiceState messages in the ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.

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

◆ New()

ReportWorkItemStatusRequest * google_dataflow_api::ReportWorkItemStatusRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_current_worker_time()

void google_dataflow_api::ReportWorkItemStatusRequest::set_current_worker_time ( const StringPiece &  value)
inline

Change the 'currentWorkerTime' attribute.

The current timestamp at the worker.

Parameters
[in]valueThe new value.

◆ set_location()

void google_dataflow_api::ReportWorkItemStatusRequest::set_location ( const StringPiece &  value)
inline

Change the 'location' attribute.

The regional endpoint that contains the WorkItem's job.

Parameters
[in]valueThe new value.

◆ set_worker_id()

void google_dataflow_api::ReportWorkItemStatusRequest::set_worker_id ( const StringPiece &  value)
inline

Change the 'workerId' attribute.

The ID of the worker reporting the WorkItem status. If this does not match the ID of the worker which the Dataflow service believes currently has the lease on the WorkItem, the report will be dropped (with an error response).

Parameters
[in]valueThe new value.

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