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 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.lang.String |
getMsg()
A message describing any unusual health reports.
|
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 |
getVmIsBroken()
Whether the VM is in a permanently broken state.
|
java.lang.Boolean |
getVmIsHealthy()
Whether the VM is currently healthy.
|
java.lang.String |
getVmStartupTime()
The time the VM was booted.
|
WorkerHealthReport |
set(java.lang.String fieldName,
java.lang.Object value) |
WorkerHealthReport |
setMsg(java.lang.String msg)
A message describing any unusual health reports.
|
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 |
setVmIsBroken(java.lang.Boolean vmIsBroken)
Whether the VM is in a permanently broken state.
|
WorkerHealthReport |
setVmIsHealthy(java.lang.Boolean vmIsHealthy)
Whether the VM is currently 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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getMsg()
null
for nonepublic WorkerHealthReport setMsg(java.lang.String msg)
msg
- msg or null
for nonepublic 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 getVmIsBroken()
null
for nonepublic WorkerHealthReport setVmIsBroken(java.lang.Boolean vmIsBroken)
vmIsBroken
- vmIsBroken 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