- 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 Volume.Builder extends GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilder
Carries 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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Volume.Builder |
build()
public Volume build()
Type | Description |
Volume |
buildPartial()
public Volume buildPartial()
Type | Description |
Volume |
clear()
public Volume.Builder clear()
Type | Description |
Volume.Builder |
clearExistingDisk()
public Volume.Builder clearExistingDisk()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
Type | Description |
Volume.Builder |
clearField(Descriptors.FieldDescriptor field)
public Volume.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Volume.Builder |
clearNfsMount()
public Volume.Builder clearNfsMount()
Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
Type | Description |
Volume.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Volume.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Volume.Builder |
clearPersistentDisk()
public Volume.Builder clearPersistentDisk()
Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
Type | Description |
Volume.Builder |
clearStorage()
public Volume.Builder clearStorage()
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;
Type | Description |
Volume.Builder | This builder for chaining. |
clone()
public Volume.Builder clone()
Type | Description |
Volume.Builder |
getDefaultInstanceForType()
public Volume getDefaultInstanceForType()
Type | Description |
Volume |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExistingDisk()
public ExistingDisk getExistingDisk()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
Type | Description |
ExistingDisk | The existingDisk. |
getExistingDiskBuilder()
public ExistingDisk.Builder getExistingDiskBuilder()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
Type | Description |
ExistingDisk.Builder |
getExistingDiskOrBuilder()
public ExistingDiskOrBuilder getExistingDiskOrBuilder()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
Type | Description |
ExistingDiskOrBuilder |
getNfsMount()
public NFSMount getNfsMount()
Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
Type | Description |
NFSMount | The nfsMount. |
getNfsMountBuilder()
public NFSMount.Builder getNfsMountBuilder()
Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
Type | Description |
NFSMount.Builder |
getNfsMountOrBuilder()
public NFSMountOrBuilder getNfsMountOrBuilder()
Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
Type | Description |
NFSMountOrBuilder |
getPersistentDisk()
public PersistentDisk getPersistentDisk()
Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
Type | Description |
PersistentDisk | The persistentDisk. |
getPersistentDiskBuilder()
public PersistentDisk.Builder getPersistentDiskBuilder()
Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
Type | Description |
PersistentDisk.Builder |
getPersistentDiskOrBuilder()
public PersistentDiskOrBuilder getPersistentDiskOrBuilder()
Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
Type | Description |
PersistentDiskOrBuilder |
getStorageCase()
public Volume.StorageCase getStorageCase()
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;
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;
Type | Description |
ByteString | The bytes for volume. |
hasExistingDisk()
public boolean hasExistingDisk()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
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;
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;
Type | Description |
boolean | Whether the persistentDisk field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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;
Name | Description |
value | ExistingDisk |
Type | Description |
Volume.Builder |
mergeFrom(Volume other)
public Volume.Builder mergeFrom(Volume other)
Name | Description |
other | Volume |
Type | Description |
Volume.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Volume.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Volume.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Volume.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | NFSMount |
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;
Name | Description |
value | PersistentDisk |
Type | Description |
Volume.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
value | ExistingDisk |
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;
Name | Description |
builderForValue | ExistingDisk.Builder |
Type | Description |
Volume.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Volume.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | NFSMount |
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;
Name | Description |
builderForValue | NFSMount.Builder |
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;
Name | Description |
value | PersistentDisk |
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;
Name | Description |
builderForValue | PersistentDisk.Builder |
Type | Description |
Volume.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Volume.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Volume.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
value | String The volume to set. |
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;
Name | Description |
value | ByteString The bytes for volume to set. |
Type | Description |
Volume.Builder | This builder for chaining. |