Package com.google.dataflow.v1beta3
Class WorkerPool.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
com.google.dataflow.v1beta3.WorkerPool.Builder
- All Implemented Interfaces:
WorkerPoolOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WorkerPool
public static final class WorkerPool.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
implements WorkerPoolOrBuilder
Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.Protobuf type
google.dataflow.v1beta3.WorkerPool-
Method Summary
Modifier and TypeMethodDescriptionaddAllDataDisks(Iterable<? extends Disk> values) Data disks that are used by a VM in this workflow.addAllPackages(Iterable<? extends Package> values) Packages to be installed on workers.addAllSdkHarnessContainerImages(Iterable<? extends SdkHarnessContainerImage> values) Set of SDK harness containers needed to execute this pipeline.addDataDisks(int index, Disk value) Data disks that are used by a VM in this workflow.addDataDisks(int index, Disk.Builder builderForValue) Data disks that are used by a VM in this workflow.addDataDisks(Disk value) Data disks that are used by a VM in this workflow.addDataDisks(Disk.Builder builderForValue) Data disks that are used by a VM in this workflow.Data disks that are used by a VM in this workflow.addDataDisksBuilder(int index) Data disks that are used by a VM in this workflow.addPackages(int index, Package value) Packages to be installed on workers.addPackages(int index, Package.Builder builderForValue) Packages to be installed on workers.addPackages(Package value) Packages to be installed on workers.addPackages(Package.Builder builderForValue) Packages to be installed on workers.Packages to be installed on workers.addPackagesBuilder(int index) Packages to be installed on workers.addSdkHarnessContainerImages(int index, SdkHarnessContainerImage value) Set of SDK harness containers needed to execute this pipeline.addSdkHarnessContainerImages(int index, SdkHarnessContainerImage.Builder builderForValue) Set of SDK harness containers needed to execute this pipeline.Set of SDK harness containers needed to execute this pipeline.addSdkHarnessContainerImages(SdkHarnessContainerImage.Builder builderForValue) Set of SDK harness containers needed to execute this pipeline.Set of SDK harness containers needed to execute this pipeline.addSdkHarnessContainerImagesBuilder(int index) Set of SDK harness containers needed to execute this pipeline.build()clear()Settings for autoscaling of this WorkerPool.Data disks that are used by a VM in this workflow.The default package set to install.Optional.Optional.Size of root disk for VMs, in GB.Fully qualified source image for disks.Type of root disk for VMs.Configuration for VM IPs.The kind of the worker pool; currently only `harness` and `shuffle` are supported.Machine type (e.g.Network to which VMs will be assigned.The number of threads per worker harness.Number of Google Compute Engine workers in this pool needed to execute the job.The action to take on host maintenance, as defined by the Google Compute Engine API.Packages to be installed on workers.Extra arguments for this worker pool.Set of SDK harness containers needed to execute this pipeline.Subnetwork to which VMs will be assigned, if desired.Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.Sets the policy for determining when to turndown worker pool.Required.Zone to run the worker pools in.booleancontainsMetadata(String key) Metadata to set on the Google Compute Engine VMs.Settings for autoscaling of this WorkerPool.Settings for autoscaling of this WorkerPool.Settings for autoscaling of this WorkerPool.getDataDisks(int index) Data disks that are used by a VM in this workflow.getDataDisksBuilder(int index) Data disks that are used by a VM in this workflow.Data disks that are used by a VM in this workflow.intData disks that are used by a VM in this workflow.Data disks that are used by a VM in this workflow.getDataDisksOrBuilder(int index) Data disks that are used by a VM in this workflow.List<? extends DiskOrBuilder>Data disks that are used by a VM in this workflow.The default package set to install.intThe default package set to install.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOptional.longOptional.intSize of root disk for VMs, in GB.Fully qualified source image for disks.com.google.protobuf.ByteStringFully qualified source image for disks.Type of root disk for VMs.com.google.protobuf.ByteStringType of root disk for VMs.Configuration for VM IPs.intConfiguration for VM IPs.getKind()The kind of the worker pool; currently only `harness` and `shuffle` are supported.com.google.protobuf.ByteStringThe kind of the worker pool; currently only `harness` and `shuffle` are supported.Machine type (e.g.com.google.protobuf.ByteStringMachine type (e.g.Deprecated.intMetadata to set on the Google Compute Engine VMs.Metadata to set on the Google Compute Engine VMs.getMetadataOrDefault(String key, String defaultValue) Metadata to set on the Google Compute Engine VMs.getMetadataOrThrow(String key) Metadata to set on the Google Compute Engine VMs.Deprecated.Network to which VMs will be assigned.com.google.protobuf.ByteStringNetwork to which VMs will be assigned.intThe number of threads per worker harness.intNumber of Google Compute Engine workers in this pool needed to execute the job.The action to take on host maintenance, as defined by the Google Compute Engine API.com.google.protobuf.ByteStringThe action to take on host maintenance, as defined by the Google Compute Engine API.getPackages(int index) Packages to be installed on workers.getPackagesBuilder(int index) Packages to be installed on workers.Packages to be installed on workers.intPackages to be installed on workers.Packages to be installed on workers.getPackagesOrBuilder(int index) Packages to be installed on workers.List<? extends PackageOrBuilder>Packages to be installed on workers.com.google.protobuf.AnyExtra arguments for this worker pool.com.google.protobuf.Any.BuilderExtra arguments for this worker pool.com.google.protobuf.AnyOrBuilderExtra arguments for this worker pool.getSdkHarnessContainerImages(int index) Set of SDK harness containers needed to execute this pipeline.getSdkHarnessContainerImagesBuilder(int index) Set of SDK harness containers needed to execute this pipeline.Set of SDK harness containers needed to execute this pipeline.intSet of SDK harness containers needed to execute this pipeline.Set of SDK harness containers needed to execute this pipeline.getSdkHarnessContainerImagesOrBuilder(int index) Set of SDK harness containers needed to execute this pipeline.List<? extends SdkHarnessContainerImageOrBuilder>Set of SDK harness containers needed to execute this pipeline.Subnetwork to which VMs will be assigned, if desired.com.google.protobuf.ByteStringSubnetwork to which VMs will be assigned, if desired.Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.Sets the policy for determining when to turndown worker pool.intSets the policy for determining when to turndown worker pool.Required.com.google.protobuf.ByteStringRequired.getZone()Zone to run the worker pools in.com.google.protobuf.ByteStringZone to run the worker pools in.booleanSettings for autoscaling of this WorkerPool.booleanExtra arguments for this worker pool.booleanSettings passed through to Google Compute Engine workers when using the standard Dataflow task runner.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanSettings for autoscaling of this WorkerPool.mergeFrom(WorkerPool other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePoolArgs(com.google.protobuf.Any value) Extra arguments for this worker pool.Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.putAllMetadata(Map<String, String> values) Metadata to set on the Google Compute Engine VMs.putMetadata(String key, String value) Metadata to set on the Google Compute Engine VMs.removeDataDisks(int index) Data disks that are used by a VM in this workflow.removeMetadata(String key) Metadata to set on the Google Compute Engine VMs.removePackages(int index) Packages to be installed on workers.removeSdkHarnessContainerImages(int index) Set of SDK harness containers needed to execute this pipeline.Settings for autoscaling of this WorkerPool.setAutoscalingSettings(AutoscalingSettings.Builder builderForValue) Settings for autoscaling of this WorkerPool.setDataDisks(int index, Disk value) Data disks that are used by a VM in this workflow.setDataDisks(int index, Disk.Builder builderForValue) Data disks that are used by a VM in this workflow.The default package set to install.setDefaultPackageSetValue(int value) The default package set to install.setDiskProvisionedIops(long value) Optional.setDiskProvisionedThroughputMibps(long value) Optional.setDiskSizeGb(int value) Size of root disk for VMs, in GB.setDiskSourceImage(String value) Fully qualified source image for disks.setDiskSourceImageBytes(com.google.protobuf.ByteString value) Fully qualified source image for disks.setDiskType(String value) Type of root disk for VMs.setDiskTypeBytes(com.google.protobuf.ByteString value) Type of root disk for VMs.Configuration for VM IPs.setIpConfigurationValue(int value) Configuration for VM IPs.The kind of the worker pool; currently only `harness` and `shuffle` are supported.setKindBytes(com.google.protobuf.ByteString value) The kind of the worker pool; currently only `harness` and `shuffle` are supported.setMachineType(String value) Machine type (e.g.setMachineTypeBytes(com.google.protobuf.ByteString value) Machine type (e.g.setNetwork(String value) Network to which VMs will be assigned.setNetworkBytes(com.google.protobuf.ByteString value) Network to which VMs will be assigned.setNumThreadsPerWorker(int value) The number of threads per worker harness.setNumWorkers(int value) Number of Google Compute Engine workers in this pool needed to execute the job.setOnHostMaintenance(String value) The action to take on host maintenance, as defined by the Google Compute Engine API.setOnHostMaintenanceBytes(com.google.protobuf.ByteString value) The action to take on host maintenance, as defined by the Google Compute Engine API.setPackages(int index, Package value) Packages to be installed on workers.setPackages(int index, Package.Builder builderForValue) Packages to be installed on workers.setPoolArgs(com.google.protobuf.Any value) Extra arguments for this worker pool.setPoolArgs(com.google.protobuf.Any.Builder builderForValue) Extra arguments for this worker pool.setSdkHarnessContainerImages(int index, SdkHarnessContainerImage value) Set of SDK harness containers needed to execute this pipeline.setSdkHarnessContainerImages(int index, SdkHarnessContainerImage.Builder builderForValue) Set of SDK harness containers needed to execute this pipeline.setSubnetwork(String value) Subnetwork to which VMs will be assigned, if desired.setSubnetworkBytes(com.google.protobuf.ByteString value) Subnetwork to which VMs will be assigned, if desired.Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.setTaskrunnerSettings(TaskRunnerSettings.Builder builderForValue) Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.setTeardownPolicy(TeardownPolicy value) Sets the policy for determining when to turndown worker pool.setTeardownPolicyValue(int value) Sets the policy for determining when to turndown worker pool.Required.setWorkerHarnessContainerImageBytes(com.google.protobuf.ByteString value) Required.Zone to run the worker pools in.setZoneBytes(com.google.protobuf.ByteString value) Zone to run the worker pools in.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerPool.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WorkerPool.Builder>
-
mergeFrom
public WorkerPool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkerPool.Builder>- Throws:
IOException
-
getKind
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
string kind = 1;- Specified by:
getKindin interfaceWorkerPoolOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()The kind of the worker pool; currently only `harness` and `shuffle` are supported.
string kind = 1;- Specified by:
getKindBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for kind.
-
setKind
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
string kind = 1;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
string kind = 1;- Returns:
- This builder for chaining.
-
setKindBytes
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
string kind = 1;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
getNumWorkers
public int getNumWorkers()Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 num_workers = 2;- Specified by:
getNumWorkersin interfaceWorkerPoolOrBuilder- Returns:
- The numWorkers.
-
setNumWorkers
Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 num_workers = 2;- Parameters:
value- The numWorkers to set.- Returns:
- This builder for chaining.
-
clearNumWorkers
Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 num_workers = 2;- Returns:
- This builder for chaining.
-
getPackagesList
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesListin interfaceWorkerPoolOrBuilder
-
getPackagesCount
public int getPackagesCount()Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesCountin interfaceWorkerPoolOrBuilder
-
getPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesin interfaceWorkerPoolOrBuilder
-
setPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
setPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
addPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
addPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
addPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
addPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
addAllPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
clearPackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
removePackages
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
getPackagesBuilder
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
getPackagesOrBuilder
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesOrBuilderin interfaceWorkerPoolOrBuilder
-
getPackagesOrBuilderList
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesOrBuilderListin interfaceWorkerPoolOrBuilder
-
addPackagesBuilder
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
addPackagesBuilder
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
getPackagesBuilderList
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3; -
getDefaultPackageSetValue
public int getDefaultPackageSetValue()The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
.google.dataflow.v1beta3.DefaultPackageSet default_package_set = 4;- Specified by:
getDefaultPackageSetValuein interfaceWorkerPoolOrBuilder- Returns:
- The enum numeric value on the wire for defaultPackageSet.
-
setDefaultPackageSetValue
The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
.google.dataflow.v1beta3.DefaultPackageSet default_package_set = 4;- Parameters:
value- The enum numeric value on the wire for defaultPackageSet to set.- Returns:
- This builder for chaining.
-
getDefaultPackageSet
The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
.google.dataflow.v1beta3.DefaultPackageSet default_package_set = 4;- Specified by:
getDefaultPackageSetin interfaceWorkerPoolOrBuilder- Returns:
- The defaultPackageSet.
-
setDefaultPackageSet
The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
.google.dataflow.v1beta3.DefaultPackageSet default_package_set = 4;- Parameters:
value- The defaultPackageSet to set.- Returns:
- This builder for chaining.
-
clearDefaultPackageSet
The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
.google.dataflow.v1beta3.DefaultPackageSet default_package_set = 4;- Returns:
- This builder for chaining.
-
getMachineType
Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
string machine_type = 5;- Specified by:
getMachineTypein interfaceWorkerPoolOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
string machine_type = 5;- Specified by:
getMachineTypeBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for machineType.
-
setMachineType
Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
string machine_type = 5;- Parameters:
value- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
string machine_type = 5;- Returns:
- This builder for chaining.
-
setMachineTypeBytes
Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
string machine_type = 5;- Parameters:
value- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
getTeardownPolicyValue
public int getTeardownPolicyValue()Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
.google.dataflow.v1beta3.TeardownPolicy teardown_policy = 6;- Specified by:
getTeardownPolicyValuein interfaceWorkerPoolOrBuilder- Returns:
- The enum numeric value on the wire for teardownPolicy.
-
setTeardownPolicyValue
Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
.google.dataflow.v1beta3.TeardownPolicy teardown_policy = 6;- Parameters:
value- The enum numeric value on the wire for teardownPolicy to set.- Returns:
- This builder for chaining.
-
getTeardownPolicy
Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
.google.dataflow.v1beta3.TeardownPolicy teardown_policy = 6;- Specified by:
getTeardownPolicyin interfaceWorkerPoolOrBuilder- Returns:
- The teardownPolicy.
-
setTeardownPolicy
Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
.google.dataflow.v1beta3.TeardownPolicy teardown_policy = 6;- Parameters:
value- The teardownPolicy to set.- Returns:
- This builder for chaining.
-
clearTeardownPolicy
Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
.google.dataflow.v1beta3.TeardownPolicy teardown_policy = 6;- Returns:
- This builder for chaining.
-
getDiskSizeGb
public int getDiskSizeGb()Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 disk_size_gb = 7;- Specified by:
getDiskSizeGbin interfaceWorkerPoolOrBuilder- Returns:
- The diskSizeGb.
-
setDiskSizeGb
Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 disk_size_gb = 7;- Parameters:
value- The diskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDiskSizeGb
Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
int32 disk_size_gb = 7;- Returns:
- This builder for chaining.
-
getDiskType
Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
string disk_type = 16;- Specified by:
getDiskTypein interfaceWorkerPoolOrBuilder- Returns:
- The diskType.
-
getDiskTypeBytes
public com.google.protobuf.ByteString getDiskTypeBytes()Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
string disk_type = 16;- Specified by:
getDiskTypeBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for diskType.
-
setDiskType
Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
string disk_type = 16;- Parameters:
value- The diskType to set.- Returns:
- This builder for chaining.
-
clearDiskType
Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
string disk_type = 16;- Returns:
- This builder for chaining.
-
setDiskTypeBytes
Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
string disk_type = 16;- Parameters:
value- The bytes for diskType to set.- Returns:
- This builder for chaining.
-
getDiskProvisionedIops
public long getDiskProvisionedIops()Optional. IOPS provisioned for the root disk for VMs.
int64 disk_provisioned_iops = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDiskProvisionedIopsin interfaceWorkerPoolOrBuilder- Returns:
- The diskProvisionedIops.
-
setDiskProvisionedIops
Optional. IOPS provisioned for the root disk for VMs.
int64 disk_provisioned_iops = 23 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The diskProvisionedIops to set.- Returns:
- This builder for chaining.
-
clearDiskProvisionedIops
Optional. IOPS provisioned for the root disk for VMs.
int64 disk_provisioned_iops = 23 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDiskProvisionedThroughputMibps
public long getDiskProvisionedThroughputMibps()Optional. Throughput provisioned for the root disk for VMs.
int64 disk_provisioned_throughput_mibps = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDiskProvisionedThroughputMibpsin interfaceWorkerPoolOrBuilder- Returns:
- The diskProvisionedThroughputMibps.
-
setDiskProvisionedThroughputMibps
Optional. Throughput provisioned for the root disk for VMs.
int64 disk_provisioned_throughput_mibps = 24 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The diskProvisionedThroughputMibps to set.- Returns:
- This builder for chaining.
-
clearDiskProvisionedThroughputMibps
Optional. Throughput provisioned for the root disk for VMs.
int64 disk_provisioned_throughput_mibps = 24 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDiskSourceImage
Fully qualified source image for disks.
string disk_source_image = 8;- Specified by:
getDiskSourceImagein interfaceWorkerPoolOrBuilder- Returns:
- The diskSourceImage.
-
getDiskSourceImageBytes
public com.google.protobuf.ByteString getDiskSourceImageBytes()Fully qualified source image for disks.
string disk_source_image = 8;- Specified by:
getDiskSourceImageBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for diskSourceImage.
-
setDiskSourceImage
Fully qualified source image for disks.
string disk_source_image = 8;- Parameters:
value- The diskSourceImage to set.- Returns:
- This builder for chaining.
-
clearDiskSourceImage
Fully qualified source image for disks.
string disk_source_image = 8;- Returns:
- This builder for chaining.
-
setDiskSourceImageBytes
Fully qualified source image for disks.
string disk_source_image = 8;- Parameters:
value- The bytes for diskSourceImage to set.- Returns:
- This builder for chaining.
-
getZone
Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
string zone = 9;- Specified by:
getZonein interfaceWorkerPoolOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
string zone = 9;- Specified by:
getZoneBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for zone.
-
setZone
Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
string zone = 9;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
string zone = 9;- Returns:
- This builder for chaining.
-
setZoneBytes
Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
string zone = 9;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
hasTaskrunnerSettings
public boolean hasTaskrunnerSettings()Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10;- Specified by:
hasTaskrunnerSettingsin interfaceWorkerPoolOrBuilder- Returns:
- Whether the taskrunnerSettings field is set.
-
getTaskrunnerSettings
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10;- Specified by:
getTaskrunnerSettingsin interfaceWorkerPoolOrBuilder- Returns:
- The taskrunnerSettings.
-
setTaskrunnerSettings
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10; -
setTaskrunnerSettings
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10; -
mergeTaskrunnerSettings
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10; -
clearTaskrunnerSettings
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10; -
getTaskrunnerSettingsBuilder
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10; -
getTaskrunnerSettingsOrBuilder
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
.google.dataflow.v1beta3.TaskRunnerSettings taskrunner_settings = 10;- Specified by:
getTaskrunnerSettingsOrBuilderin interfaceWorkerPoolOrBuilder
-
getOnHostMaintenance
The action to take on host maintenance, as defined by the Google Compute Engine API.
string on_host_maintenance = 11;- Specified by:
getOnHostMaintenancein interfaceWorkerPoolOrBuilder- Returns:
- The onHostMaintenance.
-
getOnHostMaintenanceBytes
public com.google.protobuf.ByteString getOnHostMaintenanceBytes()The action to take on host maintenance, as defined by the Google Compute Engine API.
string on_host_maintenance = 11;- Specified by:
getOnHostMaintenanceBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for onHostMaintenance.
-
setOnHostMaintenance
The action to take on host maintenance, as defined by the Google Compute Engine API.
string on_host_maintenance = 11;- Parameters:
value- The onHostMaintenance to set.- Returns:
- This builder for chaining.
-
clearOnHostMaintenance
The action to take on host maintenance, as defined by the Google Compute Engine API.
string on_host_maintenance = 11;- Returns:
- This builder for chaining.
-
setOnHostMaintenanceBytes
The action to take on host maintenance, as defined by the Google Compute Engine API.
string on_host_maintenance = 11;- Parameters:
value- The bytes for onHostMaintenance to set.- Returns:
- This builder for chaining.
-
getDataDisksList
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;- Specified by:
getDataDisksListin interfaceWorkerPoolOrBuilder
-
getDataDisksCount
public int getDataDisksCount()Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;- Specified by:
getDataDisksCountin interfaceWorkerPoolOrBuilder
-
getDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;- Specified by:
getDataDisksin interfaceWorkerPoolOrBuilder
-
setDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
setDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
addDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
addDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
addDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
addDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
addAllDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
clearDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
removeDataDisks
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
getDataDisksBuilder
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
getDataDisksOrBuilder
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;- Specified by:
getDataDisksOrBuilderin interfaceWorkerPoolOrBuilder
-
getDataDisksOrBuilderList
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;- Specified by:
getDataDisksOrBuilderListin interfaceWorkerPoolOrBuilder
-
addDataDisksBuilder
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
addDataDisksBuilder
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
getDataDisksBuilderList
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12; -
getMetadataCount
public int getMetadataCount()Description copied from interface:WorkerPoolOrBuilderMetadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;- Specified by:
getMetadataCountin interfaceWorkerPoolOrBuilder
-
containsMetadata
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;- Specified by:
containsMetadatain interfaceWorkerPoolOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceWorkerPoolOrBuilder
-
getMetadataMap
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;- Specified by:
getMetadataMapin interfaceWorkerPoolOrBuilder
-
getMetadataOrDefault
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;- Specified by:
getMetadataOrDefaultin interfaceWorkerPoolOrBuilder
-
getMetadataOrThrow
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;- Specified by:
getMetadataOrThrowin interfaceWorkerPoolOrBuilder
-
clearMetadata
-
removeMetadata
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13; -
putAllMetadata
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13; -
hasAutoscalingSettings
public boolean hasAutoscalingSettings()Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;- Specified by:
hasAutoscalingSettingsin interfaceWorkerPoolOrBuilder- Returns:
- Whether the autoscalingSettings field is set.
-
getAutoscalingSettings
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;- Specified by:
getAutoscalingSettingsin interfaceWorkerPoolOrBuilder- Returns:
- The autoscalingSettings.
-
setAutoscalingSettings
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14; -
setAutoscalingSettings
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14; -
mergeAutoscalingSettings
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14; -
clearAutoscalingSettings
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14; -
getAutoscalingSettingsBuilder
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14; -
getAutoscalingSettingsOrBuilder
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;- Specified by:
getAutoscalingSettingsOrBuilderin interfaceWorkerPoolOrBuilder
-
hasPoolArgs
public boolean hasPoolArgs()Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15;- Specified by:
hasPoolArgsin interfaceWorkerPoolOrBuilder- Returns:
- Whether the poolArgs field is set.
-
getPoolArgs
public com.google.protobuf.Any getPoolArgs()Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15;- Specified by:
getPoolArgsin interfaceWorkerPoolOrBuilder- Returns:
- The poolArgs.
-
setPoolArgs
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15; -
setPoolArgs
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15; -
mergePoolArgs
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15; -
clearPoolArgs
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15; -
getPoolArgsBuilder
public com.google.protobuf.Any.Builder getPoolArgsBuilder()Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15; -
getPoolArgsOrBuilder
public com.google.protobuf.AnyOrBuilder getPoolArgsOrBuilder()Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15;- Specified by:
getPoolArgsOrBuilderin interfaceWorkerPoolOrBuilder
-
getNetwork
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 17;- Specified by:
getNetworkin interfaceWorkerPoolOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 17;- Specified by:
getNetworkBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for network.
-
setNetwork
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 17;- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 17;- Returns:
- This builder for chaining.
-
setNetworkBytes
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 17;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
getSubnetwork
Subnetwork to which VMs will be assigned, if desired. Expected to be of the form "regions/REGION/subnetworks/SUBNETWORK".
string subnetwork = 19;- Specified by:
getSubnetworkin interfaceWorkerPoolOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()Subnetwork to which VMs will be assigned, if desired. Expected to be of the form "regions/REGION/subnetworks/SUBNETWORK".
string subnetwork = 19;- Specified by:
getSubnetworkBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for subnetwork.
-
setSubnetwork
Subnetwork to which VMs will be assigned, if desired. Expected to be of the form "regions/REGION/subnetworks/SUBNETWORK".
string subnetwork = 19;- Parameters:
value- The subnetwork to set.- Returns:
- This builder for chaining.
-
clearSubnetwork
Subnetwork to which VMs will be assigned, if desired. Expected to be of the form "regions/REGION/subnetworks/SUBNETWORK".
string subnetwork = 19;- Returns:
- This builder for chaining.
-
setSubnetworkBytes
Subnetwork to which VMs will be assigned, if desired. Expected to be of the form "regions/REGION/subnetworks/SUBNETWORK".
string subnetwork = 19;- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-
getWorkerHarnessContainerImage
Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
string worker_harness_container_image = 18;- Specified by:
getWorkerHarnessContainerImagein interfaceWorkerPoolOrBuilder- Returns:
- The workerHarnessContainerImage.
-
getWorkerHarnessContainerImageBytes
public com.google.protobuf.ByteString getWorkerHarnessContainerImageBytes()Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
string worker_harness_container_image = 18;- Specified by:
getWorkerHarnessContainerImageBytesin interfaceWorkerPoolOrBuilder- Returns:
- The bytes for workerHarnessContainerImage.
-
setWorkerHarnessContainerImage
Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
string worker_harness_container_image = 18;- Parameters:
value- The workerHarnessContainerImage to set.- Returns:
- This builder for chaining.
-
clearWorkerHarnessContainerImage
Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
string worker_harness_container_image = 18;- Returns:
- This builder for chaining.
-
setWorkerHarnessContainerImageBytes
Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.
string worker_harness_container_image = 18;- Parameters:
value- The bytes for workerHarnessContainerImage to set.- Returns:
- This builder for chaining.
-
getNumThreadsPerWorker
public int getNumThreadsPerWorker()The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
int32 num_threads_per_worker = 20;- Specified by:
getNumThreadsPerWorkerin interfaceWorkerPoolOrBuilder- Returns:
- The numThreadsPerWorker.
-
setNumThreadsPerWorker
The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
int32 num_threads_per_worker = 20;- Parameters:
value- The numThreadsPerWorker to set.- Returns:
- This builder for chaining.
-
clearNumThreadsPerWorker
The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
int32 num_threads_per_worker = 20;- Returns:
- This builder for chaining.
-
getIpConfigurationValue
public int getIpConfigurationValue()Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;- Specified by:
getIpConfigurationValuein interfaceWorkerPoolOrBuilder- Returns:
- The enum numeric value on the wire for ipConfiguration.
-
setIpConfigurationValue
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;- Parameters:
value- The enum numeric value on the wire for ipConfiguration to set.- Returns:
- This builder for chaining.
-
getIpConfiguration
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;- Specified by:
getIpConfigurationin interfaceWorkerPoolOrBuilder- Returns:
- The ipConfiguration.
-
setIpConfiguration
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;- Parameters:
value- The ipConfiguration to set.- Returns:
- This builder for chaining.
-
clearIpConfiguration
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;- Returns:
- This builder for chaining.
-
getSdkHarnessContainerImagesList
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22;- Specified by:
getSdkHarnessContainerImagesListin interfaceWorkerPoolOrBuilder
-
getSdkHarnessContainerImagesCount
public int getSdkHarnessContainerImagesCount()Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22;- Specified by:
getSdkHarnessContainerImagesCountin interfaceWorkerPoolOrBuilder
-
getSdkHarnessContainerImages
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22;- Specified by:
getSdkHarnessContainerImagesin interfaceWorkerPoolOrBuilder
-
setSdkHarnessContainerImages
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
setSdkHarnessContainerImages
public WorkerPool.Builder setSdkHarnessContainerImages(int index, SdkHarnessContainerImage.Builder builderForValue) Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
addSdkHarnessContainerImages
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
addSdkHarnessContainerImages
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
addSdkHarnessContainerImages
public WorkerPool.Builder addSdkHarnessContainerImages(SdkHarnessContainerImage.Builder builderForValue) Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
addSdkHarnessContainerImages
public WorkerPool.Builder addSdkHarnessContainerImages(int index, SdkHarnessContainerImage.Builder builderForValue) Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
addAllSdkHarnessContainerImages
public WorkerPool.Builder addAllSdkHarnessContainerImages(Iterable<? extends SdkHarnessContainerImage> values) Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
clearSdkHarnessContainerImages
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
removeSdkHarnessContainerImages
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
getSdkHarnessContainerImagesBuilder
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
getSdkHarnessContainerImagesOrBuilder
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22;- Specified by:
getSdkHarnessContainerImagesOrBuilderin interfaceWorkerPoolOrBuilder
-
getSdkHarnessContainerImagesOrBuilderList
public List<? extends SdkHarnessContainerImageOrBuilder> getSdkHarnessContainerImagesOrBuilderList()Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22;- Specified by:
getSdkHarnessContainerImagesOrBuilderListin interfaceWorkerPoolOrBuilder
-
addSdkHarnessContainerImagesBuilder
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
addSdkHarnessContainerImagesBuilder
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22; -
getSdkHarnessContainerImagesBuilderList
Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries.
repeated .google.dataflow.v1beta3.SdkHarnessContainerImage sdk_harness_container_images = 22;
-