template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 285 of file fidling/gen/sdk/fidl/fuchsia.developer.console/fuchsia.developer.console/cpp/fidl/fuchsia.developer.console/cpp/wire_types.h

Public Methods

::fuchsia_developer_console::wire::LaunchOptions 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 ()

The launched process name.

Generated automatically if absent.

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

The launched process name.

Generated automatically if absent.

bool has_args ()
void clear_args ()

Clears the args field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fidl::StringView> & args ()

Additional arguments to pass to the launched process.

The server computes argv0 automatically from `program`.

Interpreted as empty vector if absent.

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

Additional arguments to pass to the launched process.

The server computes argv0 automatically from `program`.

Interpreted as empty vector if absent.

bool has_program ()
void clear_program ()

Clears the program field.

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

O(number_of_fields) complexity.

::fuchsia_developer_console::wire::Program & program ()

The program to run.

Interpreted as `Program.default_shell` if absent.

BuilderImpl & program (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_developer_console::wire::Program>> elem)

The program to run.

Interpreted as `Program.default_shell` if absent.

bool has_io_handles ()
void clear_io_handles ()

Clears the io_handles field.

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

O(number_of_fields) complexity.

::fuchsia_developer_console::wire::IoHandles & io_handles ()

The standard input/output handles given to the program.

No standard IO handles are given if absent.

BuilderImpl & io_handles (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_developer_console::wire::IoHandles>> elem)

The standard input/output handles given to the program.

No standard IO handles are given if absent.

bool has_env ()
void clear_env ()

Clears the env field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fidl::StringView> & env ()

Environment variables to set for the launched process.

Interpreted as empty vector if absent.

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

Environment variables to set for the launched process.

Interpreted as empty vector if absent.

bool has_namespace_entries ()
void clear_namespace_entries ()

Clears the namespace_entries field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_process::wire::NameInfo> & namespace_entries ()

Extra namespace entries to give to the launched process.

Entries that collide with the default entries provided by the developer

console override the defaults.

All namespace entry paths *MUST* start with a `/`,

`INVALID_NAMESPACE_PATH` is returned otherwise.

Interpreted as empty vector if absent.

BuilderImpl & namespace_entries (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_process::wire::NameInfo>>> elem)

Extra namespace entries to give to the launched process.

Entries that collide with the default entries provided by the developer

console override the defaults.

All namespace entry paths *MUST* start with a `/`,

`INVALID_NAMESPACE_PATH` is returned otherwise.

Interpreted as empty vector if absent.

bool has_stopper ()
void clear_stopper ()

Clears the stopper field.

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

O(number_of_fields) complexity.

::zx::eventpair & stopper ()

An event pair that must be kept alive for the created process to be

maintained.

Optional. If provided, the container job for the launched process is

destroyed when the peer handle for `stopper` is closed.

BuilderImpl & stopper (::zx::eventpair elem)

An event pair that must be kept alive for the created process to be

maintained.

Optional. If provided, the container job for the launched process is

destroyed when the peer handle for `stopper` is closed.

bool has_directories_fixup ()
void clear_directories_fixup ()

Clears the directories_fixup field.

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

O(number_of_fields) complexity.

bool & directories_fixup ()

Enables fixing up the launch namespace for the conventional shell

namespace.

When using the /toolbox namespace for launching programs, it may be

necessary to organize the directories given to toolbox so that they look

like a "standardized" directory layout. This is a built-in feature that

allows the server to provide this fix up which consists of walking

`/directories` in the namespace and applying the following renaming

rules:

- `/directories/root-ssl-certificates` => `/config/ssl`.

- `/directories/build-info` => `/config/build_info`.

- `/directories/[any]` => `/[any]`.

Interpreted as false if absent.

BuilderImpl & directories_fixup (bool elem)

Enables fixing up the launch namespace for the conventional shell

namespace.

When using the /toolbox namespace for launching programs, it may be

necessary to organize the directories given to toolbox so that they look

like a "standardized" directory layout. This is a built-in feature that

allows the server to provide this fix up which consists of walking

`/directories` in the namespace and applying the following renaming

rules:

- `/directories/root-ssl-certificates` => `/config/ssl`.

- `/directories/build-info` => `/config/build_info`.

- `/directories/[any]` => `/[any]`.

Interpreted as false if absent.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_developer_console::wire::LaunchOptions, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_developer_console::wire::LaunchOptions>> && frame)

Records