template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_component_test::wire::Directory Build ()

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

bool has_name ()
void clear_name ()

Clears the name field.

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

O(number_of_fields) complexity.

::fidl::StringView & name ()

The name of the capability. This is not the path of the directory.

Instead it is a name used for routing.

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

The name of the capability. This is not the path of the directory.

Instead it is a name used for routing.

bool has_as ()
void clear_as ()

Clears the as field.

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

O(number_of_fields) complexity.

::fidl::StringView & as ()

A rename of the capability, which can be set when routing to another

component. This field is optional.

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

A rename of the capability, which can be set when routing to another

component. This field is optional.

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::DependencyType & type ()

For information on this type, see

https://fuchsia.dev/go/components/declaration#DependencyType.

This field is optional and defaults to `STRONG`.

BuilderImpl & type (::fuchsia_component_decl::wire::DependencyType elem)

For information on this type, see

https://fuchsia.dev/go/components/declaration#DependencyType.

This field is optional and defaults to `STRONG`.

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 ()

The subdirectory of this directory to offer instead of the root. For

example, if you set `bar/baz` as the subdir of `foo`, then `bar/baz`

will be the root of the target's `foo`. This field is optional.

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

The subdirectory of this directory to offer instead of the root. For

example, if you set `bar/baz` as the subdir of `foo`, then `bar/baz`

will be the root of the target's `foo`. This field is optional.

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 ()

The maximum rights that can be set by a component using this directory.

This field is required if it is being routed to a local component,

otherwise, it is optional.

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

The maximum rights that can be set by a component using this directory.

This field is required if it is being routed to a local component,

otherwise, it is optional.

bool has_path ()
void clear_path ()

Clears the path field.

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

O(number_of_fields) complexity.

::fidl::StringView & path ()

The path in which to install the directory. The path should have a

leading slash but no trailing slash, e.g. `/config/data`. This field

is required.

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

The path in which to install the directory. The path should have a

leading slash but no trailing slash, e.g. `/config/data`. This field

is required.

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. Cannot be set to `SameAsTarget` if `to` contains a local

component.

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

Optional. Cannot be set to `SameAsTarget` if `to` contains a local

component.

bool has_from_dictionary ()
void clear_from_dictionary ()

Clears the from_dictionary field.

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

O(number_of_fields) complexity.

::fidl::StringView & from_dictionary ()

Optional. If set, the path to the dictionary routed by `from` which contains

the capability. Superseded by [`Realm.AddRouteFromDictionary`].

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

Optional. If set, the path to the dictionary routed by `from` which contains

the capability. Superseded by [`Realm.AddRouteFromDictionary`].

Protected Methods

void WireTableBaseBuilder< ::fuchsia_component_test::wire::Directory, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::Directory>> && frame)

Records