public final class NameAndKind
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 |
---|
NameAndKind() |
Modifier and Type | Method and Description |
---|---|
NameAndKind |
clone() |
java.lang.String |
getKind()
Counter aggregation kind.
|
java.lang.String |
getName()
Name of the counter.
|
NameAndKind |
set(java.lang.String fieldName,
java.lang.Object value) |
NameAndKind |
setKind(java.lang.String kind)
Counter aggregation kind.
|
NameAndKind |
setName(java.lang.String name)
Name of the counter.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getKind()
null
for nonepublic NameAndKind setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic NameAndKind setName(java.lang.String name)
name
- name or null
for nonepublic NameAndKind set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public NameAndKind clone()
clone
in class com.google.api.client.json.GenericJson