template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 505 of file fidling/gen/sdk/fidl/fuchsia.hardware.spi.businfo/fuchsia.hardware.spi.businfo/cpp/fidl/fuchsia.hardware.spi.businfo/cpp/wire_types.h
Public Methods
::fuchsia_hardware_spi_businfo::wire::SpiBusMetadata Build ()
Build and return the table. The builder should not be used after this.
bool has_channels ()
void clear_channels ()
Clears the channels field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_hardware_spi_businfo::wire::SpiChannel> & channels ()
Getter for channels.
BuilderImpl & channels (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_spi_businfo::wire::SpiChannel>>> elem)
Setter for channels.
bool has_bus_id ()
void clear_bus_id ()
Clears the bus_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & bus_id ()
ID of the bus that these devices are on. Set as a bind property on the
nodes added by the SPI core driver.
BuilderImpl & bus_id (uint32_t elem)
ID of the bus that these devices are on. Set as a bind property on the
nodes added by the SPI core driver.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_spi_businfo::wire::SpiBusMetadata, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_spi_businfo::wire::SpiBusMetadata>> && frame)