template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_net_name::wire::LookupResult Build ()

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

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::wire::IpAddress> & addresses ()

The IP addresses resulting from a lookup.

If sorting was requested, `addresses` is sorted in order of

preference, most preferred destination address first.

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

The IP addresses resulting from a lookup.

If sorting was requested, `addresses` is sorted in order of

preference, most preferred destination address first.

bool has_canonical_name ()
void clear_canonical_name ()

Clears the canonical_name field.

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

O(number_of_fields) complexity.

::fidl::StringView & canonical_name ()

The canonical name of the requested hostname.

Provided only if requested.

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

The canonical name of the requested hostname.

Provided only if requested.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_net_name::wire::LookupResult, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_name::wire::LookupResult>> && frame)

Records