template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3888 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::Child 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 assigned to the child by its parent.
Must be non-empty, unique among all siblings, and contain only the
following characters: [a-z0-9-_.].
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The name assigned to the child by its parent.
Must be non-empty, unique among all siblings, and contain only the
following characters: [a-z0-9-_.].
bool has_url ()
void clear_url ()
Clears the url field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & url ()
(Required) The child component's URL.
Must be non-empty and a well-formed URL.
BuilderImpl & url (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The child component's URL.
Must be non-empty and a well-formed URL.
bool has_startup ()
void clear_startup ()
Clears the startup field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::StartupMode & startup ()
(Required) The startup mode for the component instance.
Must be set.
BuilderImpl & startup (::fuchsia_component_decl::wire::StartupMode elem)
(Required) The startup mode for the component instance.
Must be set.
bool has_environment ()
void clear_environment ()
Clears the environment field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & environment ()
(Optional) The environment assigned to this child.
May be unset, in which case the child will inherit the parent component's
environment. If set, the name must reference an environment defined in
the `ComponentDecl` and it must contain only the following characters:
[a-z0-9-_.].
BuilderImpl & environment (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Optional) The environment assigned to this child.
May be unset, in which case the child will inherit the parent component's
environment. If set, the name must reference an environment defined in
the `ComponentDecl` and it must contain only the following characters:
[a-z0-9-_.].
bool has_on_terminate ()
void clear_on_terminate ()
Clears the on_terminate field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::OnTerminate & on_terminate ()
(Optional, defaults to `NONE`) The action to take if this component
instance terminates unexpectedly.
BuilderImpl & on_terminate (::fuchsia_component_decl::wire::OnTerminate elem)
(Optional, defaults to `NONE`) The action to take if this component
instance terminates unexpectedly.
bool has_config_overrides ()
void clear_config_overrides ()
Clears the config_overrides 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::ConfigOverride> & config_overrides ()
Configuration overrides to apply to the child's base configuration.
For a configuration field to be overridden it must be marked as mutable by parent.
Parents must pass `ConfigOverride` values which match the child's declared schema types
exactly.
BuilderImpl & config_overrides (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::ConfigOverride>>> elem)
Configuration overrides to apply to the child's base configuration.
For a configuration field to be overridden it must be marked as mutable by parent.
Parents must pass `ConfigOverride` values which match the child's declared schema types
exactly.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_component_decl::wire::Child, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Child>> && frame)