class GetSnapshotParameters
Defined at line 2121 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Parameters for the DataProvider::GetSnapshot() method.
Public Methods
::fidl::WireTableBuilder< ::fuchsia_feedback::wire::GetSnapshotParameters> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_feedback::wire::GetSnapshotParameters> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::GetSnapshotParameters>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void GetSnapshotParameters ()
Defined at line 2123 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
void GetSnapshotParameters (const GetSnapshotParameters & other)
Defined at line 2124 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
void GetSnapshotParameters (GetSnapshotParameters && other)
Defined at line 2126 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
void _CloseHandles ()
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.
bool has_collection_timeout_per_data ()
GetSnapshotParameters & operator= (const GetSnapshotParameters & other)
Defined at line 2125 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
GetSnapshotParameters & operator= (GetSnapshotParameters && other)
Defined at line 2127 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
::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.
bool has_response_channel ()
GetSnapshotParameters & set_collection_timeout_per_data (::fidl::ObjectView<int64_t> elem)
GetSnapshotParameters & set_collection_timeout_per_data (std::nullptr_t )
GetSnapshotParameters & clear_collection_timeout_per_data ()
GetSnapshotParameters & set_response_channel (::zx::channel elem)
GetSnapshotParameters & clear_response_channel ()
void GetSnapshotParameters (::fidl::AnyArena & allocator)
void GetSnapshotParameters (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::GetSnapshotParameters>> && 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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::GetSnapshotParameters>> && frame_ptr)
void ~GetSnapshotParameters ()
Defined at line 2129 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder