template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1078 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::InternalState Build ()
Build and return the table. The builder should not be used after this.
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_tun::wire::MacState & mac ()
State associated with Mac Address filtering.
Devices never perform any MAC address filtering, but they implement the
[`fuchsia.hardware.network/MacAddressing`] interface and store the
values to be retrieved through the [`fuchsia.net.tun/InternalState`]
structure.
Set iff `mac` is provided in the [`DevicePortConfig`] or
[`DevicePairPortConfig`] structures upon creation of the port.
BuilderImpl & mac (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_tun::wire::MacState>> elem)
State associated with Mac Address filtering.
Devices never perform any MAC address filtering, but they implement the
[`fuchsia.hardware.network/MacAddressing`] interface and store the
values to be retrieved through the [`fuchsia.net.tun/InternalState`]
structure.
Set iff `mac` is provided in the [`DevicePortConfig`] or
[`DevicePairPortConfig`] structures upon creation of the port.
bool has_has_session ()
void clear_has_session ()
Clears the has_session field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & has_session ()
Whether there is a session currently opened and running with the `Port`.
Required.
BuilderImpl & has_session (bool elem)
Whether there is a session currently opened and running with the `Port`.
Required.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_net_tun::wire::InternalState, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::InternalState>> && frame)