template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2011 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::PowerElementProviderGetClockSpeedLevelRequest Build ()

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

bool has_hz ()
void clear_hz ()

Clears the hz field.

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

O(number_of_fields) complexity.

uint64_t & hz ()

Required. The target frequency.

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

Required. The target frequency.

bool has_allow_max ()
void clear_allow_max ()

Clears the allow_max field.

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

O(number_of_fields) complexity.

bool & allow_max ()

If true and `hz` is greater than the maximum clock frequency, then the level

corresponding to the greatest supported frequency will be returned. If not true (or not

specified), this call will return `ZX_ERR_OUT_OF_RANGE` if `hz` is greater than the

maximum clock frequency.

BuilderImpl & allow_max (bool elem)

If true and `hz` is greater than the maximum clock frequency, then the level

corresponding to the greatest supported frequency will be returned. If not true (or not

specified), this call will return `ZX_ERR_OUT_OF_RANGE` if `hz` is greater than the

maximum clock frequency.

Protected Methods

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

Records