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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.dataflow.v1beta3.WorkerPool
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WorkerPool.Builder
addAllDataDisks(Iterable<? extends Disk> values)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
addAllPackages(Iterable<? extends Package> values)
Packages to be installed on workers.WorkerPool.Builder
addAllSdkHarnessContainerImages(Iterable<? extends SdkHarnessContainerImage> values)
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
addDataDisks(int index, Disk value)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
addDataDisks(int index, Disk.Builder builderForValue)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
addDataDisks(Disk value)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
addDataDisks(Disk.Builder builderForValue)
Data disks that are used by a VM in this workflow.Disk.Builder
addDataDisksBuilder()
Data disks that are used by a VM in this workflow.Disk.Builder
addDataDisksBuilder(int index)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
addPackages(int index, Package value)
Packages to be installed on workers.WorkerPool.Builder
addPackages(int index, Package.Builder builderForValue)
Packages to be installed on workers.WorkerPool.Builder
addPackages(Package value)
Packages to be installed on workers.WorkerPool.Builder
addPackages(Package.Builder builderForValue)
Packages to be installed on workers.Package.Builder
addPackagesBuilder()
Packages to be installed on workers.Package.Builder
addPackagesBuilder(int index)
Packages to be installed on workers.WorkerPool.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WorkerPool.Builder
addSdkHarnessContainerImages(int index, SdkHarnessContainerImage value)
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
addSdkHarnessContainerImages(int index, SdkHarnessContainerImage.Builder builderForValue)
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
addSdkHarnessContainerImages(SdkHarnessContainerImage value)
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
addSdkHarnessContainerImages(SdkHarnessContainerImage.Builder builderForValue)
Set of SDK harness containers needed to execute this pipeline.SdkHarnessContainerImage.Builder
addSdkHarnessContainerImagesBuilder()
Set of SDK harness containers needed to execute this pipeline.SdkHarnessContainerImage.Builder
addSdkHarnessContainerImagesBuilder(int index)
Set of SDK harness containers needed to execute this pipeline.WorkerPool
build()
WorkerPool
buildPartial()
WorkerPool.Builder
clear()
WorkerPool.Builder
clearAutoscalingSettings()
Settings for autoscaling of this WorkerPool.WorkerPool.Builder
clearDataDisks()
Data disks that are used by a VM in this workflow.WorkerPool.Builder
clearDefaultPackageSet()
The default package set to install.WorkerPool.Builder
clearDiskSizeGb()
Size of root disk for VMs, in GB.WorkerPool.Builder
clearDiskSourceImage()
Fully qualified source image for disks.WorkerPool.Builder
clearDiskType()
Type of root disk for VMs.WorkerPool.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkerPool.Builder
clearIpConfiguration()
Configuration for VM IPs.WorkerPool.Builder
clearKind()
The kind of the worker pool; currently only `harness` and `shuffle` are supported.WorkerPool.Builder
clearMachineType()
Machine type (e.g.WorkerPool.Builder
clearMetadata()
WorkerPool.Builder
clearNetwork()
Network to which VMs will be assigned.WorkerPool.Builder
clearNumThreadsPerWorker()
The number of threads per worker harness.WorkerPool.Builder
clearNumWorkers()
Number of Google Compute Engine workers in this pool needed to execute the job.WorkerPool.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkerPool.Builder
clearOnHostMaintenance()
The action to take on host maintenance, as defined by the Google Compute Engine API.WorkerPool.Builder
clearPackages()
Packages to be installed on workers.WorkerPool.Builder
clearPoolArgs()
Extra arguments for this worker pool.WorkerPool.Builder
clearSdkHarnessContainerImages()
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
clearSubnetwork()
Subnetwork to which VMs will be assigned, if desired.WorkerPool.Builder
clearTaskrunnerSettings()
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.WorkerPool.Builder
clearTeardownPolicy()
Sets the policy for determining when to turndown worker pool.WorkerPool.Builder
clearWorkerHarnessContainerImage()
Required.WorkerPool.Builder
clearZone()
Zone to run the worker pools in.WorkerPool.Builder
clone()
boolean
containsMetadata(String key)
Metadata to set on the Google Compute Engine VMs.AutoscalingSettings
getAutoscalingSettings()
Settings for autoscaling of this WorkerPool.AutoscalingSettings.Builder
getAutoscalingSettingsBuilder()
Settings for autoscaling of this WorkerPool.AutoscalingSettingsOrBuilder
getAutoscalingSettingsOrBuilder()
Settings for autoscaling of this WorkerPool.Disk
getDataDisks(int index)
Data disks that are used by a VM in this workflow.Disk.Builder
getDataDisksBuilder(int index)
Data disks that are used by a VM in this workflow.List<Disk.Builder>
getDataDisksBuilderList()
Data disks that are used by a VM in this workflow.int
getDataDisksCount()
Data disks that are used by a VM in this workflow.List<Disk>
getDataDisksList()
Data disks that are used by a VM in this workflow.DiskOrBuilder
getDataDisksOrBuilder(int index)
Data disks that are used by a VM in this workflow.List<? extends DiskOrBuilder>
getDataDisksOrBuilderList()
Data disks that are used by a VM in this workflow.WorkerPool
getDefaultInstanceForType()
DefaultPackageSet
getDefaultPackageSet()
The default package set to install.int
getDefaultPackageSetValue()
The default package set to install.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getDiskSizeGb()
Size of root disk for VMs, in GB.String
getDiskSourceImage()
Fully qualified source image for disks.com.google.protobuf.ByteString
getDiskSourceImageBytes()
Fully qualified source image for disks.String
getDiskType()
Type of root disk for VMs.com.google.protobuf.ByteString
getDiskTypeBytes()
Type of root disk for VMs.WorkerIPAddressConfiguration
getIpConfiguration()
Configuration for VM IPs.int
getIpConfigurationValue()
Configuration for VM IPs.String
getKind()
The kind of the worker pool; currently only `harness` and `shuffle` are supported.com.google.protobuf.ByteString
getKindBytes()
The kind of the worker pool; currently only `harness` and `shuffle` are supported.String
getMachineType()
Machine type (e.g.com.google.protobuf.ByteString
getMachineTypeBytes()
Machine type (e.g.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
Metadata to set on the Google Compute Engine VMs.Map<String,String>
getMetadataMap()
Metadata to set on the Google Compute Engine VMs.String
getMetadataOrDefault(String key, String defaultValue)
Metadata to set on the Google Compute Engine VMs.String
getMetadataOrThrow(String key)
Metadata to set on the Google Compute Engine VMs.Map<String,String>
getMutableMetadata()
Deprecated.String
getNetwork()
Network to which VMs will be assigned.com.google.protobuf.ByteString
getNetworkBytes()
Network to which VMs will be assigned.int
getNumThreadsPerWorker()
The number of threads per worker harness.int
getNumWorkers()
Number of Google Compute Engine workers in this pool needed to execute the job.String
getOnHostMaintenance()
The action to take on host maintenance, as defined by the Google Compute Engine API.com.google.protobuf.ByteString
getOnHostMaintenanceBytes()
The action to take on host maintenance, as defined by the Google Compute Engine API.Package
getPackages(int index)
Packages to be installed on workers.Package.Builder
getPackagesBuilder(int index)
Packages to be installed on workers.List<Package.Builder>
getPackagesBuilderList()
Packages to be installed on workers.int
getPackagesCount()
Packages to be installed on workers.List<Package>
getPackagesList()
Packages to be installed on workers.PackageOrBuilder
getPackagesOrBuilder(int index)
Packages to be installed on workers.List<? extends PackageOrBuilder>
getPackagesOrBuilderList()
Packages to be installed on workers.com.google.protobuf.Any
getPoolArgs()
Extra arguments for this worker pool.com.google.protobuf.Any.Builder
getPoolArgsBuilder()
Extra arguments for this worker pool.com.google.protobuf.AnyOrBuilder
getPoolArgsOrBuilder()
Extra arguments for this worker pool.SdkHarnessContainerImage
getSdkHarnessContainerImages(int index)
Set of SDK harness containers needed to execute this pipeline.SdkHarnessContainerImage.Builder
getSdkHarnessContainerImagesBuilder(int index)
Set of SDK harness containers needed to execute this pipeline.List<SdkHarnessContainerImage.Builder>
getSdkHarnessContainerImagesBuilderList()
Set of SDK harness containers needed to execute this pipeline.int
getSdkHarnessContainerImagesCount()
Set of SDK harness containers needed to execute this pipeline.List<SdkHarnessContainerImage>
getSdkHarnessContainerImagesList()
Set of SDK harness containers needed to execute this pipeline.SdkHarnessContainerImageOrBuilder
getSdkHarnessContainerImagesOrBuilder(int index)
Set of SDK harness containers needed to execute this pipeline.List<? extends SdkHarnessContainerImageOrBuilder>
getSdkHarnessContainerImagesOrBuilderList()
Set of SDK harness containers needed to execute this pipeline.String
getSubnetwork()
Subnetwork to which VMs will be assigned, if desired.com.google.protobuf.ByteString
getSubnetworkBytes()
Subnetwork to which VMs will be assigned, if desired.TaskRunnerSettings
getTaskrunnerSettings()
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.TaskRunnerSettings.Builder
getTaskrunnerSettingsBuilder()
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.TaskRunnerSettingsOrBuilder
getTaskrunnerSettingsOrBuilder()
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.TeardownPolicy
getTeardownPolicy()
Sets the policy for determining when to turndown worker pool.int
getTeardownPolicyValue()
Sets the policy for determining when to turndown worker pool.String
getWorkerHarnessContainerImage()
Required.com.google.protobuf.ByteString
getWorkerHarnessContainerImageBytes()
Required.String
getZone()
Zone to run the worker pools in.com.google.protobuf.ByteString
getZoneBytes()
Zone to run the worker pools in.boolean
hasAutoscalingSettings()
Settings for autoscaling of this WorkerPool.boolean
hasPoolArgs()
Extra arguments for this worker pool.boolean
hasTaskrunnerSettings()
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
WorkerPool.Builder
mergeAutoscalingSettings(AutoscalingSettings value)
Settings for autoscaling of this WorkerPool.WorkerPool.Builder
mergeFrom(WorkerPool other)
WorkerPool.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkerPool.Builder
mergeFrom(com.google.protobuf.Message other)
WorkerPool.Builder
mergePoolArgs(com.google.protobuf.Any value)
Extra arguments for this worker pool.WorkerPool.Builder
mergeTaskrunnerSettings(TaskRunnerSettings value)
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.WorkerPool.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkerPool.Builder
putAllMetadata(Map<String,String> values)
Metadata to set on the Google Compute Engine VMs.WorkerPool.Builder
putMetadata(String key, String value)
Metadata to set on the Google Compute Engine VMs.WorkerPool.Builder
removeDataDisks(int index)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
removeMetadata(String key)
Metadata to set on the Google Compute Engine VMs.WorkerPool.Builder
removePackages(int index)
Packages to be installed on workers.WorkerPool.Builder
removeSdkHarnessContainerImages(int index)
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
setAutoscalingSettings(AutoscalingSettings value)
Settings for autoscaling of this WorkerPool.WorkerPool.Builder
setAutoscalingSettings(AutoscalingSettings.Builder builderForValue)
Settings for autoscaling of this WorkerPool.WorkerPool.Builder
setDataDisks(int index, Disk value)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
setDataDisks(int index, Disk.Builder builderForValue)
Data disks that are used by a VM in this workflow.WorkerPool.Builder
setDefaultPackageSet(DefaultPackageSet value)
The default package set to install.WorkerPool.Builder
setDefaultPackageSetValue(int value)
The default package set to install.WorkerPool.Builder
setDiskSizeGb(int value)
Size of root disk for VMs, in GB.WorkerPool.Builder
setDiskSourceImage(String value)
Fully qualified source image for disks.WorkerPool.Builder
setDiskSourceImageBytes(com.google.protobuf.ByteString value)
Fully qualified source image for disks.WorkerPool.Builder
setDiskType(String value)
Type of root disk for VMs.WorkerPool.Builder
setDiskTypeBytes(com.google.protobuf.ByteString value)
Type of root disk for VMs.WorkerPool.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WorkerPool.Builder
setIpConfiguration(WorkerIPAddressConfiguration value)
Configuration for VM IPs.WorkerPool.Builder
setIpConfigurationValue(int value)
Configuration for VM IPs.WorkerPool.Builder
setKind(String value)
The kind of the worker pool; currently only `harness` and `shuffle` are supported.WorkerPool.Builder
setKindBytes(com.google.protobuf.ByteString value)
The kind of the worker pool; currently only `harness` and `shuffle` are supported.WorkerPool.Builder
setMachineType(String value)
Machine type (e.g.WorkerPool.Builder
setMachineTypeBytes(com.google.protobuf.ByteString value)
Machine type (e.g.WorkerPool.Builder
setNetwork(String value)
Network to which VMs will be assigned.WorkerPool.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
Network to which VMs will be assigned.WorkerPool.Builder
setNumThreadsPerWorker(int value)
The number of threads per worker harness.WorkerPool.Builder
setNumWorkers(int value)
Number of Google Compute Engine workers in this pool needed to execute the job.WorkerPool.Builder
setOnHostMaintenance(String value)
The action to take on host maintenance, as defined by the Google Compute Engine API.WorkerPool.Builder
setOnHostMaintenanceBytes(com.google.protobuf.ByteString value)
The action to take on host maintenance, as defined by the Google Compute Engine API.WorkerPool.Builder
setPackages(int index, Package value)
Packages to be installed on workers.WorkerPool.Builder
setPackages(int index, Package.Builder builderForValue)
Packages to be installed on workers.WorkerPool.Builder
setPoolArgs(com.google.protobuf.Any value)
Extra arguments for this worker pool.WorkerPool.Builder
setPoolArgs(com.google.protobuf.Any.Builder builderForValue)
Extra arguments for this worker pool.WorkerPool.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
WorkerPool.Builder
setSdkHarnessContainerImages(int index, SdkHarnessContainerImage value)
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
setSdkHarnessContainerImages(int index, SdkHarnessContainerImage.Builder builderForValue)
Set of SDK harness containers needed to execute this pipeline.WorkerPool.Builder
setSubnetwork(String value)
Subnetwork to which VMs will be assigned, if desired.WorkerPool.Builder
setSubnetworkBytes(com.google.protobuf.ByteString value)
Subnetwork to which VMs will be assigned, if desired.WorkerPool.Builder
setTaskrunnerSettings(TaskRunnerSettings value)
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.WorkerPool.Builder
setTaskrunnerSettings(TaskRunnerSettings.Builder builderForValue)
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner.WorkerPool.Builder
setTeardownPolicy(TeardownPolicy value)
Sets the policy for determining when to turndown worker pool.WorkerPool.Builder
setTeardownPolicyValue(int value)
Sets the policy for determining when to turndown worker pool.WorkerPool.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkerPool.Builder
setWorkerHarnessContainerImage(String value)
Required.WorkerPool.Builder
setWorkerHarnessContainerImageBytes(com.google.protobuf.ByteString value)
Required.WorkerPool.Builder
setZone(String value)
Zone to run the worker pools in.WorkerPool.Builder
setZoneBytes(com.google.protobuf.ByteString value)
Zone to run the worker pools in.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
clear
public WorkerPool.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
getDefaultInstanceForType
public WorkerPool getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkerPool build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkerPool buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkerPool.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
setField
public WorkerPool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
clearField
public WorkerPool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
clearOneof
public WorkerPool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
setRepeatedField
public WorkerPool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
addRepeatedField
public WorkerPool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
mergeFrom
public WorkerPool.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkerPool.Builder>
-
mergeFrom
public WorkerPool.Builder mergeFrom(WorkerPool other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
mergeFrom
public WorkerPool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkerPool.Builder>
- Throws:
IOException
-
getKind
public String getKind()
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
string kind = 1;
- Specified by:
getKind
in 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:
getKindBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for kind.
-
setKind
public WorkerPool.Builder setKind(String value)
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
public WorkerPool.Builder clearKind()
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
string kind = 1;
- Returns:
- This builder for chaining.
-
setKindBytes
public WorkerPool.Builder setKindBytes(com.google.protobuf.ByteString value)
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:
getNumWorkers
in interfaceWorkerPoolOrBuilder
- Returns:
- The numWorkers.
-
setNumWorkers
public WorkerPool.Builder setNumWorkers(int value)
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
public WorkerPool.Builder 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
public List<Package> getPackagesList()
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
- Specified by:
getPackagesList
in interfaceWorkerPoolOrBuilder
-
getPackagesCount
public int getPackagesCount()
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
- Specified by:
getPackagesCount
in interfaceWorkerPoolOrBuilder
-
getPackages
public Package getPackages(int index)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
- Specified by:
getPackages
in interfaceWorkerPoolOrBuilder
-
setPackages
public WorkerPool.Builder setPackages(int index, Package value)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
setPackages
public WorkerPool.Builder setPackages(int index, Package.Builder builderForValue)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
addPackages
public WorkerPool.Builder addPackages(Package value)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
addPackages
public WorkerPool.Builder addPackages(int index, Package value)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
addPackages
public WorkerPool.Builder addPackages(Package.Builder builderForValue)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
addPackages
public WorkerPool.Builder addPackages(int index, Package.Builder builderForValue)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
addAllPackages
public WorkerPool.Builder addAllPackages(Iterable<? extends Package> values)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
clearPackages
public WorkerPool.Builder clearPackages()
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
removePackages
public WorkerPool.Builder removePackages(int index)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
getPackagesBuilder
public Package.Builder getPackagesBuilder(int index)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
getPackagesOrBuilder
public PackageOrBuilder getPackagesOrBuilder(int index)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
- Specified by:
getPackagesOrBuilder
in interfaceWorkerPoolOrBuilder
-
getPackagesOrBuilderList
public List<? extends PackageOrBuilder> getPackagesOrBuilderList()
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
- Specified by:
getPackagesOrBuilderList
in interfaceWorkerPoolOrBuilder
-
addPackagesBuilder
public Package.Builder addPackagesBuilder()
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
addPackagesBuilder
public Package.Builder addPackagesBuilder(int index)
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;
-
getPackagesBuilderList
public List<Package.Builder> 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:
getDefaultPackageSetValue
in interfaceWorkerPoolOrBuilder
- Returns:
- The enum numeric value on the wire for defaultPackageSet.
-
setDefaultPackageSetValue
public WorkerPool.Builder setDefaultPackageSetValue(int value)
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
public DefaultPackageSet 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:
getDefaultPackageSet
in interfaceWorkerPoolOrBuilder
- Returns:
- The defaultPackageSet.
-
setDefaultPackageSet
public WorkerPool.Builder setDefaultPackageSet(DefaultPackageSet value)
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
public WorkerPool.Builder 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
public String 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:
getMachineType
in 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:
getMachineTypeBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for machineType.
-
setMachineType
public WorkerPool.Builder setMachineType(String value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
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:
getTeardownPolicyValue
in interfaceWorkerPoolOrBuilder
- Returns:
- The enum numeric value on the wire for teardownPolicy.
-
setTeardownPolicyValue
public WorkerPool.Builder setTeardownPolicyValue(int value)
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
public TeardownPolicy 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:
getTeardownPolicy
in interfaceWorkerPoolOrBuilder
- Returns:
- The teardownPolicy.
-
setTeardownPolicy
public WorkerPool.Builder setTeardownPolicy(TeardownPolicy value)
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
public WorkerPool.Builder 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:
getDiskSizeGb
in interfaceWorkerPoolOrBuilder
- Returns:
- The diskSizeGb.
-
setDiskSizeGb
public WorkerPool.Builder setDiskSizeGb(int value)
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
public WorkerPool.Builder 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
public String 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:
getDiskType
in 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:
getDiskTypeBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for diskType.
-
setDiskType
public WorkerPool.Builder setDiskType(String value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder setDiskTypeBytes(com.google.protobuf.ByteString value)
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.
-
getDiskSourceImage
public String getDiskSourceImage()
Fully qualified source image for disks.
string disk_source_image = 8;
- Specified by:
getDiskSourceImage
in interfaceWorkerPoolOrBuilder
- Returns:
- The diskSourceImage.
-
getDiskSourceImageBytes
public com.google.protobuf.ByteString getDiskSourceImageBytes()
Fully qualified source image for disks.
string disk_source_image = 8;
- Specified by:
getDiskSourceImageBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for diskSourceImage.
-
setDiskSourceImage
public WorkerPool.Builder setDiskSourceImage(String value)
Fully qualified source image for disks.
string disk_source_image = 8;
- Parameters:
value
- The diskSourceImage to set.- Returns:
- This builder for chaining.
-
clearDiskSourceImage
public WorkerPool.Builder clearDiskSourceImage()
Fully qualified source image for disks.
string disk_source_image = 8;
- Returns:
- This builder for chaining.
-
setDiskSourceImageBytes
public WorkerPool.Builder setDiskSourceImageBytes(com.google.protobuf.ByteString value)
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
public String 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:
getZone
in 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:
getZoneBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for zone.
-
setZone
public WorkerPool.Builder setZone(String value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder setZoneBytes(com.google.protobuf.ByteString value)
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:
hasTaskrunnerSettings
in interfaceWorkerPoolOrBuilder
- Returns:
- Whether the taskrunnerSettings field is set.
-
getTaskrunnerSettings
public TaskRunnerSettings 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:
getTaskrunnerSettings
in interfaceWorkerPoolOrBuilder
- Returns:
- The taskrunnerSettings.
-
setTaskrunnerSettings
public WorkerPool.Builder setTaskrunnerSettings(TaskRunnerSettings value)
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
public WorkerPool.Builder setTaskrunnerSettings(TaskRunnerSettings.Builder builderForValue)
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
public WorkerPool.Builder mergeTaskrunnerSettings(TaskRunnerSettings value)
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
public WorkerPool.Builder 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
public TaskRunnerSettings.Builder 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
public TaskRunnerSettingsOrBuilder 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:
getTaskrunnerSettingsOrBuilder
in interfaceWorkerPoolOrBuilder
-
getOnHostMaintenance
public String getOnHostMaintenance()
The action to take on host maintenance, as defined by the Google Compute Engine API.
string on_host_maintenance = 11;
- Specified by:
getOnHostMaintenance
in 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:
getOnHostMaintenanceBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for onHostMaintenance.
-
setOnHostMaintenance
public WorkerPool.Builder setOnHostMaintenance(String value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder setOnHostMaintenanceBytes(com.google.protobuf.ByteString value)
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
public List<Disk> getDataDisksList()
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
- Specified by:
getDataDisksList
in 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:
getDataDisksCount
in interfaceWorkerPoolOrBuilder
-
getDataDisks
public Disk getDataDisks(int index)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
- Specified by:
getDataDisks
in interfaceWorkerPoolOrBuilder
-
setDataDisks
public WorkerPool.Builder setDataDisks(int index, Disk value)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
setDataDisks
public WorkerPool.Builder setDataDisks(int index, Disk.Builder builderForValue)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
addDataDisks
public WorkerPool.Builder addDataDisks(Disk value)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
addDataDisks
public WorkerPool.Builder addDataDisks(int index, Disk value)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
addDataDisks
public WorkerPool.Builder addDataDisks(Disk.Builder builderForValue)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
addDataDisks
public WorkerPool.Builder addDataDisks(int index, Disk.Builder builderForValue)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
addAllDataDisks
public WorkerPool.Builder addAllDataDisks(Iterable<? extends Disk> values)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
clearDataDisks
public WorkerPool.Builder clearDataDisks()
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
removeDataDisks
public WorkerPool.Builder removeDataDisks(int index)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
getDataDisksBuilder
public Disk.Builder getDataDisksBuilder(int index)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
getDataDisksOrBuilder
public DiskOrBuilder getDataDisksOrBuilder(int index)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
- Specified by:
getDataDisksOrBuilder
in interfaceWorkerPoolOrBuilder
-
getDataDisksOrBuilderList
public List<? extends DiskOrBuilder> getDataDisksOrBuilderList()
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
- Specified by:
getDataDisksOrBuilderList
in interfaceWorkerPoolOrBuilder
-
addDataDisksBuilder
public Disk.Builder addDataDisksBuilder()
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
addDataDisksBuilder
public Disk.Builder addDataDisksBuilder(int index)
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;
-
getDataDisksBuilderList
public List<Disk.Builder> 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:WorkerPoolOrBuilder
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;
- Specified by:
getMetadataCount
in interfaceWorkerPoolOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;
- Specified by:
containsMetadata
in interfaceWorkerPoolOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceWorkerPoolOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;
- Specified by:
getMetadataMap
in interfaceWorkerPoolOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;
- Specified by:
getMetadataOrDefault
in interfaceWorkerPoolOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;
- Specified by:
getMetadataOrThrow
in interfaceWorkerPoolOrBuilder
-
clearMetadata
public WorkerPool.Builder clearMetadata()
-
removeMetadata
public WorkerPool.Builder removeMetadata(String key)
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public WorkerPool.Builder putMetadata(String key, String value)
Metadata to set on the Google Compute Engine VMs.
map<string, string> metadata = 13;
-
putAllMetadata
public WorkerPool.Builder putAllMetadata(Map<String,String> values)
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:
hasAutoscalingSettings
in interfaceWorkerPoolOrBuilder
- Returns:
- Whether the autoscalingSettings field is set.
-
getAutoscalingSettings
public AutoscalingSettings getAutoscalingSettings()
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;
- Specified by:
getAutoscalingSettings
in interfaceWorkerPoolOrBuilder
- Returns:
- The autoscalingSettings.
-
setAutoscalingSettings
public WorkerPool.Builder setAutoscalingSettings(AutoscalingSettings value)
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;
-
setAutoscalingSettings
public WorkerPool.Builder setAutoscalingSettings(AutoscalingSettings.Builder builderForValue)
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;
-
mergeAutoscalingSettings
public WorkerPool.Builder mergeAutoscalingSettings(AutoscalingSettings value)
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;
-
clearAutoscalingSettings
public WorkerPool.Builder clearAutoscalingSettings()
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;
-
getAutoscalingSettingsBuilder
public AutoscalingSettings.Builder getAutoscalingSettingsBuilder()
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;
-
getAutoscalingSettingsOrBuilder
public AutoscalingSettingsOrBuilder getAutoscalingSettingsOrBuilder()
Settings for autoscaling of this WorkerPool.
.google.dataflow.v1beta3.AutoscalingSettings autoscaling_settings = 14;
- Specified by:
getAutoscalingSettingsOrBuilder
in interfaceWorkerPoolOrBuilder
-
hasPoolArgs
public boolean hasPoolArgs()
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15;
- Specified by:
hasPoolArgs
in 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:
getPoolArgs
in interfaceWorkerPoolOrBuilder
- Returns:
- The poolArgs.
-
setPoolArgs
public WorkerPool.Builder setPoolArgs(com.google.protobuf.Any value)
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15;
-
setPoolArgs
public WorkerPool.Builder setPoolArgs(com.google.protobuf.Any.Builder builderForValue)
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15;
-
mergePoolArgs
public WorkerPool.Builder mergePoolArgs(com.google.protobuf.Any value)
Extra arguments for this worker pool.
.google.protobuf.Any pool_args = 15;
-
clearPoolArgs
public WorkerPool.Builder 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:
getPoolArgsOrBuilder
in interfaceWorkerPoolOrBuilder
-
getNetwork
public String getNetwork()
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
string network = 17;
- Specified by:
getNetwork
in 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:
getNetworkBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public WorkerPool.Builder setNetwork(String value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder setNetworkBytes(com.google.protobuf.ByteString value)
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
public String 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:
getSubnetwork
in 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:
getSubnetworkBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for subnetwork.
-
setSubnetwork
public WorkerPool.Builder setSubnetwork(String value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
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
public String 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:
getWorkerHarnessContainerImage
in 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:
getWorkerHarnessContainerImageBytes
in interfaceWorkerPoolOrBuilder
- Returns:
- The bytes for workerHarnessContainerImage.
-
setWorkerHarnessContainerImage
public WorkerPool.Builder setWorkerHarnessContainerImage(String value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder setWorkerHarnessContainerImageBytes(com.google.protobuf.ByteString value)
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:
getNumThreadsPerWorker
in interfaceWorkerPoolOrBuilder
- Returns:
- The numThreadsPerWorker.
-
setNumThreadsPerWorker
public WorkerPool.Builder setNumThreadsPerWorker(int value)
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
public WorkerPool.Builder 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:
getIpConfigurationValue
in interfaceWorkerPoolOrBuilder
- Returns:
- The enum numeric value on the wire for ipConfiguration.
-
setIpConfigurationValue
public WorkerPool.Builder setIpConfigurationValue(int value)
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
public WorkerIPAddressConfiguration getIpConfiguration()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;
- Specified by:
getIpConfiguration
in interfaceWorkerPoolOrBuilder
- Returns:
- The ipConfiguration.
-
setIpConfiguration
public WorkerPool.Builder setIpConfiguration(WorkerIPAddressConfiguration value)
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;
- Parameters:
value
- The ipConfiguration to set.- Returns:
- This builder for chaining.
-
clearIpConfiguration
public WorkerPool.Builder clearIpConfiguration()
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;
- Returns:
- This builder for chaining.
-
getSdkHarnessContainerImagesList
public List<SdkHarnessContainerImage> 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:
getSdkHarnessContainerImagesList
in 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:
getSdkHarnessContainerImagesCount
in interfaceWorkerPoolOrBuilder
-
getSdkHarnessContainerImages
public SdkHarnessContainerImage getSdkHarnessContainerImages(int index)
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:
getSdkHarnessContainerImages
in interfaceWorkerPoolOrBuilder
-
setSdkHarnessContainerImages
public WorkerPool.Builder setSdkHarnessContainerImages(int index, SdkHarnessContainerImage value)
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
public WorkerPool.Builder addSdkHarnessContainerImages(SdkHarnessContainerImage value)
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 value)
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
public WorkerPool.Builder 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
public WorkerPool.Builder removeSdkHarnessContainerImages(int index)
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
public SdkHarnessContainerImage.Builder getSdkHarnessContainerImagesBuilder(int index)
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
public SdkHarnessContainerImageOrBuilder getSdkHarnessContainerImagesOrBuilder(int index)
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:
getSdkHarnessContainerImagesOrBuilder
in 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:
getSdkHarnessContainerImagesOrBuilderList
in interfaceWorkerPoolOrBuilder
-
addSdkHarnessContainerImagesBuilder
public SdkHarnessContainerImage.Builder 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
public SdkHarnessContainerImage.Builder addSdkHarnessContainerImagesBuilder(int index)
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
public List<SdkHarnessContainerImage.Builder> 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;
-
setUnknownFields
public final WorkerPool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
mergeUnknownFields
public final WorkerPool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkerPool.Builder>
-
-