class Service

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

A service capability

Public Methods

void Service ()

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

void Service (Service && )

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

void Service (Storage_ storage)
void Service (const Service & other)
Service & operator= (const Service & other)
bool operator== (const Service & other)
bool operator!= (const Service & other)
bool IsEmpty ()
const std::optional< ::std::string> & 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}`.

::std::optional< ::std::string> & 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}`.

Service & name (std::optional< ::std::string> value)

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}`.

const std::optional< ::std::string> & as ()

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

component. This field is optional.

::std::optional< ::std::string> & as ()

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

component. This field is optional.

Service & as (std::optional< ::std::string> value)

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

component. This field is optional.

Service & operator= (Service && )

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

const std::optional< ::std::string> & 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.

::std::optional< ::std::string> & 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.

Service & path (std::optional< ::std::string> value)

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.

const std::optional< ::fuchsia_component_decl::Availability> & availability ()

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

component.

::std::optional< ::fuchsia_component_decl::Availability> & availability ()

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

component.

Service & availability (std::optional< ::fuchsia_component_decl::Availability> value)

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

component.

const std::optional< ::std::string> & from_dictionary ()

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

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

::std::optional< ::std::string> & from_dictionary ()

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

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

Service & from_dictionary (std::optional< ::std::string> value)

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

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

void Service (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits