class StreamParameters
Defined at line 1701 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
Parameters needed to configure a stream of diagnostics information.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_diagnostics::wire::StreamParameters> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_diagnostics::wire::StreamParameters> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::StreamParameters>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::StreamParameters>> && frame_ptr)
void StreamParameters ()
Defined at line 1703 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
void StreamParameters (const StreamParameters & other)
Defined at line 1704 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
void StreamParameters (StreamParameters && other)
Defined at line 1706 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
::fuchsia_diagnostics::wire::DataType & data_type ()
A [fuchsia.diagnostics/DataType] that specifies the diagnostics data type
to stream to the client.
NOTE: REQUIRED
bool has_data_type ()
StreamParameters & operator= (StreamParameters && other)
Defined at line 1707 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
::fuchsia_diagnostics::wire::StreamMode & stream_mode ()
A [fuchsia.diagnostics/StreamMode] that specifies how the
streaming server provides streamed results.
NOTE: REQUIRED
bool has_stream_mode ()
::fuchsia_diagnostics::wire::Format & format ()
A [fuchsia.diagnostics/Format] that specifies how to format the returned
diagnostics data.
NOTE: REQUIRED
bool has_format ()
::fuchsia_diagnostics::wire::ClientSelectorConfiguration & client_selector_configuration ()
Configuration specifying what results the client wants returned from their
connection. The client can request a specific subset of data using a vector
of provided selectors, or can specify that they want all available data.
NOTE: REQUIRED
bool has_client_selector_configuration ()
int64_t & batch_retrieval_timeout_seconds ()
Configuration specifying max number of seconds to wait for a single
component to have its diagnostics data "pumped". This value can used
for testing or if you know the component you are interested is in under
heavy load.
If not provided, then PER_COMPONENT_ASYNC_TIMEOUT_SECONDS as defined in
https://fuchsia.googlesource.com/fuchsia/+/refs/heads/master/src/diagnostics/archivist/src/constants.rs
will be used.
NOTE: OPTIONAL
bool has_batch_retrieval_timeout_seconds ()
::fuchsia_diagnostics::wire::PerformanceConfiguration & performance_configuration ()
Parameters which configure a diagnostics stream's performance properties.
NOTE: OPTIONAL
bool has_performance_configuration ()
bool has_subscribe_to_manifest ()
StreamParameters & operator= (const StreamParameters & other)
Defined at line 1705 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
bool & subscribe_to_manifest ()
Indicates if the client wants to receive a stream of tag definitions
and log records referencing those tags. This is transitional and will
be removed in a future CL once this feature is stable.
TODO(b/315520045): Remove this.
NOTE: OPTIONAL
StreamParameters & set_data_type (::fuchsia_diagnostics::wire::DataType elem)
StreamParameters & clear_data_type ()
StreamParameters & set_stream_mode (::fuchsia_diagnostics::wire::StreamMode elem)
StreamParameters & clear_stream_mode ()
StreamParameters & set_format (::fuchsia_diagnostics::wire::Format elem)
StreamParameters & clear_format ()
StreamParameters & set_client_selector_configuration (::fidl::ObjectView< ::fuchsia_diagnostics::wire::ClientSelectorConfiguration> elem)
StreamParameters & set_client_selector_configuration (std::nullptr_t )
StreamParameters & clear_client_selector_configuration ()
StreamParameters & set_batch_retrieval_timeout_seconds (::fidl::ObjectView<int64_t> elem)
StreamParameters & set_batch_retrieval_timeout_seconds (std::nullptr_t )
StreamParameters & clear_batch_retrieval_timeout_seconds ()
StreamParameters & set_performance_configuration (::fidl::ObjectView< ::fuchsia_diagnostics::wire::PerformanceConfiguration> elem)
StreamParameters & set_performance_configuration (std::nullptr_t )
StreamParameters & clear_performance_configuration ()
StreamParameters & set_subscribe_to_manifest (bool elem)
StreamParameters & clear_subscribe_to_manifest ()
void StreamParameters (::fidl::AnyArena & allocator)
void StreamParameters (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::StreamParameters>> && 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 ~StreamParameters ()
Defined at line 1709 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder