class Service

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

A service capability

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_component_test::wire::Service> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_component_test::wire::Service> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::Service>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::Service>> && frame_ptr)
void Service ()

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

void Service (const Service & other)

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

void Service (Service && other)

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

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

bool has_name ()
::fidl::StringView & as ()

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

component. This field is optional.

bool has_as ()
::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.

bool has_path ()
::fuchsia_component_decl::wire::Availability & availability ()

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

component.

bool has_availability ()
::fidl::StringView & from_dictionary ()

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

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

bool has_from_dictionary ()
Service & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
Service & set_name (std::nullptr_t )
Service & clear_name ()
Service & operator= (const Service & other)

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

Service & set_as (::fidl::ObjectView< ::fidl::StringView> elem)
Service & set_as (std::nullptr_t )
Service & clear_as ()
Service & set_path (::fidl::ObjectView< ::fidl::StringView> elem)
Service & set_path (std::nullptr_t )
Service & clear_path ()
Service & set_availability (::fuchsia_component_decl::wire::Availability elem)
Service & clear_availability ()
Service & set_from_dictionary (::fidl::ObjectView< ::fidl::StringView> elem)
Service & set_from_dictionary (std::nullptr_t )
Service & clear_from_dictionary ()
void Service (::fidl::AnyArena & allocator)
void Service (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_test::wire::Service>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

Service & operator= (Service && other)

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

void ~Service ()

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder