template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 455 of file fidling/gen/sdk/fidl/fuchsia.inspect/fuchsia.inspect/cpp/fidl/fuchsia.inspect/cpp/wire_types.h
Public Methods
::fuchsia_inspect::wire::InspectSinkEscrowRequest Build ()
Build and return the table. The builder should not be used after this.
bool has_vmo ()
void clear_vmo ()
Clears the vmo field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::zx::vmo & vmo ()
The VMO containing Inspect data that the server will store.
Required
BuilderImpl & vmo (::zx::vmo elem)
The VMO containing Inspect data that the server will store.
Required
bool has_token ()
void clear_token ()
Clears the token field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_inspect::wire::EscrowToken & token ()
The token identifying this VMO and also serving as a controller to
stop storing this VMO in the server.
Required
BuilderImpl & token (::fuchsia_inspect::wire::EscrowToken elem)
The token identifying this VMO and also serving as a controller to
stop storing this VMO in the server.
Required
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 ()
An optional name to identify this VMO, that can be human readable.
Optional
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
An optional name to identify this VMO, that can be human readable.
Optional
bool has_tree ()
void clear_tree ()
Clears the tree field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & tree ()
An optional reference to the Tree that was previously provided to
the server using `Publish`. The server will drop the handle
associated with that tree connection, triggering a peer closed on
the tree server. This enables the client to ensure the following:
- Tree data and escrowed data won't be present twice in snapshots.
- The caller can know when to stop serving the tree, preventing data
missing from snapshots.
If `name` isn't provided, the `name` of this Inspect will be the one
associated with this tree.
If the server isn't tracking any handle associated with the source
component with this koid, this will be ignored and treated as if
nothing had been provided.
Optional
BuilderImpl & tree (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
An optional reference to the Tree that was previously provided to
the server using `Publish`. The server will drop the handle
associated with that tree connection, triggering a peer closed on
the tree server. This enables the client to ensure the following:
- Tree data and escrowed data won't be present twice in snapshots.
- The caller can know when to stop serving the tree, preventing data
missing from snapshots.
If `name` isn't provided, the `name` of this Inspect will be the one
associated with this tree.
If the server isn't tracking any handle associated with the source
component with this koid, this will be ignored and treated as if
nothing had been provided.
Optional
Protected Methods
void WireTableBaseBuilder< ::fuchsia_inspect::wire::InspectSinkEscrowRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_inspect::wire::InspectSinkEscrowRequest>> && frame)