Package com.google.dataflow.v1beta3
Class WorkerPool
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.WorkerPool
- All Implemented Interfaces:
WorkerPoolOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class WorkerPool
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes 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.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Metadata to set on the Google Compute Engine VMs.booleanSettings 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.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.static WorkerPoolThe default package set to install.intThe default package set to install.static final com.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.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.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.Parser<WorkerPool>com.google.protobuf.AnyExtra 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.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.intSubnetwork 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.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.inthashCode()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) final booleanstatic WorkerPool.Builderstatic WorkerPool.BuildernewBuilder(WorkerPool prototype) protected WorkerPool.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static WorkerPoolparseDelimitedFrom(InputStream input) static WorkerPoolparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerPoolparseFrom(byte[] data) static WorkerPoolparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerPoolparseFrom(com.google.protobuf.ByteString data) static WorkerPoolparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerPoolparseFrom(com.google.protobuf.CodedInputStream input) static WorkerPoolparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerPoolparseFrom(InputStream input) static WorkerPoolparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkerPoolparseFrom(ByteBuffer data) static WorkerPoolparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WorkerPool>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
NUM_WORKERS_FIELD_NUMBER
public static final int NUM_WORKERS_FIELD_NUMBER- See Also:
-
PACKAGES_FIELD_NUMBER
public static final int PACKAGES_FIELD_NUMBER- See Also:
-
DEFAULT_PACKAGE_SET_FIELD_NUMBER
public static final int DEFAULT_PACKAGE_SET_FIELD_NUMBER- See Also:
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER- See Also:
-
TEARDOWN_POLICY_FIELD_NUMBER
public static final int TEARDOWN_POLICY_FIELD_NUMBER- See Also:
-
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER- See Also:
-
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER- See Also:
-
DISK_PROVISIONED_IOPS_FIELD_NUMBER
public static final int DISK_PROVISIONED_IOPS_FIELD_NUMBER- See Also:
-
DISK_PROVISIONED_THROUGHPUT_MIBPS_FIELD_NUMBER
public static final int DISK_PROVISIONED_THROUGHPUT_MIBPS_FIELD_NUMBER- See Also:
-
DISK_SOURCE_IMAGE_FIELD_NUMBER
public static final int DISK_SOURCE_IMAGE_FIELD_NUMBER- See Also:
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER- See Also:
-
TASKRUNNER_SETTINGS_FIELD_NUMBER
public static final int TASKRUNNER_SETTINGS_FIELD_NUMBER- See Also:
-
ON_HOST_MAINTENANCE_FIELD_NUMBER
public static final int ON_HOST_MAINTENANCE_FIELD_NUMBER- See Also:
-
DATA_DISKS_FIELD_NUMBER
public static final int DATA_DISKS_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
AUTOSCALING_SETTINGS_FIELD_NUMBER
public static final int AUTOSCALING_SETTINGS_FIELD_NUMBER- See Also:
-
POOL_ARGS_FIELD_NUMBER
public static final int POOL_ARGS_FIELD_NUMBER- See Also:
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER- See Also:
-
WORKER_HARNESS_CONTAINER_IMAGE_FIELD_NUMBER
public static final int WORKER_HARNESS_CONTAINER_IMAGE_FIELD_NUMBER- See Also:
-
NUM_THREADS_PER_WORKER_FIELD_NUMBER
public static final int NUM_THREADS_PER_WORKER_FIELD_NUMBER- See Also:
-
IP_CONFIGURATION_FIELD_NUMBER
public static final int IP_CONFIGURATION_FIELD_NUMBER- See Also:
-
SDK_HARNESS_CONTAINER_IMAGES_FIELD_NUMBER
public static final int SDK_HARNESS_CONTAINER_IMAGES_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
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.
-
getPackagesList
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesListin interfaceWorkerPoolOrBuilder
-
getPackagesOrBuilderList
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesOrBuilderListin 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
-
getPackagesOrBuilder
Packages to be installed on workers.
repeated .google.dataflow.v1beta3.Package packages = 3;- Specified by:
getPackagesOrBuilderin interfaceWorkerPoolOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getDataDisksList
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;- Specified by:
getDataDisksListin 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
-
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
-
getDataDisksOrBuilder
Data disks that are used by a VM in this workflow.
repeated .google.dataflow.v1beta3.Disk data_disks = 12;- Specified by:
getDataDisksOrBuilderin interfaceWorkerPoolOrBuilder
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getIpConfiguration
Configuration for VM IPs.
.google.dataflow.v1beta3.WorkerIPAddressConfiguration ip_configuration = 21;- Specified by:
getIpConfigurationin interfaceWorkerPoolOrBuilder- Returns:
- The ipConfiguration.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WorkerPool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerPool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerPool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerPool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerPool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkerPool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WorkerPool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WorkerPool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WorkerPool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkerPool.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-