template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 823 of file fidling/gen/sdk/fidl/fuchsia.memory.sampler/fuchsia.memory.sampler/cpp/fidl/fuchsia.memory.sampler/cpp/wire_types.h

Public Methods

::fuchsia_memory_sampler::wire::SamplerRecordAllocationRequest Build ()

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

bool has_address ()
void clear_address ()

Clears the address field.

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

O(number_of_fields) complexity.

uint64_t & address ()

Address of the allocation, to uniquely identify it.

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

Address of the allocation, to uniquely identify it.

bool has_stack_trace ()
void clear_stack_trace ()

Clears the stack_trace field.

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

O(number_of_fields) complexity.

::fuchsia_memory_sampler::wire::StackTrace & stack_trace ()

Stack frames collected at the allocation point.

A client is free to truncate their stack traces to a size below the

maximum size of a message that can be sent over the channel. If a

client sends a StackTrace that causes to exceed the maximum size of

the message, then the record will be dropped until RFC-0196 is

implemented.

BuilderImpl & stack_trace (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_memory_sampler::wire::StackTrace>> elem)

Stack frames collected at the allocation point.

A client is free to truncate their stack traces to a size below the

maximum size of a message that can be sent over the channel. If a

client sends a StackTrace that causes to exceed the maximum size of

the message, then the record will be dropped until RFC-0196 is

implemented.

bool has_size ()
void clear_size ()

Clears the size field.

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

O(number_of_fields) complexity.

uint64_t & size ()

Size (in bytes) of this allocation.

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

Size (in bytes) of this allocation.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_memory_sampler::wire::SamplerRecordAllocationRequest, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_memory_sampler::wire::SamplerRecordAllocationRequest>> && frame)

Records