public final class WorkerLifecycleEvent
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.Flags
Constructor and Description |
---|
WorkerLifecycleEvent() |
Modifier and Type | Method and Description |
---|---|
WorkerLifecycleEvent |
clone() |
java.lang.String |
getContainerStartTime()
The start time of this container.
|
java.lang.String |
getEvent()
The event being reported.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Other stats that can accompany an event.
|
WorkerLifecycleEvent |
set(java.lang.String fieldName,
java.lang.Object value) |
WorkerLifecycleEvent |
setContainerStartTime(java.lang.String containerStartTime)
The start time of this container.
|
WorkerLifecycleEvent |
setEvent(java.lang.String event)
The event being reported.
|
WorkerLifecycleEvent |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Other stats that can accompany an event.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getContainerStartTime()
null
for nonepublic WorkerLifecycleEvent setContainerStartTime(java.lang.String containerStartTime)
containerStartTime
- containerStartTime or null
for nonepublic java.lang.String getEvent()
null
for nonepublic WorkerLifecycleEvent setEvent(java.lang.String event)
event
- event or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getMetadata()
null
for nonepublic WorkerLifecycleEvent setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata
- metadata or null
for nonepublic WorkerLifecycleEvent set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WorkerLifecycleEvent clone()
clone
in class com.google.api.client.json.GenericJson