WorkerPoolSpec class final

Represents the spec of a worker pool in a job.

Inheritance
  • Object
  • ProtoMessage
  • WorkerPoolSpec

Constructors

WorkerPoolSpec({ContainerSpec? containerSpec, PythonPackageSpec? pythonPackageSpec, MachineSpec? machineSpec, int replicaCount = 0, List<NfsMount> nfsMounts = const [], DiskSpec? diskSpec})
WorkerPoolSpec.fromJson(Object? j)
factory

Properties

containerSpec ContainerSpec?
The custom container task.
final
diskSpec DiskSpec?
Disk spec.
final
hashCode int
The hash code for this object.
no setterinherited
machineSpec MachineSpec?
Optional. Immutable. The specification of a single machine.
final
nfsMounts List<NfsMount>
Optional. List of NFS mount spec.
final
pythonPackageSpec PythonPackageSpec?
The Python packaged task.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
replicaCount int
Optional. The number of worker replicas to use for this worker pool.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String