Prediction API v1.4 (revision 26)



com.google.api.services.prediction.model
Class Input.InputInput

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.prediction.model.Input.InputInput
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Input

public static final class Input.InputInput
extends GenericJson

Input to the model for a prediction


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Input.InputInput()
           
 
Method Summary
 Input.InputInput clone()
           
 List<Object> getCsvInstance()
          A list of input features, these can be strings or doubles.
 Input.InputInput set(String fieldName, Object value)
           
 Input.InputInput setCsvInstance(List<Object> csvInstance)
          A list of input features, these can be strings or doubles.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Input.InputInput

public Input.InputInput()
Method Detail

getCsvInstance

public List<Object> getCsvInstance()
A list of input features, these can be strings or doubles.

Returns:
value or null for none

setCsvInstance

public Input.InputInput setCsvInstance(List<Object> csvInstance)
A list of input features, these can be strings or doubles.

Parameters:
csvInstance - csvInstance or null for none

set

public Input.InputInput set(String fieldName,
                            Object value)
Overrides:
set in class GenericJson

clone

public Input.InputInput clone()
Overrides:
clone in class GenericJson