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 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 |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
clone() |
String |
getClusterManagerApiService()
The type of cluster manager API to use.
|
String |
getDataset()
The dataset for the current project where various workflow related tables are stored.
|
List<String> |
getExperiments()
The list of experiments to enable.
|
Map<String,Object> |
getInternalExperiments()
Experimental settings.
|
Map<String,Object> |
getSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user.
|
String |
getServiceAccountEmail()
Identity to run virtual machines as.
|
String |
getTempStoragePrefix()
The prefix of the resources the system should use for temporary storage.
|
Map<String,Object> |
getUserAgent()
A description of the process that generated the request.
|
Map<String,Object> |
getVersion()
A structure describing which components and their versions of the service are required in order
to run the job.
|
List<WorkerPool> |
getWorkerPools()
The worker pools.
|
Environment |
set(String fieldName,
Object value) |
Environment |
setClusterManagerApiService(String clusterManagerApiService)
The type of cluster manager API to use.
|
Environment |
setDataset(String dataset)
The dataset for the current project where various workflow related tables are stored.
|
Environment |
setExperiments(List<String> experiments)
The list of experiments to enable.
|
Environment |
setInternalExperiments(Map<String,Object> internalExperiments)
Experimental settings.
|
Environment |
setSdkPipelineOptions(Map<String,Object> sdkPipelineOptions)
The Cloud Dataflow SDK pipeline options specified by the user.
|
Environment |
setServiceAccountEmail(String serviceAccountEmail)
Identity to run virtual machines as.
|
Environment |
setTempStoragePrefix(String tempStoragePrefix)
The prefix of the resources the system should use for temporary storage.
|
Environment |
setUserAgent(Map<String,Object> userAgent)
A description of the process that generated the request.
|
Environment |
setVersion(Map<String,Object> version)
A structure describing which components and their versions of the service are required in order
to run the job.
|
Environment |
setWorkerPools(List<WorkerPool> workerPools)
The worker pools.
|
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 List<String> getExperiments()
null
for nonepublic Environment setExperiments(List<String> experiments)
experiments
- experiments or null
for nonepublic Map<String,Object> getInternalExperiments()
null
for nonepublic Environment setInternalExperiments(Map<String,Object> internalExperiments)
internalExperiments
- internalExperiments or null
for nonepublic Map<String,Object> getSdkPipelineOptions()
null
for nonepublic Environment setSdkPipelineOptions(Map<String,Object> sdkPipelineOptions)
sdkPipelineOptions
- sdkPipelineOptions or null
for nonepublic String getServiceAccountEmail()
null
for nonepublic Environment setServiceAccountEmail(String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic String getTempStoragePrefix()
null
for nonepublic Environment setTempStoragePrefix(String tempStoragePrefix)
tempStoragePrefix
- tempStoragePrefix or null
for nonepublic Map<String,Object> getUserAgent()
null
for nonepublic Environment setUserAgent(Map<String,Object> userAgent)
userAgent
- userAgent or null
for nonepublic Map<String,Object> getVersion()
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