class HealthCondition
Defined at line 1680 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
One condition detected by a driver health check.
Public Methods
void HealthCondition ()
Defined at line 1682 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void HealthCondition (const HealthCondition & other)
Defined at line 1683 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_driver_framework::wire::HealthCondition> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_driver_framework::wire::HealthCondition> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::HealthCondition>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
HealthCondition & operator= (const HealthCondition & other)
Defined at line 1684 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void HealthCondition (HealthCondition && other)
Defined at line 1685 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
HealthCondition & operator= (HealthCondition && other)
Defined at line 1686 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
::fuchsia_driver_framework::wire::HealthStatus & status ()
Severity of this condition. Consumers treat an omitted or unrecognized
value as `UNHEALTHY`, so always set it.
bool has_status ()
::fidl::StringView & reason_code ()
Short machine-readable token (e.g. "DSI_CRI_FIFO_WEDGED",
"TE_INTERRUPT_STALLED"). Must be unique within a response.
bool has_reason_code ()
::fidl::StringView & message ()
Human-readable detail for this condition.
bool has_message ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::HealthDiagnosticItem> & diagnostics ()
Diagnostic values specific to this condition.
bool has_diagnostics ()
::fidl::basic_time<((zx_clock_t)1)> & first_observed ()
Boot-timeline instant at which this condition was first observed.
bool has_first_observed ()
::fidl::basic_time<((zx_clock_t)1)> & last_observed ()
Boot-timeline instant at which this condition was most recently
observed.
bool has_last_observed ()
uint64_t & occurrence_count ()
Number of times this condition has been observed since
`first_observed`.
bool has_occurrence_count ()
HealthCondition & set_status (::fuchsia_driver_framework::wire::HealthStatus elem)
HealthCondition & clear_status ()
HealthCondition & set_reason_code (::fidl::ObjectView< ::fidl::StringView> elem)
HealthCondition & set_reason_code (std::nullptr_t )
HealthCondition & clear_reason_code ()
HealthCondition & set_message (::fidl::ObjectView< ::fidl::StringView> elem)
HealthCondition & set_message (std::nullptr_t )
HealthCondition & clear_message ()
HealthCondition & set_diagnostics (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::HealthDiagnosticItem>> elem)
HealthCondition & set_diagnostics (std::nullptr_t )
HealthCondition & clear_diagnostics ()
HealthCondition & set_first_observed (::fidl::ObjectView< ::fidl::basic_time<((zx_clock_t)1)>> elem)
HealthCondition & set_first_observed (std::nullptr_t )
HealthCondition & clear_first_observed ()
HealthCondition & set_last_observed (::fidl::ObjectView< ::fidl::basic_time<((zx_clock_t)1)>> elem)
HealthCondition & set_last_observed (std::nullptr_t )
HealthCondition & clear_last_observed ()
HealthCondition & set_occurrence_count (::fidl::ObjectView<uint64_t> elem)
HealthCondition & set_occurrence_count (std::nullptr_t )
HealthCondition & clear_occurrence_count ()
void HealthCondition (::fidl::AnyArena & allocator)
void HealthCondition (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::HealthCondition>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::HealthCondition>> && frame_ptr)
void ~HealthCondition ()
Defined at line 1688 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder