Package com.google.cloud.aiplatform.v1
Interface WorkerPoolSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkerPoolSpec,WorkerPoolSpec.Builder
@Generated
public interface WorkerPoolSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe custom container task.The custom container task.Disk spec.Disk spec.getLustreMounts(int index) Optional.intOptional.Optional.getLustreMountsOrBuilder(int index) Optional.List<? extends LustreMountOrBuilder>Optional.Optional.Optional.getNfsMounts(int index) Optional.intOptional.Optional.getNfsMountsOrBuilder(int index) Optional.List<? extends NfsMountOrBuilder>Optional.The Python packaged task.The Python packaged task.longOptional.booleanThe custom container task.booleanDisk spec.booleanOptional.booleanThe Python packaged task.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasContainerSpec
boolean hasContainerSpec()The custom container task.
.google.cloud.aiplatform.v1.ContainerSpec container_spec = 6;- Returns:
- Whether the containerSpec field is set.
-
getContainerSpec
ContainerSpec getContainerSpec()The custom container task.
.google.cloud.aiplatform.v1.ContainerSpec container_spec = 6;- Returns:
- The containerSpec.
-
getContainerSpecOrBuilder
ContainerSpecOrBuilder getContainerSpecOrBuilder()The custom container task.
.google.cloud.aiplatform.v1.ContainerSpec container_spec = 6; -
hasPythonPackageSpec
boolean hasPythonPackageSpec()The Python packaged task.
.google.cloud.aiplatform.v1.PythonPackageSpec python_package_spec = 7;- Returns:
- Whether the pythonPackageSpec field is set.
-
getPythonPackageSpec
PythonPackageSpec getPythonPackageSpec()The Python packaged task.
.google.cloud.aiplatform.v1.PythonPackageSpec python_package_spec = 7;- Returns:
- The pythonPackageSpec.
-
getPythonPackageSpecOrBuilder
PythonPackageSpecOrBuilder getPythonPackageSpecOrBuilder()The Python packaged task.
.google.cloud.aiplatform.v1.PythonPackageSpec python_package_spec = 7; -
hasMachineSpec
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:
- Whether the machineSpec field is set.
-
getMachineSpec
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:
- The machineSpec.
-
getMachineSpecOrBuilder
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]; -
getReplicaCount
long getReplicaCount()Optional. The number of worker replicas to use for this worker pool.
int64 replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The replicaCount.
-
getNfsMountsList
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getNfsMounts
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getNfsMountsCount
int getNfsMountsCount()Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getNfsMountsOrBuilderList
List<? extends NfsMountOrBuilder> getNfsMountsOrBuilderList()Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getNfsMountsOrBuilder
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLustreMountsList
List<LustreMount> getLustreMountsList()Optional. List of Lustre mounts.
repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLustreMounts
Optional. List of Lustre mounts.
repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLustreMountsCount
int getLustreMountsCount()Optional. List of Lustre mounts.
repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLustreMountsOrBuilderList
List<? extends LustreMountOrBuilder> getLustreMountsOrBuilderList()Optional. List of Lustre mounts.
repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getLustreMountsOrBuilder
Optional. List of Lustre mounts.
repeated .google.cloud.aiplatform.v1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL]; -
hasDiskSpec
boolean hasDiskSpec()Disk spec.
.google.cloud.aiplatform.v1.DiskSpec disk_spec = 5;- Returns:
- Whether the diskSpec field is set.
-
getDiskSpec
DiskSpec getDiskSpec()Disk spec.
.google.cloud.aiplatform.v1.DiskSpec disk_spec = 5;- Returns:
- The diskSpec.
-
getDiskSpecOrBuilder
DiskSpecOrBuilder getDiskSpecOrBuilder()Disk spec.
.google.cloud.aiplatform.v1.DiskSpec disk_spec = 5; -
getTaskCase
WorkerPoolSpec.TaskCase getTaskCase()
-