template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1805 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/wire_types.h

Public Methods

::fuchsia_gpu_magma::wire::PowerGoal Build ()

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

bool has_type ()
void clear_type ()

Clears the type field.

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

O(number_of_fields) complexity.

::fuchsia_gpu_magma::wire::PowerGoalType & type ()

Required.

BuilderImpl & type (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_gpu_magma::wire::PowerGoalType>> elem)

Required.

bool has_token ()
void clear_token ()

Clears the token field.

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

O(number_of_fields) complexity.

::zx::event & token ()

Required. The fuchsia.power.broker.DependencyToken that must be leased at level 1 to achieve

the goal.

BuilderImpl & token (::zx::event elem)

Required. The fuchsia.power.broker.DependencyToken that must be leased at level 1 to achieve

the goal.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_gpu_magma::wire::PowerGoal, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_gpu_magma::wire::PowerGoal>> && frame)

Records