template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 327 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::BasePortConfig Build ()
Build and return the table. The builder should not be used after this.
bool has_id ()
void clear_id ()
Clears the id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & id ()
Port identifier.
Required.
BuilderImpl & id (uint8_t elem)
Port identifier.
Required.
bool has_mtu ()
void clear_mtu ()
Clears the mtu field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & mtu ()
Device MTU (maximum transmit unit).
Valid iff less than or equal to [`MAX_MTU`].
If not set, interpreted as [`MAX_MTU`].
BuilderImpl & mtu (uint32_t elem)
Device MTU (maximum transmit unit).
Valid iff less than or equal to [`MAX_MTU`].
If not set, interpreted as [`MAX_MTU`].
bool has_rx_types ()
void clear_rx_types ()
Clears the rx_types field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameType> & rx_types ()
Supported Rx frame types for port.
Valid iff non-empty.
Required.
BuilderImpl & rx_types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameType>>> elem)
Supported Rx frame types for port.
Valid iff non-empty.
Required.
bool has_tx_types ()
void clear_tx_types ()
Clears the tx_types field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameTypeSupport> & tx_types ()
Supported Tx frame types on port.
Valid iff non-empty.
Required.
BuilderImpl & tx_types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_network::wire::FrameTypeSupport>>> elem)
Supported Tx frame types on port.
Valid iff non-empty.
Required.
bool has_port_class ()
void clear_port_class ()
Clears the port_class field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_network::wire::PortClass & port_class ()
Port class.
If not set, interpreted as `VIRTUAL`.
BuilderImpl & port_class (::fuchsia_hardware_network::wire::PortClass elem)
Port class.
If not set, interpreted as `VIRTUAL`.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_net_tun::wire::BasePortConfig, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::BasePortConfig>> && frame)