template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 16033 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h

Public Methods

::fuchsia_component_decl::wire::UseConfiguration Build ()

Build and return the table. The builder should not be used after this.

bool has_source ()
void clear_source ()

Clears the source field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_component_decl::wire::Ref & source ()

(Required) The provider of the configuration relative to the component

itself. Must be `parent`, `self`, `child`.

BuilderImpl & source (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref>> elem)

(Required) The provider of the configuration relative to the component

itself. Must be `parent`, `self`, `child`.

bool has_source_name ()
void clear_source_name ()

Clears the source_name field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & source_name ()

(Required) Name identifying the configuration, by which it was presented to this

component.

BuilderImpl & source_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

(Required) Name identifying the configuration, by which it was presented to this

component.

bool has_target_name ()
void clear_target_name ()

Clears the target_name field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & target_name ()

(Required) The name that the component sees for this configuration.

This must match a key in the 'config' schema for this component. The

matching config field's type must match this configuration type.

BuilderImpl & target_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

(Required) The name that the component sees for this configuration.

This must match a key in the 'config' schema for this component. The

matching config field's type must match this configuration type.

bool has_availability ()
void clear_availability ()

Clears the availability field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_component_decl::wire::Availability & availability ()

(Optional, defaults to `REQUIRED`) The availability of this capability.

If set to `required`, the component is likely to malfunction if this

capability is not provided. If set to `optional`, the component can

handle the capability's absence.

BuilderImpl & availability (::fuchsia_component_decl::wire::Availability elem)

(Optional, defaults to `REQUIRED`) The availability of this capability.

If set to `required`, the component is likely to malfunction if this

capability is not provided. If set to `optional`, the component can

handle the capability's absence.

bool has_type ()
void clear_type ()

Clears the type field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_component_decl::wire::ConfigType & type ()

(Required) The type of this config value. If `target_name` matches a

key in the `config` schema, then this type must match that type.

BuilderImpl & type (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::ConfigType>> elem)

(Required) The type of this config value. If `target_name` matches a

key in the `config` schema, then this type must match that type.

bool has_default ()
void clear_default ()

Clears the default_ field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_component_decl::wire::ConfigValue & default_ ()

(Optional): If this is set, this is the value that will be provided via routing

if the capability is successfully routed from void.

BuilderImpl & default_ (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::ConfigValue>> elem)

(Optional): If this is set, this is the value that will be provided via routing

if the capability is successfully routed from void.

bool has_source_dictionary ()
void clear_source_dictionary ()

Clears the source_dictionary field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & source_dictionary ()

(Optional) Path in a dictionary provided by `source` which contains `source_name`.

If this field is absent, `source_name` identifies a capability directly routed

by `source`. If set, `source_name` identifies a capability nested inside this

dictionary.

BuilderImpl & source_dictionary (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

(Optional) Path in a dictionary provided by `source` which contains `source_name`.

If this field is absent, `source_name` identifies a capability directly routed

by `source`. If set, `source_name` identifies a capability nested inside this

dictionary.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_component_decl::wire::UseConfiguration, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseConfiguration>> && frame)

Records