template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 198 of file fidling/gen/sdk/fidl/fuchsia.power.suspend/fuchsia.power.suspend/cpp/fidl/fuchsia.power.suspend/cpp/wire_types.h
Public Methods
::fuchsia_power_suspend::wire::SuspendStats Build ()
Build and return the table. The builder should not be used after this.
bool has_success_count ()
void clear_success_count ()
Clears the success_count field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & success_count ()
The number of times the device has successfully suspended.
BuilderImpl & success_count (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
The number of times the device has successfully suspended.
bool has_fail_count ()
void clear_fail_count ()
Clears the fail_count field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & fail_count ()
The number of times the device has failed to suspend.
BuilderImpl & fail_count (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
The number of times the device has failed to suspend.
bool has_last_failed_error ()
void clear_last_failed_error ()
Clears the last_failed_error field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int32_t & last_failed_error ()
The error code logged after the last failed suspend attempt.
BuilderImpl & last_failed_error (int32_t elem)
The error code logged after the last failed suspend attempt.
bool has_last_time_in_suspend ()
void clear_last_time_in_suspend ()
Clears the last_time_in_suspend field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & last_time_in_suspend ()
The amount of time spent in the previous suspend state.
May not be available on all platforms.
BuilderImpl & last_time_in_suspend (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The amount of time spent in the previous suspend state.
May not be available on all platforms.
bool has_last_time_in_suspend_operations ()
void clear_last_time_in_suspend_operations ()
Clears the last_time_in_suspend_operations field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & last_time_in_suspend_operations ()
The amount of time spent performing suspend and resume operations for
the previous suspend state.
Suspend and resume operations are those actions taken by the platform in
order to enter and exit, respectively, a suspended state.
BuilderImpl & last_time_in_suspend_operations (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The amount of time spent performing suspend and resume operations for
the previous suspend state.
Suspend and resume operations are those actions taken by the platform in
order to enter and exit, respectively, a suspended state.
bool has_total_time_in_suspend ()
void clear_total_time_in_suspend ()
Clears the total_time_in_suspend field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & total_time_in_suspend ()
The total amount of time spent in a suspended state.
BuilderImpl & total_time_in_suspend (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
The total amount of time spent in a suspended state.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_power_suspend::wire::SuspendStats, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_suspend::wire::SuspendStats>> && frame)