public final class Output 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 Prediction API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
Modifier and Type | Class and Description |
---|---|
static class |
Output.OutputMulti
Model definition for OutputOutputMulti.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Output() |
Modifier and Type | Method and Description |
---|---|
Output |
clone() |
String |
getId() |
String |
getKind() |
String |
getOutputLabel() |
List<Output.OutputMulti> |
getOutputMulti() |
Double |
getOutputValue() |
String |
getSelfLink() |
Output |
set(String fieldName,
Object value) |
Output |
setId(String id) |
Output |
setKind(String kind) |
Output |
setOutputLabel(String outputLabel) |
Output |
setOutputMulti(List<Output.OutputMulti> outputMulti) |
Output |
setOutputValue(Double outputValue) |
Output |
setSelfLink(String selfLink) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getId()
null
for nonepublic String getKind()
null
for nonepublic String getOutputLabel()
null
for nonepublic Output setOutputLabel(String outputLabel)
outputLabel
- outputLabel or null
for nonepublic List<Output.OutputMulti> getOutputMulti()
null
for nonepublic Output setOutputMulti(List<Output.OutputMulti> outputMulti)
outputMulti
- outputMulti or null
for nonepublic Double getOutputValue()
null
for nonepublic Output setOutputValue(Double outputValue)
outputValue
- outputValue or null
for nonepublic String getSelfLink()
null
for nonepublic Output setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic Output set(String fieldName, Object value)
set
in class GenericJson
public Output clone()
clone
in class GenericJson