class HealthCondition
Defined at line 2556 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
One condition detected by a driver health check.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
void HealthCondition ()
void HealthCondition (HealthCondition && other)
const ::fuchsia::driver::framework::HealthStatus & status ()
Severity of this condition. Consumers treat an omitted or unrecognized
value as `UNHEALTHY`, so always set it.
Defined at line 2564 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_status ()
Defined at line 2568 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
::fuchsia::driver::framework::HealthStatus * mutable_status ()
Severity of this condition. Consumers treat an omitted or unrecognized
value as `UNHEALTHY`, so always set it.
Defined at line 2574 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_status ()
Defined at line 2582 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
const ::std::string & reason_code ()
Short machine-readable token (e.g. "DSI_CRI_FIFO_WEDGED",
"TE_INTERRUPT_STALLED"). Must be unique within a response.
Defined at line 2592 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_reason_code ()
Defined at line 2596 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
::std::string * mutable_reason_code ()
Short machine-readable token (e.g. "DSI_CRI_FIFO_WEDGED",
"TE_INTERRUPT_STALLED"). Must be unique within a response.
Defined at line 2602 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_reason_code ()
Defined at line 2610 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
const ::std::string & message ()
Human-readable detail for this condition.
Defined at line 2619 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_message ()
Defined at line 2623 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
::std::string * mutable_message ()
Human-readable detail for this condition.
Defined at line 2628 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_message ()
Defined at line 2636 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::HealthDiagnosticItem> & diagnostics ()
Diagnostic values specific to this condition.
Defined at line 2645 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 2649 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 values specific to this condition.
Defined at line 2654 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 2662 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
const ::fidl::basic_time<((zx_clock_t)1)> & first_observed ()
Boot-timeline instant at which this condition was first observed.
Defined at line 2671 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_first_observed ()
Defined at line 2675 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
::fidl::basic_time<((zx_clock_t)1)> * mutable_first_observed ()
Boot-timeline instant at which this condition was first observed.
Defined at line 2680 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_first_observed ()
Defined at line 2688 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
const ::fidl::basic_time<((zx_clock_t)1)> & last_observed ()
Boot-timeline instant at which this condition was most recently
observed.
Defined at line 2698 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_last_observed ()
Defined at line 2702 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
::fidl::basic_time<((zx_clock_t)1)> * mutable_last_observed ()
Boot-timeline instant at which this condition was most recently
observed.
Defined at line 2708 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_last_observed ()
Defined at line 2716 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
const uint64_t & occurrence_count ()
Number of times this condition has been observed since
`first_observed`.
Defined at line 2726 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
bool has_occurrence_count ()
Defined at line 2730 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
uint64_t * mutable_occurrence_count ()
Number of times this condition has been observed since
`first_observed`.
Defined at line 2736 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void clear_occurrence_count ()
Defined at line 2744 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
HealthCondition & set_status (::fuchsia::driver::framework::HealthStatus _value)
HealthCondition & set_reason_code (::std::string _value)
HealthCondition & set_message (::std::string _value)
HealthCondition & set_diagnostics (::std::vector< ::fuchsia::driver::framework::HealthDiagnosticItem> _value)
HealthCondition & set_first_observed (::fidl::basic_time<((zx_clock_t)1)> _value)
HealthCondition & set_last_observed (::fidl::basic_time<((zx_clock_t)1)> _value)
HealthCondition & set_occurrence_count (uint64_t _value)
void ~HealthCondition ()
HealthCondition & operator= (HealthCondition && other)
::std::unique_ptr<HealthCondition> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,HealthCondition *_value,size_t_offset)
zx_status_t Clone (HealthCondition * _result)