template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 531 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/wire_types.h

Public Methods

::fuchsia_hardware_i2c_businfo::wire::I2CBusMetadata 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_i2c_businfo::wire::I2CChannel> & channels ()

Getter for channels.

BuilderImpl & channels (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_i2c_businfo::wire::I2CChannel>>> 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

devices added by the I2C core driver.

BuilderImpl & bus_id (uint32_t elem)

ID of the bus that these devices are on. Set as a bind property on the

devices added by the I2C core driver.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_i2c_businfo::wire::I2CBusMetadata, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_i2c_businfo::wire::I2CBusMetadata>> && frame)

Records