public final class LeaseWorkItemRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
LeaseWorkItemRequest() |
Modifier and Type | Method and Description |
---|---|
LeaseWorkItemRequest |
clone() |
java.lang.String |
getCurrentWorkerTime()
The current timestamp at the worker.
|
java.lang.String |
getLocation()
The location which contains the WorkItem's job.
|
java.lang.String |
getRequestedLeaseDuration()
The initial lease period.
|
java.util.List<java.lang.String> |
getWorkerCapabilities()
Worker capabilities.
|
java.lang.String |
getWorkerId()
Identifies the worker leasing work -- typically the ID of the virtual machine running the
worker.
|
java.util.List<java.lang.String> |
getWorkItemTypes()
Filter for WorkItem type.
|
LeaseWorkItemRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
LeaseWorkItemRequest |
setCurrentWorkerTime(java.lang.String currentWorkerTime)
The current timestamp at the worker.
|
LeaseWorkItemRequest |
setLocation(java.lang.String location)
The location which contains the WorkItem's job.
|
LeaseWorkItemRequest |
setRequestedLeaseDuration(java.lang.String requestedLeaseDuration)
The initial lease period.
|
LeaseWorkItemRequest |
setWorkerCapabilities(java.util.List<java.lang.String> workerCapabilities)
Worker capabilities.
|
LeaseWorkItemRequest |
setWorkerId(java.lang.String workerId)
Identifies the worker leasing work -- typically the ID of the virtual machine running the
worker.
|
LeaseWorkItemRequest |
setWorkItemTypes(java.util.List<java.lang.String> workItemTypes)
Filter for WorkItem type.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getCurrentWorkerTime()
null
for nonepublic LeaseWorkItemRequest setCurrentWorkerTime(java.lang.String currentWorkerTime)
currentWorkerTime
- currentWorkerTime or null
for nonepublic java.lang.String getLocation()
null
for nonepublic LeaseWorkItemRequest setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.String getRequestedLeaseDuration()
null
for nonepublic LeaseWorkItemRequest setRequestedLeaseDuration(java.lang.String requestedLeaseDuration)
requestedLeaseDuration
- requestedLeaseDuration or null
for nonepublic java.util.List<java.lang.String> getWorkItemTypes()
null
for nonepublic LeaseWorkItemRequest setWorkItemTypes(java.util.List<java.lang.String> workItemTypes)
workItemTypes
- workItemTypes or null
for nonepublic java.util.List<java.lang.String> getWorkerCapabilities()
null
for nonepublic LeaseWorkItemRequest setWorkerCapabilities(java.util.List<java.lang.String> workerCapabilities)
workerCapabilities
- workerCapabilities or null
for nonepublic java.lang.String getWorkerId()
null
for nonepublic LeaseWorkItemRequest setWorkerId(java.lang.String workerId)
workerId
- workerId or null
for nonepublic LeaseWorkItemRequest set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LeaseWorkItemRequest clone()
clone
in class com.google.api.client.json.GenericJson