public final class WorkItemServiceState
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
WorkItemServiceState() |
Modifier and Type | Method and Description |
---|---|
WorkItemServiceState |
clone() |
java.util.Map<java.lang.String,java.lang.Object> |
getHarnessData() |
java.lang.String |
getLeaseExpireTime() |
java.lang.Long |
getNextReportIndex() |
java.lang.String |
getReportStatusInterval() |
ApproximateProgress |
getSuggestedStopPoint() |
Position |
getSuggestedStopPosition() |
WorkItemServiceState |
set(java.lang.String fieldName,
java.lang.Object value) |
WorkItemServiceState |
setHarnessData(java.util.Map<java.lang.String,java.lang.Object> harnessData) |
WorkItemServiceState |
setLeaseExpireTime(java.lang.String leaseExpireTime) |
WorkItemServiceState |
setNextReportIndex(java.lang.Long nextReportIndex) |
WorkItemServiceState |
setReportStatusInterval(java.lang.String reportStatusInterval) |
WorkItemServiceState |
setSuggestedStopPoint(ApproximateProgress suggestedStopPoint) |
WorkItemServiceState |
setSuggestedStopPosition(Position suggestedStopPosition) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.Map<java.lang.String,java.lang.Object> getHarnessData()
null
for nonepublic WorkItemServiceState setHarnessData(java.util.Map<java.lang.String,java.lang.Object> harnessData)
harnessData
- harnessData or null
for nonepublic java.lang.String getLeaseExpireTime()
null
for nonepublic WorkItemServiceState setLeaseExpireTime(java.lang.String leaseExpireTime)
leaseExpireTime
- leaseExpireTime or null
for nonepublic java.lang.Long getNextReportIndex()
null
for nonepublic WorkItemServiceState setNextReportIndex(java.lang.Long nextReportIndex)
nextReportIndex
- nextReportIndex or null
for nonepublic java.lang.String getReportStatusInterval()
null
for nonepublic WorkItemServiceState setReportStatusInterval(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WorkItemServiceState clone()
clone
in class com.google.api.client.json.GenericJson