template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 6106 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::ExposeDirectory 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 capability relative to the component

itself. Must be `self` or `child`, or `void`. If set to `void`, then the

target must expose, offer, or use the capability with `OPTIONAL` or

`TRANSITIONAL` availability.

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

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

itself. Must be `self` or `child`, or `void`. If set to `void`, then the

target must expose, offer, or use the capability with `OPTIONAL` or

`TRANSITIONAL` availability.

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 directory, by which it was presented to

this component.

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

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

this component.

bool has_target ()
void clear_target ()

Clears the target 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 & target ()

(Required) The destination to which the directory is exposed: either the

component's realm or the framework.

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

(Required) The destination to which the directory is exposed: either the

component's realm or the framework.

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 by which the capability is being exposed.

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

(Required) The name by which the capability is being exposed.

bool has_rights ()
void clear_rights ()

Clears the rights field.

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

O(number_of_fields) complexity.

::fuchsia_io::wire::Operations & rights ()

(Optional) The maximum rights that can be set by a component using this

directory. If unset, the rights are inherited from `source`.

BuilderImpl & rights (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_io::wire::Operations>> elem)

(Optional) The maximum rights that can be set by a component using this

directory. If unset, the rights are inherited from `source`.

bool has_subdir ()
void clear_subdir ()

Clears the subdir field.

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

O(number_of_fields) complexity.

::fidl::StringView & subdir ()

(Optional) The subdirectory of this directory to expose instead of the

root.

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

(Optional) The subdirectory of this directory to expose instead of the

root.

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.

See [`Availability`].

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

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

See [`Availability`].

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 offered by `ref` 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 a

dictionary. The name of the top-level dictionary is given by the first path

segment of `source_dictionary`, and `source` is expected to route a

dictionary capability with this name. The rest of the path (possibly empty)

represents the path to a dictionary nested in the top-level dictionary which

is expected to contain `source_name`.

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

(Optional) Path in a dictionary offered by `ref` 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 a

dictionary. The name of the top-level dictionary is given by the first path

segment of `source_dictionary`, and `source` is expected to route a

dictionary capability with this name. The rest of the path (possibly empty)

represents the path to a dictionary nested in the top-level dictionary which

is expected to contain `source_name`.

Protected Methods

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

Records