template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 474 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/wire_types.h

Public Methods

::fuchsia_virtualization::wire::GuestDescriptor Build ()

Build and return the table. The builder should not be used after this.

bool has_num_cpus ()
void clear_num_cpus ()

Clears the num_cpus field.

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

O(number_of_fields) complexity.

uint8_t & num_cpus ()

Number of guest VCPUs.

BuilderImpl & num_cpus (uint8_t elem)

Number of guest VCPUs.

bool has_guest_memory ()
void clear_guest_memory ()

Clears the guest_memory field.

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

O(number_of_fields) complexity.

uint64_t & guest_memory ()

Guest memory in bytes.

BuilderImpl & guest_memory (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)

Guest memory in bytes.

bool has_balloon ()
void clear_balloon ()

Clears the balloon field.

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

O(number_of_fields) complexity.

bool & balloon ()

Whether the guest was started with the given virtual device.

"3: wayland bool" was removed

"4: magma bool" was removed

BuilderImpl & balloon (bool elem)

Whether the guest was started with the given virtual device.

"3: wayland bool" was removed

"4: magma bool" was removed

bool has_console ()
void clear_console ()

Clears the console field.

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

O(number_of_fields) complexity.

bool & console ()

Getter for console.

BuilderImpl & console (bool elem)

Setter for console.

bool has_gpu ()
void clear_gpu ()

Clears the gpu field.

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

O(number_of_fields) complexity.

bool & gpu ()

Getter for gpu.

BuilderImpl & gpu (bool elem)

Setter for gpu.

bool has_rng ()
void clear_rng ()

Clears the rng field.

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

O(number_of_fields) complexity.

bool & rng ()

Getter for rng.

BuilderImpl & rng (bool elem)

Setter for rng.

bool has_vsock ()
void clear_vsock ()

Clears the vsock field.

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

O(number_of_fields) complexity.

bool & vsock ()

Getter for vsock.

BuilderImpl & vsock (bool elem)

Setter for vsock.

bool has_sound ()
void clear_sound ()

Clears the sound field.

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

O(number_of_fields) complexity.

bool & sound ()

Getter for sound.

BuilderImpl & sound (bool elem)

Setter for sound.

bool has_networks ()
void clear_networks ()

Clears the networks field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_virtualization::wire::NetSpec> & networks ()

The configs for each net device the guest was started with. If empty, there is no

virtual net device (and the guest will have no networking).

BuilderImpl & networks (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_virtualization::wire::NetSpec>>> elem)

The configs for each net device the guest was started with. If empty, there is no

virtual net device (and the guest will have no networking).

bool has_mem ()
void clear_mem ()

Clears the mem field.

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

O(number_of_fields) complexity.

bool & mem ()

Getter for mem.

BuilderImpl & mem (bool elem)

Setter for mem.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_virtualization::wire::GuestDescriptor, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_virtualization::wire::GuestDescriptor>> && frame)

Records