Interface WorkerPoolSpecOrBuilder (3.56.0)

public interface WorkerPoolSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerSpec()

public abstract ContainerSpec getContainerSpec()

The custom container task.

.google.cloud.aiplatform.v1.ContainerSpec container_spec = 6;

Returns
Type Description
ContainerSpec

The containerSpec.

getContainerSpecOrBuilder()

public abstract ContainerSpecOrBuilder getContainerSpecOrBuilder()

The custom container task.

.google.cloud.aiplatform.v1.ContainerSpec container_spec = 6;

Returns
Type Description
ContainerSpecOrBuilder

getDiskSpec()

public abstract DiskSpec getDiskSpec()

Disk spec.

.google.cloud.aiplatform.v1.DiskSpec disk_spec = 5;

Returns
Type Description
DiskSpec

The diskSpec.

getDiskSpecOrBuilder()

public abstract DiskSpecOrBuilder getDiskSpecOrBuilder()

Disk spec.

.google.cloud.aiplatform.v1.DiskSpec disk_spec = 5;

Returns
Type Description
DiskSpecOrBuilder

getMachineSpec()

public abstract MachineSpec getMachineSpec()

Optional. Immutable. The specification of a single machine.

.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineSpec

The machineSpec.

getMachineSpecOrBuilder()

public abstract MachineSpecOrBuilder getMachineSpecOrBuilder()

Optional. Immutable. The specification of a single machine.

.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
MachineSpecOrBuilder

getNfsMounts(int index)

public abstract NfsMount getNfsMounts(int index)

Optional. List of NFS mount spec.

repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NfsMount

getNfsMountsCount()

public abstract int getNfsMountsCount()

Optional. List of NFS mount spec.

repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNfsMountsList()

public abstract List<NfsMount> getNfsMountsList()

Optional. List of NFS mount spec.

repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NfsMount>

getNfsMountsOrBuilder(int index)

public abstract NfsMountOrBuilder getNfsMountsOrBuilder(int index)

Optional. List of NFS mount spec.

repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NfsMountOrBuilder

getNfsMountsOrBuilderList()

public abstract List<? extends NfsMountOrBuilder> getNfsMountsOrBuilderList()

Optional. List of NFS mount spec.

repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.NfsMountOrBuilder>

getPythonPackageSpec()

public abstract PythonPackageSpec getPythonPackageSpec()

The Python packaged task.

.google.cloud.aiplatform.v1.PythonPackageSpec python_package_spec = 7;

Returns
Type Description
PythonPackageSpec

The pythonPackageSpec.

getPythonPackageSpecOrBuilder()

public abstract PythonPackageSpecOrBuilder getPythonPackageSpecOrBuilder()

The Python packaged task.

.google.cloud.aiplatform.v1.PythonPackageSpec python_package_spec = 7;

Returns
Type Description
PythonPackageSpecOrBuilder

getReplicaCount()

public abstract long getReplicaCount()

Optional. The number of worker replicas to use for this worker pool.

int64 replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The replicaCount.

getTaskCase()

public abstract WorkerPoolSpec.TaskCase getTaskCase()
Returns
Type Description
WorkerPoolSpec.TaskCase

hasContainerSpec()

public abstract boolean hasContainerSpec()

The custom container task.

.google.cloud.aiplatform.v1.ContainerSpec container_spec = 6;

Returns
Type Description
boolean

Whether the containerSpec field is set.

hasDiskSpec()

public abstract boolean hasDiskSpec()

Disk spec.

.google.cloud.aiplatform.v1.DiskSpec disk_spec = 5;

Returns
Type Description
boolean

Whether the diskSpec field is set.

hasMachineSpec()

public abstract boolean hasMachineSpec()

Optional. Immutable. The specification of a single machine.

.google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the machineSpec field is set.

hasPythonPackageSpec()

public abstract boolean hasPythonPackageSpec()

The Python packaged task.

.google.cloud.aiplatform.v1.PythonPackageSpec python_package_spec = 7;

Returns
Type Description
boolean

Whether the pythonPackageSpec field is set.