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 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
WorkItemServiceState() |
| Modifier and Type | Method and Description |
|---|---|
WorkItemServiceState |
clone() |
Status |
getCompleteWorkStatus()
If set, a request to complete the work item with the given status.
|
Map<String,Object> |
getHarnessData()
Other data returned by the service, specific to the particular worker harness.
|
HotKeyDetection |
getHotKeyDetection()
A hot key is a symptom of poor data distribution in which there are enough elements mapped to a
single key to impact pipeline performance.
|
String |
getLeaseExpireTime()
Time at which the current lease will expire.
|
List<MetricShortId> |
getMetricShortId()
The short ids that workers should use in subsequent metric updates.
|
Long |
getNextReportIndex()
The index value to use for the next report sent by the worker.
|
String |
getReportStatusInterval()
New recommended reporting interval.
|
ApproximateSplitRequest |
getSplitRequest()
The progress point in the WorkItem where the Dataflow service suggests that the worker truncate
the task.
|
ApproximateProgress |
getSuggestedStopPoint()
DEPRECATED in favor of split_request.
|
Position |
getSuggestedStopPosition()
Obsolete, always empty.
|
WorkItemServiceState |
set(String fieldName,
Object value) |
WorkItemServiceState |
setCompleteWorkStatus(Status completeWorkStatus)
If set, a request to complete the work item with the given status.
|
WorkItemServiceState |
setHarnessData(Map<String,Object> harnessData)
Other data returned by the service, specific to the particular worker harness.
|
WorkItemServiceState |
setHotKeyDetection(HotKeyDetection hotKeyDetection)
A hot key is a symptom of poor data distribution in which there are enough elements mapped to a
single key to impact pipeline performance.
|
WorkItemServiceState |
setLeaseExpireTime(String leaseExpireTime)
Time at which the current lease will expire.
|
WorkItemServiceState |
setMetricShortId(List<MetricShortId> metricShortId)
The short ids that workers should use in subsequent metric updates.
|
WorkItemServiceState |
setNextReportIndex(Long nextReportIndex)
The index value to use for the next report sent by the worker.
|
WorkItemServiceState |
setReportStatusInterval(String reportStatusInterval)
New recommended reporting interval.
|
WorkItemServiceState |
setSplitRequest(ApproximateSplitRequest splitRequest)
The progress point in the WorkItem where the Dataflow service suggests that the worker truncate
the task.
|
WorkItemServiceState |
setSuggestedStopPoint(ApproximateProgress suggestedStopPoint)
DEPRECATED in favor of split_request.
|
WorkItemServiceState |
setSuggestedStopPosition(Position suggestedStopPosition)
Obsolete, always empty.
|
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 Status getCompleteWorkStatus()
null for nonepublic WorkItemServiceState setCompleteWorkStatus(Status completeWorkStatus)
completeWorkStatus - completeWorkStatus or null for nonepublic Map<String,Object> getHarnessData()
null for nonepublic WorkItemServiceState setHarnessData(Map<String,Object> harnessData)
harnessData - harnessData or null for nonepublic HotKeyDetection getHotKeyDetection()
null for nonepublic WorkItemServiceState setHotKeyDetection(HotKeyDetection hotKeyDetection)
hotKeyDetection - hotKeyDetection or null for nonepublic String getLeaseExpireTime()
null for nonepublic WorkItemServiceState setLeaseExpireTime(String leaseExpireTime)
leaseExpireTime - leaseExpireTime or null for nonepublic List<MetricShortId> getMetricShortId()
null for nonepublic WorkItemServiceState setMetricShortId(List<MetricShortId> metricShortId)
metricShortId - metricShortId or null for nonepublic Long getNextReportIndex()
null for nonepublic WorkItemServiceState setNextReportIndex(Long nextReportIndex)
nextReportIndex - nextReportIndex or null for nonepublic String getReportStatusInterval()
null for nonepublic WorkItemServiceState setReportStatusInterval(String reportStatusInterval)
reportStatusInterval - reportStatusInterval or null for nonepublic ApproximateSplitRequest getSplitRequest()
null for nonepublic WorkItemServiceState setSplitRequest(ApproximateSplitRequest splitRequest)
splitRequest - splitRequest 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 com.google.api.client.json.GenericJsonpublic WorkItemServiceState clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.