public final class MetricUpdate 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 |
---|
MetricUpdate() |
Modifier and Type | Method and Description |
---|---|
MetricUpdate |
clone() |
Boolean |
getCumulative() |
Object |
getInternal() |
String |
getKind() |
Object |
getMeanCount() |
Object |
getMeanSum() |
MetricStructuredName |
getName() |
Object |
getScalar() |
Object |
getSet() |
String |
getUpdateTime() |
MetricUpdate |
set(String fieldName,
Object value) |
MetricUpdate |
setCumulative(Boolean cumulative) |
MetricUpdate |
setInternal(Object internal) |
MetricUpdate |
setKind(String kind) |
MetricUpdate |
setMeanCount(Object meanCount) |
MetricUpdate |
setMeanSum(Object meanSum) |
MetricUpdate |
setName(MetricStructuredName name) |
MetricUpdate |
setScalar(Object scalar) |
MetricUpdate |
setSet(Object set) |
MetricUpdate |
setUpdateTime(String updateTime) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Boolean getCumulative()
null
for nonepublic MetricUpdate setCumulative(Boolean cumulative)
cumulative
- cumulative or null
for nonepublic Object getInternal()
null
for nonepublic MetricUpdate setInternal(Object internal)
internal
- internal or null
for nonepublic String getKind()
null
for nonepublic MetricUpdate setKind(String kind)
kind
- kind or null
for nonepublic Object getMeanCount()
null
for nonepublic MetricUpdate setMeanCount(Object meanCount)
meanCount
- meanCount or null
for nonepublic Object getMeanSum()
null
for nonepublic MetricUpdate setMeanSum(Object meanSum)
meanSum
- meanSum or null
for nonepublic MetricStructuredName getName()
null
for nonepublic MetricUpdate setName(MetricStructuredName name)
name
- name or null
for nonepublic Object getScalar()
null
for nonepublic MetricUpdate setScalar(Object scalar)
scalar
- scalar or null
for nonepublic Object getSet()
null
for nonepublic MetricUpdate setSet(Object set)
set
- set or null
for nonepublic String getUpdateTime()
null
for nonepublic MetricUpdate setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic MetricUpdate set(String fieldName, Object value)
set
in class GenericJson
public MetricUpdate clone()
clone
in class GenericJson