template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1689 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::Service 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 usually the name of the FIDL

service, e.g. `fuchsia.echo.EchoService`. If path is not set, the

service will be installed in a target component's namespace at

`/svc/{name}`.

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

The name of the capability. This is usually the name of the FIDL

service, e.g. `fuchsia.echo.EchoService`. If path is not set, the

service will be installed in a target component's namespace at

`/svc/{name}`.

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

Override the path in which the service is installed. Instead of

`/svc/{name}`, this value will be used. Path should begin with a

leading slash and omit a trailing slash, e.g.

`/foo/fuchsia.echo.EchoService`. This field is optional.

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

Override the path in which the service is installed. Instead of

`/svc/{name}`, this value will be used. Path should begin with a

leading slash and omit a trailing slash, e.g.

`/foo/fuchsia.echo.EchoService`. This field is optional.

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::Service, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::Service>> && frame)

Records