public final class RuntimeEnvironment
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 |
---|
RuntimeEnvironment() |
Modifier and Type | Method and Description |
---|---|
RuntimeEnvironment |
clone() |
java.util.List<java.lang.String> |
getAdditionalExperiments()
Additional experiment flags for the job.
|
java.lang.Boolean |
getBypassTempDirValidation()
Whether to bypass the safety checks for the job's temporary directory.
|
java.lang.String |
getMachineType()
The machine type to use for the job.
|
java.lang.Integer |
getMaxWorkers()
The maximum number of Google Compute Engine instances to be made available to your pipeline
during execution, from 1 to 1000.
|
java.lang.String |
getNetwork()
Network to which VMs will be assigned.
|
java.lang.String |
getServiceAccountEmail()
The email address of the service account to run the job as.
|
java.lang.String |
getSubnetwork()
Subnetwork to which VMs will be assigned, if desired.
|
java.lang.String |
getTempLocation()
The Cloud Storage path to use for temporary files.
|
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
RuntimeEnvironment |
setAdditionalExperiments(java.util.List<java.lang.String> additionalExperiments)
Additional experiment flags for the job.
|
RuntimeEnvironment |
setBypassTempDirValidation(java.lang.Boolean bypassTempDirValidation)
Whether to bypass the safety checks for the job's temporary directory.
|
RuntimeEnvironment |
setMachineType(java.lang.String machineType)
The machine type to use for the job.
|
RuntimeEnvironment |
setMaxWorkers(java.lang.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(java.lang.String network)
Network to which VMs will be assigned.
|
RuntimeEnvironment |
setServiceAccountEmail(java.lang.String serviceAccountEmail)
The email address of the service account to run the job as.
|
RuntimeEnvironment |
setSubnetwork(java.lang.String subnetwork)
Subnetwork to which VMs will be assigned, if desired.
|
RuntimeEnvironment |
setTempLocation(java.lang.String tempLocation)
The Cloud Storage path to use for temporary files.
|
RuntimeEnvironment |
setZone(java.lang.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<java.lang.String> getAdditionalExperiments()
null
for nonepublic RuntimeEnvironment setAdditionalExperiments(java.util.List<java.lang.String> additionalExperiments)
additionalExperiments
- additionalExperiments or null
for nonepublic java.lang.Boolean getBypassTempDirValidation()
null
for nonepublic RuntimeEnvironment setBypassTempDirValidation(java.lang.Boolean bypassTempDirValidation)
bypassTempDirValidation
- bypassTempDirValidation or null
for nonepublic java.lang.String getMachineType()
null
for nonepublic RuntimeEnvironment setMachineType(java.lang.String machineType)
machineType
- machineType or null
for nonepublic java.lang.Integer getMaxWorkers()
null
for nonepublic RuntimeEnvironment setMaxWorkers(java.lang.Integer maxWorkers)
maxWorkers
- maxWorkers or null
for nonepublic java.lang.String getNetwork()
null
for nonepublic RuntimeEnvironment setNetwork(java.lang.String network)
network
- network or null
for nonepublic java.lang.String getServiceAccountEmail()
null
for nonepublic RuntimeEnvironment setServiceAccountEmail(java.lang.String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic java.lang.String getSubnetwork()
null
for nonepublic RuntimeEnvironment setSubnetwork(java.lang.String subnetwork)
subnetwork
- subnetwork or null
for nonepublic java.lang.String getTempLocation()
null
for nonepublic RuntimeEnvironment setTempLocation(java.lang.String tempLocation)
tempLocation
- tempLocation or null
for nonepublic java.lang.String getZone()
null
for nonepublic RuntimeEnvironment setZone(java.lang.String zone)
zone
- zone or null
for nonepublic RuntimeEnvironment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RuntimeEnvironment clone()
clone
in class com.google.api.client.json.GenericJson