Interface WorkerPoolSpecOrBuilder (2.8.9)

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

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.