Class File.DiskPath.Builder (2.91.0)

public static final class File.DiskPath.Builder extends GeneratedMessage.Builder<File.DiskPath.Builder> implements File.DiskPathOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

public File.DiskPath.Builder clear()
Returns
Type Description
File.DiskPath.Builder
Overrides

clearPartitionUuid()

public File.DiskPath.Builder clearPartitionUuid()

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

string partition_uuid = 1;

Returns
Type Description
File.DiskPath.Builder

This builder for chaining.

clearRelativePath()

public File.DiskPath.Builder clearRelativePath()

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
File.DiskPath.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(File.DiskPath other)

public File.DiskPath.Builder mergeFrom(File.DiskPath other)
Parameter
Name Description
other File.DiskPath
Returns
Type Description
File.DiskPath.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public File.DiskPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
File.DiskPath.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public File.DiskPath.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
File.DiskPath.Builder
Overrides

setPartitionUuid(String value)

public File.DiskPath.Builder setPartitionUuid(String value)

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

string partition_uuid = 1;

Parameter
Name Description
value String

The partitionUuid to set.

Returns
Type Description
File.DiskPath.Builder

This builder for chaining.

setPartitionUuidBytes(ByteString value)

public File.DiskPath.Builder setPartitionUuidBytes(ByteString value)

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

string partition_uuid = 1;

Parameter
Name Description
value ByteString

The bytes for partitionUuid to set.

Returns
Type Description
File.DiskPath.Builder

This builder for chaining.

setRelativePath(String value)

public File.DiskPath.Builder setRelativePath(String value)

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

string relative_path = 2;

Parameter
Name Description
value String

The relativePath to set.

Returns
Type Description
File.DiskPath.Builder

This builder for chaining.

setRelativePathBytes(ByteString value)

public File.DiskPath.Builder setRelativePathBytes(ByteString value)

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

string relative_path = 2;

Parameter
Name Description
value ByteString

The bytes for relativePath to set.

Returns
Type Description
File.DiskPath.Builder

This builder for chaining.