Package com.google.cloud.batch.v1alpha
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 Deprecated Methods Modifier and Type Method Description StringgetDeviceName()Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.com.google.protobuf.ByteStringgetDeviceNameBytes()Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.GCSgetGcs()A Google Cloud Storage (GCS) volume.GCSOrBuildergetGcsOrBuilder()A Google Cloud Storage (GCS) volume.StringgetMountOptions(int index)For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).com.google.protobuf.ByteStringgetMountOptionsBytes(int index)For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).intgetMountOptionsCount()For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).List<String>getMountOptionsList()For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).StringgetMountPath()The mount path for the volume, e.g.com.google.protobuf.ByteStringgetMountPathBytes()The mount path for the volume, e.g.NFSgetNfs()A Network File System (NFS) volume.NFSOrBuildergetNfsOrBuilder()A Network File System (NFS) volume.PDgetPd()Deprecated.google.cloud.batch.v1alpha.Volume.pd is deprecated.PDOrBuildergetPdOrBuilder()Deprecated.Volume.SourceCasegetSourceCase()booleanhasDeviceName()Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.booleanhasGcs()A Google Cloud Storage (GCS) volume.booleanhasNfs()A Network File System (NFS) volume.booleanhasPd()Deprecated.google.cloud.batch.v1alpha.Volume.pd is deprecated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNfs
boolean hasNfs()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;- Returns:
- Whether the nfs field is set.
-
getNfs
NFS getNfs()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;- Returns:
- The nfs.
-
getNfsOrBuilder
NFSOrBuilder getNfsOrBuilder()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;
-
hasPd
@Deprecated boolean hasPd()
Deprecated.google.cloud.batch.v1alpha.Volume.pd is deprecated. See google/cloud/batch/v1alpha/volume.proto;l=36Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];- Returns:
- Whether the pd field is set.
-
getPd
@Deprecated PD getPd()
Deprecated.google.cloud.batch.v1alpha.Volume.pd is deprecated. See google/cloud/batch/v1alpha/volume.proto;l=36Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];- Returns:
- The pd.
-
getPdOrBuilder
@Deprecated PDOrBuilder getPdOrBuilder()
Deprecated.Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];
-
hasGcs
boolean hasGcs()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;- Returns:
- Whether the gcs field is set.
-
getGcs
GCS getGcs()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;- Returns:
- The gcs.
-
getGcsOrBuilder
GCSOrBuilder getGcsOrBuilder()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;
-
hasDeviceName
boolean hasDeviceName()
Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
string device_name = 6;- Returns:
- Whether the deviceName field is set.
-
getDeviceName
String getDeviceName()
Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
string device_name = 6;- Returns:
- The deviceName.
-
getDeviceNameBytes
com.google.protobuf.ByteString getDeviceNameBytes()
Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.
string device_name = 6;- Returns:
- The bytes for deviceName.
-
getMountPath
String getMountPath()
The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;- Returns:
- The mountPath.
-
getMountPathBytes
com.google.protobuf.ByteString getMountPathBytes()
The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;- Returns:
- The bytes for mountPath.
-
getMountOptionsList
List<String> getMountOptionsList()
For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
repeated string mount_options = 5;- Returns:
- A list containing the mountOptions.
-
getMountOptionsCount
int getMountOptionsCount()
For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
repeated string mount_options = 5;- Returns:
- The count of mountOptions.
-
getMountOptions
String getMountOptions(int index)
For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
repeated string mount_options = 5;- Parameters:
index- The index of the element to return.- Returns:
- The mountOptions at the given index.
-
getMountOptionsBytes
com.google.protobuf.ByteString getMountOptionsBytes(int index)
For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
repeated string mount_options = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mountOptions at the given index.
-
getSourceCase
Volume.SourceCase getSourceCase()
-
-