template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_hardware_power::wire::PowerElement Build ()

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

bool has_name ()
void clear_name ()

Clears the name field.

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

O(number_of_fields) complexity.

::fidl::StringView & name ()

Getter for name.

BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

Setter for name.

bool has_levels ()
void clear_levels ()

Clears the levels field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_power::wire::PowerLevel> & levels ()

Getter for levels.

BuilderImpl & levels (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_power::wire::PowerLevel>>> elem)

Setter for levels.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_power::wire::PowerElement, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power::wire::PowerElement>> && frame)

Records