class SampleDatum

Defined at line 2527 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h

Public Methods

void SampleDatum (Storage_ storage)
void SampleDatum ()

Defined at line 2532 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h

void SampleDatum (SampleDatum && )

Defined at line 2533 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h

void SampleDatum (const SampleDatum & other)
SampleDatum & operator= (SampleDatum && )

Defined at line 2534 of file fidling/gen/sdk/fidl/fuchsia.diagnostics/fuchsia.diagnostics/cpp/fidl/fuchsia.diagnostics/cpp/natural_types.h

SampleDatum & operator= (const SampleDatum & other)
bool operator== (const SampleDatum & other)
bool operator!= (const SampleDatum & other)
bool IsEmpty ()
const std::optional< ::fuchsia_diagnostics::SelectorArgument> & selector ()

The selector to check.

::std::optional< ::fuchsia_diagnostics::SelectorArgument> & selector ()

The selector to check.

SampleDatum & selector (std::optional< ::fuchsia_diagnostics::SelectorArgument> value)

The selector to check.

const std::optional< ::fuchsia_diagnostics::SampleStrategy> & strategy ()

The strategy by which the server decides to notify the client.

::std::optional< ::fuchsia_diagnostics::SampleStrategy> & strategy ()

The strategy by which the server decides to notify the client.

SampleDatum & strategy (std::optional< ::fuchsia_diagnostics::SampleStrategy> value)

The strategy by which the server decides to notify the client.

const std::optional<int64_t> & interval_secs ()

The interval at which this datum should be sampled.

Each `SampleDatum` has its own specified interval. It is preferred to send

as many selectors on one `Sample` connection as possible, to allow

Archivist to batch requests. However, Archivist will query at a period that

is the greatest common divisor of all intervals. So, balance the desire for

a small number of `Sample` connections with keeping the intervals compatible.

Example: two data with intervals of 3 and 4 respectively would check for work

every second. Archivist won't actually sample if neither batch is ready, but

it will check.

Example: two data with intervals of 10 and 5 respectively would only check for

work every 5 seconds.

(In practice, the calculated sample period must be valid. See

MINIMUM_SAMPLE_PERIOD_SECONDS above.)

::std::optional<int64_t> & interval_secs ()

The interval at which this datum should be sampled.

Each `SampleDatum` has its own specified interval. It is preferred to send

as many selectors on one `Sample` connection as possible, to allow

Archivist to batch requests. However, Archivist will query at a period that

is the greatest common divisor of all intervals. So, balance the desire for

a small number of `Sample` connections with keeping the intervals compatible.

Example: two data with intervals of 3 and 4 respectively would check for work

every second. Archivist won't actually sample if neither batch is ready, but

it will check.

Example: two data with intervals of 10 and 5 respectively would only check for

work every 5 seconds.

(In practice, the calculated sample period must be valid. See

MINIMUM_SAMPLE_PERIOD_SECONDS above.)

SampleDatum & interval_secs (std::optional<int64_t> value)

The interval at which this datum should be sampled.

Each `SampleDatum` has its own specified interval. It is preferred to send

as many selectors on one `Sample` connection as possible, to allow

Archivist to batch requests. However, Archivist will query at a period that

is the greatest common divisor of all intervals. So, balance the desire for

a small number of `Sample` connections with keeping the intervals compatible.

Example: two data with intervals of 3 and 4 respectively would check for work

every second. Archivist won't actually sample if neither batch is ready, but

it will check.

Example: two data with intervals of 10 and 5 respectively would only check for

work every 5 seconds.

(In practice, the calculated sample period must be valid. See

MINIMUM_SAMPLE_PERIOD_SECONDS above.)

void SampleDatum (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits