public final class ReportWorkItemStatusRequest extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ReportWorkItemStatusRequest() |
Modifier and Type | Method and Description |
---|---|
ReportWorkItemStatusRequest |
clone() |
String |
getCurrentWorkerTime()
The current timestamp at the worker.
|
String |
getWorkerId()
The ID of the worker reporting the WorkItem status.
|
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(String fieldName,
Object value) |
ReportWorkItemStatusRequest |
setCurrentWorkerTime(String currentWorkerTime)
The current timestamp at the worker.
|
ReportWorkItemStatusRequest |
setWorkerId(String workerId)
The ID of the worker reporting the WorkItem status.
|
ReportWorkItemStatusRequest |
setWorkItemStatuses(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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getCurrentWorkerTime()
null
for nonepublic ReportWorkItemStatusRequest setCurrentWorkerTime(String currentWorkerTime)
currentWorkerTime
- currentWorkerTime or null
for nonepublic List<WorkItemStatus> getWorkItemStatuses()
null
for nonepublic ReportWorkItemStatusRequest setWorkItemStatuses(List<WorkItemStatus> workItemStatuses)
workItemStatuses
- workItemStatuses or null
for nonepublic String getWorkerId()
null
for nonepublic ReportWorkItemStatusRequest setWorkerId(String workerId)
workerId
- workerId or null
for nonepublic ReportWorkItemStatusRequest set(String fieldName, Object value)
set
in class GenericJson
public ReportWorkItemStatusRequest clone()
clone
in class GenericJson