Interface WorkerPoolSpecOrBuilder (3.3.0)

public interface WorkerPoolSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerSpec()

public abstract ContainerSpec getContainerSpec()

The custom container task.

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

Returns
TypeDescription
ContainerSpec

The containerSpec.

getContainerSpecOrBuilder()

public abstract ContainerSpecOrBuilder getContainerSpecOrBuilder()

The custom container task.

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

Returns
TypeDescription
ContainerSpecOrBuilder

getDiskSpec()

public abstract DiskSpec getDiskSpec()

Disk spec.

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

Returns
TypeDescription
DiskSpec

The diskSpec.

getDiskSpecOrBuilder()

public abstract DiskSpecOrBuilder getDiskSpecOrBuilder()

Disk spec.

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

Returns
TypeDescription
DiskSpecOrBuilder

getMachineSpec()

public abstract MachineSpec getMachineSpec()

Optional. Immutable. The specification of a single machine.

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

Returns
TypeDescription
MachineSpec

The machineSpec.

getMachineSpecOrBuilder()

public abstract MachineSpecOrBuilder getMachineSpecOrBuilder()

Optional. Immutable. The specification of a single machine.

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

Returns
TypeDescription
MachineSpecOrBuilder

getNfsMounts(int index)

public abstract NfsMount getNfsMounts(int index)

Optional. List of NFS mount spec.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NfsMount

getNfsMountsCount()

public abstract int getNfsMountsCount()

Optional. List of NFS mount spec.

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

Returns
TypeDescription
int

getNfsMountsList()

public abstract List<NfsMount> getNfsMountsList()

Optional. List of NFS mount spec.

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

Returns
TypeDescription
List<NfsMount>

getNfsMountsOrBuilder(int index)

public abstract NfsMountOrBuilder getNfsMountsOrBuilder(int index)

Optional. List of NFS mount spec.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NfsMountOrBuilder

getNfsMountsOrBuilderList()

public abstract List<? extends NfsMountOrBuilder> getNfsMountsOrBuilderList()

Optional. List of NFS mount spec.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.NfsMountOrBuilder>

getPythonPackageSpec()

public abstract PythonPackageSpec getPythonPackageSpec()

The Python packaged task.

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

Returns
TypeDescription
PythonPackageSpec

The pythonPackageSpec.

getPythonPackageSpecOrBuilder()

public abstract PythonPackageSpecOrBuilder getPythonPackageSpecOrBuilder()

The Python packaged task.

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

Returns
TypeDescription
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
TypeDescription
long

The replicaCount.

getTaskCase()

public abstract WorkerPoolSpec.TaskCase getTaskCase()
Returns
TypeDescription
WorkerPoolSpec.TaskCase

hasContainerSpec()

public abstract boolean hasContainerSpec()

The custom container task.

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

Returns
TypeDescription
boolean

Whether the containerSpec field is set.

hasDiskSpec()

public abstract boolean hasDiskSpec()

Disk spec.

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

Returns
TypeDescription
boolean

Whether the diskSpec field is set.

hasMachineSpec()

public abstract boolean hasMachineSpec()

Optional. Immutable. The specification of a single machine.

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

Returns
TypeDescription
boolean

Whether the machineSpec field is set.

hasPythonPackageSpec()

public abstract boolean hasPythonPackageSpec()

The Python packaged task.

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

Returns
TypeDescription
boolean

Whether the pythonPackageSpec field is set.