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

#include <lease_work_item_response.h>

Inheritance diagram for google_dataflow_api::LeaseWorkItemResponse:

Public Member Functions

 LeaseWorkItemResponse (const Json::Value &storage)
 
 LeaseWorkItemResponse (Json::Value *storage)
 
virtual ~LeaseWorkItemResponse ()
 
const StringPiece GetTypeName () const
 
bool has_unified_worker_response () const
 
void clear_unified_worker_response ()
 
const client::JsonCppAssociativeArray< client::JsonCppData > get_unified_worker_response () const
 
client::JsonCppAssociativeArray< client::JsonCppData > mutable_unifiedWorkerResponse ()
 
bool has_work_items () const
 
void clear_work_items ()
 
const client::JsonCppArray< WorkItemget_work_items () const
 
client::JsonCppArray< WorkItemmutable_workItems ()
 

Static Public Member Functions

static LeaseWorkItemResponseNew ()
 

Detailed Description

Response to a request to lease WorkItems.

Constructor & Destructor Documentation

◆ LeaseWorkItemResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LeaseWorkItemResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LeaseWorkItemResponse()

google_dataflow_api::LeaseWorkItemResponse::~LeaseWorkItemResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_unified_worker_response()

void google_dataflow_api::LeaseWorkItemResponse::clear_unified_worker_response ( )
inline

Clears the 'unifiedWorkerResponse' attribute.

◆ clear_work_items()

void google_dataflow_api::LeaseWorkItemResponse::clear_work_items ( )
inline

Clears the 'workItems' attribute.

◆ get_unified_worker_response()

const client::JsonCppAssociativeArray<client::JsonCppData > google_dataflow_api::LeaseWorkItemResponse::get_unified_worker_response ( ) const
inline

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

◆ get_work_items()

const client::JsonCppArray<WorkItem > google_dataflow_api::LeaseWorkItemResponse::get_work_items ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::LeaseWorkItemResponse

◆ has_unified_worker_response()

bool google_dataflow_api::LeaseWorkItemResponse::has_unified_worker_response ( ) const
inline

Determine if the 'unifiedWorkerResponse' attribute was set.

Returns
true if the 'unifiedWorkerResponse' attribute was set.

◆ has_work_items()

bool google_dataflow_api::LeaseWorkItemResponse::has_work_items ( ) const
inline

Determine if the 'workItems' attribute was set.

Returns
true if the 'workItems' attribute was set.

◆ mutable_unifiedWorkerResponse()

client::JsonCppAssociativeArray<client::JsonCppData > google_dataflow_api::LeaseWorkItemResponse::mutable_unifiedWorkerResponse ( )
inline

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

Untranslated bag-of-bytes WorkResponse for UnifiedWorker.

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

◆ mutable_workItems()

client::JsonCppArray<WorkItem > google_dataflow_api::LeaseWorkItemResponse::mutable_workItems ( )

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

A list of the leased WorkItems.

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

◆ New()

LeaseWorkItemResponse * google_dataflow_api::LeaseWorkItemResponse::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: