- 3.54.0 (latest)
- 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()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.NfsMount> |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | NfsMount |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | NfsMount.Builder |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | NfsMount |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | NfsMount.Builder |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NfsMount.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkerPoolSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
build()
public WorkerPoolSpec build()
Returns | |
---|---|
Type | Description |
WorkerPoolSpec |
buildPartial()
public WorkerPoolSpec buildPartial()
Returns | |
---|---|
Type | Description |
WorkerPoolSpec |
clear()
public WorkerPoolSpec.Builder clear()
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
clearContainerSpec()
public WorkerPoolSpec.Builder clearContainerSpec()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
clearDiskSpec()
public WorkerPoolSpec.Builder clearDiskSpec()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public WorkerPoolSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkerPoolSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
clearPythonPackageSpec()
public WorkerPoolSpec.Builder clearPythonPackageSpec()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder | This builder for chaining. |
clearTask()
public WorkerPoolSpec.Builder clearTask()
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
clone()
public WorkerPoolSpec.Builder clone()
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
getContainerSpec()
public ContainerSpec getContainerSpec()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Returns | |
---|---|
Type | Description |
ContainerSpec | The containerSpec. |
getContainerSpecBuilder()
public ContainerSpec.Builder getContainerSpecBuilder()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Returns | |
---|---|
Type | Description |
ContainerSpec.Builder |
getContainerSpecOrBuilder()
public ContainerSpecOrBuilder getContainerSpecOrBuilder()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Returns | |
---|---|
Type | Description |
ContainerSpecOrBuilder |
getDefaultInstanceForType()
public WorkerPoolSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
WorkerPoolSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiskSpec()
public DiskSpec getDiskSpec()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Returns | |
---|---|
Type | Description |
DiskSpec | The diskSpec. |
getDiskSpecBuilder()
public DiskSpec.Builder getDiskSpecBuilder()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Returns | |
---|---|
Type | Description |
DiskSpec.Builder |
getDiskSpecOrBuilder()
public DiskSpecOrBuilder getDiskSpecOrBuilder()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PythonPackageSpec | The pythonPackageSpec. |
getPythonPackageSpecBuilder()
public PythonPackageSpec.Builder getPythonPackageSpecBuilder()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Returns | |
---|---|
Type | Description |
PythonPackageSpec.Builder |
getPythonPackageSpecOrBuilder()
public PythonPackageSpecOrBuilder getPythonPackageSpecOrBuilder()
The Python packaged task.
.google.cloud.aiplatform.v1beta1.PythonPackageSpec python_package_spec = 7;
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
long | The replicaCount. |
getTaskCase()
public WorkerPoolSpec.TaskCase getTaskCase()
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.TaskCase |
hasContainerSpec()
public boolean hasContainerSpec()
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the containerSpec field is set. |
hasDiskSpec()
public boolean hasDiskSpec()
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the pythonPackageSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeContainerSpec(ContainerSpec value)
public WorkerPoolSpec.Builder mergeContainerSpec(ContainerSpec value)
The custom container task.
.google.cloud.aiplatform.v1beta1.ContainerSpec container_spec = 6;
Parameter | |
---|---|
Name | Description |
value | ContainerSpec |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
mergeDiskSpec(DiskSpec value)
public WorkerPoolSpec.Builder mergeDiskSpec(DiskSpec value)
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Parameter | |
---|---|
Name | Description |
value | DiskSpec |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
mergeFrom(WorkerPoolSpec other)
public WorkerPoolSpec.Builder mergeFrom(WorkerPoolSpec other)
Parameter | |
---|---|
Name | Description |
other | WorkerPoolSpec |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkerPoolSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public WorkerPoolSpec.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | MachineSpec |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PythonPackageSpec |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkerPoolSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ContainerSpec |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ContainerSpec.Builder |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
setDiskSpec(DiskSpec value)
public WorkerPoolSpec.Builder setDiskSpec(DiskSpec value)
Disk spec.
.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
Parameter | |
---|---|
Name | Description |
value | DiskSpec |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | DiskSpec.Builder |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public WorkerPoolSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | MachineSpec |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | MachineSpec.Builder |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | NfsMount |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | NfsMount.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | PythonPackageSpec |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | PythonPackageSpec.Builder |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkerPoolSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | long The replicaCount to set. |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkerPoolSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WorkerPoolSpec.Builder |