Class File.DiskPath (2.48.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.v1.File.DiskPath

Static Fields

PARTITION_UUID_FIELD_NUMBER

public static final int PARTITION_UUID_FIELD_NUMBER
Field Value
TypeDescription
int

RELATIVE_PATH_FIELD_NUMBER

public static final int RELATIVE_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static File.DiskPath getDefaultInstance()
Returns
TypeDescription
File.DiskPath

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static File.DiskPath.Builder newBuilder()
Returns
TypeDescription
File.DiskPath.Builder

newBuilder(File.DiskPath prototype)

public static File.DiskPath.Builder newBuilder(File.DiskPath prototype)
Parameter
NameDescription
prototypeFile.DiskPath
Returns
TypeDescription
File.DiskPath.Builder

parseDelimitedFrom(InputStream input)

public static File.DiskPath parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static File.DiskPath parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static File.DiskPath parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static File.DiskPath parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static File.DiskPath parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static File.DiskPath parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static File.DiskPath parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
File.DiskPath
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public File.DiskPath getDefaultInstanceForType()
Returns
TypeDescription
File.DiskPath

getParserForType()

public Parser<File.DiskPath> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for relativePath.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public File.DiskPath.Builder newBuilderForType()
Returns
TypeDescription
File.DiskPath.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected File.DiskPath.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
File.DiskPath.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public File.DiskPath.Builder toBuilder()
Returns
TypeDescription
File.DiskPath.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException