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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.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 |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
that contains the WorkItem's job.
|
Map<String,Object> |
getUnifiedWorkerRequest()
Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.
|
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 |
setLocation(String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
that contains the WorkItem's job.
|
ReportWorkItemStatusRequest |
setUnifiedWorkerRequest(Map<String,Object> unifiedWorkerRequest)
Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.
|
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, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCurrentWorkerTime()
null for nonepublic ReportWorkItemStatusRequest setCurrentWorkerTime(String currentWorkerTime)
currentWorkerTime - currentWorkerTime or null for nonepublic String getLocation()
null for nonepublic ReportWorkItemStatusRequest setLocation(String location)
location - location or null for nonepublic Map<String,Object> getUnifiedWorkerRequest()
null for nonepublic ReportWorkItemStatusRequest setUnifiedWorkerRequest(Map<String,Object> unifiedWorkerRequest)
unifiedWorkerRequest - unifiedWorkerRequest 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 GenericJsonpublic ReportWorkItemStatusRequest clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.