public final class WorkerMessageResponse 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 Google Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WorkerMessageResponse() |
Modifier and Type | Method and Description |
---|---|
WorkerMessageResponse |
clone() |
WorkerHealthReportResponse |
getWorkerHealthReportResponse()
The service's response to a worker's health report.
|
ResourceUtilizationReportResponse |
getWorkerMetricsResponse()
Service's response to reporting worker metrics (currently empty).
|
WorkerMessageResponse |
set(String fieldName,
Object value) |
WorkerMessageResponse |
setWorkerHealthReportResponse(WorkerHealthReportResponse workerHealthReportResponse)
The service's response to a worker's health report.
|
WorkerMessageResponse |
setWorkerMetricsResponse(ResourceUtilizationReportResponse workerMetricsResponse)
Service's response to reporting worker metrics (currently empty).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public WorkerHealthReportResponse getWorkerHealthReportResponse()
null
for nonepublic WorkerMessageResponse setWorkerHealthReportResponse(WorkerHealthReportResponse workerHealthReportResponse)
workerHealthReportResponse
- workerHealthReportResponse or null
for nonepublic ResourceUtilizationReportResponse getWorkerMetricsResponse()
null
for nonepublic WorkerMessageResponse setWorkerMetricsResponse(ResourceUtilizationReportResponse workerMetricsResponse)
workerMetricsResponse
- workerMetricsResponse or null
for nonepublic WorkerMessageResponse set(String fieldName, Object value)
set
in class GenericJson
public WorkerMessageResponse clone()
clone
in class GenericJson