class GetSnapshotParameters

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

Parameters for the DataProvider::GetSnapshot() method.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const int64_t & collection_timeout_per_data ()

A snapshot aggregates various data from the platform (device uptime, logs, Inspect data,

etc.) that are collected in parallel. Internally, each data collection is done within a

timeout.

`collection_timeout_per_data` allows clients to control how much time is given to each data

collection. It enables clients to get a partial yet valid snapshot under a certain time.

Note that this does not control how much total time the snapshot generation may take,

which is by construction higher than `collection_timeout_per_data`, as clients can control

the total time by using a timeout on the call to GetSnapshot() on their side.

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

bool has_collection_timeout_per_data ()

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

int64_t * mutable_collection_timeout_per_data ()

A snapshot aggregates various data from the platform (device uptime, logs, Inspect data,

etc.) that are collected in parallel. Internally, each data collection is done within a

timeout.

`collection_timeout_per_data` allows clients to control how much time is given to each data

collection. It enables clients to get a partial yet valid snapshot under a certain time.

Note that this does not control how much total time the snapshot generation may take,

which is by construction higher than `collection_timeout_per_data`, as clients can control

the total time by using a timeout on the call to GetSnapshot() on their side.

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

void clear_collection_timeout_per_data ()

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

const ::zx::channel & response_channel ()

If set, the snapshot archive will be sent as a |fuchsia.io.File| over this channel instead

of being set in the |archive| field in the |Snapshot| response. This is typically useful if

the client is on the host and does not support VMOs.

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

bool has_response_channel ()

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

::zx::channel * mutable_response_channel ()

If set, the snapshot archive will be sent as a |fuchsia.io.File| over this channel instead

of being set in the |archive| field in the |Snapshot| response. This is typically useful if

the client is on the host and does not support VMOs.

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

void clear_response_channel ()

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

GetSnapshotParameters & set_collection_timeout_per_data (int64_t _value)
GetSnapshotParameters & set_response_channel (::zx::channel _value)
void GetSnapshotParameters ()
void GetSnapshotParameters (GetSnapshotParameters && other)
void ~GetSnapshotParameters ()
GetSnapshotParameters & operator= (GetSnapshotParameters && other)
::std::unique_ptr<GetSnapshotParameters> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, GetSnapshotParameters * _value, size_t _offset)
zx_status_t Clone (GetSnapshotParameters * _result)