template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 1001 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::SuspenderSuspendResponse Build ()
Build and return the table. The builder should not be used after this.
bool has_reason ()
void clear_reason ()
Clears the reason field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_power_suspend::wire::WakeReason & reason ()
The `WakeReason` that caused the system to resume.
See type `WakeReason` above for more details about wake reasons.
BuilderImpl & reason (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_power_suspend::wire::WakeReason>> elem)
The `WakeReason` that caused the system to resume.
See type `WakeReason` above for more details about wake reasons.
bool has_suspend_duration ()
void clear_suspend_duration ()
Clears the suspend_duration field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & suspend_duration ()
The amount of time the system spent suspended. If the system is
interrupted during suspend this field is unset.
BuilderImpl & suspend_duration (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The amount of time the system spent suspended. If the system is
interrupted during suspend this field is unset.
bool has_suspend_overhead ()
void clear_suspend_overhead ()
Clears the suspend_overhead field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & suspend_overhead ()
The amount of time it took for the system to suspend and resume not
including the duration that the system was suspended.
BuilderImpl & suspend_overhead (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The amount of time it took for the system to suspend and resume not
including the duration that the system was suspended.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_power_suspend::wire::SuspenderSuspendResponse, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power_suspend::wire::SuspenderSuspendResponse>> && frame)