template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 262 of file fidling/gen/sdk/fidl/fuchsia.wlan.stats/fuchsia.wlan.stats/cpp/fidl/fuchsia.wlan.stats/cpp/wire_types.h

Public Methods

::fuchsia_wlan_stats::wire::ConnectionStats Build ()

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

bool has_connection_id ()
void clear_connection_id ()

Clears the connection_id field.

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

O(number_of_fields) complexity.

uint8_t & connection_id ()

ID of the current connection. Used by WLAN telemetry to determine whether

the current counters and the previous counters belong to the same connection.

If the counters belong to two different connections, telemetry will not diff

between them as it assumes that the driver/firmware has reset the counter

in between.

The driver should set a new connection ID after a successful connection,

reconnection, or roaming attempt, as it's expected that the connection-

related counters would reset on a new connection.

BuilderImpl & connection_id (uint8_t elem)

ID of the current connection. Used by WLAN telemetry to determine whether

the current counters and the previous counters belong to the same connection.

If the counters belong to two different connections, telemetry will not diff

between them as it assumes that the driver/firmware has reset the counter

in between.

The driver should set a new connection ID after a successful connection,

reconnection, or roaming attempt, as it's expected that the connection-

related counters would reset on a new connection.

bool has_driver_specific_counters ()
void clear_driver_specific_counters ()

Clears the driver_specific_counters field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_wlan_stats::wire::UnnamedCounter> & driver_specific_counters ()

Getter for driver_specific_counters.

BuilderImpl & driver_specific_counters (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_wlan_stats::wire::UnnamedCounter>>> elem)

Setter for driver_specific_counters.

bool has_driver_specific_gauges ()
void clear_driver_specific_gauges ()

Clears the driver_specific_gauges field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_wlan_stats::wire::UnnamedGauge> & driver_specific_gauges ()

Getter for driver_specific_gauges.

BuilderImpl & driver_specific_gauges (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_wlan_stats::wire::UnnamedGauge>>> elem)

Setter for driver_specific_gauges.

bool has_rx_unicast_total ()
void clear_rx_unicast_total ()

Clears the rx_unicast_total field.

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

O(number_of_fields) complexity.

uint64_t & rx_unicast_total ()

Getter for rx_unicast_total.

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

Setter for rx_unicast_total.

bool has_rx_unicast_drop ()
void clear_rx_unicast_drop ()

Clears the rx_unicast_drop field.

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

O(number_of_fields) complexity.

uint64_t & rx_unicast_drop ()

Getter for rx_unicast_drop.

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

Setter for rx_unicast_drop.

bool has_rx_multicast ()
void clear_rx_multicast ()

Clears the rx_multicast field.

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

O(number_of_fields) complexity.

uint64_t & rx_multicast ()

Getter for rx_multicast.

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

Setter for rx_multicast.

bool has_tx_total ()
void clear_tx_total ()

Clears the tx_total field.

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

O(number_of_fields) complexity.

uint64_t & tx_total ()

Getter for tx_total.

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

Setter for tx_total.

bool has_tx_drop ()
void clear_tx_drop ()

Clears the tx_drop field.

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

O(number_of_fields) complexity.

uint64_t & tx_drop ()

Getter for tx_drop.

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

Setter for tx_drop.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_wlan_stats::wire::ConnectionStats, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_wlan_stats::wire::ConnectionStats>> && frame)

Records