public final class CounterUpdate
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
Constructor and Description |
---|
CounterUpdate() |
Modifier and Type | Method and Description |
---|---|
CounterUpdate |
clone() |
java.lang.Boolean |
getBoolean()
Boolean value for And, Or.
|
java.lang.Boolean |
getCumulative()
True if this counter is reported as the total cumulative aggregate value accumulated since the
worker started working on this WorkItem.
|
DistributionUpdate |
getDistribution()
Distribution data
|
java.lang.Double |
getFloatingPoint()
Floating point value for Sum, Max, Min.
|
FloatingPointList |
getFloatingPointList()
List of floating point numbers, for Set.
|
FloatingPointMean |
getFloatingPointMean()
Floating point mean aggregation value for Mean.
|
SplitInt64 |
getInteger()
Integer value for Sum, Max, Min.
|
IntegerGauge |
getIntegerGauge()
Gauge data
|
IntegerList |
getIntegerList()
List of integers, for Set.
|
IntegerMean |
getIntegerMean()
Integer mean aggregation value for Mean.
|
java.lang.Object |
getInternal()
Value for internally-defined counters used by the Dataflow service.
|
NameAndKind |
getNameAndKind()
Counter name and aggregation type.
|
java.lang.Long |
getShortId()
The service-generated short identifier for this counter.
|
StringList |
getStringList()
List of strings, for Set.
|
CounterStructuredNameAndMetadata |
getStructuredNameAndMetadata()
Counter structured name and metadata.
|
CounterUpdate |
set(java.lang.String fieldName,
java.lang.Object value) |
CounterUpdate |
setBoolean(java.lang.Boolean boolean__)
Boolean value for And, Or.
|
CounterUpdate |
setCumulative(java.lang.Boolean cumulative)
True if this counter is reported as the total cumulative aggregate value accumulated since the
worker started working on this WorkItem.
|
CounterUpdate |
setDistribution(DistributionUpdate distribution)
Distribution data
|
CounterUpdate |
setFloatingPoint(java.lang.Double floatingPoint)
Floating point value for Sum, Max, Min.
|
CounterUpdate |
setFloatingPointList(FloatingPointList floatingPointList)
List of floating point numbers, for Set.
|
CounterUpdate |
setFloatingPointMean(FloatingPointMean floatingPointMean)
Floating point mean aggregation value for Mean.
|
CounterUpdate |
setInteger(SplitInt64 integer__)
Integer value for Sum, Max, Min.
|
CounterUpdate |
setIntegerGauge(IntegerGauge integerGauge)
Gauge data
|
CounterUpdate |
setIntegerList(IntegerList integerList)
List of integers, for Set.
|
CounterUpdate |
setIntegerMean(IntegerMean integerMean)
Integer mean aggregation value for Mean.
|
CounterUpdate |
setInternal(java.lang.Object internal)
Value for internally-defined counters used by the Dataflow service.
|
CounterUpdate |
setNameAndKind(NameAndKind nameAndKind)
Counter name and aggregation type.
|
CounterUpdate |
setShortId(java.lang.Long shortId)
The service-generated short identifier for this counter.
|
CounterUpdate |
setStringList(StringList stringList)
List of strings, for Set.
|
CounterUpdate |
setStructuredNameAndMetadata(CounterStructuredNameAndMetadata structuredNameAndMetadata)
Counter structured name and metadata.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getBoolean()
null
for nonepublic CounterUpdate setBoolean(java.lang.Boolean boolean__)
boolean__
- boolean__ or null
for nonepublic java.lang.Boolean getCumulative()
null
for nonepublic CounterUpdate setCumulative(java.lang.Boolean cumulative)
cumulative
- cumulative or null
for nonepublic DistributionUpdate getDistribution()
null
for nonepublic CounterUpdate setDistribution(DistributionUpdate distribution)
distribution
- distribution or null
for nonepublic java.lang.Double getFloatingPoint()
null
for nonepublic CounterUpdate setFloatingPoint(java.lang.Double floatingPoint)
floatingPoint
- floatingPoint or null
for nonepublic FloatingPointList getFloatingPointList()
null
for nonepublic CounterUpdate setFloatingPointList(FloatingPointList floatingPointList)
floatingPointList
- floatingPointList or null
for nonepublic FloatingPointMean getFloatingPointMean()
null
for nonepublic CounterUpdate setFloatingPointMean(FloatingPointMean floatingPointMean)
floatingPointMean
- floatingPointMean or null
for nonepublic SplitInt64 getInteger()
null
for nonepublic CounterUpdate setInteger(SplitInt64 integer__)
integer__
- integer__ or null
for nonepublic IntegerGauge getIntegerGauge()
null
for nonepublic CounterUpdate setIntegerGauge(IntegerGauge integerGauge)
integerGauge
- integerGauge or null
for nonepublic IntegerList getIntegerList()
null
for nonepublic CounterUpdate setIntegerList(IntegerList integerList)
integerList
- integerList or null
for nonepublic IntegerMean getIntegerMean()
null
for nonepublic CounterUpdate setIntegerMean(IntegerMean integerMean)
integerMean
- integerMean or null
for nonepublic java.lang.Object getInternal()
null
for nonepublic CounterUpdate setInternal(java.lang.Object internal)
internal
- internal or null
for nonepublic NameAndKind getNameAndKind()
null
for nonepublic CounterUpdate setNameAndKind(NameAndKind nameAndKind)
nameAndKind
- nameAndKind or null
for nonepublic java.lang.Long getShortId()
null
for nonepublic CounterUpdate setShortId(java.lang.Long shortId)
shortId
- shortId or null
for nonepublic StringList getStringList()
null
for nonepublic CounterUpdate setStringList(StringList stringList)
stringList
- stringList or null
for nonepublic CounterStructuredNameAndMetadata getStructuredNameAndMetadata()
null
for nonepublic CounterUpdate setStructuredNameAndMetadata(CounterStructuredNameAndMetadata structuredNameAndMetadata)
structuredNameAndMetadata
- structuredNameAndMetadata or null
for nonepublic CounterUpdate set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CounterUpdate clone()
clone
in class com.google.api.client.json.GenericJson