class Service
Defined at line 1745 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
A service capability
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
void Service ()
void Service (Service && other)
const ::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}`.
Defined at line 1755 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
bool has_name ()
Defined at line 1759 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
::std::string * mutable_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}`.
Defined at line 1767 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
void clear_name ()
Defined at line 1775 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
const ::std::string & as ()
A rename of the capability, which can be set when routing to another
component. This field is optional.
Defined at line 1785 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
bool has_as ()
Defined at line 1789 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
::std::string * mutable_as ()
A rename of the capability, which can be set when routing to another
component. This field is optional.
Defined at line 1795 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
void clear_as ()
Defined at line 1803 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
const ::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.
Defined at line 1815 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
bool has_path ()
Defined at line 1819 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
::std::string * mutable_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.
Defined at line 1827 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
void clear_path ()
Defined at line 1835 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
const ::fuchsia::component::decl::Availability & availability ()
Optional. Cannot be set to `SameAsTarget` if `to` contains a local
component.
Defined at line 1845 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
bool has_availability ()
Defined at line 1849 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
::fuchsia::component::decl::Availability * mutable_availability ()
Optional. Cannot be set to `SameAsTarget` if `to` contains a local
component.
Defined at line 1855 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
void clear_availability ()
Defined at line 1863 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/hlcpp/fuchsia/component/test/cpp/fidl.h
Service & set_name (::std::string _value)
Service & set_as (::std::string _value)
Service & set_path (::std::string _value)
Service & set_availability (::fuchsia::component::decl::Availability _value)
void ~Service ()
Service & operator= (Service && other)
::std::unique_ptr<Service> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,Service *_value,size_t_offset)
zx_status_t Clone (Service * _result)