class RouteRequest

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

Contains metadata about the requested capability, which can be used to

modify the returned capability (such as reducing directory rights), or used

to reject the route (i.e. return an error).

Public Methods

void RouteRequest ()

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

void RouteRequest (RouteRequest && )

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

void RouteRequest (Storage_ storage)
void RouteRequest (const RouteRequest & other)
RouteRequest & operator= (const RouteRequest & other)
bool operator== (const RouteRequest & other)
bool operator!= (const RouteRequest & other)
bool IsEmpty ()
const std::optional< ::std::string> & build_type_name ()

The build-time type of the capability that's being routed (e.g.

protocol, storage, or resolver). Should always be set.

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

The build-time type of the capability that's being routed (e.g.

protocol, storage, or resolver). Should always be set.

RouteRequest & build_type_name (std::optional< ::std::string> value)

The build-time type of the capability that's being routed (e.g.

protocol, storage, or resolver). Should always be set.

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

The availability of the requested capability. Should always be set.

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

The availability of the requested capability. Should always be set.

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

The availability of the requested capability. Should always be set.

const std::optional< ::fuchsia_io::Flags> & directory_rights ()

The rights the directory is being requested at. Should be set when

routing a directory or storage capability.

::std::optional< ::fuchsia_io::Flags> & directory_rights ()

The rights the directory is being requested at. Should be set when

routing a directory or storage capability.

RouteRequest & directory_rights (std::optional< ::fuchsia_io::Flags> value)

The rights the directory is being requested at. Should be set when

routing a directory or storage capability.

const std::optional< ::fuchsia_io::Flags> & directory_intermediate_rights ()

The rights associated with the previous declaration in a multi-step

route. Should be set when routing a directory or storage capability.

::std::optional< ::fuchsia_io::Flags> & directory_intermediate_rights ()

The rights associated with the previous declaration in a multi-step

route. Should be set when routing a directory or storage capability.

RouteRequest & directory_intermediate_rights (std::optional< ::fuchsia_io::Flags> value)

The rights associated with the previous declaration in a multi-step

route. Should be set when routing a directory or storage capability.

const std::optional<bool> & inherit_rights ()

Whether or not directory rights should be inherited from the capability

declaration if they are not present in an expose or offer declaration.

Must be set when routing a directory or storage capability.

::std::optional<bool> & inherit_rights ()

Whether or not directory rights should be inherited from the capability

declaration if they are not present in an expose or offer declaration.

Must be set when routing a directory or storage capability.

RouteRequest & inherit_rights (std::optional<bool> value)

Whether or not directory rights should be inherited from the capability

declaration if they are not present in an expose or offer declaration.

Must be set when routing a directory or storage capability.

RouteRequest & operator= (RouteRequest && )

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

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

The sub-path at which a directory capability should be connected. May be

set when routing a directory or storage capability.

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

The sub-path at which a directory capability should be connected. May be

set when routing a directory or storage capability.

RouteRequest & sub_directory_path (std::optional< ::std::string> value)

The sub-path at which a directory capability should be connected. May be

set when routing a directory or storage capability.

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

The path within the backing directory that a used storage capability

will be connected to.

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

The path within the backing directory that a used storage capability

will be connected to.

RouteRequest & isolated_storage_path (std::optional< ::std::string> value)

The path within the backing directory that a used storage capability

will be connected to.

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

The subdirectory inside of the storage backing directory's subdirectory

to use, if any. The difference between this and sub_directory_path is

that a) the sub_directory_path generically refers to the subdirectory of

a directory capability, and b) the sub_directory_path is appended to the

isolated_storage_path first (which is a path into a backing directory),

and component_manager will create the storage_sub_directory_path if it

doesn't exist but won't create sub_directory_path. Accordingly, the

complete path to a storage capability within the backing directory is

{isolated_storage_path}/{sub_directory_path}/{storage_sub_directory_path}.

Should be set when routing a storage capability.

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

The subdirectory inside of the storage backing directory's subdirectory

to use, if any. The difference between this and sub_directory_path is

that a) the sub_directory_path generically refers to the subdirectory of

a directory capability, and b) the sub_directory_path is appended to the

isolated_storage_path first (which is a path into a backing directory),

and component_manager will create the storage_sub_directory_path if it

doesn't exist but won't create sub_directory_path. Accordingly, the

complete path to a storage capability within the backing directory is

{isolated_storage_path}/{sub_directory_path}/{storage_sub_directory_path}.

Should be set when routing a storage capability.

RouteRequest & storage_sub_directory_path (std::optional< ::std::string> value)

The subdirectory inside of the storage backing directory's subdirectory

to use, if any. The difference between this and sub_directory_path is

that a) the sub_directory_path generically refers to the subdirectory of

a directory capability, and b) the sub_directory_path is appended to the

isolated_storage_path first (which is a path into a backing directory),

and component_manager will create the storage_sub_directory_path if it

doesn't exist but won't create sub_directory_path. Accordingly, the

complete path to a storage capability within the backing directory is

{isolated_storage_path}/{sub_directory_path}/{storage_sub_directory_path}.

Should be set when routing a storage capability.

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

The moniker of a component that provides a storage build-time

capability. Should be set when routing the backing directory of a

storage capability.

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

The moniker of a component that provides a storage build-time

capability. Should be set when routing the backing directory of a

storage capability.

RouteRequest & storage_source_moniker (std::optional< ::std::string> value)

The moniker of a component that provides a storage build-time

capability. Should be set when routing the backing directory of a

storage capability.

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

The moniker of the component that has set a scope on an event stream.

May be set when routing an event stream.

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

The moniker of the component that has set a scope on an event stream.

May be set when routing an event stream.

RouteRequest & event_stream_scope_moniker (std::optional< ::std::string> value)

The moniker of the component that has set a scope on an event stream.

May be set when routing an event stream.

const std::optional< ::std::vector< ::fuchsia_component_decl::Ref>> & event_stream_scope ()

The scope(s) from which the consumer of this event stream will be able

to observe events. Relative to the `scope_moniker`. May be set when

routing an event stream.

::std::optional< ::std::vector< ::fuchsia_component_decl::Ref>> & event_stream_scope ()

The scope(s) from which the consumer of this event stream will be able

to observe events. Relative to the `scope_moniker`. May be set when

routing an event stream.

RouteRequest & event_stream_scope (std::optional< ::std::vector< ::fuchsia_component_decl::Ref>> value)

The scope(s) from which the consumer of this event stream will be able

to observe events. Relative to the `scope_moniker`. May be set when

routing an event stream.

const std::optional<bool> & skip_policy_checks ()

Disables allowlist checking for the routed capability. This flag is

ignored when not running on host, and is necessary for performing checks

on intermediate routes in scrutiny (e.g. routing from an "offer" and not

a "use"). May be set for any build-time capability type.

::std::optional<bool> & skip_policy_checks ()

Disables allowlist checking for the routed capability. This flag is

ignored when not running on host, and is necessary for performing checks

on intermediate routes in scrutiny (e.g. routing from an "offer" and not

a "use"). May be set for any build-time capability type.

RouteRequest & skip_policy_checks (std::optional<bool> value)

Disables allowlist checking for the routed capability. This flag is

ignored when not running on host, and is necessary for performing checks

on intermediate routes in scrutiny (e.g. routing from an "offer" and not

a "use"). May be set for any build-time capability type.

void RouteRequest (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits