public final class CounterMetadata
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 |
|---|
CounterMetadata() |
| Modifier and Type | Method and Description |
|---|---|
CounterMetadata |
clone() |
java.lang.String |
getDescription()
Human-readable description of the counter semantics.
|
java.lang.String |
getKind()
Counter aggregation kind.
|
java.lang.String |
getOtherUnits()
A string referring to the unit type.
|
java.lang.String |
getStandardUnits()
System defined Units, see above enum.
|
CounterMetadata |
set(java.lang.String fieldName,
java.lang.Object value) |
CounterMetadata |
setDescription(java.lang.String description)
Human-readable description of the counter semantics.
|
CounterMetadata |
setKind(java.lang.String kind)
Counter aggregation kind.
|
CounterMetadata |
setOtherUnits(java.lang.String otherUnits)
A string referring to the unit type.
|
CounterMetadata |
setStandardUnits(java.lang.String standardUnits)
System defined Units, see above enum.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getDescription()
null for nonepublic CounterMetadata setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getKind()
null for nonepublic CounterMetadata setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getOtherUnits()
null for nonepublic CounterMetadata setOtherUnits(java.lang.String otherUnits)
otherUnits - otherUnits or null for nonepublic java.lang.String getStandardUnits()
null for nonepublic CounterMetadata setStandardUnits(java.lang.String standardUnits)
standardUnits - standardUnits or null for nonepublic CounterMetadata set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CounterMetadata clone()
clone in class com.google.api.client.json.GenericJson