public final class Environment 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 dataflow. 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 |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
clone() |
String |
getClusterManagerApiService() |
String |
getDataset() |
List<String> |
getExperiments() |
String |
getTempStoragePrefix() |
Map<String,Object> |
getUserAgent() |
Map<String,Object> |
getVersion() |
List<WorkerPool> |
getWorkerPools() |
Environment |
set(String fieldName,
Object value) |
Environment |
setClusterManagerApiService(String clusterManagerApiService) |
Environment |
setDataset(String dataset) |
Environment |
setExperiments(List<String> experiments) |
Environment |
setTempStoragePrefix(String tempStoragePrefix) |
Environment |
setUserAgent(Map<String,Object> userAgent) |
Environment |
setVersion(Map<String,Object> version) |
Environment |
setWorkerPools(List<WorkerPool> workerPools) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getClusterManagerApiService()
null
for nonepublic Environment setClusterManagerApiService(String clusterManagerApiService)
clusterManagerApiService
- clusterManagerApiService or null
for nonepublic String getDataset()
null
for nonepublic Environment setDataset(String dataset)
dataset
- dataset or null
for nonepublic Environment setExperiments(List<String> experiments)
experiments
- experiments or null
for nonepublic String getTempStoragePrefix()
null
for nonepublic Environment setTempStoragePrefix(String tempStoragePrefix)
tempStoragePrefix
- tempStoragePrefix or null
for nonepublic Environment setUserAgent(Map<String,Object> userAgent)
userAgent
- userAgent or null
for nonepublic Environment setVersion(Map<String,Object> version)
version
- version or null
for nonepublic List<WorkerPool> getWorkerPools()
null
for nonepublic Environment setWorkerPools(List<WorkerPool> workerPools)
workerPools
- workerPools or null
for nonepublic Environment set(String fieldName, Object value)
set
in class GenericJson
public Environment clone()
clone
in class GenericJson