class ComponentData
Defined at line 2807 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Data known to a component, but not exposed to the platform, to attach to feedback reports.
Public Methods
void ComponentData ()
Defined at line 2809 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
void ComponentData (const ComponentData & other)
Defined at line 2810 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
void ComponentData (ComponentData && other)
Defined at line 2812 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_feedback::wire::ComponentData> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_feedback::wire::ComponentData> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::ComponentData>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & namespace_ ()
The top-level namespace associated with the data:
* Is intended to group related data together and reduce data key collisions across
namespaces.
* May be shared by multiple clients, e.g., there could be multiple clients within the same
component or across components that want to expose related data and they would all use
the same namespace.
* Will be prefixed to every data key passed within that namespace in all feedback reports,
e.g., the annotation "version" would appear as "foo.version" in all feedback reports if
the namespace is "foo".
* Must match [a-z
\
-]+, i.e. only lowercase letters and hyphens or this will result in a
ZX_ERR_INVALID_ARGS epitaph.
* Must not match a reserved namespace used internally for platform data, e.g., "build", or
this will result in a ZX_ERR_INVALID_ARGS epitaph. The list of reserved namespaces is
internal and subject to change for now.
bool has_namespace ()
::fidl::VectorView< ::fuchsia_feedback::wire::Annotation> & annotations ()
A vector of key-value string pairs, e.g., `
<
"version", "1.2.3.45">`.
Keys:
* Should be unique as only the latest value for a given key in the vector will be
considered.
* Must match [a-z
\
-
.
]+, i.e. only lowercase letters, hyphens and periods. Use periods for
sub-namespacing, e.g., "build.label" and "build.type", so that related annotations are
grouped together (here related to "build") when sorted lexicographically.
bool has_annotations ()
ComponentData & operator= (const ComponentData & other)
Defined at line 2811 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
ComponentData & operator= (ComponentData && other)
Defined at line 2813 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
ComponentData & set_namespace_ (::fidl::ObjectView< ::fidl::StringView> elem)
ComponentData & set_namespace_ (std::nullptr_t )
ComponentData & clear_namespace ()
ComponentData & set_annotations (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_feedback::wire::Annotation>> elem)
ComponentData & set_annotations (std::nullptr_t )
ComponentData & clear_annotations ()
void ComponentData (::fidl::AnyArena & allocator)
void ComponentData (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::ComponentData>> && 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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_feedback::wire::ComponentData>> && frame_ptr)
void ~ComponentData ()
Defined at line 2815 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder