template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 209 of file fidling/gen/sdk/fidl/fuchsia.firmware.crash/fuchsia.firmware.crash/cpp/fidl/fuchsia.firmware.crash/cpp/wire_types.h
Public Methods
::fuchsia_firmware_crash::wire::Crash Build ()
Build and return the table. The builder should not be used after this.
bool has_subsystem_name ()
void clear_subsystem_name ()
Clears the subsystem_name field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & subsystem_name ()
Name or identifier for the subsystem which crashed.
BuilderImpl & subsystem_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
Name or identifier for the subsystem which crashed.
bool has_timestamp ()
void clear_timestamp ()
Clears the timestamp field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::basic_time<((zx_clock_t)1)> & timestamp ()
Approximate timestamp when the crash occurred.
BuilderImpl & timestamp (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::basic_time<((zx_clock_t)1)>>> elem)
Approximate timestamp when the crash occurred.
bool has_reason ()
void clear_reason ()
Clears the reason field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & reason ()
The description or code indicating why the crash occurred.
BuilderImpl & reason (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
The description or code indicating why the crash occurred.
bool has_count ()
void clear_count ()
Clears the count field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & count ()
The number of times this subsystem has crashed.
Note that this is ignored if supplied by in Reporter.Report and instead
aggregated by the protocol implementer based on subsystem_name.
BuilderImpl & count (uint32_t elem)
The number of times this subsystem has crashed.
Note that this is ignored if supplied by in Reporter.Report and instead
aggregated by the protocol implementer based on subsystem_name.
bool has_firmware_version ()
void clear_firmware_version ()
Clears the firmware_version field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & firmware_version ()
Optional version of the subsystem's firmware.
BuilderImpl & firmware_version (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
Optional version of the subsystem's firmware.
bool has_crash_dump ()
void clear_crash_dump ()
Clears the crash_dump field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & crash_dump ()
Optional dump of the subsystem's failure. Not available on user builds.
BuilderImpl & crash_dump (::zx::vmo elem)
Optional dump of the subsystem's failure. Not available on user builds.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_firmware_crash::wire::Crash, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_firmware_crash::wire::Crash>> && frame)