template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4299 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::Storage 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 storage
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The name of this storage
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 backing directory capability relative to
the component itself. Must be `parent`, `self`, or `child`.
BuilderImpl & source (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref>> elem)
(Required) The provider of the backing directory capability relative to
the component itself. Must be `parent`, `self`, or `child`.
bool has_backing_dir ()
void clear_backing_dir ()
Clears the backing_dir field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & backing_dir ()
(Required) The name of the directory capability from `source` that backs
the storage.
BuilderImpl & backing_dir (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Required) The name of the directory capability from `source` that backs
the storage.
bool has_subdir ()
void clear_subdir ()
Clears the subdir field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & subdir ()
(Optional) The subdirectory of the source directory that will back the
storage
BuilderImpl & subdir (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
(Optional) The subdirectory of the source directory that will back the
storage
bool has_storage_id ()
void clear_storage_id ()
Clears the storage_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_component_decl::wire::StorageId & storage_id ()
(Required) This enum determines how to key a component's isolated
storage directory. Each option corresponds to a different key'ing
strategy.
BuilderImpl & storage_id (::fuchsia_component_decl::wire::StorageId elem)
(Required) This enum determines how to key a component's isolated
storage directory. Each option corresponds to a different key'ing
strategy.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_component_decl::wire::Storage, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Storage>> && frame)