public final class WorkItemDetails 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 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
WorkItemDetails() |
| Modifier and Type | Method and Description |
|---|---|
WorkItemDetails |
clone() |
String |
getAttemptId()
Attempt ID of this work item
|
String |
getEndTime()
End time of this work item attempt.
|
List<MetricUpdate> |
getMetrics()
Metrics for this work item.
|
ProgressTimeseries |
getProgress()
Progress of this work item.
|
String |
getStartTime()
Start time of this work item attempt.
|
String |
getState()
State of this work item.
|
StragglerInfo |
getStragglerInfo()
Information about straggler detections for this work item.
|
String |
getTaskId()
Name of this work item.
|
WorkItemDetails |
set(String fieldName,
Object value) |
WorkItemDetails |
setAttemptId(String attemptId)
Attempt ID of this work item
|
WorkItemDetails |
setEndTime(String endTime)
End time of this work item attempt.
|
WorkItemDetails |
setMetrics(List<MetricUpdate> metrics)
Metrics for this work item.
|
WorkItemDetails |
setProgress(ProgressTimeseries progress)
Progress of this work item.
|
WorkItemDetails |
setStartTime(String startTime)
Start time of this work item attempt.
|
WorkItemDetails |
setState(String state)
State of this work item.
|
WorkItemDetails |
setStragglerInfo(StragglerInfo stragglerInfo)
Information about straggler detections for this work item.
|
WorkItemDetails |
setTaskId(String taskId)
Name of this work item.
|
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 String getAttemptId()
null for nonepublic WorkItemDetails setAttemptId(String attemptId)
attemptId - attemptId or null for nonepublic String getEndTime()
null for nonepublic WorkItemDetails setEndTime(String endTime)
endTime - endTime or null for nonepublic List<MetricUpdate> getMetrics()
null for nonepublic WorkItemDetails setMetrics(List<MetricUpdate> metrics)
metrics - metrics or null for nonepublic ProgressTimeseries getProgress()
null for nonepublic WorkItemDetails setProgress(ProgressTimeseries progress)
progress - progress or null for nonepublic String getStartTime()
null for nonepublic WorkItemDetails setStartTime(String startTime)
startTime - startTime or null for nonepublic String getState()
null for nonepublic WorkItemDetails setState(String state)
state - state or null for nonepublic StragglerInfo getStragglerInfo()
null for nonepublic WorkItemDetails setStragglerInfo(StragglerInfo stragglerInfo)
stragglerInfo - stragglerInfo or null for nonepublic String getTaskId()
null for nonepublic WorkItemDetails setTaskId(String taskId)
taskId - taskId or null for nonepublic WorkItemDetails set(String fieldName, Object value)
set in class GenericJsonpublic WorkItemDetails clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.