template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_net_routes::wire::Destination Build ()

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

bool has_address ()
void clear_address ()

Clears the address field.

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

O(number_of_fields) complexity.

::fuchsia_net::wire::IpAddress & address ()

The IP address of the destination.

BuilderImpl & address (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net::wire::IpAddress>> elem)

The IP address of the destination.

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 ()

The MAC address of the destination. Only set if the destination is on a

link that requires a MAC address.

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

The MAC address of the destination. Only set if the destination is on a

link that requires a MAC address.

bool has_interface_id ()
void clear_interface_id ()

Clears the interface_id field.

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

O(number_of_fields) complexity.

uint64_t & interface_id ()

The interface identifier over which the destination can be reached.

BuilderImpl & interface_id (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

The interface identifier over which the destination can be reached.

bool has_source_address ()
void clear_source_address ()

Clears the source_address field.

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

O(number_of_fields) complexity.

::fuchsia_net::wire::IpAddress & source_address ()

The preferred local IP address used to communicate with the destination.

BuilderImpl & source_address (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net::wire::IpAddress>> elem)

The preferred local IP address used to communicate with the destination.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_net_routes::wire::Destination, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_routes::wire::Destination>> && frame)

Records