class FormattedContent
Defined at line 2589 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
A fidl union containing a complete hierarchy of structured diagnostics
data, such that the content can be parsed into a file by itself.
Public Methods
void FormattedContent ()
void ~FormattedContent ()
void FormattedContent (FormattedContent && other)
bool IsUnknown ()
Defined at line 2604 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
FormattedContent & operator= (FormattedContent && other)
bool has_invalid_tag ()
bool is_json ()
FormattedContent WithJson (::fidl::ObjectView< ::fuchsia_mem::wire::Buffer> val)
A diagnostics schema encoded as json.
The VMO will contain up to 1mb of diagnostics data.
template <typename... Args>
FormattedContent WithJson (::fidl::AnyArena & allocator, Args &&... args)
A diagnostics schema encoded as json.
The VMO will contain up to 1mb of diagnostics data.
Defined at line 2619 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
::fuchsia_mem::wire::Buffer & json ()
A diagnostics schema encoded as json.
The VMO will contain up to 1mb of diagnostics data.
const ::fuchsia_mem::wire::Buffer & json ()
A diagnostics schema encoded as json.
The VMO will contain up to 1mb of diagnostics data.
bool is_cbor ()
FormattedContent WithCbor (::zx::vmo val)
A diagnostics schema encoded as cbor.
The VMO will contain up to 1mb of diagnostics data.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
::zx::vmo & cbor ()
A diagnostics schema encoded as cbor.
The VMO will contain up to 1mb of diagnostics data.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
const ::zx::vmo & cbor ()
A diagnostics schema encoded as cbor.
The VMO will contain up to 1mb of diagnostics data.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
bool is_fxt ()
FormattedContent WithFxt (::zx::vmo val)
A diagnostics schema encoded as FXT.
This is only valid for logs data.
The VMO will contain up to PerformanceConfiguration/max_aggregate_content_size_bytes
of diagnostics data, or 1mb if not specified.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
::zx::vmo & fxt ()
A diagnostics schema encoded as FXT.
This is only valid for logs data.
The VMO will contain up to PerformanceConfiguration/max_aggregate_content_size_bytes
of diagnostics data, or 1mb if not specified.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
const ::zx::vmo & fxt ()
A diagnostics schema encoded as FXT.
This is only valid for logs data.
The VMO will contain up to PerformanceConfiguration/max_aggregate_content_size_bytes
of diagnostics data, or 1mb if not specified.
The size will be in ZX_PROP_VMO_CONTENT_SIZE.
::fuchsia_diagnostics::wire::FormattedContent::Tag Which ()
void _CloseHandles ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kJson | 1 |
| kCbor | 3 |
| kFxt | 4 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 2598 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h