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 Google 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.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 |
getServiceAccountEmail()
The email address of the service account to run the job as.
|
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 |
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 |
setServiceAccountEmail(java.lang.String serviceAccountEmail)
The email address of the service account to run the job as.
|
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, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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 getServiceAccountEmail()
null for nonepublic RuntimeEnvironment setServiceAccountEmail(java.lang.String serviceAccountEmail)
serviceAccountEmail - serviceAccountEmail 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.GenericJsonpublic RuntimeEnvironment clone()
clone in class com.google.api.client.json.GenericJson