class MetricEventPayload
Defined at line 646 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
The variadic part of a MetricEvent.
Public Methods
void MetricEventPayload (const MetricEventPayload & )
Defined at line 650 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
void MetricEventPayload (MetricEventPayload && )
Defined at line 652 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
bool IsUnknown ()
Defined at line 662 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
void MetricEventPayload ()
bool has_invalid_tag ()
bool is_count ()
MetricEventPayload WithCount (::fidl::ObjectView<uint64_t> val)
The number of times the event has occurred, see LogOccurrence().
uint64_t & count ()
The number of times the event has occurred, see LogOccurrence().
const uint64_t & count ()
The number of times the event has occurred, see LogOccurrence().
bool is_integer_value ()
MetricEventPayload WithIntegerValue (::fidl::ObjectView<int64_t> val)
The integer measured, see LogInteger().
int64_t & integer_value ()
The integer measured, see LogInteger().
const int64_t & integer_value ()
The integer measured, see LogInteger().
bool is_histogram ()
MetricEventPayload WithHistogram (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_metrics::wire::HistogramBucket>> val)
The collection of approximate integer measurements, see
LogIntegerHistogram().
::fidl::VectorView< ::fuchsia_metrics::wire::HistogramBucket> & histogram ()
The collection of approximate integer measurements, see
LogIntegerHistogram().
const ::fidl::VectorView< ::fuchsia_metrics::wire::HistogramBucket> & histogram ()
The collection of approximate integer measurements, see
LogIntegerHistogram().
bool is_string_value ()
MetricEventPayload WithStringValue (::fidl::ObjectView< ::fidl::StringView> val)
The string to log, see LogString().
::fidl::StringView & string_value ()
The string to log, see LogString().
const ::fidl::StringView & string_value ()
The string to log, see LogString().
::fuchsia_metrics::wire::MetricEventPayload::Tag Which ()
MetricEventPayload & operator= (const MetricEventPayload & )
Defined at line 651 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
MetricEventPayload & operator= (MetricEventPayload && )
Defined at line 653 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
template <typename... Args>
MetricEventPayload WithCount (::fidl::AnyArena & allocator, Args &&... args)
The number of times the event has occurred, see LogOccurrence().
Defined at line 675 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
template <typename... Args>
MetricEventPayload WithIntegerValue (::fidl::AnyArena & allocator, Args &&... args)
The integer measured, see LogInteger().
Defined at line 693 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
template <typename... Args>
MetricEventPayload WithHistogram (::fidl::AnyArena & allocator, Args &&... args)
The collection of approximate integer measurements, see
LogIntegerHistogram().
Defined at line 713 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
template <typename... Args>
MetricEventPayload WithStringValue (::fidl::AnyArena & allocator, Args &&... args)
The string to log, see LogString().
Defined at line 733 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kCount | 1 |
| kIntegerValue | 2 |
| kHistogram | 3 |
| kStringValue | 4 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 655 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_types.h