class Snapshot

Defined at line 2746 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.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 Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void Snapshot ()
void Snapshot (Snapshot && other)
const ::fuchsia::feedback::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.

Defined at line 2759 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

bool has_archive ()

Defined at line 2763 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

::fuchsia::feedback::Attachment * mutable_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.

Defined at line 2774 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

void clear_archive ()

Defined at line 2782 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

const ::std::vector< ::fuchsia::feedback::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.

Defined at line 2794 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

bool has_annotations2 ()

Defined at line 2798 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

::std::vector< ::fuchsia::feedback::Annotation> * mutable_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.

Defined at line 2806 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

void clear_annotations2 ()

Defined at line 2814 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

Snapshot & set_archive (::fuchsia::feedback::Attachment _value)
Snapshot & set_annotations2 (::std::vector< ::fuchsia::feedback::Annotation> _value)
void ~Snapshot ()
Snapshot & operator= (Snapshot && other)
::std::unique_ptr<Snapshot> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Snapshot * _value, size_t _offset)
zx_status_t Clone (Snapshot * _result)