Package com.google.cloud.batch.v1alpha
Class Volume.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
- com.google.cloud.batch.v1alpha.Volume.Builder
-
- All Implemented Interfaces:
VolumeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Volume
public static final class Volume.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilder
Volume describes a volume and parameters for it to be mounted to a VM.
Protobuf typegoogle.cloud.batch.v1alpha.Volume
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Volume.BuilderaddAllMountOptions(Iterable<String> values)For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).Volume.BuilderaddMountOptions(String value)For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).Volume.BuilderaddMountOptionsBytes(com.google.protobuf.ByteString value)For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).Volume.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Volumebuild()VolumebuildPartial()Volume.Builderclear()Volume.BuilderclearDeviceName()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.Volume.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Volume.BuilderclearGcs()A Google Cloud Storage (GCS) volume.Volume.BuilderclearMountOptions()For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).Volume.BuilderclearMountPath()The mount path for the volume, e.g.Volume.BuilderclearNfs()A Network File System (NFS) volume.Volume.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Volume.BuilderclearPd()Deprecated.Volume.BuilderclearSource()Volume.Builderclone()VolumegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.GCS.BuildergetGcsBuilder()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).com.google.protobuf.ProtocolStringListgetMountOptionsList()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.NFS.BuildergetNfsBuilder()A Network File System (NFS) volume.NFSOrBuildergetNfsOrBuilder()A Network File System (NFS) volume.PDgetPd()Deprecated.google.cloud.batch.v1alpha.Volume.pd is deprecated.PD.BuildergetPdBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Volume.BuildermergeFrom(Volume other)Volume.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Volume.BuildermergeFrom(com.google.protobuf.Message other)Volume.BuildermergeGcs(GCS value)A Google Cloud Storage (GCS) volume.Volume.BuildermergeNfs(NFS value)A Network File System (NFS) volume.Volume.BuildermergePd(PD value)Deprecated.Volume.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Volume.BuildersetDeviceName(String value)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.Volume.BuildersetDeviceNameBytes(com.google.protobuf.ByteString value)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.Volume.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Volume.BuildersetGcs(GCS value)A Google Cloud Storage (GCS) volume.Volume.BuildersetGcs(GCS.Builder builderForValue)A Google Cloud Storage (GCS) volume.Volume.BuildersetMountOptions(int index, String value)For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).Volume.BuildersetMountPath(String value)The mount path for the volume, e.g.Volume.BuildersetMountPathBytes(com.google.protobuf.ByteString value)The mount path for the volume, e.g.Volume.BuildersetNfs(NFS value)A Network File System (NFS) volume.Volume.BuildersetNfs(NFS.Builder builderForValue)A Network File System (NFS) volume.Volume.BuildersetPd(PD value)Deprecated.Volume.BuildersetPd(PD.Builder builderForValue)Deprecated.Volume.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Volume.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
clear
public Volume.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
getDefaultInstanceForType
public Volume getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Volume build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Volume buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Volume.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
setField
public Volume.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
clearField
public Volume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
clearOneof
public Volume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
setRepeatedField
public Volume.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
addRepeatedField
public Volume.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
mergeFrom
public Volume.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Volume.Builder>
-
mergeFrom
public Volume.Builder mergeFrom(Volume other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
mergeFrom
public Volume.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Volume.Builder>- Throws:
IOException
-
getSourceCase
public Volume.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceVolumeOrBuilder
-
clearSource
public Volume.Builder clearSource()
-
hasNfs
public boolean hasNfs()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;- Specified by:
hasNfsin interfaceVolumeOrBuilder- Returns:
- Whether the nfs field is set.
-
getNfs
public NFS getNfs()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;- Specified by:
getNfsin interfaceVolumeOrBuilder- Returns:
- The nfs.
-
setNfs
public Volume.Builder setNfs(NFS value)
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;
-
setNfs
public Volume.Builder setNfs(NFS.Builder builderForValue)
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;
-
mergeNfs
public Volume.Builder mergeNfs(NFS value)
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;
-
clearNfs
public Volume.Builder clearNfs()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;
-
getNfsBuilder
public NFS.Builder getNfsBuilder()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;
-
getNfsOrBuilder
public NFSOrBuilder getNfsOrBuilder()
A Network File System (NFS) volume. For example, a Filestore file share.
.google.cloud.batch.v1alpha.NFS nfs = 1;- Specified by:
getNfsOrBuilderin interfaceVolumeOrBuilder
-
hasPd
@Deprecated public 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];- Specified by:
hasPdin interfaceVolumeOrBuilder- Returns:
- Whether the pd field is set.
-
getPd
@Deprecated public 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];- Specified by:
getPdin interfaceVolumeOrBuilder- Returns:
- The pd.
-
setPd
@Deprecated public Volume.Builder setPd(PD value)
Deprecated.Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];
-
setPd
@Deprecated public Volume.Builder setPd(PD.Builder builderForValue)
Deprecated.Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];
-
mergePd
@Deprecated public Volume.Builder mergePd(PD value)
Deprecated.Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];
-
clearPd
@Deprecated public Volume.Builder clearPd()
Deprecated.Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];
-
getPdBuilder
@Deprecated public PD.Builder getPdBuilder()
Deprecated.Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];
-
getPdOrBuilder
@Deprecated public PDOrBuilder getPdOrBuilder()
Deprecated.Deprecated: please use device_name instead.
.google.cloud.batch.v1alpha.PD pd = 2 [deprecated = true];- Specified by:
getPdOrBuilderin interfaceVolumeOrBuilder
-
hasGcs
public boolean hasGcs()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;- Specified by:
hasGcsin interfaceVolumeOrBuilder- Returns:
- Whether the gcs field is set.
-
getGcs
public GCS getGcs()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;- Specified by:
getGcsin interfaceVolumeOrBuilder- Returns:
- The gcs.
-
setGcs
public Volume.Builder setGcs(GCS value)
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;
-
setGcs
public Volume.Builder setGcs(GCS.Builder builderForValue)
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;
-
mergeGcs
public Volume.Builder mergeGcs(GCS value)
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;
-
clearGcs
public Volume.Builder clearGcs()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;
-
getGcsBuilder
public GCS.Builder getGcsBuilder()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;
-
getGcsOrBuilder
public GCSOrBuilder getGcsOrBuilder()
A Google Cloud Storage (GCS) volume.
.google.cloud.batch.v1alpha.GCS gcs = 3;- Specified by:
getGcsOrBuilderin interfaceVolumeOrBuilder
-
hasDeviceName
public 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;- Specified by:
hasDeviceNamein interfaceVolumeOrBuilder- Returns:
- Whether the deviceName field is set.
-
getDeviceName
public 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;- Specified by:
getDeviceNamein interfaceVolumeOrBuilder- Returns:
- The deviceName.
-
getDeviceNameBytes
public 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;- Specified by:
getDeviceNameBytesin interfaceVolumeOrBuilder- Returns:
- The bytes for deviceName.
-
setDeviceName
public Volume.Builder setDeviceName(String value)
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;- Parameters:
value- The deviceName to set.- Returns:
- This builder for chaining.
-
clearDeviceName
public Volume.Builder clearDeviceName()
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:
- This builder for chaining.
-
setDeviceNameBytes
public Volume.Builder setDeviceNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for deviceName to set.- Returns:
- This builder for chaining.
-
getMountPath
public String getMountPath()
The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;- Specified by:
getMountPathin interfaceVolumeOrBuilder- Returns:
- The mountPath.
-
getMountPathBytes
public com.google.protobuf.ByteString getMountPathBytes()
The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;- Specified by:
getMountPathBytesin interfaceVolumeOrBuilder- Returns:
- The bytes for mountPath.
-
setMountPath
public Volume.Builder setMountPath(String value)
The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;- Parameters:
value- The mountPath to set.- Returns:
- This builder for chaining.
-
clearMountPath
public Volume.Builder clearMountPath()
The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;- Returns:
- This builder for chaining.
-
setMountPathBytes
public Volume.Builder setMountPathBytes(com.google.protobuf.ByteString value)
The mount path for the volume, e.g. /mnt/disks/share.
string mount_path = 4;- Parameters:
value- The bytes for mountPath to set.- Returns:
- This builder for chaining.
-
getMountOptionsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getMountOptionsListin interfaceVolumeOrBuilder- Returns:
- A list containing the mountOptions.
-
getMountOptionsCount
public 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;- Specified by:
getMountOptionsCountin interfaceVolumeOrBuilder- Returns:
- The count of mountOptions.
-
getMountOptions
public 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;- Specified by:
getMountOptionsin interfaceVolumeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The mountOptions at the given index.
-
getMountOptionsBytes
public 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;- Specified by:
getMountOptionsBytesin interfaceVolumeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mountOptions at the given index.
-
setMountOptions
public Volume.Builder setMountOptions(int index, String value)
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 to set the value at.value- The mountOptions to set.- Returns:
- This builder for chaining.
-
addMountOptions
public Volume.Builder addMountOptions(String value)
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:
value- The mountOptions to add.- Returns:
- This builder for chaining.
-
addAllMountOptions
public Volume.Builder addAllMountOptions(Iterable<String> values)
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:
values- The mountOptions to add.- Returns:
- This builder for chaining.
-
clearMountOptions
public Volume.Builder clearMountOptions()
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:
- This builder for chaining.
-
addMountOptionsBytes
public Volume.Builder addMountOptionsBytes(com.google.protobuf.ByteString value)
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:
value- The bytes of the mountOptions to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Volume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
mergeUnknownFields
public final Volume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Volume.Builder>
-
-