public final class Analyze
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 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 |
Analyze.DataDescription
Description of the data the model was trained on.
|
static class |
Analyze.ModelDescription
Description of the model.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Analyze() |
Modifier and Type | Method and Description |
---|---|
Analyze |
clone() |
Analyze.DataDescription |
getDataDescription()
Description of the data the model was trained on.
|
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getErrors()
List of errors with the data.
|
java.lang.String |
getId()
The unique name for the predictive model.
|
java.lang.String |
getKind()
What kind of resource this is.
|
Analyze.ModelDescription |
getModelDescription()
Description of the model.
|
java.lang.String |
getSelfLink()
A URL to re-request this resource.
|
Analyze |
set(java.lang.String fieldName,
java.lang.Object value) |
Analyze |
setDataDescription(Analyze.DataDescription dataDescription)
Description of the data the model was trained on.
|
Analyze |
setErrors(java.util.List<java.util.Map<java.lang.String,java.lang.String>> errors)
List of errors with the data.
|
Analyze |
setId(java.lang.String id)
The unique name for the predictive model.
|
Analyze |
setKind(java.lang.String kind)
What kind of resource this is.
|
Analyze |
setModelDescription(Analyze.ModelDescription modelDescription)
Description of the model.
|
Analyze |
setSelfLink(java.lang.String selfLink)
A URL to re-request this resource.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public Analyze.DataDescription getDataDescription()
null
for nonepublic Analyze setDataDescription(Analyze.DataDescription dataDescription)
dataDescription
- dataDescription or null
for nonepublic java.util.List<java.util.Map<java.lang.String,java.lang.String>> getErrors()
null
for nonepublic Analyze setErrors(java.util.List<java.util.Map<java.lang.String,java.lang.String>> errors)
errors
- errors or null
for nonepublic java.lang.String getId()
null
for nonepublic Analyze setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Analyze setKind(java.lang.String kind)
kind
- kind or null
for nonepublic Analyze.ModelDescription getModelDescription()
null
for nonepublic Analyze setModelDescription(Analyze.ModelDescription modelDescription)
modelDescription
- modelDescription or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic Analyze setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic Analyze set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Analyze clone()
clone
in class com.google.api.client.json.GenericJson