public final class Environment
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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
clone() |
java.lang.String |
getClusterManagerApiService()
The type of cluster manager API to use.
|
java.lang.String |
getDataset()
The dataset for the current project where various workflow related tables are stored.
|
java.util.List<java.lang.String> |
getExperiments()
The list of experiments to enable.
|
java.lang.String |
getFlexResourceSchedulingGoal()
Which Flexible Resource Scheduling mode to run in.
|
java.util.Map<java.lang.String,java.lang.Object> |
getInternalExperiments()
Experimental settings.
|
java.util.Map<java.lang.String,java.lang.Object> |
getSdkPipelineOptions()
The Cloud Dataflow SDK pipeline options specified by the user.
|
java.lang.String |
getServiceAccountEmail()
Identity to run virtual machines as.
|
java.lang.String |
getTempStoragePrefix()
The prefix of the resources the system should use for temporary storage.
|
java.util.Map<java.lang.String,java.lang.Object> |
getUserAgent()
A description of the process that generated the request.
|
java.util.Map<java.lang.String,java.lang.Object> |
getVersion()
A structure describing which components and their versions of the service are required in order
to run the job.
|
java.util.List<WorkerPool> |
getWorkerPools()
The worker pools.
|
Environment |
set(java.lang.String fieldName,
java.lang.Object value) |
Environment |
setClusterManagerApiService(java.lang.String clusterManagerApiService)
The type of cluster manager API to use.
|
Environment |
setDataset(java.lang.String dataset)
The dataset for the current project where various workflow related tables are stored.
|
Environment |
setExperiments(java.util.List<java.lang.String> experiments)
The list of experiments to enable.
|
Environment |
setFlexResourceSchedulingGoal(java.lang.String flexResourceSchedulingGoal)
Which Flexible Resource Scheduling mode to run in.
|
Environment |
setInternalExperiments(java.util.Map<java.lang.String,java.lang.Object> internalExperiments)
Experimental settings.
|
Environment |
setSdkPipelineOptions(java.util.Map<java.lang.String,java.lang.Object> sdkPipelineOptions)
The Cloud Dataflow SDK pipeline options specified by the user.
|
Environment |
setServiceAccountEmail(java.lang.String serviceAccountEmail)
Identity to run virtual machines as.
|
Environment |
setTempStoragePrefix(java.lang.String tempStoragePrefix)
The prefix of the resources the system should use for temporary storage.
|
Environment |
setUserAgent(java.util.Map<java.lang.String,java.lang.Object> userAgent)
A description of the process that generated the request.
|
Environment |
setVersion(java.util.Map<java.lang.String,java.lang.Object> version)
A structure describing which components and their versions of the service are required in order
to run the job.
|
Environment |
setWorkerPools(java.util.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 java.lang.String getClusterManagerApiService()
null
for nonepublic Environment setClusterManagerApiService(java.lang.String clusterManagerApiService)
clusterManagerApiService
- clusterManagerApiService or null
for nonepublic java.lang.String getDataset()
null
for nonepublic Environment setDataset(java.lang.String dataset)
dataset
- dataset or null
for nonepublic java.util.List<java.lang.String> getExperiments()
null
for nonepublic Environment setExperiments(java.util.List<java.lang.String> experiments)
experiments
- experiments or null
for nonepublic java.lang.String getFlexResourceSchedulingGoal()
null
for nonepublic Environment setFlexResourceSchedulingGoal(java.lang.String flexResourceSchedulingGoal)
flexResourceSchedulingGoal
- flexResourceSchedulingGoal or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getInternalExperiments()
null
for nonepublic Environment setInternalExperiments(java.util.Map<java.lang.String,java.lang.Object> internalExperiments)
internalExperiments
- internalExperiments or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getSdkPipelineOptions()
null
for nonepublic Environment setSdkPipelineOptions(java.util.Map<java.lang.String,java.lang.Object> sdkPipelineOptions)
sdkPipelineOptions
- sdkPipelineOptions or null
for nonepublic java.lang.String getServiceAccountEmail()
null
for nonepublic Environment setServiceAccountEmail(java.lang.String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic java.lang.String getTempStoragePrefix()
null
for nonepublic Environment setTempStoragePrefix(java.lang.String tempStoragePrefix)
tempStoragePrefix
- tempStoragePrefix or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getUserAgent()
null
for nonepublic Environment setUserAgent(java.util.Map<java.lang.String,java.lang.Object> userAgent)
userAgent
- userAgent or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getVersion()
null
for nonepublic Environment setVersion(java.util.Map<java.lang.String,java.lang.Object> version)
version
- version or null
for nonepublic java.util.List<WorkerPool> getWorkerPools()
null
for nonepublic Environment setWorkerPools(java.util.List<WorkerPool> workerPools)
workerPools
- workerPools or null
for nonepublic Environment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Environment clone()
clone
in class com.google.api.client.json.GenericJson