- 0.80.0 (latest)
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.74.0
- 0.72.0
- 0.70.0
- 0.69.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 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 Volume.Builder extends GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilderCarries information about storage that can be attached to a VM.
Specify either Volume or
Disk, but not both.
Protobuf type google.cloud.lifesciences.v2beta.Volume
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Volume.BuilderImplements
VolumeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
build()
public Volume build()| Returns | |
|---|---|
| Type | Description |
Volume |
|
buildPartial()
public Volume buildPartial()| Returns | |
|---|---|
| Type | Description |
Volume |
|
clear()
public Volume.Builder clear()| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearExistingDisk()
public Volume.Builder clearExistingDisk()Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Volume.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearNfsMount()
public Volume.Builder clearNfsMount()Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Volume.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearPersistentDisk()
public Volume.Builder clearPersistentDisk()Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearStorage()
public Volume.Builder clearStorage()| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearVolume()
public Volume.Builder clearVolume() A user-supplied name for the volume. Used when mounting the volume into
Actions. The name must contain
only upper and lowercase alphanumeric characters and hyphens and cannot
start with a hyphen.
string volume = 1;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clone()
public Volume.Builder clone()| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
getDefaultInstanceForType()
public Volume getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Volume |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExistingDisk()
public ExistingDisk getExistingDisk()Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Returns | |
|---|---|
| Type | Description |
ExistingDisk |
The existingDisk. |
getExistingDiskBuilder()
public ExistingDisk.Builder getExistingDiskBuilder()Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Returns | |
|---|---|
| Type | Description |
ExistingDisk.Builder |
|
getExistingDiskOrBuilder()
public ExistingDiskOrBuilder getExistingDiskOrBuilder()Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Returns | |
|---|---|
| Type | Description |
ExistingDiskOrBuilder |
|
getNfsMount()
public NFSMount getNfsMount()Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Returns | |
|---|---|
| Type | Description |
NFSMount |
The nfsMount. |
getNfsMountBuilder()
public NFSMount.Builder getNfsMountBuilder()Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Returns | |
|---|---|
| Type | Description |
NFSMount.Builder |
|
getNfsMountOrBuilder()
public NFSMountOrBuilder getNfsMountOrBuilder()Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Returns | |
|---|---|
| Type | Description |
NFSMountOrBuilder |
|
getPersistentDisk()
public PersistentDisk getPersistentDisk()Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
The persistentDisk. |
getPersistentDiskBuilder()
public PersistentDisk.Builder getPersistentDiskBuilder()Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Returns | |
|---|---|
| Type | Description |
PersistentDisk.Builder |
|
getPersistentDiskOrBuilder()
public PersistentDiskOrBuilder getPersistentDiskOrBuilder()Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Returns | |
|---|---|
| Type | Description |
PersistentDiskOrBuilder |
|
getStorageCase()
public Volume.StorageCase getStorageCase()| Returns | |
|---|---|
| Type | Description |
Volume.StorageCase |
|
getVolume()
public String getVolume() A user-supplied name for the volume. Used when mounting the volume into
Actions. The name must contain
only upper and lowercase alphanumeric characters and hyphens and cannot
start with a hyphen.
string volume = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The volume. |
getVolumeBytes()
public ByteString getVolumeBytes() A user-supplied name for the volume. Used when mounting the volume into
Actions. The name must contain
only upper and lowercase alphanumeric characters and hyphens and cannot
start with a hyphen.
string volume = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for volume. |
hasExistingDisk()
public boolean hasExistingDisk()Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the existingDisk field is set. |
hasNfsMount()
public boolean hasNfsMount()Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the nfsMount field is set. |
hasPersistentDisk()
public boolean hasPersistentDisk()Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the persistentDisk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExistingDisk(ExistingDisk value)
public Volume.Builder mergeExistingDisk(ExistingDisk value)Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ExistingDisk |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeFrom(Volume other)
public Volume.Builder mergeFrom(Volume other)| Parameter | |
|---|---|
| Name | Description |
other |
Volume |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Volume.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Volume.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeNfsMount(NFSMount value)
public Volume.Builder mergeNfsMount(NFSMount value)Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
NFSMount |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergePersistentDisk(PersistentDisk value)
public Volume.Builder mergePersistentDisk(PersistentDisk value)Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PersistentDisk |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setExistingDisk(ExistingDisk value)
public Volume.Builder setExistingDisk(ExistingDisk value)Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ExistingDisk |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setExistingDisk(ExistingDisk.Builder builderForValue)
public Volume.Builder setExistingDisk(ExistingDisk.Builder builderForValue)Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ExistingDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setNfsMount(NFSMount value)
public Volume.Builder setNfsMount(NFSMount value)Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
NFSMount |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setNfsMount(NFSMount.Builder builderForValue)
public Volume.Builder setNfsMount(NFSMount.Builder builderForValue)Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NFSMount.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setPersistentDisk(PersistentDisk value)
public Volume.Builder setPersistentDisk(PersistentDisk value)Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
PersistentDisk |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setPersistentDisk(PersistentDisk.Builder builderForValue)
public Volume.Builder setPersistentDisk(PersistentDisk.Builder builderForValue)Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PersistentDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Volume.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setVolume(String value)
public Volume.Builder setVolume(String value) A user-supplied name for the volume. Used when mounting the volume into
Actions. The name must contain
only upper and lowercase alphanumeric characters and hyphens and cannot
start with a hyphen.
string volume = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe volume to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setVolumeBytes(ByteString value)
public Volume.Builder setVolumeBytes(ByteString value) A user-supplied name for the volume. Used when mounting the volume into
Actions. The name must contain
only upper and lowercase alphanumeric characters and hyphens and cannot
start with a hyphen.
string volume = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for volume to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |