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() |
List<Map<String,Object>> |
getPods()
The pods running on the worker.
|
String |
getReportInterval()
The interval at which the worker is sending health reports.
|
Boolean |
getVmIsHealthy()
Whether the VM is healthy.
|
String |
getVmStartupTime()
The time the VM was booted.
|
WorkerHealthReport |
set(String fieldName,
Object value) |
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 |
setVmIsHealthy(Boolean vmIsHealthy)
Whether the VM is 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 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 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.