Interface VolumeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Volume
,Volume.Builder
public interface VolumeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExistingDisk
getExistingDisk()
Configuration for a existing disk.ExistingDiskOrBuilder
getExistingDiskOrBuilder()
Configuration for a existing disk.NFSMount
getNfsMount()
Configuration for an NFS mount.NFSMountOrBuilder
getNfsMountOrBuilder()
Configuration for an NFS mount.PersistentDisk
getPersistentDisk()
Configuration for a persistent disk.PersistentDiskOrBuilder
getPersistentDiskOrBuilder()
Configuration for a persistent disk.Volume.StorageCase
getStorageCase()
String
getVolume()
A user-supplied name for the volume.com.google.protobuf.ByteString
getVolumeBytes()
A user-supplied name for the volume.boolean
hasExistingDisk()
Configuration for a existing disk.boolean
hasNfsMount()
Configuration for an NFS mount.boolean
hasPersistentDisk()
Configuration for a persistent disk.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVolume
String getVolume()
A user-supplied name for the volume. Used when mounting the volume into [`Actions`][google.cloud.lifesciences.v2beta.Action]. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.
string volume = 1;
- Returns:
- The volume.
-
getVolumeBytes
com.google.protobuf.ByteString getVolumeBytes()
A user-supplied name for the volume. Used when mounting the volume into [`Actions`][google.cloud.lifesciences.v2beta.Action]. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.
string volume = 1;
- Returns:
- The bytes for volume.
-
hasPersistentDisk
boolean hasPersistentDisk()
Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
- Returns:
- Whether the persistentDisk field is set.
-
getPersistentDisk
PersistentDisk getPersistentDisk()
Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
- Returns:
- The persistentDisk.
-
getPersistentDiskOrBuilder
PersistentDiskOrBuilder getPersistentDiskOrBuilder()
Configuration for a persistent disk.
.google.cloud.lifesciences.v2beta.PersistentDisk persistent_disk = 2;
-
hasExistingDisk
boolean hasExistingDisk()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
- Returns:
- Whether the existingDisk field is set.
-
getExistingDisk
ExistingDisk getExistingDisk()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
- Returns:
- The existingDisk.
-
getExistingDiskOrBuilder
ExistingDiskOrBuilder getExistingDiskOrBuilder()
Configuration for a existing disk.
.google.cloud.lifesciences.v2beta.ExistingDisk existing_disk = 3;
-
hasNfsMount
boolean hasNfsMount()
Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
- Returns:
- Whether the nfsMount field is set.
-
getNfsMount
NFSMount getNfsMount()
Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
- Returns:
- The nfsMount.
-
getNfsMountOrBuilder
NFSMountOrBuilder getNfsMountOrBuilder()
Configuration for an NFS mount.
.google.cloud.lifesciences.v2beta.NFSMount nfs_mount = 4;
-
getStorageCase
Volume.StorageCase getStorageCase()
-
-