template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 790 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.suspend/fuchsia.hardware.power.suspend/cpp/fidl/fuchsia.hardware.power.suspend/cpp/wire_types.h
Public Methods
::fuchsia_hardware_power_suspend::wire::SuspenderSuspendRequest Build ()
Build and return the table. The builder should not be used after this.
bool has_state_index ()
void clear_state_index ()
Clears the state_index field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & state_index ()
This index corresponds to an entry in the vector returned by
GetSuspendStates. Returns ZX_ERR_OUT_OF_RANGE if `state_index` is
greater than the number of supported suspend states. Returns
ZX_ERR_INVALID_ARGS if this field is unset.
BuilderImpl & state_index (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
This index corresponds to an entry in the vector returned by
GetSuspendStates. Returns ZX_ERR_OUT_OF_RANGE if `state_index` is
greater than the number of supported suspend states. Returns
ZX_ERR_INVALID_ARGS if this field is unset.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_power_suspend::wire::SuspenderSuspendRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power_suspend::wire::SuspenderSuspendRequest>> && frame)