public final class WorkerHealthReport
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
WorkerHealthReport() |
Modifier and Type | Method and Description |
---|---|
WorkerHealthReport |
clone() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getPods()
The pods running on the worker.
|
java.lang.String |
getReportInterval()
The interval at which the worker is sending health reports.
|
java.lang.Boolean |
getVmIsHealthy()
Whether the VM is healthy.
|
java.lang.String |
getVmStartupTime()
The time the VM was booted.
|
WorkerHealthReport |
set(java.lang.String fieldName,
java.lang.Object value) |
WorkerHealthReport |
setPods(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> pods)
The pods running on the worker.
|
WorkerHealthReport |
setReportInterval(java.lang.String reportInterval)
The interval at which the worker is sending health reports.
|
WorkerHealthReport |
setVmIsHealthy(java.lang.Boolean vmIsHealthy)
Whether the VM is healthy.
|
WorkerHealthReport |
setVmStartupTime(java.lang.String vmStartupTime)
The time the VM was booted.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getPods()
null
for nonepublic WorkerHealthReport setPods(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> pods)
pods
- pods or null
for nonepublic java.lang.String getReportInterval()
null
for nonepublic WorkerHealthReport setReportInterval(java.lang.String reportInterval)
reportInterval
- reportInterval or null
for nonepublic java.lang.Boolean getVmIsHealthy()
null
for nonepublic WorkerHealthReport setVmIsHealthy(java.lang.Boolean vmIsHealthy)
vmIsHealthy
- vmIsHealthy or null
for nonepublic java.lang.String getVmStartupTime()
null
for nonepublic WorkerHealthReport setVmStartupTime(java.lang.String vmStartupTime)
vmStartupTime
- vmStartupTime or null
for nonepublic WorkerHealthReport set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WorkerHealthReport clone()
clone
in class com.google.api.client.json.GenericJson