- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.8
public static final class VirtualMachine.Builder extends GeneratedMessageV3.Builder<VirtualMachine.Builder> implements VirtualMachineOrBuilder
Carries information about a Compute Engine VM resource.
Protobuf type google.cloud.lifesciences.v2beta.VirtualMachine
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VirtualMachine.BuilderImplements
VirtualMachineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAccelerators(Accelerator value)
public VirtualMachine.Builder addAccelerators(Accelerator value)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
value | Accelerator |
Type | Description |
VirtualMachine.Builder |
addAccelerators(Accelerator.Builder builderForValue)
public VirtualMachine.Builder addAccelerators(Accelerator.Builder builderForValue)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
builderForValue | Accelerator.Builder |
Type | Description |
VirtualMachine.Builder |
addAccelerators(int index, Accelerator value)
public VirtualMachine.Builder addAccelerators(int index, Accelerator value)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
value | Accelerator |
Type | Description |
VirtualMachine.Builder |
addAccelerators(int index, Accelerator.Builder builderForValue)
public VirtualMachine.Builder addAccelerators(int index, Accelerator.Builder builderForValue)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
builderForValue | Accelerator.Builder |
Type | Description |
VirtualMachine.Builder |
addAcceleratorsBuilder()
public Accelerator.Builder addAcceleratorsBuilder()
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Type | Description |
Accelerator.Builder |
addAcceleratorsBuilder(int index)
public Accelerator.Builder addAcceleratorsBuilder(int index)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
Type | Description |
Accelerator.Builder |
addAllAccelerators(Iterable<? extends Accelerator> values)
public VirtualMachine.Builder addAllAccelerators(Iterable<? extends Accelerator> values)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
values | Iterable<? extends com.google.cloud.lifesciences.v2beta.Accelerator> |
Type | Description |
VirtualMachine.Builder |
addAllDisks(Iterable<? extends Disk> values)
public VirtualMachine.Builder addAllDisks(Iterable<? extends Disk> values)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.lifesciences.v2beta.Disk> |
Type | Description |
VirtualMachine.Builder |
addAllDockerCacheImages(Iterable<String> values)
public VirtualMachine.Builder addAllDockerCacheImages(Iterable<String> values)
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Name | Description |
values | Iterable<String> The dockerCacheImages to add. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
addAllVolumes(Iterable<? extends Volume> values)
public VirtualMachine.Builder addAllVolumes(Iterable<? extends Volume> values)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
values | Iterable<? extends com.google.cloud.lifesciences.v2beta.Volume> |
Type | Description |
VirtualMachine.Builder |
addDisks(Disk value)
public VirtualMachine.Builder addDisks(Disk value)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
value | Disk |
Type | Description |
VirtualMachine.Builder |
addDisks(Disk.Builder builderForValue)
public VirtualMachine.Builder addDisks(Disk.Builder builderForValue)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
builderForValue | Disk.Builder |
Type | Description |
VirtualMachine.Builder |
addDisks(int index, Disk value)
public VirtualMachine.Builder addDisks(int index, Disk value)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
value | Disk |
Type | Description |
VirtualMachine.Builder |
addDisks(int index, Disk.Builder builderForValue)
public VirtualMachine.Builder addDisks(int index, Disk.Builder builderForValue)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
builderForValue | Disk.Builder |
Type | Description |
VirtualMachine.Builder |
addDisksBuilder()
public Disk.Builder addDisksBuilder()
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Type | Description |
Disk.Builder |
addDisksBuilder(int index)
public Disk.Builder addDisksBuilder(int index)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
Type | Description |
Disk.Builder |
addDockerCacheImages(String value)
public VirtualMachine.Builder addDockerCacheImages(String value)
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Name | Description |
value | String The dockerCacheImages to add. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
addDockerCacheImagesBytes(ByteString value)
public VirtualMachine.Builder addDockerCacheImagesBytes(ByteString value)
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Name | Description |
value | ByteString The bytes of the dockerCacheImages to add. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VirtualMachine.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VirtualMachine.Builder |
addVolumes(Volume value)
public VirtualMachine.Builder addVolumes(Volume value)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
value | Volume |
Type | Description |
VirtualMachine.Builder |
addVolumes(Volume.Builder builderForValue)
public VirtualMachine.Builder addVolumes(Volume.Builder builderForValue)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
builderForValue | Volume.Builder |
Type | Description |
VirtualMachine.Builder |
addVolumes(int index, Volume value)
public VirtualMachine.Builder addVolumes(int index, Volume value)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
value | Volume |
Type | Description |
VirtualMachine.Builder |
addVolumes(int index, Volume.Builder builderForValue)
public VirtualMachine.Builder addVolumes(int index, Volume.Builder builderForValue)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
builderForValue | Volume.Builder |
Type | Description |
VirtualMachine.Builder |
addVolumesBuilder()
public Volume.Builder addVolumesBuilder()
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Type | Description |
Volume.Builder |
addVolumesBuilder(int index)
public Volume.Builder addVolumesBuilder(int index)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
Type | Description |
Volume.Builder |
build()
public VirtualMachine build()
Type | Description |
VirtualMachine |
buildPartial()
public VirtualMachine buildPartial()
Type | Description |
VirtualMachine |
clear()
public VirtualMachine.Builder clear()
Type | Description |
VirtualMachine.Builder |
clearAccelerators()
public VirtualMachine.Builder clearAccelerators()
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Type | Description |
VirtualMachine.Builder |
clearBootDiskSizeGb()
public VirtualMachine.Builder clearBootDiskSizeGb()
The size of the boot disk, in GB. The boot disk must be large enough to accommodate all of the Docker images from each action in the pipeline at the same time. If not specified, a small but reasonable default value is used.
int32 boot_disk_size_gb = 8;
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearBootImage()
public VirtualMachine.Builder clearBootImage()
The host operating system image to use.
Currently, only Container-Optimized OS images can be used.
The default value is projects/cos-cloud/global/images/family/cos-stable
,
which selects the latest stable release of Container-Optimized OS.
This option is provided to allow testing against the beta release of the
operating system to ensure that the new version does not interact
negatively with production pipelines.
To test a pipeline against the beta release of Container-Optimized OS,
use the value projects/cos-cloud/global/images/family/cos-beta
.
string boot_image = 10;
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearCpuPlatform()
public VirtualMachine.Builder clearCpuPlatform()
The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as "Intel Skylake"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string cpu_platform = 9;
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearDisks()
public VirtualMachine.Builder clearDisks()
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Type | Description |
VirtualMachine.Builder |
clearDockerCacheImages()
public VirtualMachine.Builder clearDockerCacheImages()
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearEnableStackdriverMonitoring()
public VirtualMachine.Builder clearEnableStackdriverMonitoring()
Whether Stackdriver monitoring should be enabled on the VM.
bool enable_stackdriver_monitoring = 12;
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VirtualMachine.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VirtualMachine.Builder |
clearLabels()
public VirtualMachine.Builder clearLabels()
Type | Description |
VirtualMachine.Builder |
clearMachineType()
public VirtualMachine.Builder clearMachineType()
Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as "n1-standard-1") or a custom machine type (such as "custom-1-4096", where "1" indicates the number of vCPUs and "4096" indicates the memory in MB). See Creating an instance with a custom machine type for more specifications on creating a custom machine type.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearNetwork()
public VirtualMachine.Builder clearNetwork()
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Type | Description |
VirtualMachine.Builder |
clearNvidiaDriverVersion()
public VirtualMachine.Builder clearNvidiaDriverVersion()
The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator.
The version specified here must be compatible with the GPU libraries
contained in the container being executed, and must be one of the drivers
hosted in the nvidia-drivers-us-public
bucket on Google Cloud Storage.
string nvidia_driver_version = 11 [deprecated = true];
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VirtualMachine.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VirtualMachine.Builder |
clearPreemptible()
public VirtualMachine.Builder clearPreemptible()
If true, allocate a preemptible VM.
bool preemptible = 2;
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
clearServiceAccount()
public VirtualMachine.Builder clearServiceAccount()
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Type | Description |
VirtualMachine.Builder |
clearVolumes()
public VirtualMachine.Builder clearVolumes()
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Type | Description |
VirtualMachine.Builder |
clone()
public VirtualMachine.Builder clone()
Type | Description |
VirtualMachine.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Name | Description |
key | String |
Type | Description |
boolean |
getAccelerators(int index)
public Accelerator getAccelerators(int index)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
Type | Description |
Accelerator |
getAcceleratorsBuilder(int index)
public Accelerator.Builder getAcceleratorsBuilder(int index)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
Type | Description |
Accelerator.Builder |
getAcceleratorsBuilderList()
public List<Accelerator.Builder> getAcceleratorsBuilderList()
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Type | Description |
List<Builder> |
getAcceleratorsCount()
public int getAcceleratorsCount()
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Type | Description |
int |
getAcceleratorsList()
public List<Accelerator> getAcceleratorsList()
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Type | Description |
List<Accelerator> |
getAcceleratorsOrBuilder(int index)
public AcceleratorOrBuilder getAcceleratorsOrBuilder(int index)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
Type | Description |
AcceleratorOrBuilder |
getAcceleratorsOrBuilderList()
public List<? extends AcceleratorOrBuilder> getAcceleratorsOrBuilderList()
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Type | Description |
List<? extends com.google.cloud.lifesciences.v2beta.AcceleratorOrBuilder> |
getBootDiskSizeGb()
public int getBootDiskSizeGb()
The size of the boot disk, in GB. The boot disk must be large enough to accommodate all of the Docker images from each action in the pipeline at the same time. If not specified, a small but reasonable default value is used.
int32 boot_disk_size_gb = 8;
Type | Description |
int | The bootDiskSizeGb. |
getBootImage()
public String getBootImage()
The host operating system image to use.
Currently, only Container-Optimized OS images can be used.
The default value is projects/cos-cloud/global/images/family/cos-stable
,
which selects the latest stable release of Container-Optimized OS.
This option is provided to allow testing against the beta release of the
operating system to ensure that the new version does not interact
negatively with production pipelines.
To test a pipeline against the beta release of Container-Optimized OS,
use the value projects/cos-cloud/global/images/family/cos-beta
.
string boot_image = 10;
Type | Description |
String | The bootImage. |
getBootImageBytes()
public ByteString getBootImageBytes()
The host operating system image to use.
Currently, only Container-Optimized OS images can be used.
The default value is projects/cos-cloud/global/images/family/cos-stable
,
which selects the latest stable release of Container-Optimized OS.
This option is provided to allow testing against the beta release of the
operating system to ensure that the new version does not interact
negatively with production pipelines.
To test a pipeline against the beta release of Container-Optimized OS,
use the value projects/cos-cloud/global/images/family/cos-beta
.
string boot_image = 10;
Type | Description |
ByteString | The bytes for bootImage. |
getCpuPlatform()
public String getCpuPlatform()
The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as "Intel Skylake"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string cpu_platform = 9;
Type | Description |
String | The cpuPlatform. |
getCpuPlatformBytes()
public ByteString getCpuPlatformBytes()
The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as "Intel Skylake"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string cpu_platform = 9;
Type | Description |
ByteString | The bytes for cpuPlatform. |
getDefaultInstanceForType()
public VirtualMachine getDefaultInstanceForType()
Type | Description |
VirtualMachine |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisks(int index)
public Disk getDisks(int index)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
Type | Description |
Disk |
getDisksBuilder(int index)
public Disk.Builder getDisksBuilder(int index)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
Type | Description |
Disk.Builder |
getDisksBuilderList()
public List<Disk.Builder> getDisksBuilderList()
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Type | Description |
List<Builder> |
getDisksCount()
public int getDisksCount()
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Type | Description |
int |
getDisksList()
public List<Disk> getDisksList()
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Type | Description |
List<Disk> |
getDisksOrBuilder(int index)
public DiskOrBuilder getDisksOrBuilder(int index)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
Type | Description |
DiskOrBuilder |
getDisksOrBuilderList()
public List<? extends DiskOrBuilder> getDisksOrBuilderList()
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Type | Description |
List<? extends com.google.cloud.lifesciences.v2beta.DiskOrBuilder> |
getDockerCacheImages(int index)
public String getDockerCacheImages(int index)
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The dockerCacheImages at the given index. |
getDockerCacheImagesBytes(int index)
public ByteString getDockerCacheImagesBytes(int index)
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the dockerCacheImages at the given index. |
getDockerCacheImagesCount()
public int getDockerCacheImagesCount()
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Type | Description |
int | The count of dockerCacheImages. |
getDockerCacheImagesList()
public ProtocolStringList getDockerCacheImagesList()
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Type | Description |
ProtocolStringList | A list containing the dockerCacheImages. |
getEnableStackdriverMonitoring()
public boolean getEnableStackdriverMonitoring()
Whether Stackdriver monitoring should be enabled on the VM.
bool enable_stackdriver_monitoring = 12;
Type | Description |
boolean | The enableStackdriverMonitoring. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Name | Description |
key | String |
Type | Description |
String |
getMachineType()
public String getMachineType()
Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as "n1-standard-1") or a custom machine type (such as "custom-1-4096", where "1" indicates the number of vCPUs and "4096" indicates the memory in MB). See Creating an instance with a custom machine type for more specifications on creating a custom machine type.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as "n1-standard-1") or a custom machine type (such as "custom-1-4096", where "1" indicates the number of vCPUs and "4096" indicates the memory in MB). See Creating an instance with a custom machine type for more specifications on creating a custom machine type.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for machineType. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getNetwork()
public Network getNetwork()
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Type | Description |
Network | The network. |
getNetworkBuilder()
public Network.Builder getNetworkBuilder()
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Type | Description |
Network.Builder |
getNetworkOrBuilder()
public NetworkOrBuilder getNetworkOrBuilder()
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Type | Description |
NetworkOrBuilder |
getNvidiaDriverVersion()
public String getNvidiaDriverVersion()
The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator.
The version specified here must be compatible with the GPU libraries
contained in the container being executed, and must be one of the drivers
hosted in the nvidia-drivers-us-public
bucket on Google Cloud Storage.
string nvidia_driver_version = 11 [deprecated = true];
Type | Description |
String | The nvidiaDriverVersion. |
getNvidiaDriverVersionBytes()
public ByteString getNvidiaDriverVersionBytes()
The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator.
The version specified here must be compatible with the GPU libraries
contained in the container being executed, and must be one of the drivers
hosted in the nvidia-drivers-us-public
bucket on Google Cloud Storage.
string nvidia_driver_version = 11 [deprecated = true];
Type | Description |
ByteString | The bytes for nvidiaDriverVersion. |
getPreemptible()
public boolean getPreemptible()
If true, allocate a preemptible VM.
bool preemptible = 2;
Type | Description |
boolean | The preemptible. |
getServiceAccount()
public ServiceAccount getServiceAccount()
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Type | Description |
ServiceAccount | The serviceAccount. |
getServiceAccountBuilder()
public ServiceAccount.Builder getServiceAccountBuilder()
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Type | Description |
ServiceAccount.Builder |
getServiceAccountOrBuilder()
public ServiceAccountOrBuilder getServiceAccountOrBuilder()
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Type | Description |
ServiceAccountOrBuilder |
getVolumes(int index)
public Volume getVolumes(int index)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
Type | Description |
Volume |
getVolumesBuilder(int index)
public Volume.Builder getVolumesBuilder(int index)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
Type | Description |
Volume.Builder |
getVolumesBuilderList()
public List<Volume.Builder> getVolumesBuilderList()
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Type | Description |
List<Builder> |
getVolumesCount()
public int getVolumesCount()
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Type | Description |
int |
getVolumesList()
public List<Volume> getVolumesList()
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Type | Description |
List<Volume> |
getVolumesOrBuilder(int index)
public VolumeOrBuilder getVolumesOrBuilder(int index)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
Type | Description |
VolumeOrBuilder |
getVolumesOrBuilderList()
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Type | Description |
List<? extends com.google.cloud.lifesciences.v2beta.VolumeOrBuilder> |
hasNetwork()
public boolean hasNetwork()
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Type | Description |
boolean | Whether the network field is set. |
hasServiceAccount()
public boolean hasServiceAccount()
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Type | Description |
boolean | Whether the serviceAccount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(VirtualMachine other)
public VirtualMachine.Builder mergeFrom(VirtualMachine other)
Name | Description |
other | VirtualMachine |
Type | Description |
VirtualMachine.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VirtualMachine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VirtualMachine.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VirtualMachine.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VirtualMachine.Builder |
mergeNetwork(Network value)
public VirtualMachine.Builder mergeNetwork(Network value)
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Name | Description |
value | Network |
Type | Description |
VirtualMachine.Builder |
mergeServiceAccount(ServiceAccount value)
public VirtualMachine.Builder mergeServiceAccount(ServiceAccount value)
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Name | Description |
value | ServiceAccount |
Type | Description |
VirtualMachine.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VirtualMachine.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VirtualMachine.Builder |
putAllLabels(Map<String,String> values)
public VirtualMachine.Builder putAllLabels(Map<String,String> values)
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Name | Description |
values | Map<String,String> |
Type | Description |
VirtualMachine.Builder |
putLabels(String key, String value)
public VirtualMachine.Builder putLabels(String key, String value)
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Name | Description |
key | String |
value | String |
Type | Description |
VirtualMachine.Builder |
removeAccelerators(int index)
public VirtualMachine.Builder removeAccelerators(int index)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
Type | Description |
VirtualMachine.Builder |
removeDisks(int index)
public VirtualMachine.Builder removeDisks(int index)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
Type | Description |
VirtualMachine.Builder |
removeLabels(String key)
public VirtualMachine.Builder removeLabels(String key)
Optional set of labels to apply to the VM and any attached disk resources. These labels must adhere to the name and value restrictions on VM labels imposed by Compute Engine. Labels keys with the prefix 'google-' are reserved for use by Google. Labels applied at creation time to the VM. Applied on a best-effort basis to attached disk resources shortly after VM creation.
map<string, string> labels = 3;
Name | Description |
key | String |
Type | Description |
VirtualMachine.Builder |
removeVolumes(int index)
public VirtualMachine.Builder removeVolumes(int index)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
Type | Description |
VirtualMachine.Builder |
setAccelerators(int index, Accelerator value)
public VirtualMachine.Builder setAccelerators(int index, Accelerator value)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
value | Accelerator |
Type | Description |
VirtualMachine.Builder |
setAccelerators(int index, Accelerator.Builder builderForValue)
public VirtualMachine.Builder setAccelerators(int index, Accelerator.Builder builderForValue)
The list of accelerators to attach to the VM.
repeated .google.cloud.lifesciences.v2beta.Accelerator accelerators = 6;
Name | Description |
index | int |
builderForValue | Accelerator.Builder |
Type | Description |
VirtualMachine.Builder |
setBootDiskSizeGb(int value)
public VirtualMachine.Builder setBootDiskSizeGb(int value)
The size of the boot disk, in GB. The boot disk must be large enough to accommodate all of the Docker images from each action in the pipeline at the same time. If not specified, a small but reasonable default value is used.
int32 boot_disk_size_gb = 8;
Name | Description |
value | int The bootDiskSizeGb to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setBootImage(String value)
public VirtualMachine.Builder setBootImage(String value)
The host operating system image to use.
Currently, only Container-Optimized OS images can be used.
The default value is projects/cos-cloud/global/images/family/cos-stable
,
which selects the latest stable release of Container-Optimized OS.
This option is provided to allow testing against the beta release of the
operating system to ensure that the new version does not interact
negatively with production pipelines.
To test a pipeline against the beta release of Container-Optimized OS,
use the value projects/cos-cloud/global/images/family/cos-beta
.
string boot_image = 10;
Name | Description |
value | String The bootImage to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setBootImageBytes(ByteString value)
public VirtualMachine.Builder setBootImageBytes(ByteString value)
The host operating system image to use.
Currently, only Container-Optimized OS images can be used.
The default value is projects/cos-cloud/global/images/family/cos-stable
,
which selects the latest stable release of Container-Optimized OS.
This option is provided to allow testing against the beta release of the
operating system to ensure that the new version does not interact
negatively with production pipelines.
To test a pipeline against the beta release of Container-Optimized OS,
use the value projects/cos-cloud/global/images/family/cos-beta
.
string boot_image = 10;
Name | Description |
value | ByteString The bytes for bootImage to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setCpuPlatform(String value)
public VirtualMachine.Builder setCpuPlatform(String value)
The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as "Intel Skylake"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string cpu_platform = 9;
Name | Description |
value | String The cpuPlatform to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setCpuPlatformBytes(ByteString value)
public VirtualMachine.Builder setCpuPlatformBytes(ByteString value)
The CPU platform to request. An instance based on a newer platform can be allocated, but never one with fewer capabilities. The value of this parameter must be a valid Compute Engine CPU platform name (such as "Intel Skylake"). This parameter is only useful for carefully optimized work loads where the CPU platform has a significant impact. For more information about the effect of this parameter, see https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
string cpu_platform = 9;
Name | Description |
value | ByteString The bytes for cpuPlatform to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setDisks(int index, Disk value)
public VirtualMachine.Builder setDisks(int index, Disk value)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
value | Disk |
Type | Description |
VirtualMachine.Builder |
setDisks(int index, Disk.Builder builderForValue)
public VirtualMachine.Builder setDisks(int index, Disk.Builder builderForValue)
The list of disks to create and attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Disk disks = 4;
Name | Description |
index | int |
builderForValue | Disk.Builder |
Type | Description |
VirtualMachine.Builder |
setDockerCacheImages(int index, String value)
public VirtualMachine.Builder setDockerCacheImages(int index, String value)
The Compute Engine Disk Images to use as a Docker cache. The disks will be
mounted into the Docker folder in a way that the images present in the
cache will not need to be pulled. The digests of the cached images must
match those of the tags used or the latest version will still be pulled.
The root directory of the ext4 image must contain image
and overlay2
directories copied from the Docker directory of a VM where the desired
Docker images have already been pulled. Any images pulled that are not
cached will be stored on the first cache disk instead of the boot disk.
Only a single image is supported.
repeated string docker_cache_images = 13;
Name | Description |
index | int The index to set the value at. |
value | String The dockerCacheImages to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setEnableStackdriverMonitoring(boolean value)
public VirtualMachine.Builder setEnableStackdriverMonitoring(boolean value)
Whether Stackdriver monitoring should be enabled on the VM.
bool enable_stackdriver_monitoring = 12;
Name | Description |
value | boolean The enableStackdriverMonitoring to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VirtualMachine.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VirtualMachine.Builder |
setMachineType(String value)
public VirtualMachine.Builder setMachineType(String value)
Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as "n1-standard-1") or a custom machine type (such as "custom-1-4096", where "1" indicates the number of vCPUs and "4096" indicates the memory in MB). See Creating an instance with a custom machine type for more specifications on creating a custom machine type.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The machineType to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public VirtualMachine.Builder setMachineTypeBytes(ByteString value)
Required. The machine type of the virtual machine to create. Must be the short name of a standard machine type (such as "n1-standard-1") or a custom machine type (such as "custom-1-4096", where "1" indicates the number of vCPUs and "4096" indicates the memory in MB). See Creating an instance with a custom machine type for more specifications on creating a custom machine type.
string machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for machineType to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setNetwork(Network value)
public VirtualMachine.Builder setNetwork(Network value)
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Name | Description |
value | Network |
Type | Description |
VirtualMachine.Builder |
setNetwork(Network.Builder builderForValue)
public VirtualMachine.Builder setNetwork(Network.Builder builderForValue)
The VM network configuration.
.google.cloud.lifesciences.v2beta.Network network = 5;
Name | Description |
builderForValue | Network.Builder |
Type | Description |
VirtualMachine.Builder |
setNvidiaDriverVersion(String value)
public VirtualMachine.Builder setNvidiaDriverVersion(String value)
The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator.
The version specified here must be compatible with the GPU libraries
contained in the container being executed, and must be one of the drivers
hosted in the nvidia-drivers-us-public
bucket on Google Cloud Storage.
string nvidia_driver_version = 11 [deprecated = true];
Name | Description |
value | String The nvidiaDriverVersion to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setNvidiaDriverVersionBytes(ByteString value)
public VirtualMachine.Builder setNvidiaDriverVersionBytes(ByteString value)
The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator.
The version specified here must be compatible with the GPU libraries
contained in the container being executed, and must be one of the drivers
hosted in the nvidia-drivers-us-public
bucket on Google Cloud Storage.
string nvidia_driver_version = 11 [deprecated = true];
Name | Description |
value | ByteString The bytes for nvidiaDriverVersion to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setPreemptible(boolean value)
public VirtualMachine.Builder setPreemptible(boolean value)
If true, allocate a preemptible VM.
bool preemptible = 2;
Name | Description |
value | boolean The preemptible to set. |
Type | Description |
VirtualMachine.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VirtualMachine.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VirtualMachine.Builder |
setServiceAccount(ServiceAccount value)
public VirtualMachine.Builder setServiceAccount(ServiceAccount value)
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Name | Description |
value | ServiceAccount |
Type | Description |
VirtualMachine.Builder |
setServiceAccount(ServiceAccount.Builder builderForValue)
public VirtualMachine.Builder setServiceAccount(ServiceAccount.Builder builderForValue)
The service account to install on the VM. This account does not need any permissions other than those required by the pipeline.
.google.cloud.lifesciences.v2beta.ServiceAccount service_account = 7;
Name | Description |
builderForValue | ServiceAccount.Builder |
Type | Description |
VirtualMachine.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VirtualMachine.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VirtualMachine.Builder |
setVolumes(int index, Volume value)
public VirtualMachine.Builder setVolumes(int index, Volume value)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
value | Volume |
Type | Description |
VirtualMachine.Builder |
setVolumes(int index, Volume.Builder builderForValue)
public VirtualMachine.Builder setVolumes(int index, Volume.Builder builderForValue)
The list of disks and other storage to create or attach to the VM.
Specify either the volumes[]
field or the disks[]
field, but not both.
repeated .google.cloud.lifesciences.v2beta.Volume volumes = 14;
Name | Description |
index | int |
builderForValue | Volume.Builder |
Type | Description |
VirtualMachine.Builder |