Class File.DiskPath.Builder (2.53.0)

public static final class File.DiskPath.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public File.DiskPath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
File.DiskPath.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public File.DiskPath.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
File.DiskPath.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public File.DiskPath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final File.DiskPath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
File.DiskPath.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public File.DiskPath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public File.DiskPath.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
File.DiskPath.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final File.DiskPath.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
File.DiskPath.Builder
Overrides