template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 209 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::Address Build ()

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

bool has_addr ()
void clear_addr ()

Clears the addr field.

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

O(number_of_fields) complexity.

::fuchsia_net::wire::Subnet & addr ()

The address and prefix length.

Required.

BuilderImpl & addr (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net::wire::Subnet>> elem)

The address and prefix length.

Required.

bool has_valid_until ()
void clear_valid_until ()

Clears the valid_until field.

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

O(number_of_fields) complexity.

int64_t & valid_until ()

The time after which the address will no longer be valid.

Its value must be greater than 0. A value of `ZX_TIME_INFINITE`

indicates that the address will always be valid. The value is

derived from the monotonic clock.

As a `zx.Time`, the value has

[monotonic clock semantics](https://fuchsia.dev/fuchsia-src/concepts/time/monotonic),

which implies that it has no meaning outside of the host on which it

was generated and no meaning across host restarts.

Optional; may be omitted due to disinterest.

BuilderImpl & valid_until (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

The time after which the address will no longer be valid.

Its value must be greater than 0. A value of `ZX_TIME_INFINITE`

indicates that the address will always be valid. The value is

derived from the monotonic clock.

As a `zx.Time`, the value has

[monotonic clock semantics](https://fuchsia.dev/fuchsia-src/concepts/time/monotonic),

which implies that it has no meaning outside of the host on which it

was generated and no meaning across host restarts.

Optional; may be omitted due to disinterest.

bool has_preferred_lifetime_info ()
void clear_preferred_lifetime_info ()

Clears the preferred_lifetime_info field.

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

O(number_of_fields) complexity.

::fuchsia_net_interfaces::wire::PreferredLifetimeInfo & preferred_lifetime_info ()

Preferred lifetime information.

Optional; may be omitted due to disinterest.

BuilderImpl & preferred_lifetime_info (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_interfaces::wire::PreferredLifetimeInfo>> elem)

Preferred lifetime information.

Optional; may be omitted due to disinterest.

bool has_assignment_state ()
void clear_assignment_state ()

Clears the assignment_state field.

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

O(number_of_fields) complexity.

::fuchsia_net_interfaces::wire::AddressAssignmentState & assignment_state ()

The address's assignment state.

Required.

BuilderImpl & assignment_state (::fuchsia_net_interfaces::wire::AddressAssignmentState elem)

The address's assignment state.

Required.

Protected Methods

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

Records