class ComponentData

Defined at line 1958 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/natural_types.h

Data known to a component, but not exposed to the platform, to attach to feedback reports.

Public Methods

void ComponentData (Storage_ storage)
void ComponentData ()

Defined at line 1963 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/natural_types.h

void ComponentData (ComponentData && )

Defined at line 1964 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/natural_types.h

void ComponentData (const ComponentData & other)
bool IsEmpty ()
const std::optional< ::std::string> & 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.

::std::optional< ::std::string> & 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.

ComponentData & namespace_ (std::optional< ::std::string> value)

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.

const std::optional< ::std::vector< ::fuchsia_feedback::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.

::std::optional< ::std::vector< ::fuchsia_feedback::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.

ComponentData & annotations (std::optional< ::std::vector< ::fuchsia_feedback::Annotation>> value)

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.

void ComponentData (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
ComponentData & operator= (ComponentData && )

Defined at line 1965 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/natural_types.h

ComponentData & operator= (const ComponentData & other)
bool operator== (const ComponentData & other)
bool operator!= (const ComponentData & other)

Friends

class MemberVisitor
class NaturalTableCodingTraits