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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CounterUpdate() |
Modifier and Type | Method and Description |
---|---|
CounterUpdate |
clone() |
Boolean |
getBoolean()
Boolean value for And, Or.
|
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
|
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.
|
Object |
getInternal()
Value for internally-defined counters used by the Dataflow service.
|
NameAndKind |
getNameAndKind()
Counter name and aggregation type.
|
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(String fieldName,
Object value) |
CounterUpdate |
setBoolean(Boolean boolean__)
Boolean value for And, Or.
|
CounterUpdate |
setCumulative(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(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(Object internal)
Value for internally-defined counters used by the Dataflow service.
|
CounterUpdate |
setNameAndKind(NameAndKind nameAndKind)
Counter name and aggregation type.
|
CounterUpdate |
setShortId(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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getBoolean()
null
for nonepublic CounterUpdate setBoolean(Boolean boolean__)
boolean__
- boolean__ or null
for nonepublic Boolean getCumulative()
null
for nonepublic CounterUpdate setCumulative(Boolean cumulative)
cumulative
- cumulative or null
for nonepublic DistributionUpdate getDistribution()
null
for nonepublic CounterUpdate setDistribution(DistributionUpdate distribution)
distribution
- distribution or null
for nonepublic Double getFloatingPoint()
null
for nonepublic CounterUpdate setFloatingPoint(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 Object getInternal()
null
for nonepublic CounterUpdate setInternal(Object internal)
internal
- internal or null
for nonepublic NameAndKind getNameAndKind()
null
for nonepublic CounterUpdate setNameAndKind(NameAndKind nameAndKind)
nameAndKind
- nameAndKind or null
for nonepublic Long getShortId()
null
for nonepublic CounterUpdate setShortId(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CounterUpdate clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.