public final class Volume extends GeneratedMessage implements VolumeOrBuilder
Information about a storage volume.
Protobuf type google.backstory.Volume
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DEVICE_PATH_FIELD_NUMBER
public static final int DEVICE_PATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILE_SYSTEM_FIELD_NUMBER
public static final int FILE_SYSTEM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IS_MOUNTED_FIELD_NUMBER
public static final int IS_MOUNTED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IS_READ_ONLY_FIELD_NUMBER
public static final int IS_READ_ONLY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MOUNT_POINT_FIELD_NUMBER
public static final int MOUNT_POINT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Volume getDefaultInstance()
| Returns |
| Type |
Description |
Volume |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Volume.Builder newBuilder()
newBuilder(Volume prototype)
public static Volume.Builder newBuilder(Volume prototype)
| Parameter |
| Name |
Description |
prototype |
Volume
|
parseDelimitedFrom(InputStream input)
public static Volume parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Volume |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Volume parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(byte[] data)
public static Volume parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Volume |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Volume parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(ByteString data)
public static Volume parseFrom(ByteString data)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Volume parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(CodedInputStream input)
public static Volume parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Volume parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(InputStream input)
public static Volume parseFrom(InputStream input)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Volume parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(ByteBuffer data)
public static Volume parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Volume |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Volume parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Volume |
|
parser()
public static Parser<Volume> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Volume getDefaultInstanceForType()
| Returns |
| Type |
Description |
Volume |
|
getDevicePath()
public 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 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 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 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 boolean getIsMounted()
Indicates whether the volume is currently mounted.
bool is_mounted = 4;
| Returns |
| Type |
Description |
boolean |
The isMounted.
|
getIsReadOnly()
public boolean getIsReadOnly()
Indicates whether the volume is mounted as read-only.
bool is_read_only = 5;
| Returns |
| Type |
Description |
boolean |
The isReadOnly.
|
getMountPoint()
public 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 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()
The user-assigned label or name for the volume.
string name = 6;
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The user-assigned label or name for the volume.
string name = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<Volume> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Volume.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Volume.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Volume.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides