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