public final class GetTemplateResponse extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GetTemplateResponse() |
Modifier and Type | Method and Description |
---|---|
GetTemplateResponse |
clone() |
TemplateMetadata |
getMetadata()
The template metadata describing the template name, available parameters, etc.
|
Status |
getStatus()
The status of the get template request.
|
GetTemplateResponse |
set(String fieldName,
Object value) |
GetTemplateResponse |
setMetadata(TemplateMetadata metadata)
The template metadata describing the template name, available parameters, etc.
|
GetTemplateResponse |
setStatus(Status status)
The status of the get template request.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public TemplateMetadata getMetadata()
null
for nonepublic GetTemplateResponse setMetadata(TemplateMetadata metadata)
metadata
- metadata or null
for nonepublic Status getStatus()
null
for nonepublic GetTemplateResponse setStatus(Status status)
status
- status or null
for nonepublic GetTemplateResponse set(String fieldName, Object value)
set
in class GenericJson
public GetTemplateResponse clone()
clone
in class GenericJson