Class File.DiskPath.Builder (2.47.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public File.DiskPath.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
File.DiskPath.Builder
Overrides

build()

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

buildPartial()

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

clear()

public File.DiskPath.Builder clear()
Returns
TypeDescription
File.DiskPath.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public File.DiskPath.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
File.DiskPath.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public File.DiskPath.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
File.DiskPath.Builder

This builder for chaining.

clone()

public File.DiskPath.Builder clone()
Returns
TypeDescription
File.DiskPath.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(File.DiskPath other)

public File.DiskPath.Builder mergeFrom(File.DiskPath other)
Parameter
NameDescription
otherFile.DiskPath
Returns
TypeDescription
File.DiskPath.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public File.DiskPath.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
File.DiskPath.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public File.DiskPath.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
File.DiskPath.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final File.DiskPath.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
File.DiskPath.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public File.DiskPath.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The partitionUuid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for partitionUuid to set.

Returns
TypeDescription
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
NameDescription
valueString

The relativePath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for relativePath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
File.DiskPath.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final File.DiskPath.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
File.DiskPath.Builder
Overrides