class Snapshot
Defined at line 2549 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Snapshot about the device's state.
Clients typically upload the data straight to servers. So the data comes in the form of
arbitrary key-value pairs that clients can directly forward to the servers.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_feedback::wire::Snapshot> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_feedback::wire::Snapshot> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::Snapshot>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::Snapshot>> && frame_ptr)
void Snapshot ()
Defined at line 2551 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
void Snapshot (Snapshot && other)
Defined at line 2554 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
void _CloseHandles ()
::fuchsia_feedback::wire::Attachment & archive ()
A
<filename
, ZIP archive> pair.
The ZIP archive contains several files corresponding to the various data it collected from
the platform. There is typically one file for all the annotations (device uptime, build
version, etc.) and one file per attachment (logs, Inspect data, etc.).
Not set if |response_channel| was set in the request.
::fidl::VectorView< ::fuchsia_feedback::wire::Annotation> & annotations2 ()
A vector of key-value string pairs. Keys are guaranteed to be unique.
While the annotations are included in the ZIP archive itself, some clients also want them
separately to index or augment them so we provide them separately as well.
bool has_annotations2 ()
Snapshot & operator= (const Snapshot & other)
Defined at line 2553 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Snapshot & operator= (Snapshot && other)
Defined at line 2555 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Snapshot & set_archive (::fidl::ObjectView< ::fuchsia_feedback::wire::Attachment> elem)
Snapshot & set_archive (std::nullptr_t )
Snapshot & clear_archive ()
Snapshot & set_annotations2 (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_feedback::wire::Annotation>> elem)
Snapshot & set_annotations2 (std::nullptr_t )
Snapshot & clear_annotations2 ()
void Snapshot (::fidl::AnyArena & allocator)
void Snapshot (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::Snapshot>> && 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 Snapshot (const Snapshot & other)
Defined at line 2552 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
bool has_archive ()
void ~Snapshot ()
Defined at line 2557 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder