public final class MetricUpdate
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 |
|---|
MetricUpdate() |
| Modifier and Type | Method and Description |
|---|---|
MetricUpdate |
clone() |
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.Object |
getDistribution()
A struct value describing properties of a distribution of numeric values.
|
java.lang.Object |
getInternal()
Worker-computed aggregate value for internal use by the Dataflow service.
|
java.lang.String |
getKind()
Metric aggregation kind.
|
java.lang.Object |
getMeanCount()
Worker-computed aggregate value for the "Mean" aggregation kind.
|
java.lang.Object |
getMeanSum()
Worker-computed aggregate value for the "Mean" aggregation kind.
|
MetricStructuredName |
getName()
Name of the metric.
|
java.lang.Object |
getScalar()
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
|
java.lang.Object |
getSet()
Worker-computed aggregate value for the "Set" aggregation kind.
|
java.lang.String |
getUpdateTime()
Timestamp associated with the metric value.
|
MetricUpdate |
set(java.lang.String fieldName,
java.lang.Object value) |
MetricUpdate |
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.
|
MetricUpdate |
setDistribution(java.lang.Object distribution)
A struct value describing properties of a distribution of numeric values.
|
MetricUpdate |
setInternal(java.lang.Object internal)
Worker-computed aggregate value for internal use by the Dataflow service.
|
MetricUpdate |
setKind(java.lang.String kind)
Metric aggregation kind.
|
MetricUpdate |
setMeanCount(java.lang.Object meanCount)
Worker-computed aggregate value for the "Mean" aggregation kind.
|
MetricUpdate |
setMeanSum(java.lang.Object meanSum)
Worker-computed aggregate value for the "Mean" aggregation kind.
|
MetricUpdate |
setName(MetricStructuredName name)
Name of the metric.
|
MetricUpdate |
setScalar(java.lang.Object scalar)
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
|
MetricUpdate |
setSet(java.lang.Object set)
Worker-computed aggregate value for the "Set" aggregation kind.
|
MetricUpdate |
setUpdateTime(java.lang.String updateTime)
Timestamp associated with the metric value.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getCumulative()
null for nonepublic MetricUpdate setCumulative(java.lang.Boolean cumulative)
cumulative - cumulative or null for nonepublic java.lang.Object getDistribution()
null for nonepublic MetricUpdate setDistribution(java.lang.Object distribution)
distribution - distribution or null for nonepublic java.lang.Object getInternal()
null for nonepublic MetricUpdate setInternal(java.lang.Object internal)
internal - internal or null for nonepublic java.lang.String getKind()
null for nonepublic MetricUpdate setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Object getMeanCount()
null for nonepublic MetricUpdate setMeanCount(java.lang.Object meanCount)
meanCount - meanCount or null for nonepublic java.lang.Object getMeanSum()
null for nonepublic MetricUpdate setMeanSum(java.lang.Object meanSum)
meanSum - meanSum or null for nonepublic MetricStructuredName getName()
null for nonepublic MetricUpdate setName(MetricStructuredName name)
name - name or null for nonepublic java.lang.Object getScalar()
null for nonepublic MetricUpdate setScalar(java.lang.Object scalar)
scalar - scalar or null for nonepublic java.lang.Object getSet()
null for nonepublic MetricUpdate setSet(java.lang.Object set)
set - set or null for nonepublic java.lang.String getUpdateTime()
null for nonepublic MetricUpdate setUpdateTime(java.lang.String updateTime)
updateTime - updateTime or null for nonepublic MetricUpdate set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricUpdate clone()
clone in class com.google.api.client.json.GenericJson