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 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MetricUpdate() |
| Modifier and Type | Method and Description |
|---|---|
MetricUpdate |
clone() |
Object |
getBoundedTrie()
Worker-computed aggregate value for the "Trie" aggregation kind.
|
Boolean |
getCumulative()
True if this metric is reported as the total cumulative aggregate value accumulated since the
worker started working on this WorkItem.
|
Object |
getDistribution()
A struct value describing properties of a distribution of numeric values.
|
Object |
getGauge()
A struct value describing properties of a Gauge.
|
Object |
getInternal()
Worker-computed aggregate value for internal use by the Dataflow service.
|
String |
getKind()
Metric aggregation kind.
|
Object |
getMeanCount()
Worker-computed aggregate value for the "Mean" aggregation kind.
|
Object |
getMeanSum()
Worker-computed aggregate value for the "Mean" aggregation kind.
|
MetricStructuredName |
getName()
Name of the metric.
|
Object |
getScalar()
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
|
Object |
getSet()
Worker-computed aggregate value for the "Set" aggregation kind.
|
Object |
getTrie()
Worker-computed aggregate value for the "Trie" aggregation kind.
|
String |
getUpdateTime()
Timestamp associated with the metric value.
|
MetricUpdate |
set(String fieldName,
Object value) |
MetricUpdate |
setBoundedTrie(Object boundedTrie)
Worker-computed aggregate value for the "Trie" aggregation kind.
|
MetricUpdate |
setCumulative(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(Object distribution)
A struct value describing properties of a distribution of numeric values.
|
MetricUpdate |
setGauge(Object gauge)
A struct value describing properties of a Gauge.
|
MetricUpdate |
setInternal(Object internal)
Worker-computed aggregate value for internal use by the Dataflow service.
|
MetricUpdate |
setKind(String kind)
Metric aggregation kind.
|
MetricUpdate |
setMeanCount(Object meanCount)
Worker-computed aggregate value for the "Mean" aggregation kind.
|
MetricUpdate |
setMeanSum(Object meanSum)
Worker-computed aggregate value for the "Mean" aggregation kind.
|
MetricUpdate |
setName(MetricStructuredName name)
Name of the metric.
|
MetricUpdate |
setScalar(Object scalar)
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
|
MetricUpdate |
setSet(Object set)
Worker-computed aggregate value for the "Set" aggregation kind.
|
MetricUpdate |
setTrie(Object trie)
Worker-computed aggregate value for the "Trie" aggregation kind.
|
MetricUpdate |
setUpdateTime(String updateTime)
Timestamp associated with the metric value.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Object getBoundedTrie()
null for nonepublic MetricUpdate setBoundedTrie(Object boundedTrie)
boundedTrie - boundedTrie or null for nonepublic Boolean getCumulative()
null for nonepublic MetricUpdate setCumulative(Boolean cumulative)
cumulative - cumulative or null for nonepublic Object getDistribution()
null for nonepublic MetricUpdate setDistribution(Object distribution)
distribution - distribution or null for nonepublic Object getGauge()
null for nonepublic MetricUpdate setGauge(Object gauge)
gauge - gauge or null for nonepublic Object getInternal()
null for nonepublic MetricUpdate setInternal(Object internal)
internal - internal or null for nonepublic String getKind()
null for nonepublic MetricUpdate setKind(String kind)
kind - kind or null for nonepublic Object getMeanCount()
null for nonepublic MetricUpdate setMeanCount(Object meanCount)
meanCount - meanCount or null for nonepublic Object getMeanSum()
null for nonepublic MetricUpdate setMeanSum(Object meanSum)
meanSum - meanSum or null for nonepublic MetricStructuredName getName()
null for nonepublic MetricUpdate setName(MetricStructuredName name)
name - name or null for nonepublic Object getScalar()
null for nonepublic MetricUpdate setScalar(Object scalar)
scalar - scalar or null for nonepublic Object getSet()
null for nonepublic MetricUpdate setSet(Object set)
set - set or null for nonepublic Object getTrie()
null for nonepublic MetricUpdate setTrie(Object trie)
trie - trie or null for nonepublic String getUpdateTime()
null for nonepublic MetricUpdate setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic MetricUpdate set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricUpdate clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.