public final class IntegerGauge 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 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 |
---|
IntegerGauge() |
Modifier and Type | Method and Description |
---|---|
IntegerGauge |
clone() |
String |
getTimestamp()
The time at which this value was measured.
|
SplitInt64 |
getValue()
The value of the variable represented by this gauge.
|
IntegerGauge |
set(String fieldName,
Object value) |
IntegerGauge |
setTimestamp(String timestamp)
The time at which this value was measured.
|
IntegerGauge |
setValue(SplitInt64 value)
The value of the variable represented by this gauge.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getTimestamp()
null
for nonepublic IntegerGauge setTimestamp(String timestamp)
timestamp
- timestamp or null
for nonepublic SplitInt64 getValue()
null
for nonepublic IntegerGauge setValue(SplitInt64 value)
value
- value or null
for nonepublic IntegerGauge set(String fieldName, Object value)
set
in class GenericJson
public IntegerGauge clone()
clone
in class GenericJson