class ServiceInstance

Defined at line 5815 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

Metadata about a service instance.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

ServiceInstance & set_instance_name (::std::string _value)
ServiceInstance & set_child_name (::std::string _value)
ServiceInstance & set_child_instance_name (::std::string _value)
void ServiceInstance ()
void ServiceInstance (ServiceInstance && other)
void ~ServiceInstance ()
ServiceInstance & operator= (ServiceInstance && other)
::std::unique_ptr<ServiceInstance> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ServiceInstance * _value, size_t _offset)
zx_status_t Clone (ServiceInstance * _result)
const ::std::string & instance_name ()

The name of the service instance in this service directory.

Defined at line 5822 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

bool has_instance_name ()

Defined at line 5826 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

::std::string * mutable_instance_name ()

The name of the service instance in this service directory.

Defined at line 5831 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

void clear_instance_name ()

Defined at line 5839 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

const ::std::string & child_name ()

The name of the component that serves the service instance,

including the collection name if the component is a child.

Defined at line 5849 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

bool has_child_name ()

Defined at line 5853 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

::std::string * mutable_child_name ()

The name of the component that serves the service instance,

including the collection name if the component is a child.

Defined at line 5859 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

void clear_child_name ()

Defined at line 5867 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

const ::std::string & child_instance_name ()

The name of the service instance as exposed by the child.

Defined at line 5876 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

bool has_child_instance_name ()

Defined at line 5880 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

::std::string * mutable_child_instance_name ()

The name of the service instance as exposed by the child.

Defined at line 5885 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h

void clear_child_instance_name ()

Defined at line 5893 of file fidling/gen/sdk/fidl/fuchsia.sys2/fuchsia.sys2/hlcpp/fuchsia/sys2/cpp/fidl.h