template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 16986 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::Component Build ()

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

bool has_program ()
void clear_program ()

Clears the program field.

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

O(number_of_fields) complexity.

::fuchsia_component_decl::wire::Program & program ()

(Optional) Information about the program to run when the component is executed.

Omitted for non-executable components.

BuilderImpl & program (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::Program>> elem)

(Optional) Information about the program to run when the component is executed.

Omitted for non-executable components.

bool has_uses ()
void clear_uses ()

Clears the uses field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_component_decl::wire::Use> & uses ()

(Optional) List of capabilities used by the component. These consist of

capabilities offered to the component that are installed in its incoming

namespace.

The used capabilities must be unique and non-overlapping.

BuilderImpl & uses (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Use>>> elem)

(Optional) List of capabilities used by the component. These consist of

capabilities offered to the component that are installed in its incoming

namespace.

The used capabilities must be unique and non-overlapping.

bool has_exposes ()
void clear_exposes ()

Clears the exposes field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_component_decl::wire::Expose> & exposes ()

(Optional) List of capabilities exposed by the component. These consist of

capabilities that are made visible to the parent. The parent

may `offer` these capabilities to its children, but not `use` them.

The exposed capabilities must be unique and non-overlapping.

BuilderImpl & exposes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Expose>>> elem)

(Optional) List of capabilities exposed by the component. These consist of

capabilities that are made visible to the parent. The parent

may `offer` these capabilities to its children, but not `use` them.

The exposed capabilities must be unique and non-overlapping.

bool has_offers ()
void clear_offers ()

Clears the offers field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_component_decl::wire::Offer> & offers ()

(Optional) List of capabilities offered to the component's children. These consist

of capabilities that the given children may `use`, which may come from a

child, the parent, or the component's own outgoing namespace.

The offered capabilities must be unique and non-overlapping.

BuilderImpl & offers (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Offer>>> elem)

(Optional) List of capabilities offered to the component's children. These consist

of capabilities that the given children may `use`, which may come from a

child, the parent, or the component's own outgoing namespace.

The offered capabilities must be unique and non-overlapping.

bool has_capabilities ()
void clear_capabilities ()

Clears the capabilities field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_component_decl::wire::Capability> & capabilities ()

(Optional) List of capabilities defined by the component.

BuilderImpl & capabilities (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Capability>>> elem)

(Optional) List of capabilities defined by the component.

bool has_children ()
void clear_children ()

Clears the children field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_component_decl::wire::Child> & children ()

(Optional) The component's statically instantiated children. The children must have

unique names.

BuilderImpl & children (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Child>>> elem)

(Optional) The component's statically instantiated children. The children must have

unique names.

bool has_collections ()
void clear_collections ()

Clears the collections field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_component_decl::wire::Collection> & collections ()

(Optional) The component's collections. The collections must have unique names.

BuilderImpl & collections (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Collection>>> elem)

(Optional) The component's collections. The collections must have unique names.

bool has_environments ()
void clear_environments ()

Clears the environments field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_component_decl::wire::Environment> & environments ()

(Optional) List of environments created by this component.

Environments are assigned to children and control aspects of a child component's

runtime.

BuilderImpl & environments (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Environment>>> elem)

(Optional) List of environments created by this component.

Environments are assigned to children and control aspects of a child component's

runtime.

bool has_facets ()
void clear_facets ()

Clears the facets field.

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

O(number_of_fields) complexity.

::fuchsia_data::wire::Dictionary & facets ()

(Optional) Additional metadata about the component.

BuilderImpl & facets (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_data::wire::Dictionary>> elem)

(Optional) Additional metadata about the component.

bool has_config ()
void clear_config ()

Clears the config field.

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

O(number_of_fields) complexity.

::fuchsia_component_decl::wire::ConfigSchema & config ()

(Optional) The schema of the component's configuration interface.

BuilderImpl & config (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::ConfigSchema>> elem)

(Optional) The schema of the component's configuration interface.

Protected Methods

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

Records