template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3033 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::Collection 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 the collection. Instances created in the
collection are scoped to this name.
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The name of the collection. Instances created in the
collection are scoped to this name.
bool has_durability ()
void clear_durability ()
Clears the durability field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::Durability & durability ()
(Required) The durability of instances in the collection.
BuilderImpl & durability (::fuchsia_component_decl::wire::Durability elem)
(Required) The durability of instances in the collection.
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 child instances in this
collection.
May be unset, in which case children in this collection 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 child instances in this
collection.
May be unset, in which case children in this collection 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_allowed_offers ()
void clear_allowed_offers ()
Clears the allowed_offers field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::AllowedOffers & allowed_offers ()
(Optional, defaults to `STATIC_ONLY`) The kinds of offers that can
target the child instances in this collection.
Only components using the `dynamic_offers` restricted feature may set
this field.
BuilderImpl & allowed_offers (::fuchsia_component_decl::wire::AllowedOffers elem)
(Optional, defaults to `STATIC_ONLY`) The kinds of offers that can
target the child instances in this collection.
Only components using the `dynamic_offers` restricted feature may set
this field.
bool has_allow_long_names ()
void clear_allow_long_names ()
Clears the allow_long_names field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & allow_long_names ()
(Optional, defaults to `false`) Whether child instances in this
collection can have names longer than the default length limit of 100.
Only components using the `allow_long_names` restricted feature may set
this field.
BuilderImpl & allow_long_names (bool elem)
(Optional, defaults to `false`) Whether child instances in this
collection can have names longer than the default length limit of 100.
Only components using the `allow_long_names` restricted feature may set
this field.
bool has_persistent_storage ()
void clear_persistent_storage ()
Clears the persistent_storage field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & persistent_storage ()
(Optional) Whether the data in isolated storage used by dynamic child
instances and their descendants will persist after the instances are
destroyed. New dynamic instances inherit the previous instances' data
stores.
This setting can be overridden by a lower-level collection that is a
descendant of a collection that enables/disables this setting.
This setting applies to all storage capabilities consumed by the
collection components and their descendants.
The default is the value inherited from an ancestral collection if set,
otherwise `false`.
BuilderImpl & persistent_storage (bool elem)
(Optional) Whether the data in isolated storage used by dynamic child
instances and their descendants will persist after the instances are
destroyed. New dynamic instances inherit the previous instances' data
stores.
This setting can be overridden by a lower-level collection that is a
descendant of a collection that enables/disables this setting.
This setting applies to all storage capabilities consumed by the
collection components and their descendants.
The default is the value inherited from an ancestral collection if set,
otherwise `false`.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_component_decl::wire::Collection, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Collection>> && frame)