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.
|
String |
getAutoscalingAlgorithm()
The algorithm to use for autoscaling
|
Integer |
getDiskSizeGb()
Worker disk size, in gigabytes.
|
Boolean |
getDumpHeapOnOom()
If true, when processing time is spent almost entirely on garbage collection (GC), saves a heap
dump before ending the thread or process.
|
Boolean |
getEnableLauncherVmSerialPortLogging()
If true serial port logging will be enabled for the launcher VM.
|
Boolean |
getEnableStreamingEngine()
Whether to enable Streaming Engine for the job.
|
String |
getFlexrsGoal()
Set FlexRS goal for the job.
|
String |
getIpConfiguration()
Configuration for VM IPs.
|
String |
getKmsKeyName()
Name for the Cloud KMS key for the job.
|
String |
getLauncherMachineType()
The machine type to use for launching 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 |
getSaveHeapDumpsToGcsPath()
Cloud Storage bucket (directory) to upload heap dumps to.
|
String |
getSdkContainerImage()
Docker registry location of container image to use for the 'worker harness.
|
String |
getServiceAccountEmail()
The email address of the service account to run the job as.
|
String |
getStagingLocation()
The Cloud Storage path for staging local files.
|
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 |
setAutoscalingAlgorithm(String autoscalingAlgorithm)
The algorithm to use for autoscaling
|
FlexTemplateRuntimeEnvironment |
setDiskSizeGb(Integer diskSizeGb)
Worker disk size, in gigabytes.
|
FlexTemplateRuntimeEnvironment |
setDumpHeapOnOom(Boolean dumpHeapOnOom)
If true, when processing time is spent almost entirely on garbage collection (GC), saves a heap
dump before ending the thread or process.
|
FlexTemplateRuntimeEnvironment |
setEnableLauncherVmSerialPortLogging(Boolean enableLauncherVmSerialPortLogging)
If true serial port logging will be enabled for the launcher VM.
|
FlexTemplateRuntimeEnvironment |
setEnableStreamingEngine(Boolean enableStreamingEngine)
Whether to enable Streaming Engine for the job.
|
FlexTemplateRuntimeEnvironment |
setFlexrsGoal(String flexrsGoal)
Set FlexRS goal 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 |
setLauncherMachineType(String launcherMachineType)
The machine type to use for launching 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 |
setSaveHeapDumpsToGcsPath(String saveHeapDumpsToGcsPath)
Cloud Storage bucket (directory) to upload heap dumps to.
|
FlexTemplateRuntimeEnvironment |
setSdkContainerImage(String sdkContainerImage)
Docker registry location of container image to use for the 'worker harness.
|
FlexTemplateRuntimeEnvironment |
setServiceAccountEmail(String serviceAccountEmail)
The email address of the service account to run the job as.
|
FlexTemplateRuntimeEnvironment |
setStagingLocation(String stagingLocation)
The Cloud Storage path for staging local files.
|
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 String getAutoscalingAlgorithm()
null
for nonepublic FlexTemplateRuntimeEnvironment setAutoscalingAlgorithm(String autoscalingAlgorithm)
autoscalingAlgorithm
- autoscalingAlgorithm or null
for nonepublic Integer getDiskSizeGb()
null
for nonepublic FlexTemplateRuntimeEnvironment setDiskSizeGb(Integer diskSizeGb)
diskSizeGb
- diskSizeGb or null
for nonepublic Boolean getDumpHeapOnOom()
null
for nonepublic FlexTemplateRuntimeEnvironment setDumpHeapOnOom(Boolean dumpHeapOnOom)
dumpHeapOnOom
- dumpHeapOnOom or null
for nonepublic Boolean getEnableLauncherVmSerialPortLogging()
null
for nonepublic FlexTemplateRuntimeEnvironment setEnableLauncherVmSerialPortLogging(Boolean enableLauncherVmSerialPortLogging)
enableLauncherVmSerialPortLogging
- enableLauncherVmSerialPortLogging or null
for nonepublic Boolean getEnableStreamingEngine()
null
for nonepublic FlexTemplateRuntimeEnvironment setEnableStreamingEngine(Boolean enableStreamingEngine)
enableStreamingEngine
- enableStreamingEngine or null
for nonepublic String getFlexrsGoal()
null
for nonepublic FlexTemplateRuntimeEnvironment setFlexrsGoal(String flexrsGoal)
flexrsGoal
- flexrsGoal 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 getLauncherMachineType()
null
for nonepublic FlexTemplateRuntimeEnvironment setLauncherMachineType(String launcherMachineType)
launcherMachineType
- launcherMachineType 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 getSaveHeapDumpsToGcsPath()
null
for nonepublic FlexTemplateRuntimeEnvironment setSaveHeapDumpsToGcsPath(String saveHeapDumpsToGcsPath)
saveHeapDumpsToGcsPath
- saveHeapDumpsToGcsPath or null
for nonepublic String getSdkContainerImage()
null
for nonepublic FlexTemplateRuntimeEnvironment setSdkContainerImage(String sdkContainerImage)
sdkContainerImage
- sdkContainerImage or null
for nonepublic String getServiceAccountEmail()
null
for nonepublic FlexTemplateRuntimeEnvironment setServiceAccountEmail(String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic String getStagingLocation()
null
for nonepublic FlexTemplateRuntimeEnvironment setStagingLocation(String stagingLocation)
stagingLocation
- stagingLocation 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–2022 Google. All rights reserved.