public final class WorkItemServiceState 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 |
---|
WorkItemServiceState() |
Modifier and Type | Method and Description |
---|---|
WorkItemServiceState |
clone() |
Map<String,Object> |
getHarnessData() |
String |
getLeaseExpireTime() |
String |
getReportStatusInterval() |
ApproximateProgress |
getSuggestedStopPoint() |
Position |
getSuggestedStopPosition() |
WorkItemServiceState |
set(String fieldName,
Object value) |
WorkItemServiceState |
setHarnessData(Map<String,Object> harnessData) |
WorkItemServiceState |
setLeaseExpireTime(String leaseExpireTime) |
WorkItemServiceState |
setReportStatusInterval(String reportStatusInterval) |
WorkItemServiceState |
setSuggestedStopPoint(ApproximateProgress suggestedStopPoint) |
WorkItemServiceState |
setSuggestedStopPosition(Position suggestedStopPosition) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public WorkItemServiceState setHarnessData(Map<String,Object> harnessData)
harnessData
- harnessData or null
for nonepublic String getLeaseExpireTime()
null
for nonepublic WorkItemServiceState setLeaseExpireTime(String leaseExpireTime)
leaseExpireTime
- leaseExpireTime or null
for nonepublic String getReportStatusInterval()
null
for nonepublic WorkItemServiceState setReportStatusInterval(String reportStatusInterval)
reportStatusInterval
- reportStatusInterval or null
for nonepublic ApproximateProgress getSuggestedStopPoint()
null
for nonepublic WorkItemServiceState setSuggestedStopPoint(ApproximateProgress suggestedStopPoint)
suggestedStopPoint
- suggestedStopPoint or null
for nonepublic Position getSuggestedStopPosition()
null
for nonepublic WorkItemServiceState setSuggestedStopPosition(Position suggestedStopPosition)
suggestedStopPosition
- suggestedStopPosition or null
for nonepublic WorkItemServiceState set(String fieldName, Object value)
set
in class GenericJson
public WorkItemServiceState clone()
clone
in class GenericJson