Class File.DiskPath (2.52.0)

public static final class File.DiskPath extends GeneratedMessageV3 implements File.DiskPathOrBuilder

Path of the file in terms of underlying disk/partition identifiers.

Protobuf type google.cloud.securitycenter.v2.File.DiskPath

Static Fields

PARTITION_UUID_FIELD_NUMBER

public static final int PARTITION_UUID_FIELD_NUMBER
Field Value
Type Description
int

RELATIVE_PATH_FIELD_NUMBER

public static final int RELATIVE_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static File.DiskPath getDefaultInstance()
Returns
Type Description
File.DiskPath

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static File.DiskPath.Builder newBuilder()
Returns
Type Description
File.DiskPath.Builder

newBuilder(File.DiskPath prototype)

public static File.DiskPath.Builder newBuilder(File.DiskPath prototype)
Parameter
Name Description
prototype File.DiskPath
Returns
Type Description
File.DiskPath.Builder

parseDelimitedFrom(InputStream input)

public static File.DiskPath parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
File.DiskPath
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
File.DiskPath
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static File.DiskPath parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
File.DiskPath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
File.DiskPath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static File.DiskPath parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
File.DiskPath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
File.DiskPath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static File.DiskPath parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
File.DiskPath
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
File.DiskPath
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static File.DiskPath parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
File.DiskPath
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
File.DiskPath
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static File.DiskPath parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
File.DiskPath
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
File.DiskPath
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<File.DiskPath> parser()
Returns
Type Description
Parser<DiskPath>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public File.DiskPath getDefaultInstanceForType()
Returns
Type Description
File.DiskPath

getParserForType()

public Parser<File.DiskPath> getParserForType()
Returns
Type Description
Parser<DiskPath>
Overrides

getPartitionUuid()

public String getPartitionUuid()

UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)

string partition_uuid = 1;

Returns
Type Description
String

The partitionUuid.

getPartitionUuidBytes()

public ByteString getPartitionUuidBytes()

UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)

string partition_uuid = 1;

Returns
Type Description
ByteString

The bytes for partitionUuid.

getRelativePath()

public String getRelativePath()

Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh

string relative_path = 2;

Returns
Type Description
String

The relativePath.

getRelativePathBytes()

public ByteString getRelativePathBytes()

Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh

string relative_path = 2;

Returns
Type Description
ByteString

The bytes for relativePath.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public File.DiskPath.Builder newBuilderForType()
Returns
Type Description
File.DiskPath.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected File.DiskPath.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
File.DiskPath.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public File.DiskPath.Builder toBuilder()
Returns
Type Description
File.DiskPath.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException