template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1167 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.endpoint/fuchsia.hardware.usb.endpoint/cpp/fidl/fuchsia.hardware.usb.endpoint/cpp/wire_types.h

Public Methods

::fuchsia_hardware_usb_endpoint::wire::Completion Build ()

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

bool has_request ()
void clear_request ()

Clears the request field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_usb_request::wire::Request & request ()

Request completed.

BuilderImpl & request (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_usb_request::wire::Request>> elem)

Request completed.

bool has_status ()
void clear_status ()

Clears the status field.

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

O(number_of_fields) complexity.

int32_t & status ()

Completion status.

BuilderImpl & status (int32_t elem)

Completion status.

bool has_transfer_size ()
void clear_transfer_size ()

Clears the transfer_size field.

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

O(number_of_fields) complexity.

uint64_t & transfer_size ()

Bytes successfully transferred.

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

Bytes successfully transferred.

bool has_wake_lease ()
void clear_wake_lease ()

Clears the wake_lease field.

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

O(number_of_fields) complexity.

::zx::eventpair & wake_lease ()

Wake lease if this completion took the system out of suspend.

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

Wake lease if this completion took the system out of suspend.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_usb_endpoint::wire::Completion, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_usb_endpoint::wire::Completion>> && frame)

Records