class MetricEvent
Defined at line 1474 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
A specification of an event that occurred to be passed to LogMetricEvents().
Public Methods
void MetricEvent (Storage_ storage)
void MetricEvent (uint32_t metric_id, ::std::vector<uint32_t> event_codes, ::fuchsia_metrics::MetricEventPayload payload)
void MetricEvent ()
Default constructs a |MetricEvent| only if all of its members are default constructible.
Defined at line 1485 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
void MetricEvent (MetricEvent && )
Defined at line 1488 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
void MetricEvent (const MetricEvent & other)
MetricEvent & operator= (MetricEvent && )
Defined at line 1489 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
MetricEvent & operator= (const MetricEvent & other)
bool operator== (const MetricEvent & other)
bool operator!= (const MetricEvent & other)
uint32_t metric_id ()
ID of the metric being logged.
uint32_t & metric_id ()
ID of the metric being logged.
MetricEvent & metric_id (uint32_t value)
ID of the metric being logged.
const ::std::vector<uint32_t> & event_codes ()
`event_codes` Ordered list of parameters, one for each of the metric's
dimensions.
::std::vector<uint32_t> & event_codes ()
`event_codes` Ordered list of parameters, one for each of the metric's
dimensions.
MetricEvent & event_codes (::std::vector<uint32_t> value)
`event_codes` Ordered list of parameters, one for each of the metric's
dimensions.
const ::fuchsia_metrics::MetricEventPayload & payload ()
The metric-type-specific data for the event being logged.
::fuchsia_metrics::MetricEventPayload & payload ()
The metric-type-specific data for the event being logged.
MetricEvent & payload (::fuchsia_metrics::MetricEventPayload value)
The metric-type-specific data for the event being logged.
void MetricEvent (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits