template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 9715 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::Dictionary 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 dictionary.

Must be unique among built-in capabilities.

BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

(Required) The name of this dictionary.

Must be unique among built-in capabilities.

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 ()

(Optional) Source of the contents used to initialize the dictionary.

Must be `parent`, `self`, or `child`.

BuilderImpl & source (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component_decl::wire::Ref>> elem)

(Optional) Source of the contents used to initialize the dictionary.

Must be `parent`, `self`, or `child`.

bool has_source_dictionary ()
void clear_source_dictionary ()

Clears the source_dictionary field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & source_dictionary ()

(Optional) Path in a dictionary provided by `ref` which contains the contents

that will be used to initialize the dictionary.

This must be set iff `source` is set.

BuilderImpl & source_dictionary (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

(Optional) Path in a dictionary provided by `ref` which contains the contents

that will be used to initialize the dictionary.

This must be set iff `source` is set.

bool has_source_path ()
void clear_source_path ()

Clears the source_path field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & source_path ()

(Optional) Path in the component's outgoing directory to a

[fuchsia.component.sandbox/DictionaryRouter] that returns a

[fuchsia.component.sandbox/DirectoryRef] for this dictionary.

If this is set, it means the dictionary is provided by the program directly, not component

manager. `source` and `source_dictionary` must be `null` if this is set.

BuilderImpl & source_path (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

(Optional) Path in the component's outgoing directory to a

[fuchsia.component.sandbox/DictionaryRouter] that returns a

[fuchsia.component.sandbox/DirectoryRef] for this dictionary.

If this is set, it means the dictionary is provided by the program directly, not component

manager. `source` and `source_dictionary` must be `null` if this is set.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_component_decl::wire::Dictionary, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component_decl::wire::Dictionary>> && frame)

Records