class HealthCheckResponse
Defined at line 2117 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
Response returned by a driver health check.
Public Methods
void HealthCheckResponse ()
Defined at line 2119 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void HealthCheckResponse (const HealthCheckResponse & other)
Defined at line 2120 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::HealthCheckResponse> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_driver_framework::wire::HealthCheckResponse> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::HealthCheckResponse>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::VectorView< ::fuchsia_driver_framework::wire::HealthDiagnosticItem> & diagnostics ()
Diagnostic key-value telemetry for the driver as a whole (power mode,
activity counters, last-event timestamps), as opposed to a single
condition.
bool has_diagnostics ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::HealthCondition> & conditions ()
Active fault or warning conditions. Absent or empty when the driver is
healthy (`HealthStatus.OK`). Overall driver status is the maximum
severity across `conditions` (`UNHEALTHY > DEGRADED > OK`), or `OK` if
absent or empty.
bool has_conditions ()
HealthCheckResponse & operator= (const HealthCheckResponse & other)
Defined at line 2121 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void HealthCheckResponse (HealthCheckResponse && other)
Defined at line 2122 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
HealthCheckResponse & operator= (HealthCheckResponse && other)
Defined at line 2123 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
HealthCheckResponse & set_diagnostics (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::HealthDiagnosticItem>> elem)
HealthCheckResponse & set_diagnostics (std::nullptr_t )
HealthCheckResponse & clear_diagnostics ()
HealthCheckResponse & set_conditions (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::HealthCondition>> elem)
HealthCheckResponse & set_conditions (std::nullptr_t )
HealthCheckResponse & clear_conditions ()
void HealthCheckResponse (::fidl::AnyArena & allocator)
void HealthCheckResponse (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::HealthCheckResponse>> && 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::HealthCheckResponse>> && frame_ptr)
void ~HealthCheckResponse ()
Defined at line 2125 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