template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 9313 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/wire_types.h
Public Methods
::fuchsia_component_decl::wire::Environment Build ()
Build and return the table. The builder should not be used after this.
bool has_name ()
void clear_name ()
Clears the name field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & name ()
(Required) The name of this environment.
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The name of this environment.
bool has_extends ()
void clear_extends ()
Clears the extends field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::EnvironmentExtends & extends ()
(Required) Specifies how the initial state of this environment is
constructed.
BuilderImpl & extends (::fuchsia_component_decl::wire::EnvironmentExtends elem)
(Required) Specifies how the initial state of this environment is
constructed.
bool has_runners ()
void clear_runners ()
Clears the runners field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_component_decl::wire::RunnerRegistration> & runners ()
(Optional) List of runners available in this environment.
This list determines the total set of runners that are available for any
component in the environment to use.
BuilderImpl & runners (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::RunnerRegistration>>> elem)
(Optional) List of runners available in this environment.
This list determines the total set of runners that are available for any
component in the environment to use.
bool has_resolvers ()
void clear_resolvers ()
Clears the resolvers field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_component_decl::wire::ResolverRegistration> & resolvers ()
(Optional) List of component resolvers and the URL schemes they are
registered to resolve. These registrations determine how components are
resolved in the realm. If the component URL scheme does not match any of
these resolvers, URL resolution is delegated to the parent environment,
if this environment `extends` from `REALM`.
BuilderImpl & resolvers (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::ResolverRegistration>>> elem)
(Optional) List of component resolvers and the URL schemes they are
registered to resolve. These registrations determine how components are
resolved in the realm. If the component URL scheme does not match any of
these resolvers, URL resolution is delegated to the parent environment,
if this environment `extends` from `REALM`.
bool has_debug_capabilities ()
void clear_debug_capabilities ()
Clears the debug_capabilities field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_component_decl::wire::DebugRegistration> & debug_capabilities ()
(Optional) Expose capabilities to debug section when component manager
allows it.
These capabilities are accessible to any component in the environment
with a `use` declaration with `source == debug`. Only capabilities
intended to support development should be declared here, and they are
only allowed if explicitly included in the component manager allowlist.
BuilderImpl & debug_capabilities (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::DebugRegistration>>> elem)
(Optional) Expose capabilities to debug section when component manager
allows it.
These capabilities are accessible to any component in the environment
with a `use` declaration with `source == debug`. Only capabilities
intended to support development should be declared here, and they are
only allowed if explicitly included in the component manager allowlist.
bool has_stop_timeout_ms ()
void clear_stop_timeout_ms ()
Clears the stop_timeout_ms field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & stop_timeout_ms ()
(Optional) The duration in milliseconds that the component will have to
stop before it is killed. Required if this environment `extends` from
`NONE`.
BuilderImpl & stop_timeout_ms (uint32_t elem)
(Optional) The duration in milliseconds that the component will have to
stop before it is killed. Required if this environment `extends` from
`NONE`.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_component_decl::wire::Environment, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Environment>> && frame)