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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WorkerHealthReport() |
Modifier and Type | Method and Description |
---|---|
WorkerHealthReport |
clone() |
String |
getMsg()
A 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.
|
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)
A 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 |
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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 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 com.google.api.client.json.GenericJson
public WorkerHealthReport clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.