Class WorkerPool (0.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class WorkerPool extends GeneratedMessageV3 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

Implements

WorkerPoolOrBuilder

Static Fields

AUTOSCALING_SETTINGS_FIELD_NUMBER

public static final int AUTOSCALING_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_DISKS_FIELD_NUMBER

public static final int DATA_DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_PACKAGE_SET_FIELD_NUMBER

public static final int DEFAULT_PACKAGE_SET_FIELD_NUMBER
Field Value
TypeDescription
int

DISK_SIZE_GB_FIELD_NUMBER

public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value
TypeDescription
int

DISK_SOURCE_IMAGE_FIELD_NUMBER

public static final int DISK_SOURCE_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

DISK_TYPE_FIELD_NUMBER

public static final int DISK_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

IP_CONFIGURATION_FIELD_NUMBER

public static final int IP_CONFIGURATION_FIELD_NUMBER
Field Value
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

MACHINE_TYPE_FIELD_NUMBER

public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

NUM_THREADS_PER_WORKER_FIELD_NUMBER

public static final int NUM_THREADS_PER_WORKER_FIELD_NUMBER
Field Value
TypeDescription
int

NUM_WORKERS_FIELD_NUMBER

public static final int NUM_WORKERS_FIELD_NUMBER
Field Value
TypeDescription
int

ON_HOST_MAINTENANCE_FIELD_NUMBER

public static final int ON_HOST_MAINTENANCE_FIELD_NUMBER
Field Value
TypeDescription
int

PACKAGES_FIELD_NUMBER

public static final int PACKAGES_FIELD_NUMBER
Field Value
TypeDescription
int

POOL_ARGS_FIELD_NUMBER

public static final int POOL_ARGS_FIELD_NUMBER
Field Value
TypeDescription
int

SDK_HARNESS_CONTAINER_IMAGES_FIELD_NUMBER

public static final int SDK_HARNESS_CONTAINER_IMAGES_FIELD_NUMBER
Field Value
TypeDescription
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

TASKRUNNER_SETTINGS_FIELD_NUMBER

public static final int TASKRUNNER_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

TEARDOWN_POLICY_FIELD_NUMBER

public static final int TEARDOWN_POLICY_FIELD_NUMBER
Field Value
TypeDescription
int

WORKER_HARNESS_CONTAINER_IMAGE_FIELD_NUMBER

public static final int WORKER_HARNESS_CONTAINER_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkerPool getDefaultInstance()
Returns
TypeDescription
WorkerPool

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WorkerPool.Builder newBuilder()
Returns
TypeDescription
WorkerPool.Builder

newBuilder(WorkerPool prototype)

public static WorkerPool.Builder newBuilder(WorkerPool prototype)
Parameter
NameDescription
prototypeWorkerPool
Returns
TypeDescription
WorkerPool.Builder

parseDelimitedFrom(InputStream input)

public static WorkerPool parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerPool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkerPool parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkerPool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkerPool parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkerPool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkerPool parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerPool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkerPool parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerPool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerPool
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkerPool parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkerPool
Exceptions <