Package | Description |
---|---|
com.google.api.services.dataflow.model |
Modifier and Type | Method and Description |
---|---|
WorkerPool |
WorkerPool.clone() |
WorkerPool |
WorkerPool.set(java.lang.String fieldName,
java.lang.Object value) |
WorkerPool |
WorkerPool.setAutoscalingSettings(AutoscalingSettings autoscalingSettings)
Settings for autoscaling of this WorkerPool.
|
WorkerPool |
WorkerPool.setDataDisks(java.util.List<Disk> dataDisks)
Data disks that are used by a VM in this workflow.
|
WorkerPool |
WorkerPool.setDefaultPackageSet(java.lang.String defaultPackageSet)
The default package set to install.
|
WorkerPool |
WorkerPool.setDiskSizeGb(java.lang.Integer diskSizeGb)
Size of root disk for VMs, in GB.
|
WorkerPool |
WorkerPool.setDiskSourceImage(java.lang.String diskSourceImage)
Fully qualified source image for disks.
|
WorkerPool |
WorkerPool.setDiskType(java.lang.String diskType)
Type of root disk for VMs.
|
WorkerPool |
WorkerPool.setIpConfiguration(java.lang.String ipConfiguration)
Configuration for VM IPs.
|
WorkerPool |
WorkerPool.setKind(java.lang.String kind)
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
|
WorkerPool |
WorkerPool.setMachineType(java.lang.String machineType)
Machine type (e.g.
|
WorkerPool |
WorkerPool.setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Metadata to set on the Google Compute Engine VMs.
|
WorkerPool |
WorkerPool.setNetwork(java.lang.String network)
Network to which VMs will be assigned.
|
WorkerPool |
WorkerPool.setNumThreadsPerWorker(java.lang.Integer numThreadsPerWorker)
The number of threads per worker harness.
|
WorkerPool |
WorkerPool.setNumWorkers(java.lang.Integer numWorkers)
Number of Google Compute Engine workers in this pool needed to execute the job.
|
WorkerPool |
WorkerPool.setOnHostMaintenance(java.lang.String onHostMaintenance)
The action to take on host maintenance, as defined by the Google Compute Engine API.
|
WorkerPool |
WorkerPool.setPackages(java.util.List<DataflowPackage> packages)
Packages to be installed on workers.
|
WorkerPool |
WorkerPool.setPoolArgs(java.util.Map<java.lang.String,java.lang.Object> poolArgs)
Extra arguments for this worker pool.
|
WorkerPool |
WorkerPool.setSubnetwork(java.lang.String subnetwork)
Subnetwork to which VMs will be assigned, if desired.
|
WorkerPool |
WorkerPool.setTaskrunnerSettings(TaskRunnerSettings taskrunnerSettings)
Settings passed through to Google Compute Engine workers when using the standard Dataflow task
runner.
|
WorkerPool |
WorkerPool.setTeardownPolicy(java.lang.String teardownPolicy)
Sets the policy for determining when to turndown worker pool.
|
WorkerPool |
WorkerPool.setWorkerHarnessContainerImage(java.lang.String workerHarnessContainerImage)
Required.
|
WorkerPool |
WorkerPool.setZone(java.lang.String zone)
Zone to run the worker pools in.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<WorkerPool> |
Environment.getWorkerPools()
The worker pools.
|
Modifier and Type | Method and Description |
---|---|
Environment |
Environment.setWorkerPools(java.util.List<WorkerPool> workerPools)
The worker pools.
|