class RouteRequest
Defined at line 421 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_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
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_component_runtime::wire::RouteRequest> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_component_runtime::wire::RouteRequest> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_runtime::wire::RouteRequest>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void RouteRequest ()
Defined at line 423 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_types.h
void RouteRequest (const RouteRequest & other)
Defined at line 424 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_types.h
void RouteRequest (RouteRequest && other)
Defined at line 426 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_types.h
::fidl::StringView & build_type_name ()
The build-time type of the capability that's being routed (e.g.
protocol, storage, or resolver). Should always be set.
bool has_build_type_name ()
::fuchsia_component_decl::wire::Availability & availability ()
The availability of the requested capability. Should always be set.
bool has_availability ()
::fuchsia_io::wire::Flags & directory_rights ()
The rights the directory is being requested at. Should be set when
routing a directory or storage capability.
bool has_directory_rights ()
::fuchsia_io::wire::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.
bool has_directory_intermediate_rights ()
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.
bool has_inherit_rights ()
RouteRequest & operator= (const RouteRequest & other)
Defined at line 425 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_types.h
RouteRequest & operator= (RouteRequest && other)
Defined at line 427 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_types.h
::fidl::StringView & sub_directory_path ()
The sub-path at which a directory capability should be connected. May be
set when routing a directory or storage capability.
bool has_sub_directory_path ()
::fidl::StringView & isolated_storage_path ()
The path within the backing directory that a used storage capability
will be connected to.
bool has_isolated_storage_path ()
::fidl::StringView & 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.
bool has_storage_sub_directory_path ()
::fidl::StringView & 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.
bool has_storage_source_moniker ()
::fidl::StringView & 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.
bool has_event_stream_scope_moniker ()
::fidl::VectorView< ::fuchsia_component_decl::wire::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.
bool has_event_stream_scope ()
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.
bool has_skip_policy_checks ()
void ~RouteRequest ()
Defined at line 429 of file fidling/gen/sdk/fidl/fuchsia.component.runtime/fuchsia.component.runtime/cpp/fidl/fuchsia.component.runtime/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder