template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1799 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/wire_types.h

Public Methods

::fuchsia_diagnostics::wire::StreamParameters Build ()

Build and return the table. The builder should not be used after this.

bool has_data_type ()
void clear_data_type ()

Clears the data_type field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_diagnostics::wire::DataType & data_type ()

A [fuchsia.diagnostics/DataType] that specifies the diagnostics data type

to stream to the client.

NOTE: REQUIRED

BuilderImpl & data_type (::fuchsia_diagnostics::wire::DataType elem)

A [fuchsia.diagnostics/DataType] that specifies the diagnostics data type

to stream to the client.

NOTE: REQUIRED

bool has_stream_mode ()
void clear_stream_mode ()

Clears the stream_mode field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_diagnostics::wire::StreamMode & stream_mode ()

A [fuchsia.diagnostics/StreamMode] that specifies how the

streaming server provides streamed results.

NOTE: REQUIRED

BuilderImpl & stream_mode (::fuchsia_diagnostics::wire::StreamMode elem)

A [fuchsia.diagnostics/StreamMode] that specifies how the

streaming server provides streamed results.

NOTE: REQUIRED

bool has_format ()
void clear_format ()

Clears the format field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_diagnostics::wire::Format & format ()

A [fuchsia.diagnostics/Format] that specifies how to format the returned

diagnostics data.

NOTE: REQUIRED

BuilderImpl & format (::fuchsia_diagnostics::wire::Format elem)

A [fuchsia.diagnostics/Format] that specifies how to format the returned

diagnostics data.

NOTE: REQUIRED

bool has_client_selector_configuration ()
void clear_client_selector_configuration ()

Clears the client_selector_configuration field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::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

BuilderImpl & client_selector_configuration (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_diagnostics::wire::ClientSelectorConfiguration>> elem)

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_batch_retrieval_timeout_seconds ()
void clear_batch_retrieval_timeout_seconds ()

Clears the batch_retrieval_timeout_seconds field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

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

BuilderImpl & batch_retrieval_timeout_seconds (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

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_performance_configuration ()
void clear_performance_configuration ()

Clears the performance_configuration field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_diagnostics::wire::PerformanceConfiguration & performance_configuration ()

Parameters which configure a diagnostics stream's performance properties.

NOTE: OPTIONAL

BuilderImpl & performance_configuration (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_diagnostics::wire::PerformanceConfiguration>> elem)

Parameters which configure a diagnostics stream's performance properties.

NOTE: OPTIONAL

Protected Methods

void WireTableBaseBuilder< ::fuchsia_diagnostics::wire::StreamParameters, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_diagnostics::wire::StreamParameters>> && frame)

Records