template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 237 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_types.h
Public Methods
::fuchsia_hardware_ramdisk::wire::Options Build ()
Build and return the table. The builder should not be used after this.
bool has_block_size ()
void clear_block_size ()
Clears the block_size field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & block_size ()
If unspecified, the system page size is used.
BuilderImpl & block_size (uint32_t elem)
If unspecified, the system page size is used.
bool has_block_count ()
void clear_block_count ()
Clears the block_count field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & block_count ()
If unspecified, will be deduced from `vmo`.
BuilderImpl & block_count (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
If unspecified, will be deduced from `vmo`.
bool has_type_guid ()
void clear_type_guid ()
Clears the type_guid field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_ramdisk::wire::Guid & type_guid ()
Optional type GUID returned in the fuchsia.hardware.block.partition.Partition protocol.
BuilderImpl & type_guid (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_ramdisk::wire::Guid>> elem)
Optional type GUID returned in the fuchsia.hardware.block.partition.Partition protocol.
bool has_vmo ()
void clear_vmo ()
Clears the vmo field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & vmo ()
If unspecified, a VMO will be created, in which case `block_count` must be specified.
BuilderImpl & vmo (::zx::vmo elem)
If unspecified, a VMO will be created, in which case `block_count` must be specified.
bool has_publish ()
void clear_publish ()
Clears the publish field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & publish ()
If true, expose fuchsia.hardware.block.volume.Service for the ramdisk.
BuilderImpl & publish (bool elem)
If true, expose fuchsia.hardware.block.volume.Service for the ramdisk.
bool has_max_transfer_blocks ()
void clear_max_transfer_blocks ()
Clears the max_transfer_blocks field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & max_transfer_blocks ()
If unspecified, there is no maximum.
BuilderImpl & max_transfer_blocks (uint32_t elem)
If unspecified, there is no maximum.
bool has_device_flags ()
void clear_device_flags ()
Clears the device_flags field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_storage_block::wire::DeviceFlag & device_flags ()
If unspecified, a default set of flags is used.
BuilderImpl & device_flags (::fuchsia_storage_block::wire::DeviceFlag elem)
If unspecified, a default set of flags is used.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_ramdisk::wire::Options, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_ramdisk::wire::Options>> && frame)