template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.phy/fuchsia.hardware.usb.phy/cpp/fidl/fuchsia.hardware.usb.phy/cpp/wire_types.h

Public Methods

::fuchsia_hardware_usb_phy::wire::UsbPhyMode Build ()

Build and return the table. The builder should not be used after this.

bool has_protocol ()
void clear_protocol ()

Clears the protocol field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_hardware_usb_phy::wire::ProtocolVersion & protocol ()

Getter for protocol.

BuilderImpl & protocol (::fuchsia_hardware_usb_phy::wire::ProtocolVersion elem)

Setter for protocol.

bool has_dr_mode ()
void clear_dr_mode ()

Clears the dr_mode field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_hardware_usb_phy::wire::Mode & dr_mode ()

Getter for dr_mode.

BuilderImpl & dr_mode (::fuchsia_hardware_usb_phy::wire::Mode elem)

Setter for dr_mode.

bool has_is_otg_capable ()
void clear_is_otg_capable ()

Clears the is_otg_capable field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & is_otg_capable ()

Getter for is_otg_capable.

BuilderImpl & is_otg_capable (bool elem)

Setter for is_otg_capable.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_usb_phy::wire::UsbPhyMode, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_usb_phy::wire::UsbPhyMode>> && frame)

Records