class PartitionInfo
Defined at line 1155 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
Metadata describing a partition.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
void PartitionInfo ()
void PartitionInfo (PartitionInfo && other)
const ::std::string & name ()
Defined at line 1161 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
bool has_name ()
Defined at line 1165 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
::std::string * mutable_name ()
Defined at line 1169 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
void clear_name ()
Defined at line 1177 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
void clear_type_guid ()
Defined at line 1201 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
const ::fuchsia::storage::block::Guid & instance_guid ()
Defined at line 1209 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
bool has_instance_guid ()
Defined at line 1213 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
::fuchsia::storage::block::Guid * mutable_instance_guid ()
Defined at line 1217 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
void clear_instance_guid ()
Defined at line 1225 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
void clear_start_block_offset ()
Defined at line 1253 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
const 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.
Defined at line 1264 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
bool has_num_blocks ()
Defined at line 1268 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
uint64_t * mutable_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.
Defined at line 1275 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
void clear_num_blocks ()
Defined at line 1283 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
const 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.
Defined at line 1294 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
bool has_flags ()
Defined at line 1298 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
uint64_t * mutable_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.
Defined at line 1305 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
void clear_flags ()
Defined at line 1313 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
PartitionInfo & set_name (::std::string _value)
PartitionInfo & set_type_guid (::fuchsia::storage::block::Guid _value)
PartitionInfo & set_instance_guid (::fuchsia::storage::block::Guid _value)
PartitionInfo & set_start_block_offset (uint64_t _value)
PartitionInfo & set_num_blocks (uint64_t _value)
PartitionInfo & set_flags (uint64_t _value)
const ::fuchsia::storage::block::Guid & type_guid ()
Defined at line 1185 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
bool has_type_guid ()
Defined at line 1189 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
::fuchsia::storage::block::Guid * mutable_type_guid ()
Defined at line 1193 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
const 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.
Defined at line 1235 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
bool has_start_block_offset ()
Defined at line 1239 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
uint64_t * mutable_start_block_offset ()
start_block_offset will be absent if the partition is a composite of multiple physical
partitions. See fuchsia.storage.partitions.OverlayPartition.
Defined at line 1245 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
void ~PartitionInfo ()
PartitionInfo & operator= (PartitionInfo && other)
::std::unique_ptr<PartitionInfo> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,PartitionInfo *_value,size_t_offset)
zx_status_t Clone (PartitionInfo * _result)