public final class ReportWorkItemStatusRequest
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 Google 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 |
|---|
ReportWorkItemStatusRequest() |
| Modifier and Type | Method and Description |
|---|---|
ReportWorkItemStatusRequest |
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 |
getWorkerId()
The ID of the worker reporting the WorkItem status.
|
java.util.List<WorkItemStatus> |
getWorkItemStatuses()
The order is unimportant, except that the order of the WorkItemServiceState messages in the
ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.
|
ReportWorkItemStatusRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
ReportWorkItemStatusRequest |
setCurrentWorkerTime(java.lang.String currentWorkerTime)
The current timestamp at the worker.
|
ReportWorkItemStatusRequest |
setLocation(java.lang.String location)
The location which contains the WorkItem's job.
|
ReportWorkItemStatusRequest |
setWorkerId(java.lang.String workerId)
The ID of the worker reporting the WorkItem status.
|
ReportWorkItemStatusRequest |
setWorkItemStatuses(java.util.List<WorkItemStatus> workItemStatuses)
The order is unimportant, except that the order of the WorkItemServiceState messages in the
ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCurrentWorkerTime()
null for nonepublic ReportWorkItemStatusRequest setCurrentWorkerTime(java.lang.String currentWorkerTime)
currentWorkerTime - currentWorkerTime or null for nonepublic java.lang.String getLocation()
null for nonepublic ReportWorkItemStatusRequest setLocation(java.lang.String location)
location - location or null for nonepublic java.util.List<WorkItemStatus> getWorkItemStatuses()
null for nonepublic ReportWorkItemStatusRequest setWorkItemStatuses(java.util.List<WorkItemStatus> workItemStatuses)
workItemStatuses - workItemStatuses or null for nonepublic java.lang.String getWorkerId()
null for nonepublic ReportWorkItemStatusRequest setWorkerId(java.lang.String workerId)
workerId - workerId or null for nonepublic ReportWorkItemStatusRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ReportWorkItemStatusRequest clone()
clone in class com.google.api.client.json.GenericJson