public final class WorkItemStatus 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. 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 |
---|
WorkItemStatus() |
Modifier and Type | Method and Description |
---|---|
WorkItemStatus |
clone() |
Boolean |
getCompleted() |
List<Status> |
getErrors() |
List<MetricUpdate> |
getMetricUpdates() |
ApproximateProgress |
getProgress() |
Long |
getReportIndex() |
String |
getRequestedLeaseDuration() |
SourceOperationResponse |
getSourceOperationResponse() |
Position |
getStopPosition() |
String |
getWorkItemId() |
WorkItemStatus |
set(String fieldName,
Object value) |
WorkItemStatus |
setCompleted(Boolean completed) |
WorkItemStatus |
setErrors(List<Status> errors) |
WorkItemStatus |
setMetricUpdates(List<MetricUpdate> metricUpdates) |
WorkItemStatus |
setProgress(ApproximateProgress progress) |
WorkItemStatus |
setReportIndex(Long reportIndex) |
WorkItemStatus |
setRequestedLeaseDuration(String requestedLeaseDuration) |
WorkItemStatus |
setSourceOperationResponse(SourceOperationResponse sourceOperationResponse) |
WorkItemStatus |
setStopPosition(Position stopPosition) |
WorkItemStatus |
setWorkItemId(String workItemId) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getCompleted()
null
for nonepublic WorkItemStatus setCompleted(Boolean completed)
completed
- completed or null
for nonepublic WorkItemStatus setErrors(List<Status> errors)
errors
- errors or null
for nonepublic List<MetricUpdate> getMetricUpdates()
null
for nonepublic WorkItemStatus setMetricUpdates(List<MetricUpdate> metricUpdates)
metricUpdates
- metricUpdates or null
for nonepublic ApproximateProgress getProgress()
null
for nonepublic WorkItemStatus setProgress(ApproximateProgress progress)
progress
- progress or null
for nonepublic Long getReportIndex()
null
for nonepublic WorkItemStatus setReportIndex(Long reportIndex)
reportIndex
- reportIndex or null
for nonepublic String getRequestedLeaseDuration()
null
for nonepublic WorkItemStatus setRequestedLeaseDuration(String requestedLeaseDuration)
requestedLeaseDuration
- requestedLeaseDuration 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 String getWorkItemId()
null
for nonepublic WorkItemStatus setWorkItemId(String workItemId)
workItemId
- workItemId or null
for nonepublic WorkItemStatus set(String fieldName, Object value)
set
in class GenericJson
public WorkItemStatus clone()
clone
in class GenericJson