template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1028 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::EffectiveRouteProperties Build ()

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

bool has_metric ()
void clear_metric ()

Clears the metric field.

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

O(number_of_fields) complexity.

uint32_t & metric ()

The route's effective metric, dependent on the value of the route's

[`SpecifiedRouteProperties`]. If the `specified_metric` is

`explicit_metric`, this value will be identical to the provided value;

if the `specified_metric` is `inherited_from_interface` this value will

be the interface's routing metric.

BuilderImpl & metric (uint32_t elem)

The route's effective metric, dependent on the value of the route's

[`SpecifiedRouteProperties`]. If the `specified_metric` is

`explicit_metric`, this value will be identical to the provided value;

if the `specified_metric` is `inherited_from_interface` this value will

be the interface's routing metric.

Protected Methods

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

Records