public final class RuntimeEnvironment 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 |
|---|
RuntimeEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
RuntimeEnvironment |
clone() |
List<String> |
getAdditionalExperiments()
Additional experiment flags for the job, specified with the `--experiments` option.
|
Map<String,String> |
getAdditionalUserLabels()
Additional user labels to be specified for the job.
|
Boolean |
getBypassTempDirValidation()
Whether to bypass the safety checks for the job's temporary directory.
|
Boolean |
getEnableStreamingEngine()
Whether to enable Streaming Engine for the job.
|
String |
getIpConfiguration()
Configuration for VM IPs.
|
String |
getKmsKeyName()
Name for the Cloud KMS key for the job.
|
String |
getMachineType()
The machine type to use for the job.
|
Integer |
getMaxWorkers()
The maximum number of Google Compute Engine instances to be made available to your pipeline
during execution, from 1 to 1000.
|
String |
getNetwork()
Network to which VMs will be assigned.
|
Integer |
getNumWorkers()
The initial number of Google Compute Engine instnaces for the job.
|
String |
getServiceAccountEmail()
The email address of the service account to run the job as.
|
String |
getSubnetwork()
Subnetwork to which VMs will be assigned, if desired.
|
String |
getTempLocation()
The Cloud Storage path to use for temporary files.
|
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.
|
String |
getZone()
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones
/regions-zones) for launching worker instances to run your pipeline.
|
RuntimeEnvironment |
set(String fieldName,
Object value) |
RuntimeEnvironment |
setAdditionalExperiments(List<String> additionalExperiments)
Additional experiment flags for the job, specified with the `--experiments` option.
|
RuntimeEnvironment |
setAdditionalUserLabels(Map<String,String> additionalUserLabels)
Additional user labels to be specified for the job.
|
RuntimeEnvironment |
setBypassTempDirValidation(Boolean bypassTempDirValidation)
Whether to bypass the safety checks for the job's temporary directory.
|
RuntimeEnvironment |
setEnableStreamingEngine(Boolean enableStreamingEngine)
Whether to enable Streaming Engine for the job.
|
RuntimeEnvironment |
setIpConfiguration(String ipConfiguration)
Configuration for VM IPs.
|
RuntimeEnvironment |
setKmsKeyName(String kmsKeyName)
Name for the Cloud KMS key for the job.
|
RuntimeEnvironment |
setMachineType(String machineType)
The machine type to use for the job.
|
RuntimeEnvironment |
setMaxWorkers(Integer maxWorkers)
The maximum number of Google Compute Engine instances to be made available to your pipeline
during execution, from 1 to 1000.
|
RuntimeEnvironment |
setNetwork(String network)
Network to which VMs will be assigned.
|
RuntimeEnvironment |
setNumWorkers(Integer numWorkers)
The initial number of Google Compute Engine instnaces for the job.
|
RuntimeEnvironment |
setServiceAccountEmail(String serviceAccountEmail)
The email address of the service account to run the job as.
|
RuntimeEnvironment |
setSubnetwork(String subnetwork)
Subnetwork to which VMs will be assigned, if desired.
|
RuntimeEnvironment |
setTempLocation(String tempLocation)
The Cloud Storage path to use for temporary files.
|
RuntimeEnvironment |
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.
|
RuntimeEnvironment |
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.
|
RuntimeEnvironment |
setZone(String zone)
The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones
/regions-zones) for launching worker instances to run your pipeline.
|
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 List<String> getAdditionalExperiments()
null for nonepublic RuntimeEnvironment setAdditionalExperiments(List<String> additionalExperiments)
additionalExperiments - additionalExperiments or null for nonepublic Map<String,String> getAdditionalUserLabels()
null for nonepublic RuntimeEnvironment setAdditionalUserLabels(Map<String,String> additionalUserLabels)
additionalUserLabels - additionalUserLabels or null for nonepublic Boolean getBypassTempDirValidation()
null for nonepublic RuntimeEnvironment setBypassTempDirValidation(Boolean bypassTempDirValidation)
bypassTempDirValidation - bypassTempDirValidation or null for nonepublic Boolean getEnableStreamingEngine()
null for nonepublic RuntimeEnvironment setEnableStreamingEngine(Boolean enableStreamingEngine)
enableStreamingEngine - enableStreamingEngine or null for nonepublic String getIpConfiguration()
null for nonepublic RuntimeEnvironment setIpConfiguration(String ipConfiguration)
ipConfiguration - ipConfiguration or null for nonepublic String getKmsKeyName()
null for nonepublic RuntimeEnvironment setKmsKeyName(String kmsKeyName)
kmsKeyName - kmsKeyName or null for nonepublic String getMachineType()
null for nonepublic RuntimeEnvironment setMachineType(String machineType)
machineType - machineType or null for nonepublic Integer getMaxWorkers()
null for nonepublic RuntimeEnvironment setMaxWorkers(Integer maxWorkers)
maxWorkers - maxWorkers or null for nonepublic String getNetwork()
null for nonepublic RuntimeEnvironment setNetwork(String network)
network - network or null for nonepublic Integer getNumWorkers()
null for nonepublic RuntimeEnvironment setNumWorkers(Integer numWorkers)
numWorkers - numWorkers or null for nonepublic String getServiceAccountEmail()
null for nonepublic RuntimeEnvironment setServiceAccountEmail(String serviceAccountEmail)
serviceAccountEmail - serviceAccountEmail or null for nonepublic String getSubnetwork()
null for nonepublic RuntimeEnvironment setSubnetwork(String subnetwork)
subnetwork - subnetwork or null for nonepublic String getTempLocation()
null for nonepublic RuntimeEnvironment setTempLocation(String tempLocation)
tempLocation - tempLocation or null for nonepublic String getWorkerRegion()
null for nonepublic RuntimeEnvironment setWorkerRegion(String workerRegion)
workerRegion - workerRegion or null for nonepublic String getWorkerZone()
null for nonepublic RuntimeEnvironment setWorkerZone(String workerZone)
workerZone - workerZone or null for nonepublic String getZone()
null for nonepublic RuntimeEnvironment setZone(String zone)
zone - zone or null for nonepublic RuntimeEnvironment set(String fieldName, Object value)
set in class GenericJsonpublic RuntimeEnvironment clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.