template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1343 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::Frame Build ()
Build and return the table. The builder should not be used after this.
bool has_frame_type ()
void clear_frame_type ()
Clears the frame_type field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_network::wire::FrameType & frame_type ()
The type identifying this frame's payload.
Required.
BuilderImpl & frame_type (::fuchsia_hardware_network::wire::FrameType elem)
The type identifying this frame's payload.
Required.
bool has_data ()
void clear_data ()
Clears the data field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint8_t> & data ()
The frame's payload.
Valid iff non-empty.
Required.
BuilderImpl & data (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)
The frame's payload.
Valid iff non-empty.
Required.
bool has_meta ()
void clear_meta ()
Clears the meta field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_net_tun::wire::FrameMetadata & meta ()
Extra frame metadata.
This is an opaque holder for extra information that is associated with
Network Device data frames.
If not set, interpreted as empty.
BuilderImpl & meta (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_tun::wire::FrameMetadata>> elem)
Extra frame metadata.
This is an opaque holder for extra information that is associated with
Network Device data frames.
If not set, interpreted as empty.
bool has_port ()
void clear_port ()
Clears the port field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint8_t & port ()
Frame's destination or source port identifier.
Required.
BuilderImpl & port (uint8_t elem)
Frame's destination or source port identifier.
Required.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_net_tun::wire::Frame, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_tun::wire::Frame>> && frame)