class HealthCheckResponse
Defined at line 2848 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
Response returned by a driver health check.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
void HealthCheckResponse ()
void HealthCheckResponse (HealthCheckResponse && other)
const ::std::vector< ::fuchsia::driver::framework::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.
Defined at line 2857 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_diagnostics ()
Defined at line 2861 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
::std::vector< ::fuchsia::driver::framework::HealthDiagnosticItem> * mutable_diagnostics ()
Diagnostic key-value telemetry for the driver as a whole (power mode,
activity counters, last-event timestamps), as opposed to a single
condition.
Defined at line 2868 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_diagnostics ()
Defined at line 2876 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
const ::std::vector< ::fuchsia::driver::framework::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.
Defined at line 2888 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_conditions ()
Defined at line 2892 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
::std::vector< ::fuchsia::driver::framework::HealthCondition> * mutable_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.
Defined at line 2900 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_conditions ()
Defined at line 2908 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
HealthCheckResponse & set_diagnostics (::std::vector< ::fuchsia::driver::framework::HealthDiagnosticItem> _value)
HealthCheckResponse & set_conditions (::std::vector< ::fuchsia::driver::framework::HealthCondition> _value)
void ~HealthCheckResponse ()
HealthCheckResponse & operator= (HealthCheckResponse && other)
::std::unique_ptr<HealthCheckResponse> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,HealthCheckResponse *_value,size_t_offset)
zx_status_t Clone (HealthCheckResponse * _result)