public final class WorkItemStatus
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 |
|---|
WorkItemStatus() |
| Modifier and Type | Method and Description |
|---|---|
WorkItemStatus |
clone() |
java.lang.Boolean |
getCompleted()
True if the WorkItem was completed (successfully or unsuccessfully).
|
java.util.List<CounterUpdate> |
getCounterUpdates()
Worker output counters for this WorkItem.
|
DynamicSourceSplit |
getDynamicSourceSplit()
See documentation of stop_position.
|
java.util.List<Status> |
getErrors()
Specifies errors which occurred during processing.
|
java.util.List<MetricUpdate> |
getMetricUpdates()
DEPRECATED in favor of counter_updates.
|
ApproximateProgress |
getProgress()
DEPRECATED in favor of reported_progress.
|
ApproximateReportedProgress |
getReportedProgress()
The worker's progress through this WorkItem.
|
java.lang.Long |
getReportIndex()
The report index.
|
java.lang.String |
getRequestedLeaseDuration()
Amount of time the worker requests for its lease.
|
SourceFork |
getSourceFork()
DEPRECATED in favor of dynamic_source_split.
|
SourceOperationResponse |
getSourceOperationResponse()
If the work item represented a SourceOperationRequest, and the work is completed, contains the
result of the operation.
|
Position |
getStopPosition()
A worker may split an active map task in two parts, "primary" and "residual", continuing to
process the primary part and returning the residual part into the pool of available work.
|
java.lang.Double |
getTotalThrottlerWaitTimeSeconds()
Total time the worker spent being throttled by external systems.
|
java.lang.String |
getWorkItemId()
Identifies the WorkItem.
|
WorkItemStatus |
set(java.lang.String fieldName,
java.lang.Object value) |
WorkItemStatus |
setCompleted(java.lang.Boolean completed)
True if the WorkItem was completed (successfully or unsuccessfully).
|
WorkItemStatus |
setCounterUpdates(java.util.List<CounterUpdate> counterUpdates)
Worker output counters for this WorkItem.
|
WorkItemStatus |
setDynamicSourceSplit(DynamicSourceSplit dynamicSourceSplit)
See documentation of stop_position.
|
WorkItemStatus |
setErrors(java.util.List<Status> errors)
Specifies errors which occurred during processing.
|
WorkItemStatus |
setMetricUpdates(java.util.List<MetricUpdate> metricUpdates)
DEPRECATED in favor of counter_updates.
|
WorkItemStatus |
setProgress(ApproximateProgress progress)
DEPRECATED in favor of reported_progress.
|
WorkItemStatus |
setReportedProgress(ApproximateReportedProgress reportedProgress)
The worker's progress through this WorkItem.
|
WorkItemStatus |
setReportIndex(java.lang.Long reportIndex)
The report index.
|
WorkItemStatus |
setRequestedLeaseDuration(java.lang.String requestedLeaseDuration)
Amount of time the worker requests for its lease.
|
WorkItemStatus |
setSourceFork(SourceFork sourceFork)
DEPRECATED in favor of dynamic_source_split.
|
WorkItemStatus |
setSourceOperationResponse(SourceOperationResponse sourceOperationResponse)
If the work item represented a SourceOperationRequest, and the work is completed, contains the
result of the operation.
|
WorkItemStatus |
setStopPosition(Position stopPosition)
A worker may split an active map task in two parts, "primary" and "residual", continuing to
process the primary part and returning the residual part into the pool of available work.
|
WorkItemStatus |
setTotalThrottlerWaitTimeSeconds(java.lang.Double totalThrottlerWaitTimeSeconds)
Total time the worker spent being throttled by external systems.
|
WorkItemStatus |
setWorkItemId(java.lang.String workItemId)
Identifies the WorkItem.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getCompleted()
null for nonepublic WorkItemStatus setCompleted(java.lang.Boolean completed)
completed - completed or null for nonepublic java.util.List<CounterUpdate> getCounterUpdates()
null for nonepublic WorkItemStatus setCounterUpdates(java.util.List<CounterUpdate> counterUpdates)
counterUpdates - counterUpdates or null for nonepublic DynamicSourceSplit getDynamicSourceSplit()
null for nonepublic WorkItemStatus setDynamicSourceSplit(DynamicSourceSplit dynamicSourceSplit)
dynamicSourceSplit - dynamicSourceSplit or null for nonepublic java.util.List<Status> getErrors()
null for nonepublic WorkItemStatus setErrors(java.util.List<Status> errors)
errors - errors or null for nonepublic java.util.List<MetricUpdate> getMetricUpdates()
null for nonepublic WorkItemStatus setMetricUpdates(java.util.List<MetricUpdate> metricUpdates)
metricUpdates - metricUpdates or null for nonepublic ApproximateProgress getProgress()
null for nonepublic WorkItemStatus setProgress(ApproximateProgress progress)
progress - progress or null for nonepublic java.lang.Long getReportIndex()
null for nonepublic WorkItemStatus setReportIndex(java.lang.Long reportIndex)
reportIndex - reportIndex or null for nonepublic ApproximateReportedProgress getReportedProgress()
null for nonepublic WorkItemStatus setReportedProgress(ApproximateReportedProgress reportedProgress)
reportedProgress - reportedProgress or null for nonepublic java.lang.String getRequestedLeaseDuration()
null for nonepublic WorkItemStatus setRequestedLeaseDuration(java.lang.String requestedLeaseDuration)
requestedLeaseDuration - requestedLeaseDuration or null for nonepublic SourceFork getSourceFork()
null for nonepublic WorkItemStatus setSourceFork(SourceFork sourceFork)
sourceFork - sourceFork or null for nonepublic SourceOperationResponse getSourceOperationResponse()
null for nonepublic WorkItemStatus setSourceOperationResponse(SourceOperationResponse sourceOperationResponse)
sourceOperationResponse - sourceOperationResponse or null for nonepublic Position getStopPosition()
null for nonepublic WorkItemStatus setStopPosition(Position stopPosition)
stopPosition - stopPosition or null for nonepublic java.lang.Double getTotalThrottlerWaitTimeSeconds()
null for nonepublic WorkItemStatus setTotalThrottlerWaitTimeSeconds(java.lang.Double totalThrottlerWaitTimeSeconds)
totalThrottlerWaitTimeSeconds - totalThrottlerWaitTimeSeconds or null for nonepublic java.lang.String getWorkItemId()
null for nonepublic WorkItemStatus setWorkItemId(java.lang.String workItemId)
workItemId - workItemId or null for nonepublic WorkItemStatus set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic WorkItemStatus clone()
clone in class com.google.api.client.json.GenericJson