public final class JobMetrics 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. 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 |
---|
JobMetrics() |
Modifier and Type | Method and Description |
---|---|
JobMetrics |
clone() |
List<MetricUpdate> |
getMetrics() |
String |
getMetricTime() |
JobMetrics |
set(String fieldName,
Object value) |
JobMetrics |
setMetrics(List<MetricUpdate> metrics) |
JobMetrics |
setMetricTime(String metricTime) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getMetricTime()
null
for nonepublic JobMetrics setMetricTime(String metricTime)
metricTime
- metricTime or null
for nonepublic List<MetricUpdate> getMetrics()
null
for nonepublic JobMetrics setMetrics(List<MetricUpdate> metrics)
metrics
- metrics or null
for nonepublic JobMetrics set(String fieldName, Object value)
set
in class GenericJson
public JobMetrics clone()
clone
in class GenericJson