class Snapshot

Defined at line 2459 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.

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 2472 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

bool has_archive ()

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

void clear_archive ()

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

bool has_annotations2 ()

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

void clear_annotations2 ()

Defined at line 2527 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 ()
void Snapshot (Snapshot && other)
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)