template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_net_interfaces::wire::Properties 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.

uint64_t & id ()

An opaque identifier for the interface. Its value will not be reused

even if the device is removed and subsequently re-added. Immutable.

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

An opaque identifier for the interface. Its value will not be reused

even if the device is removed and subsequently re-added. Immutable.

bool has_addresses ()
void clear_addresses ()

Clears the addresses field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_net_interfaces::wire::Address> & addresses ()

The addresses currently installed on the interface.

Addresses are sorted on [`Address.addr`], and no two addresses can have

the same `Address.addr` value.

Only assigned addresses are included unless the watcher was created with

[`WatcherOptions.include_non_assigned_addresses`] set to `true`.

BuilderImpl & addresses (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_net_interfaces::wire::Address>>> elem)

The addresses currently installed on the interface.

Addresses are sorted on [`Address.addr`], and no two addresses can have

the same `Address.addr` value.

Only assigned addresses are included unless the watcher was created with

[`WatcherOptions.include_non_assigned_addresses`] set to `true`.

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

The device is enabled and its physical state is online.

BuilderImpl & online (bool elem)

The device is enabled and its physical state is online.

bool has_has_default_ipv4_route ()
void clear_has_default_ipv4_route ()

Clears the has_default_ipv4_route field.

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

O(number_of_fields) complexity.

bool & has_default_ipv4_route ()

Whether there is a default IPv4 route through this interface.

BuilderImpl & has_default_ipv4_route (bool elem)

Whether there is a default IPv4 route through this interface.

bool has_has_default_ipv6_route ()
void clear_has_default_ipv6_route ()

Clears the has_default_ipv6_route field.

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

O(number_of_fields) complexity.

bool & has_default_ipv6_route ()

Whether there is a default IPv6 route through this interface.

BuilderImpl & has_default_ipv6_route (bool elem)

Whether there is a default IPv6 route through this interface.

bool has_name ()
void clear_name ()

Clears the name field.

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

O(number_of_fields) complexity.

::fidl::StringView & name ()

The name of the interface. Immutable.

BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The name of the interface. Immutable.

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_net_interfaces::wire::PortClass & port_class ()

The port class of the interface. Immutable.

BuilderImpl & port_class (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_interfaces::wire::PortClass>> elem)

The port class of the interface. Immutable.

bool has_port_identity_koid ()
void clear_port_identity_koid ()

Clears the port_identity_koid field.

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

O(number_of_fields) complexity.

uint64_t & port_identity_koid ()

The KOID of the identity event vended out by the interface's backing

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

Callers may use this identifier to correlate port instances to installed

interfaces.

Immutable. Present for interfaces backed by a

[`fuchsia.hardware.network/Port`], absent otherwise.

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

The KOID of the identity event vended out by the interface's backing

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

Callers may use this identifier to correlate port instances to installed

interfaces.

Immutable. Present for interfaces backed by a

[`fuchsia.hardware.network/Port`], absent otherwise.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_net_interfaces::wire::Properties, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_interfaces::wire::Properties>> && frame)

Records