- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class WorkerPoolSpec.Builder extends GeneratedMessageV3.Builder<WorkerPoolSpec.Builder> implements WorkerPoolSpecOrBuilder
Represents the spec of a worker pool in a job.
Protobuf type google.cloud.aiplatform.v1beta1.WorkerPoolSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkerPoolSpec.BuilderImplements
WorkerPoolSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllNfsMounts(Iterable<? extends NfsMount> values)
public WorkerPoolSpec.Builder addAllNfsMounts(Iterable<? extends NfsMount> values)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.NfsMount> |
Type | Description |
WorkerPoolSpec.Builder |
addNfsMounts(NfsMount value)
public WorkerPoolSpec.Builder addNfsMounts(NfsMount value)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | NfsMount |
Type | Description |
WorkerPoolSpec.Builder |
addNfsMounts(NfsMount.Builder builderForValue)
public WorkerPoolSpec.Builder addNfsMounts(NfsMount.Builder builderForValue)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | NfsMount.Builder |
Type | Description |
WorkerPoolSpec.Builder |
addNfsMounts(int index, NfsMount value)
public WorkerPoolSpec.Builder addNfsMounts(int index, NfsMount value)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | NfsMount |
Type | Description |
WorkerPoolSpec.Builder |
addNfsMounts(int index, NfsMount.Builder builderForValue)
public WorkerPoolSpec.Builder addNfsMounts(int index, NfsMount.Builder builderForValue)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | NfsMount.Builder |
Type | Description |
WorkerPoolSpec.Builder |
addNfsMountsBuilder()
public NfsMount.Builder addNfsMountsBuilder()
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
NfsMount.Builder |
addNfsMountsBuilder(int index)
public NfsMount.Builder addNfsMountsBuilder(int index)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
NfsMount.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkerPoolSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WorkerPoolSpec.Builder |
build()
public WorkerPoolSpec build()
Type | Description |
WorkerPoolSpec |
buildPartial()
public WorkerPoolSpec buildPartial()
Type | Description |
WorkerPoolSpec |
clear()
public WorkerPoolSpec.Builder clear()
Type | Description |
WorkerPoolSpec.Builder |
clearContainerSpec()
public WorkerPoolSpec.Builder clearContainerSpec()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Type | Description |
WorkerPoolSpec.Builder |
clearDiskSpec()
public WorkerPoolSpec.Builder clearDiskSpec()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Type | Description |
WorkerPoolSpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public WorkerPoolSpec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
WorkerPoolSpec.Builder |
clearMachineSpec()
public WorkerPoolSpec.Builder clearMachineSpec()
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];
Type | Description |
WorkerPoolSpec.Builder |
clearNfsMounts()
public WorkerPoolSpec.Builder clearNfsMounts()
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
WorkerPoolSpec.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkerPoolSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
WorkerPoolSpec.Builder |
clearPythonPackageSpec()
public WorkerPoolSpec.Builder clearPythonPackageSpec()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Type | Description |
WorkerPoolSpec.Builder |
clearReplicaCount()
public WorkerPoolSpec.Builder clearReplicaCount()
Optional. The number of worker replicas to use for this worker pool.
int64 replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
WorkerPoolSpec.Builder | This builder for chaining. |
clearTask()
public WorkerPoolSpec.Builder clearTask()
Type | Description |
WorkerPoolSpec.Builder |
clone()
public WorkerPoolSpec.Builder clone()
Type | Description |
WorkerPoolSpec.Builder |
getContainerSpec()
public ContainerSpec getContainerSpec()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Type | Description |
ContainerSpec | The containerSpec. |
getContainerSpecBuilder()
public ContainerSpec.Builder getContainerSpecBuilder()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Type | Description |
ContainerSpec.Builder |
getContainerSpecOrBuilder()
public ContainerSpecOrBuilder getContainerSpecOrBuilder()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Type | Description |
ContainerSpecOrBuilder |
getDefaultInstanceForType()
public WorkerPoolSpec getDefaultInstanceForType()
Type | Description |
WorkerPoolSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiskSpec()
public DiskSpec getDiskSpec()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Type | Description |
DiskSpec | The diskSpec. |
getDiskSpecBuilder()
public DiskSpec.Builder getDiskSpecBuilder()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Type | Description |
DiskSpec.Builder |
getDiskSpecOrBuilder()
public DiskSpecOrBuilder getDiskSpecOrBuilder()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Type | Description |
DiskSpecOrBuilder |
getMachineSpec()
public 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];
Type | Description |
MachineSpec | The machineSpec. |
getMachineSpecBuilder()
public MachineSpec.Builder getMachineSpecBuilder()
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];
Type | Description |
MachineSpec.Builder |
getMachineSpecOrBuilder()
public 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];
Type | Description |
MachineSpecOrBuilder |
getNfsMounts(int index)
public NfsMount getNfsMounts(int index)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
NfsMount |
getNfsMountsBuilder(int index)
public NfsMount.Builder getNfsMountsBuilder(int index)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
NfsMount.Builder |
getNfsMountsBuilderList()
public List<NfsMount.Builder> getNfsMountsBuilderList()
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<Builder> |
getNfsMountsCount()
public int getNfsMountsCount()
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getNfsMountsList()
public List<NfsMount> getNfsMountsList()
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<NfsMount> |
getNfsMountsOrBuilder(int index)
public NfsMountOrBuilder getNfsMountsOrBuilder(int index)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
NfsMountOrBuilder |
getNfsMountsOrBuilderList()
public List<? extends NfsMountOrBuilder> getNfsMountsOrBuilderList()
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.NfsMountOrBuilder> |
getPythonPackageSpec()
public PythonPackageSpec getPythonPackageSpec()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Type | Description |
PythonPackageSpec | The pythonPackageSpec. |
getPythonPackageSpecBuilder()
public PythonPackageSpec.Builder getPythonPackageSpecBuilder()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Type | Description |
PythonPackageSpec.Builder |
getPythonPackageSpecOrBuilder()
public PythonPackageSpecOrBuilder getPythonPackageSpecOrBuilder()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Type | Description |
PythonPackageSpecOrBuilder |
getReplicaCount()
public long getReplicaCount()
Optional. The number of worker replicas to use for this worker pool.
int64 replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
long | The replicaCount. |
getTaskCase()
public WorkerPoolSpec.TaskCase getTaskCase()
Type | Description |
WorkerPoolSpec.TaskCase |
hasContainerSpec()
public boolean hasContainerSpec()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Type | Description |
boolean | Whether the containerSpec field is set. |
hasDiskSpec()
public boolean hasDiskSpec()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Type | Description |
boolean | Whether the diskSpec field is set. |
hasMachineSpec()
public 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];
Type | Description |
boolean | Whether the machineSpec field is set. |
hasPythonPackageSpec()
public boolean hasPythonPackageSpec()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Type | Description |
boolean | Whether the pythonPackageSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeContainerSpec(ContainerSpec value)
public WorkerPoolSpec.Builder mergeContainerSpec(ContainerSpec value)
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Name | Description |
value | ContainerSpec |
Type | Description |
WorkerPoolSpec.Builder |
mergeDiskSpec(DiskSpec value)
public WorkerPoolSpec.Builder mergeDiskSpec(DiskSpec value)
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Name | Description |
value | DiskSpec |
Type | Description |
WorkerPoolSpec.Builder |
mergeFrom(WorkerPoolSpec other)
public WorkerPoolSpec.Builder mergeFrom(WorkerPoolSpec other)
Name | Description |
other | WorkerPoolSpec |
Type | Description |
WorkerPoolSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkerPoolSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WorkerPoolSpec.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public WorkerPoolSpec.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
WorkerPoolSpec.Builder |
mergeMachineSpec(MachineSpec value)
public WorkerPoolSpec.Builder mergeMachineSpec(MachineSpec value)
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];
Name | Description |
value | MachineSpec |
Type | Description |
WorkerPoolSpec.Builder |
mergePythonPackageSpec(PythonPackageSpec value)
public WorkerPoolSpec.Builder mergePythonPackageSpec(PythonPackageSpec value)
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Name | Description |
value | PythonPackageSpec |
Type | Description |
WorkerPoolSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkerPoolSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WorkerPoolSpec.Builder |
removeNfsMounts(int index)
public WorkerPoolSpec.Builder removeNfsMounts(int index)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
WorkerPoolSpec.Builder |
setContainerSpec(ContainerSpec value)
public WorkerPoolSpec.Builder setContainerSpec(ContainerSpec value)
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Name | Description |
value | ContainerSpec |
Type | Description |
WorkerPoolSpec.Builder |
setContainerSpec(ContainerSpec.Builder builderForValue)
public WorkerPoolSpec.Builder setContainerSpec(ContainerSpec.Builder builderForValue)
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Name | Description |
builderForValue | ContainerSpec.Builder |
Type | Description |
WorkerPoolSpec.Builder |
setDiskSpec(DiskSpec value)
public WorkerPoolSpec.Builder setDiskSpec(DiskSpec value)
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Name | Description |
value | DiskSpec |
Type | Description |
WorkerPoolSpec.Builder |
setDiskSpec(DiskSpec.Builder builderForValue)
public WorkerPoolSpec.Builder setDiskSpec(DiskSpec.Builder builderForValue)
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Name | Description |
builderForValue | DiskSpec.Builder |
Type | Description |
WorkerPoolSpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public WorkerPoolSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WorkerPoolSpec.Builder |
setMachineSpec(MachineSpec value)
public WorkerPoolSpec.Builder setMachineSpec(MachineSpec value)
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];
Name | Description |
value | MachineSpec |
Type | Description |
WorkerPoolSpec.Builder |
setMachineSpec(MachineSpec.Builder builderForValue)
public WorkerPoolSpec.Builder setMachineSpec(MachineSpec.Builder builderForValue)
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];
Name | Description |
builderForValue | MachineSpec.Builder |
Type | Description |
WorkerPoolSpec.Builder |
setNfsMounts(int index, NfsMount value)
public WorkerPoolSpec.Builder setNfsMounts(int index, NfsMount value)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | NfsMount |
Type | Description |
WorkerPoolSpec.Builder |
setNfsMounts(int index, NfsMount.Builder builderForValue)
public WorkerPoolSpec.Builder setNfsMounts(int index, NfsMount.Builder builderForValue)
Optional. List of NFS mount spec.
repeated .google.cloud.aiplatform.v1beta1.NfsMount nfs_mounts = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | NfsMount.Builder |
Type | Description |
WorkerPoolSpec.Builder |
setPythonPackageSpec(PythonPackageSpec value)
public WorkerPoolSpec.Builder setPythonPackageSpec(PythonPackageSpec value)
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Name | Description |
value | PythonPackageSpec |
Type | Description |
WorkerPoolSpec.Builder |
setPythonPackageSpec(PythonPackageSpec.Builder builderForValue)
public WorkerPoolSpec.Builder setPythonPackageSpec(PythonPackageSpec.Builder builderForValue)
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Name | Description |
builderForValue | PythonPackageSpec.Builder |
Type | Description |
WorkerPoolSpec.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkerPoolSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
WorkerPoolSpec.Builder |
setReplicaCount(long value)
public WorkerPoolSpec.Builder setReplicaCount(long value)
Optional. The number of worker replicas to use for this worker pool.
int64 replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | long The replicaCount to set. |
Type | Description |
WorkerPoolSpec.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkerPoolSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WorkerPoolSpec.Builder |