class GuestDescriptor

Defined at line 1582 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/natural_types.h

An informational only subset of the GuestConfig. If adding new non-handle entries to the

GuestConfig, consider also adding them here.

Public Methods

void GuestDescriptor ()

Defined at line 1587 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/natural_types.h

void GuestDescriptor (GuestDescriptor && )

Defined at line 1588 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/natural_types.h

void GuestDescriptor (Storage_ storage)
void GuestDescriptor (const GuestDescriptor & other)
GuestDescriptor & operator= (const GuestDescriptor & other)
bool operator== (const GuestDescriptor & other)
bool operator!= (const GuestDescriptor & other)
bool IsEmpty ()
const std::optional<uint8_t> & num_cpus ()

Number of guest VCPUs.

::std::optional<uint8_t> & num_cpus ()

Number of guest VCPUs.

GuestDescriptor & num_cpus (std::optional<uint8_t> value)

Number of guest VCPUs.

const std::optional<uint64_t> & guest_memory ()

Guest memory in bytes.

::std::optional<uint64_t> & guest_memory ()

Guest memory in bytes.

GuestDescriptor & guest_memory (std::optional<uint64_t> value)

Guest memory in bytes.

const std::optional<bool> & balloon ()

Whether the guest was started with the given virtual device.

"3: wayland bool" was removed

"4: magma bool" was removed

::std::optional<bool> & balloon ()

Whether the guest was started with the given virtual device.

"3: wayland bool" was removed

"4: magma bool" was removed

GuestDescriptor & balloon (std::optional<bool> value)

Whether the guest was started with the given virtual device.

"3: wayland bool" was removed

"4: magma bool" was removed

const std::optional<bool> & console ()
::std::optional<bool> & console ()
GuestDescriptor & console (std::optional<bool> value)

Setter for console.

const std::optional<bool> & gpu ()
::std::optional<bool> & gpu ()
GuestDescriptor & gpu (std::optional<bool> value)

Setter for gpu.

GuestDescriptor & operator= (GuestDescriptor && )

Defined at line 1589 of file fidling/gen/sdk/fidl/fuchsia.virtualization/fuchsia.virtualization/cpp/fidl/fuchsia.virtualization/cpp/natural_types.h

const std::optional<bool> & rng ()
::std::optional<bool> & rng ()
GuestDescriptor & rng (std::optional<bool> value)

Setter for rng.

const std::optional<bool> & vsock ()
::std::optional<bool> & vsock ()
GuestDescriptor & vsock (std::optional<bool> value)

Setter for vsock.

const std::optional<bool> & sound ()
::std::optional<bool> & sound ()
GuestDescriptor & sound (std::optional<bool> value)

Setter for sound.

const std::optional< ::std::vector< ::fuchsia_virtualization::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).

::std::optional< ::std::vector< ::fuchsia_virtualization::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).

GuestDescriptor & networks (std::optional< ::std::vector< ::fuchsia_virtualization::NetSpec>> value)

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

const std::optional<bool> & mem ()
::std::optional<bool> & mem ()
GuestDescriptor & mem (std::optional<bool> value)

Setter for mem.

void GuestDescriptor (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits