#include <lease_work_item_request.h>
Request to lease WorkItems.
◆ LeaseWorkItemRequest() [1/2]
google_dataflow_api::LeaseWorkItemRequest::LeaseWorkItemRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~LeaseWorkItemRequest()
google_dataflow_api::LeaseWorkItemRequest::~LeaseWorkItemRequest |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ set_location()
void google_dataflow_api::LeaseWorkItemRequest::set_location |
( |
const StringPiece & |
value | ) |
|
|
inline |
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: