class PartitionInfo
Defined at line 738 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/natural_types.h
Metadata describing a partition.
Public Methods
void PartitionInfo (Storage_ storage)
void PartitionInfo ()
Defined at line 743 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/natural_types.h
void PartitionInfo (PartitionInfo && )
Defined at line 744 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/natural_types.h
void PartitionInfo (const PartitionInfo & other)
bool operator!= (const PartitionInfo & other)
bool IsEmpty ()
const std::optional< ::std::string> & name ()
::std::optional< ::std::string> & name ()
PartitionInfo & name (std::optional< ::std::string> value)
Setter for name.
PartitionInfo & operator= (PartitionInfo && )
Defined at line 745 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/natural_types.h
PartitionInfo & operator= (const PartitionInfo & other)
bool operator== (const PartitionInfo & other)
const std::optional< ::fuchsia_storage_block::Guid> & type_guid ()
::std::optional< ::fuchsia_storage_block::Guid> & type_guid ()
PartitionInfo & type_guid (std::optional< ::fuchsia_storage_block::Guid> value)
Setter for type_guid.
const std::optional< ::fuchsia_storage_block::Guid> & instance_guid ()
::std::optional< ::fuchsia_storage_block::Guid> & instance_guid ()
PartitionInfo & instance_guid (std::optional< ::fuchsia_storage_block::Guid> value)
Setter for instance_guid.
const std::optional<uint64_t> & start_block_offset ()
start_block_offset will be absent if the partition is a composite of multiple physical
partitions. See fuchsia.storage.partitions.OverlayPartition.
::std::optional<uint64_t> & start_block_offset ()
start_block_offset will be absent if the partition is a composite of multiple physical
partitions. See fuchsia.storage.partitions.OverlayPartition.
PartitionInfo & start_block_offset (std::optional<uint64_t> value)
start_block_offset will be absent if the partition is a composite of multiple physical
partitions. See fuchsia.storage.partitions.OverlayPartition.
const std::optional<uint64_t> & num_blocks ()
num_blocks will be absent if the partition is a volume, which is dynamically sized and can
grow via fuchsia.storage.block.Block/Extend. To get the current size, use
fuchsia.storage.block.Block/GetVolumeInfo.
::std::optional<uint64_t> & num_blocks ()
num_blocks will be absent if the partition is a volume, which is dynamically sized and can
grow via fuchsia.storage.block.Block/Extend. To get the current size, use
fuchsia.storage.block.Block/GetVolumeInfo.
PartitionInfo & num_blocks (std::optional<uint64_t> value)
num_blocks will be absent if the partition is a volume, which is dynamically sized and can
grow via fuchsia.storage.block.Block/Extend. To get the current size, use
fuchsia.storage.block.Block/GetVolumeInfo.
const std::optional<uint64_t> & flags ()
The partition table entry flags (for example, in a GPT partition, the GPT partition table
entry flags). Note that this is distinct from the device flags returned in BlockInfo. This
field will be absent for composite partitions.
::std::optional<uint64_t> & flags ()
The partition table entry flags (for example, in a GPT partition, the GPT partition table
entry flags). Note that this is distinct from the device flags returned in BlockInfo. This
field will be absent for composite partitions.
PartitionInfo & flags (std::optional<uint64_t> value)
The partition table entry flags (for example, in a GPT partition, the GPT partition table
entry flags). Note that this is distinct from the device flags returned in BlockInfo. This
field will be absent for composite partitions.
void PartitionInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits