template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 15318 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::UseEventStream Build ()
Build and return the table. The builder should not be used after this.
bool has_source_name ()
void clear_source_name ()
Clears the source_name field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & source_name ()
(Required) The names of the event streams.
BuilderImpl & source_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The names of the event streams.
bool has_source ()
void clear_source ()
Clears the source field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::Ref & source ()
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
BuilderImpl & source (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref>> elem)
(Required) The provider of the event. Must be `parent`, `framework`, or `child`.
bool has_scope ()
void clear_scope ()
Clears the scope 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::Ref> & scope ()
(Optional) When an event is used from framework, the scope is required
to specify the child (or array of children) which the event will be
about. When the event is used from parent, the scope can be used to
downscope the event to a certain child scope, otherwise the event will
carry the scope coming from the parent.
BuilderImpl & scope (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_decl::wire::Ref>>> elem)
(Optional) When an event is used from framework, the scope is required
to specify the child (or array of children) which the event will be
about. When the event is used from parent, the scope can be used to
downscope the event to a certain child scope, otherwise the event will
carry the scope coming from the parent.
bool has_target_path ()
void clear_target_path ()
Clears the target_path field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & target_path ()
(Required) The path where the capability should be installed in the
component's namespace. Must be an absolute path starting with /.
BuilderImpl & target_path (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The path where the capability should be installed in the
component's namespace. Must be an absolute path starting with /.
bool has_availability ()
void clear_availability ()
Clears the availability field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::Availability & availability ()
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the component is likely to malfunction if this
capability is not provided. If set to `optional`, the component can
handle the capability's absence.
BuilderImpl & availability (::fuchsia_component_decl::wire::Availability elem)
(Optional, defaults to `REQUIRED`) The availability of this capability.
If set to `required`, the component is likely to malfunction if this
capability is not provided. If set to `optional`, the component can
handle the capability's absence.
bool has_filter ()
void clear_filter ()
Clears the filter field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_data::wire::Dictionary & filter ()
(Optional) Filter for the event stream. The structure of the filter
depends on the event stream type. Only supported for the
`CapabilityRequested` event type.
BuilderImpl & filter (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_data::wire::Dictionary>> elem)
(Optional) Filter for the event stream. The structure of the filter
depends on the event stream type. Only supported for the
`CapabilityRequested` event type.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_component_decl::wire::UseEventStream, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::UseEventStream>> && frame)