template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 160 of file fidling/gen/sdk/fidl/fuchsia.hardware.powersource/fuchsia.hardware.powersource/cpp/fidl/fuchsia.hardware.powersource/cpp/wire_types.h

Public Methods

::fuchsia_hardware_powersource::wire::BatterySpec Build ()

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

bool has_max_charging_current_ua ()
void clear_max_charging_current_ua ()

Clears the max_charging_current_ua field.

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

O(number_of_fields) complexity.

int32_t & max_charging_current_ua ()

Represent the battery's charging current spec in micro amps

BuilderImpl & max_charging_current_ua (int32_t elem)

Represent the battery's charging current spec in micro amps

bool has_max_charging_voltage_uv ()
void clear_max_charging_voltage_uv ()

Clears the max_charging_voltage_uv field.

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

O(number_of_fields) complexity.

int32_t & max_charging_voltage_uv ()

Represent the battery's charging voltage spec in micro volt

BuilderImpl & max_charging_voltage_uv (int32_t elem)

Represent the battery's charging voltage spec in micro volt

bool has_design_capacity_uah ()
void clear_design_capacity_uah ()

Clears the design_capacity_uah field.

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

O(number_of_fields) complexity.

int32_t & design_capacity_uah ()

Battery Full Charge Design Capacity in micro amp hour

BuilderImpl & design_capacity_uah (int32_t elem)

Battery Full Charge Design Capacity in micro amp hour

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_powersource::wire::BatterySpec, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_powersource::wire::BatterySpec>> && frame)

Records