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

#include <lease_work_item_request.h>

Inheritance diagram for google_dataflow_api::LeaseWorkItemRequest:

Public Member Functions

 LeaseWorkItemRequest (const Json::Value &storage)
 
 LeaseWorkItemRequest (Json::Value *storage)
 
virtual ~LeaseWorkItemRequest ()
 
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_requested_lease_duration () const
 
void clear_requested_lease_duration ()
 
const StringPiece get_requested_lease_duration () const
 
void set_requested_lease_duration (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_types () const
 
void clear_work_item_types ()
 
const client::JsonCppArray< string > get_work_item_types () const
 
client::JsonCppArray< string > mutable_workItemTypes ()
 
bool has_worker_capabilities () const
 
void clear_worker_capabilities ()
 
const client::JsonCppArray< string > get_worker_capabilities () const
 
client::JsonCppArray< string > mutable_workerCapabilities ()
 
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 LeaseWorkItemRequestNew ()
 

Detailed Description

Request to lease WorkItems.

Constructor & Destructor Documentation

◆ LeaseWorkItemRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LeaseWorkItemRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LeaseWorkItemRequest()

google_dataflow_api::LeaseWorkItemRequest::~LeaseWorkItemRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_current_worker_time()

void google_dataflow_api::LeaseWorkItemRequest::clear_current_worker_time ( )
inline

Clears the 'currentWorkerTime' attribute.

◆ clear_location()

void google_dataflow_api::LeaseWorkItemRequest::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_requested_lease_duration()

void google_dataflow_api::LeaseWorkItemRequest::clear_requested_lease_duration ( )
inline

Clears the 'requestedLeaseDuration' attribute.

◆ clear_unified_worker_request()

void google_dataflow_api::LeaseWorkItemRequest::clear_unified_worker_request ( )
inline

Clears the 'unifiedWorkerRequest' attribute.

◆ clear_work_item_types()

void google_dataflow_api::LeaseWorkItemRequest::clear_work_item_types ( )
inline

Clears the 'workItemTypes' attribute.

◆ clear_worker_capabilities()

void google_dataflow_api::LeaseWorkItemRequest::clear_worker_capabilities ( )
inline

Clears the 'workerCapabilities' attribute.

◆ clear_worker_id()

void google_dataflow_api::LeaseWorkItemRequest::clear_worker_id ( )
inline

Clears the 'workerId' attribute.

◆ get_current_worker_time()

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

Get the value of the 'currentWorkerTime' attribute.

◆ get_location()

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

Get the value of the 'location' attribute.

◆ get_requested_lease_duration()

const StringPiece google_dataflow_api::LeaseWorkItemRequest::get_requested_lease_duration ( ) const
inline

Get the value of the 'requestedLeaseDuration' attribute.

◆ get_unified_worker_request()

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

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

◆ get_work_item_types()

const client::JsonCppArray<string > google_dataflow_api::LeaseWorkItemRequest::get_work_item_types ( ) const
inline

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

◆ get_worker_capabilities()

const client::JsonCppArray<string > google_dataflow_api::LeaseWorkItemRequest::get_worker_capabilities ( ) const
inline

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

◆ get_worker_id()

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

Get the value of the 'workerId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::LeaseWorkItemRequest

◆ has_current_worker_time()

bool google_dataflow_api::LeaseWorkItemRequest::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::LeaseWorkItemRequest::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_requested_lease_duration()

bool google_dataflow_api::LeaseWorkItemRequest::has_requested_lease_duration ( ) const
inline

Determine if the 'requestedLeaseDuration' attribute was set.

Returns
true if the 'requestedLeaseDuration' attribute was set.

◆ has_unified_worker_request()

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

Determine if the 'unifiedWorkerRequest' attribute was set.

Returns
true if the 'unifiedWorkerRequest' attribute was set.

◆ has_work_item_types()

bool google_dataflow_api::LeaseWorkItemRequest::has_work_item_types ( ) const
inline

Determine if the 'workItemTypes' attribute was set.

Returns
true if the 'workItemTypes' attribute was set.

◆ has_worker_capabilities()

bool google_dataflow_api::LeaseWorkItemRequest::has_worker_capabilities ( ) const
inline

Determine if the 'workerCapabilities' attribute was set.

Returns
true if the 'workerCapabilities' attribute was set.

◆ has_worker_id()

bool google_dataflow_api::LeaseWorkItemRequest::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::LeaseWorkItemRequest::mutable_unifiedWorkerRequest ( )
inline

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

Untranslated bag-of-bytes WorkRequest from UnifiedWorker.

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

◆ mutable_workerCapabilities()

client::JsonCppArray<string > google_dataflow_api::LeaseWorkItemRequest::mutable_workerCapabilities ( )
inline

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

Worker capabilities. WorkItems might be limited to workers with specific capabilities.

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

◆ mutable_workItemTypes()

client::JsonCppArray<string > google_dataflow_api::LeaseWorkItemRequest::mutable_workItemTypes ( )
inline

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

Filter for WorkItem type.

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

◆ New()

LeaseWorkItemRequest * google_dataflow_api::LeaseWorkItemRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_current_worker_time()

void google_dataflow_api::LeaseWorkItemRequest::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::LeaseWorkItemRequest::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_requested_lease_duration()

void google_dataflow_api::LeaseWorkItemRequest::set_requested_lease_duration ( const StringPiece &  value)
inline

Change the 'requestedLeaseDuration' attribute.

The initial lease period.

Parameters
[in]valueThe new value.

◆ set_worker_id()

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

Change the 'workerId' attribute.

Identifies the worker leasing work – typically the ID of the virtual machine running the worker.

Parameters
[in]valueThe new value.

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