template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1647 of file fidling/gen/sdk/fidl/fuchsia.net.tun/fuchsia.net.tun/cpp/fidl/fuchsia.net.tun/cpp/wire_types.h

Public Methods

::fuchsia_net_tun::wire::DevicePortConfig Build ()

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

bool has_base ()
void clear_base ()

Clears the base field.

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

O(number_of_fields) complexity.

::fuchsia_net_tun::wire::BasePortConfig & base ()

Base port configuration.

Required.

BuilderImpl & base (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_tun::wire::BasePortConfig>> elem)

Base port configuration.

Required.

bool has_online ()
void clear_online ()

Clears the online field.

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

O(number_of_fields) complexity.

bool & online ()

Start port with link online.

If not set, interpreted as `false`.

BuilderImpl & online (bool elem)

Start port with link online.

If not set, interpreted as `false`.

bool has_mac ()
void clear_mac ()

Clears the mac field.

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

O(number_of_fields) complexity.

::fuchsia_net::wire::MacAddress & mac ()

MAC address to report.

If set, the port provides a

[`fuchsia.hardware.network/MacAddressing`] implementation /

through [`fuchsia.hardware.network/Port.GetMac`].

BuilderImpl & mac (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net::wire::MacAddress>> elem)

MAC address to report.

If set, the port provides a

[`fuchsia.hardware.network/MacAddressing`] implementation /

through [`fuchsia.hardware.network/Port.GetMac`].

Protected Methods

void WireTableBaseBuilder< ::fuchsia_net_tun::wire::DevicePortConfig, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::DevicePortConfig>> && frame)

Records