public final class FlexTemplateRuntimeEnvironment 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FlexTemplateRuntimeEnvironment() |
Modifier and Type | Method and Description |
---|---|
FlexTemplateRuntimeEnvironment |
clone() |
List<String> |
getAdditionalExperiments()
Additional experiment flags for the job.
|
Map<String,String> |
getAdditionalUserLabels()
Additional user labels to be specified for the job.
|
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 instances 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.
|
FlexTemplateRuntimeEnvironment |
set(String fieldName,
Object value) |
FlexTemplateRuntimeEnvironment |
setAdditionalExperiments(List<String> additionalExperiments)
Additional experiment flags for the job.
|
FlexTemplateRuntimeEnvironment |
setAdditionalUserLabels(Map<String,String> additionalUserLabels)
Additional user labels to be specified for the job.
|
FlexTemplateRuntimeEnvironment |
setEnableStreamingEngine(Boolean enableStreamingEngine)
Whether to enable Streaming Engine for the job.
|
FlexTemplateRuntimeEnvironment |
setIpConfiguration(String ipConfiguration)
Configuration for VM IPs.
|
FlexTemplateRuntimeEnvironment |
setKmsKeyName(String kmsKeyName)
Name for the Cloud KMS key for the job.
|
FlexTemplateRuntimeEnvironment |
setMachineType(String machineType)
The machine type to use for the job.
|
FlexTemplateRuntimeEnvironment |
setMaxWorkers(Integer maxWorkers)
The maximum number of Google Compute Engine instances to be made available to your pipeline
during execution, from 1 to 1000.
|
FlexTemplateRuntimeEnvironment |
setNetwork(String network)
Network to which VMs will be assigned.
|
FlexTemplateRuntimeEnvironment |
setNumWorkers(Integer numWorkers)
The initial number of Google Compute Engine instances for the job.
|
FlexTemplateRuntimeEnvironment |
setServiceAccountEmail(String serviceAccountEmail)
The email address of the service account to run the job as.
|
FlexTemplateRuntimeEnvironment |
setSubnetwork(String subnetwork)
Subnetwork to which VMs will be assigned, if desired.
|
FlexTemplateRuntimeEnvironment |
setTempLocation(String tempLocation)
The Cloud Storage path to use for temporary files.
|
FlexTemplateRuntimeEnvironment |
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.
|
FlexTemplateRuntimeEnvironment |
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.
|
FlexTemplateRuntimeEnvironment |
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<String> getAdditionalExperiments()
null
for nonepublic FlexTemplateRuntimeEnvironment setAdditionalExperiments(List<String> additionalExperiments)
additionalExperiments
- additionalExperiments or null
for nonepublic Map<String,String> getAdditionalUserLabels()
null
for nonepublic FlexTemplateRuntimeEnvironment setAdditionalUserLabels(Map<String,String> additionalUserLabels)
additionalUserLabels
- additionalUserLabels or null
for nonepublic Boolean getEnableStreamingEngine()
null
for nonepublic FlexTemplateRuntimeEnvironment setEnableStreamingEngine(Boolean enableStreamingEngine)
enableStreamingEngine
- enableStreamingEngine or null
for nonepublic String getIpConfiguration()
null
for nonepublic FlexTemplateRuntimeEnvironment setIpConfiguration(String ipConfiguration)
ipConfiguration
- ipConfiguration or null
for nonepublic String getKmsKeyName()
null
for nonepublic FlexTemplateRuntimeEnvironment setKmsKeyName(String kmsKeyName)
kmsKeyName
- kmsKeyName or null
for nonepublic String getMachineType()
null
for nonepublic FlexTemplateRuntimeEnvironment setMachineType(String machineType)
machineType
- machineType or null
for nonepublic Integer getMaxWorkers()
null
for nonepublic FlexTemplateRuntimeEnvironment setMaxWorkers(Integer maxWorkers)
maxWorkers
- maxWorkers or null
for nonepublic String getNetwork()
null
for nonepublic FlexTemplateRuntimeEnvironment setNetwork(String network)
network
- network or null
for nonepublic Integer getNumWorkers()
null
for nonepublic FlexTemplateRuntimeEnvironment setNumWorkers(Integer numWorkers)
numWorkers
- numWorkers or null
for nonepublic String getServiceAccountEmail()
null
for nonepublic FlexTemplateRuntimeEnvironment setServiceAccountEmail(String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic String getSubnetwork()
null
for nonepublic FlexTemplateRuntimeEnvironment setSubnetwork(String subnetwork)
subnetwork
- subnetwork or null
for nonepublic String getTempLocation()
null
for nonepublic FlexTemplateRuntimeEnvironment setTempLocation(String tempLocation)
tempLocation
- tempLocation or null
for nonepublic String getWorkerRegion()
null
for nonepublic FlexTemplateRuntimeEnvironment setWorkerRegion(String workerRegion)
workerRegion
- workerRegion or null
for nonepublic String getWorkerZone()
null
for nonepublic FlexTemplateRuntimeEnvironment setWorkerZone(String workerZone)
workerZone
- workerZone or null
for nonepublic String getZone()
null
for nonepublic FlexTemplateRuntimeEnvironment setZone(String zone)
zone
- zone or null
for nonepublic FlexTemplateRuntimeEnvironment set(String fieldName, Object value)
set
in class GenericJson
public FlexTemplateRuntimeEnvironment clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.