target.apidocs.com.google.api.services.dataflow.model.CounterUpdate.html Maven / Gradle / Ivy
CounterUpdate (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class CounterUpdate
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataflow.model.CounterUpdate
-
public final class CounterUpdate
extends com.google.api.client.json.GenericJson
An update to a Counter sent from a worker.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
CounterUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBoolean
public Boolean getBoolean()
Boolean value for And, Or.
- Returns:
- value or
null
for none
-
setBoolean
public CounterUpdate setBoolean(Boolean boolean__)
Boolean value for And, Or.
- Parameters:
boolean__
- boolean__ or null
for none
-
getCumulative
public Boolean getCumulative()
True if this counter is reported as the total cumulative aggregate value accumulated since the
worker started working on this WorkItem. By default this is false, indicating that this counter
is reported as a delta.
- Returns:
- value or
null
for none
-
setCumulative
public 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. By default this is false, indicating that this counter
is reported as a delta.
- Parameters:
cumulative
- cumulative or null
for none
-
getDistribution
public DistributionUpdate getDistribution()
Distribution data
- Returns:
- value or
null
for none
-
setDistribution
public CounterUpdate setDistribution(DistributionUpdate distribution)
Distribution data
- Parameters:
distribution
- distribution or null
for none
-
getFloatingPoint
public Double getFloatingPoint()
Floating point value for Sum, Max, Min.
- Returns:
- value or
null
for none
-
setFloatingPoint
public CounterUpdate setFloatingPoint(Double floatingPoint)
Floating point value for Sum, Max, Min.
- Parameters:
floatingPoint
- floatingPoint or null
for none
-
getFloatingPointList
public FloatingPointList getFloatingPointList()
List of floating point numbers, for Set.
- Returns:
- value or
null
for none
-
setFloatingPointList
public CounterUpdate setFloatingPointList(FloatingPointList floatingPointList)
List of floating point numbers, for Set.
- Parameters:
floatingPointList
- floatingPointList or null
for none
-
getFloatingPointMean
public FloatingPointMean getFloatingPointMean()
Floating point mean aggregation value for Mean.
- Returns:
- value or
null
for none
-
setFloatingPointMean
public CounterUpdate setFloatingPointMean(FloatingPointMean floatingPointMean)
Floating point mean aggregation value for Mean.
- Parameters:
floatingPointMean
- floatingPointMean or null
for none
-
getInteger
public SplitInt64 getInteger()
Integer value for Sum, Max, Min.
- Returns:
- value or
null
for none
-
setInteger
public CounterUpdate setInteger(SplitInt64 integer__)
Integer value for Sum, Max, Min.
- Parameters:
integer__
- integer__ or null
for none
-
getIntegerGauge
public IntegerGauge getIntegerGauge()
Gauge data
- Returns:
- value or
null
for none
-
setIntegerGauge
public CounterUpdate setIntegerGauge(IntegerGauge integerGauge)
Gauge data
- Parameters:
integerGauge
- integerGauge or null
for none
-
getIntegerList
public IntegerList getIntegerList()
List of integers, for Set.
- Returns:
- value or
null
for none
-
setIntegerList
public CounterUpdate setIntegerList(IntegerList integerList)
List of integers, for Set.
- Parameters:
integerList
- integerList or null
for none
-
getIntegerMean
public IntegerMean getIntegerMean()
Integer mean aggregation value for Mean.
- Returns:
- value or
null
for none
-
setIntegerMean
public CounterUpdate setIntegerMean(IntegerMean integerMean)
Integer mean aggregation value for Mean.
- Parameters:
integerMean
- integerMean or null
for none
-
getInternal
public Object getInternal()
Value for internally-defined counters used by the Dataflow service.
- Returns:
- value or
null
for none
-
setInternal
public CounterUpdate setInternal(Object internal)
Value for internally-defined counters used by the Dataflow service.
- Parameters:
internal
- internal or null
for none
-
getNameAndKind
public NameAndKind getNameAndKind()
Counter name and aggregation type.
- Returns:
- value or
null
for none
-
setNameAndKind
public CounterUpdate setNameAndKind(NameAndKind nameAndKind)
Counter name and aggregation type.
- Parameters:
nameAndKind
- nameAndKind or null
for none
-
getShortId
public Long getShortId()
The service-generated short identifier for this counter. The short_id -> (name, metadata)
mapping is constant for the lifetime of a job.
- Returns:
- value or
null
for none
-
setShortId
public CounterUpdate setShortId(Long shortId)
The service-generated short identifier for this counter. The short_id -> (name, metadata)
mapping is constant for the lifetime of a job.
- Parameters:
shortId
- shortId or null
for none
-
getStringList
public StringList getStringList()
List of strings, for Set.
- Returns:
- value or
null
for none
-
setStringList
public CounterUpdate setStringList(StringList stringList)
List of strings, for Set.
- Parameters:
stringList
- stringList or null
for none
-
getStructuredNameAndMetadata
public CounterStructuredNameAndMetadata getStructuredNameAndMetadata()
Counter structured name and metadata.
- Returns:
- value or
null
for none
-
setStructuredNameAndMetadata
public CounterUpdate setStructuredNameAndMetadata(CounterStructuredNameAndMetadata structuredNameAndMetadata)
Counter structured name and metadata.
- Parameters:
structuredNameAndMetadata
- structuredNameAndMetadata or null
for none
-
set
public CounterUpdate set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public CounterUpdate clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy