target.apidocs.com.google.api.services.dataflow.model.CounterMetadata.html Maven / Gradle / Ivy
CounterMetadata (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class CounterMetadata
- 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.CounterMetadata
-
public final class CounterMetadata
extends com.google.api.client.json.GenericJson
CounterMetadata includes all static non-name non-value counter attributes.
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
CounterMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CounterMetadata
clone()
String
getDescription()
Human-readable description of the counter semantics.
String
getKind()
Counter aggregation kind.
String
getOtherUnits()
A string referring to the unit type.
String
getStandardUnits()
System defined Units, see above enum.
CounterMetadata
set(String fieldName,
Object value)
CounterMetadata
setDescription(String description)
Human-readable description of the counter semantics.
CounterMetadata
setKind(String kind)
Counter aggregation kind.
CounterMetadata
setOtherUnits(String otherUnits)
A string referring to the unit type.
CounterMetadata
setStandardUnits(String standardUnits)
System defined Units, see above enum.
-
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
-
getDescription
public String getDescription()
Human-readable description of the counter semantics.
- Returns:
- value or
null
for none
-
setDescription
public CounterMetadata setDescription(String description)
Human-readable description of the counter semantics.
- Parameters:
description
- description or null
for none
-
getKind
public String getKind()
Counter aggregation kind.
- Returns:
- value or
null
for none
-
setKind
public CounterMetadata setKind(String kind)
Counter aggregation kind.
- Parameters:
kind
- kind or null
for none
-
getOtherUnits
public String getOtherUnits()
A string referring to the unit type.
- Returns:
- value or
null
for none
-
setOtherUnits
public CounterMetadata setOtherUnits(String otherUnits)
A string referring to the unit type.
- Parameters:
otherUnits
- otherUnits or null
for none
-
getStandardUnits
public String getStandardUnits()
System defined Units, see above enum.
- Returns:
- value or
null
for none
-
setStandardUnits
public CounterMetadata setStandardUnits(String standardUnits)
System defined Units, see above enum.
- Parameters:
standardUnits
- standardUnits or null
for none
-
set
public CounterMetadata set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public CounterMetadata 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