template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2229 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::PowerElementProviderGetClockSpeedLevelResponse Build ()

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

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.

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

Required. The fuchsia.power.broker.DependencyToken that must be leased.

bool has_level ()
void clear_level ()

Clears the level field.

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

O(number_of_fields) complexity.

uint8_t & level ()

Required. The level to lease `token` at.

BuilderImpl & level (uint8_t elem)

Required. The level to lease `token` at.

bool has_actual_hz ()
void clear_actual_hz ()

Clears the actual_hz field.

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

O(number_of_fields) complexity.

uint64_t & actual_hz ()

Required. The target frequency that the level represents. If `allow_max==false' (or

allow_max isn't set) then this must be >= `hz`; otherwise, it can be any value relative

to `hz`.

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

Required. The target frequency that the level represents. If `allow_max==false' (or

allow_max isn't set) then this must be >= `hz`; otherwise, it can be any value relative

to `hz`.

Protected Methods

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

Records