Interface VolumeOrBuilder (0.3.0)

public interface VolumeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDevicePath()

public abstract String getDevicePath()

The system path to the device (e.g., "\\.\HarddiskVolume1", "/dev/sda1").

string device_path = 3;

Returns
Type Description
String

The devicePath.

getDevicePathBytes()

public abstract ByteString getDevicePathBytes()

The system path to the device (e.g., "\\.\HarddiskVolume1", "/dev/sda1").

string device_path = 3;

Returns
Type Description
ByteString

The bytes for devicePath.

getFileSystem()

public abstract String getFileSystem()

The name of the file system on the volume (e.g., "NTFS", "FAT32").

string file_system = 1;

Returns
Type Description
String

The fileSystem.

getFileSystemBytes()

public abstract ByteString getFileSystemBytes()

The name of the file system on the volume (e.g., "NTFS", "FAT32").

string file_system = 1;

Returns
Type Description
ByteString

The bytes for fileSystem.

getIsMounted()

public abstract boolean getIsMounted()

Indicates whether the volume is currently mounted.

bool is_mounted = 4;

Returns
Type Description
boolean

The isMounted.

getIsReadOnly()

public abstract boolean getIsReadOnly()

Indicates whether the volume is mounted as read-only.

bool is_read_only = 5;

Returns
Type Description
boolean

The isReadOnly.

getMountPoint()

public abstract String getMountPoint()

The path where the volume is mounted (e.g., "C:", "/mnt/data").

string mount_point = 2;

Returns
Type Description
String

The mountPoint.

getMountPointBytes()

public abstract ByteString getMountPointBytes()

The path where the volume is mounted (e.g., "C:", "/mnt/data").

string mount_point = 2;

Returns
Type Description
ByteString

The bytes for mountPoint.

getName()

public abstract String getName()

The user-assigned label or name for the volume.

string name = 6;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The user-assigned label or name for the volume.

string name = 6;

Returns
Type Description
ByteString

The bytes for name.