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 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.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.
|
DebugOptions |
getDebugOptions()
Any debugging options to be supplied to the job.
|
List<String> |
getExperiments()
The list of experiments to enable.
|
String |
getFlexResourceSchedulingGoal()
Which Flexible Resource Scheduling mode to run in.
|
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 |
getServiceKmsKeyName()
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer
Managed Encryption Key (CMEK).
|
List<String> |
getServiceOptions()
The list of service options to enable.
|
String |
getShuffleMode()
Output only.
|
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.
|
String |
getWorkerRegion()
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones)
in which worker processing should occur, e.g.
|
String |
getWorkerZone()
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
which worker processing should occur, e.g.
|
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 |
setDebugOptions(DebugOptions debugOptions)
Any debugging options to be supplied to the job.
|
Environment |
setExperiments(List<String> experiments)
The list of experiments to enable.
|
Environment |
setFlexResourceSchedulingGoal(String flexResourceSchedulingGoal)
Which Flexible Resource Scheduling mode to run in.
|
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 |
setServiceKmsKeyName(String serviceKmsKeyName)
If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer
Managed Encryption Key (CMEK).
|
Environment |
setServiceOptions(List<String> serviceOptions)
The list of service options to enable.
|
Environment |
setShuffleMode(String shuffleMode)
Output only.
|
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.
|
Environment |
setWorkerRegion(String workerRegion)
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones)
in which worker processing should occur, e.g.
|
Environment |
setWorkerZone(String workerZone)
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
which worker processing should occur, e.g.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 DebugOptions getDebugOptions()
null for nonepublic Environment setDebugOptions(DebugOptions debugOptions)
debugOptions - debugOptions or null for nonepublic List<String> getExperiments()
null for nonepublic Environment setExperiments(List<String> experiments)
experiments - experiments or null for nonepublic String getFlexResourceSchedulingGoal()
null for nonepublic Environment setFlexResourceSchedulingGoal(String flexResourceSchedulingGoal)
flexResourceSchedulingGoal - flexResourceSchedulingGoal 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 getServiceKmsKeyName()
null for nonepublic Environment setServiceKmsKeyName(String serviceKmsKeyName)
serviceKmsKeyName - serviceKmsKeyName or null for nonepublic List<String> getServiceOptions()
null for nonepublic Environment setServiceOptions(List<String> serviceOptions)
serviceOptions - serviceOptions or null for nonepublic String getShuffleMode()
null for nonepublic Environment setShuffleMode(String shuffleMode)
shuffleMode - shuffleMode 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 String getWorkerRegion()
null for nonepublic Environment setWorkerRegion(String workerRegion)
workerRegion - workerRegion or null for nonepublic String getWorkerZone()
null for nonepublic Environment setWorkerZone(String workerZone)
workerZone - workerZone or null for nonepublic Environment set(String fieldName, Object value)
set in class GenericJsonpublic Environment clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.