- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.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.40.0
- 0.39.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.28.0
- 0.27.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.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.2
- 0.2.2
- 0.1.1
public static final class Volume.Builder extends GeneratedMessageV3.Builder<Volume.Builder> implements VolumeOrBuilder
Volume and mount parameters to be associated with a TaskSpec. A TaskSpec might describe zero, one, or multiple volumes to be mounted as part of the task.
Protobuf type google.cloud.batch.v1.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
addAllMountOptions(Iterable<String> values)
public Volume.Builder addAllMountOptions(Iterable<String> values)
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Name | Description |
values | Iterable<String> The mountOptions to add. |
Type | Description |
Volume.Builder | This builder for chaining. |
addMountOptions(String value)
public Volume.Builder addMountOptions(String value)
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Name | Description |
value | String The mountOptions to add. |
Type | Description |
Volume.Builder | This builder for chaining. |
addMountOptionsBytes(ByteString value)
public Volume.Builder addMountOptionsBytes(ByteString value)
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Name | Description |
value | ByteString The bytes of the mountOptions to add. |
Type | Description |
Volume.Builder | This builder for chaining. |
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 |
clearDeviceName()
public Volume.Builder clearDeviceName()
Device name of an attached disk
string device_name = 6;
Type | Description |
Volume.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Volume.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Volume.Builder |
clearGcs()
public Volume.Builder clearGcs()
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Type | Description |
Volume.Builder |
clearMountOptions()
public Volume.Builder clearMountOptions()
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Type | Description |
Volume.Builder | This builder for chaining. |
clearMountPath()
public Volume.Builder clearMountPath()
Mount path for the volume, e.g. /mnt/share
string mount_path = 4;
Type | Description |
Volume.Builder | This builder for chaining. |
clearNfs()
public Volume.Builder clearNfs()
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Type | Description |
Volume.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Volume.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Volume.Builder |
clearSource()
public Volume.Builder clearSource()
Type | Description |
Volume.Builder |
clone()
public Volume.Builder clone()
Type | Description |
Volume.Builder |
getDefaultInstanceForType()
public Volume getDefaultInstanceForType()
Type | Description |
Volume |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDeviceName()
public String getDeviceName()
Device name of an attached disk
string device_name = 6;
Type | Description |
String | The deviceName. |
getDeviceNameBytes()
public ByteString getDeviceNameBytes()
Device name of an attached disk
string device_name = 6;
Type | Description |
ByteString | The bytes for deviceName. |
getGcs()
public GCS getGcs()
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Type | Description |
GCS | The gcs. |
getGcsBuilder()
public GCS.Builder getGcsBuilder()
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Type | Description |
GCS.Builder |
getGcsOrBuilder()
public GCSOrBuilder getGcsOrBuilder()
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Type | Description |
GCSOrBuilder |
getMountOptions(int index)
public String getMountOptions(int index)
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The mountOptions at the given index. |
getMountOptionsBytes(int index)
public ByteString getMountOptionsBytes(int index)
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the mountOptions at the given index. |
getMountOptionsCount()
public int getMountOptionsCount()
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Type | Description |
int | The count of mountOptions. |
getMountOptionsList()
public ProtocolStringList getMountOptionsList()
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Type | Description |
ProtocolStringList | A list containing the mountOptions. |
getMountPath()
public String getMountPath()
Mount path for the volume, e.g. /mnt/share
string mount_path = 4;
Type | Description |
String | The mountPath. |
getMountPathBytes()
public ByteString getMountPathBytes()
Mount path for the volume, e.g. /mnt/share
string mount_path = 4;
Type | Description |
ByteString | The bytes for mountPath. |
getNfs()
public NFS getNfs()
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Type | Description |
NFS | The nfs. |
getNfsBuilder()
public NFS.Builder getNfsBuilder()
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Type | Description |
NFS.Builder |
getNfsOrBuilder()
public NFSOrBuilder getNfsOrBuilder()
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Type | Description |
NFSOrBuilder |
getSourceCase()
public Volume.SourceCase getSourceCase()
Type | Description |
Volume.SourceCase |
hasDeviceName()
public boolean hasDeviceName()
Device name of an attached disk
string device_name = 6;
Type | Description |
boolean | Whether the deviceName field is set. |
hasGcs()
public boolean hasGcs()
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Type | Description |
boolean | Whether the gcs field is set. |
hasNfs()
public boolean hasNfs()
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Type | Description |
boolean | Whether the nfs field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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 |
mergeGcs(GCS value)
public Volume.Builder mergeGcs(GCS value)
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Name | Description |
value | GCS |
Type | Description |
Volume.Builder |
mergeNfs(NFS value)
public Volume.Builder mergeNfs(NFS value)
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Name | Description |
value | NFS |
Type | Description |
Volume.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Volume.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Volume.Builder |
setDeviceName(String value)
public Volume.Builder setDeviceName(String value)
Device name of an attached disk
string device_name = 6;
Name | Description |
value | String The deviceName to set. |
Type | Description |
Volume.Builder | This builder for chaining. |
setDeviceNameBytes(ByteString value)
public Volume.Builder setDeviceNameBytes(ByteString value)
Device name of an attached disk
string device_name = 6;
Name | Description |
value | ByteString The bytes for deviceName to set. |
Type | Description |
Volume.Builder | This builder for chaining. |
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 |
setGcs(GCS value)
public Volume.Builder setGcs(GCS value)
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Name | Description |
value | GCS |
Type | Description |
Volume.Builder |
setGcs(GCS.Builder builderForValue)
public Volume.Builder setGcs(GCS.Builder builderForValue)
A Google Cloud Storage source for the volume.
.google.cloud.batch.v1.GCS gcs = 3;
Name | Description |
builderForValue | GCS.Builder |
Type | Description |
Volume.Builder |
setMountOptions(int index, String value)
public Volume.Builder setMountOptions(int index, String value)
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
repeated string mount_options = 5;
Name | Description |
index | int The index to set the value at. |
value | String The mountOptions to set. |
Type | Description |
Volume.Builder | This builder for chaining. |
setMountPath(String value)
public Volume.Builder setMountPath(String value)
Mount path for the volume, e.g. /mnt/share
string mount_path = 4;
Name | Description |
value | String The mountPath to set. |
Type | Description |
Volume.Builder | This builder for chaining. |
setMountPathBytes(ByteString value)
public Volume.Builder setMountPathBytes(ByteString value)
Mount path for the volume, e.g. /mnt/share
string mount_path = 4;
Name | Description |
value | ByteString The bytes for mountPath to set. |
Type | Description |
Volume.Builder | This builder for chaining. |
setNfs(NFS value)
public Volume.Builder setNfs(NFS value)
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Name | Description |
value | NFS |
Type | Description |
Volume.Builder |
setNfs(NFS.Builder builderForValue)
public Volume.Builder setNfs(NFS.Builder builderForValue)
An NFS source for the volume (could be a Filestore, for example).
.google.cloud.batch.v1.NFS nfs = 1;
Name | Description |
builderForValue | NFS.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 |