public final class WorkerHealthReport 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 |
|---|
WorkerHealthReport() |
| Modifier and Type | Method and Description |
|---|---|
WorkerHealthReport |
clone() |
String |
getMsg()
Message describing any unusual health reports.
|
List<Map<String,Object>> |
getPods()
The pods running on the worker.
|
String |
getReportInterval()
The interval at which the worker is sending health reports.
|
String |
getVmBrokenCode()
Code to describe a specific reason, if known, that a VM has reported broken state.
|
Boolean |
getVmIsBroken()
Whether the VM is in a permanently broken state.
|
Boolean |
getVmIsHealthy()
Whether the VM is currently healthy.
|
String |
getVmStartupTime()
The time the VM was booted.
|
WorkerHealthReport |
set(String fieldName,
Object value) |
WorkerHealthReport |
setMsg(String msg)
Message describing any unusual health reports.
|
WorkerHealthReport |
setPods(List<Map<String,Object>> pods)
The pods running on the worker.
|
WorkerHealthReport |
setReportInterval(String reportInterval)
The interval at which the worker is sending health reports.
|
WorkerHealthReport |
setVmBrokenCode(String vmBrokenCode)
Code to describe a specific reason, if known, that a VM has reported broken state.
|
WorkerHealthReport |
setVmIsBroken(Boolean vmIsBroken)
Whether the VM is in a permanently broken state.
|
WorkerHealthReport |
setVmIsHealthy(Boolean vmIsHealthy)
Whether the VM is currently healthy.
|
WorkerHealthReport |
setVmStartupTime(String vmStartupTime)
The time the VM was booted.
|
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 getMsg()
null for nonepublic WorkerHealthReport setMsg(String msg)
msg - msg or null for nonepublic List<Map<String,Object>> getPods()
null for nonepublic WorkerHealthReport setPods(List<Map<String,Object>> pods)
pods - pods or null for nonepublic String getReportInterval()
null for nonepublic WorkerHealthReport setReportInterval(String reportInterval)
reportInterval - reportInterval or null for nonepublic String getVmBrokenCode()
null for nonepublic WorkerHealthReport setVmBrokenCode(String vmBrokenCode)
vmBrokenCode - vmBrokenCode or null for nonepublic Boolean getVmIsBroken()
null for nonepublic WorkerHealthReport setVmIsBroken(Boolean vmIsBroken)
vmIsBroken - vmIsBroken or null for nonepublic Boolean getVmIsHealthy()
null for nonepublic WorkerHealthReport setVmIsHealthy(Boolean vmIsHealthy)
vmIsHealthy - vmIsHealthy or null for nonepublic String getVmStartupTime()
null for nonepublic WorkerHealthReport setVmStartupTime(String vmStartupTime)
vmStartupTime - vmStartupTime or null for nonepublic WorkerHealthReport set(String fieldName, Object value)
set in class GenericJsonpublic WorkerHealthReport clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.