class Address

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

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::net::Subnet & addr ()

The address and prefix length.

Required.

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

bool has_addr ()

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

::fuchsia::net::Subnet * mutable_addr ()

The address and prefix length.

Required.

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

void clear_addr ()

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

bool has_valid_until ()

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

int64_t * mutable_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.

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

void clear_valid_until ()

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

const ::fuchsia::net::interfaces::PreferredLifetimeInfo & preferred_lifetime_info ()

Preferred lifetime information.

Optional; may be omitted due to disinterest.

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

bool has_preferred_lifetime_info ()

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

::fuchsia::net::interfaces::PreferredLifetimeInfo * mutable_preferred_lifetime_info ()

Preferred lifetime information.

Optional; may be omitted due to disinterest.

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

void clear_preferred_lifetime_info ()

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

const ::fuchsia::net::interfaces::AddressAssignmentState & assignment_state ()

The address's assignment state.

Required.

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

bool has_assignment_state ()

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

::fuchsia::net::interfaces::AddressAssignmentState * mutable_assignment_state ()

The address's assignment state.

Required.

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

void clear_assignment_state ()

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

Address & set_addr (::fuchsia::net::Subnet _value)
Address & set_valid_until (int64_t _value)
Address & set_preferred_lifetime_info (::fuchsia::net::interfaces::PreferredLifetimeInfo _value)
Address & set_assignment_state (::fuchsia::net::interfaces::AddressAssignmentState _value)
void Address ()
void Address (Address && other)
const 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.

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

void ~Address ()
Address & operator= (Address && other)
::std::unique_ptr<Address> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Address * _value, size_t _offset)
zx_status_t Clone (Address * _result)