template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 270 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/wire_types.h

Public Methods

::fuchsia_camera2::wire::DeviceInfo Build ()

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

bool has_vendor_id ()
void clear_vendor_id ()

Clears the vendor_id field.

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

O(number_of_fields) complexity.

uint16_t & vendor_id ()

Information from physical device enumeration:

BuilderImpl & vendor_id (uint16_t elem)

Information from physical device enumeration:

bool has_vendor_name ()
void clear_vendor_name ()

Clears the vendor_name field.

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

O(number_of_fields) complexity.

::fidl::StringView & vendor_name ()

Getter for vendor_name.

BuilderImpl & vendor_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

Setter for vendor_name.

bool has_product_id ()
void clear_product_id ()

Clears the product_id field.

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

O(number_of_fields) complexity.

uint16_t & product_id ()

Getter for product_id.

BuilderImpl & product_id (uint16_t elem)

Setter for product_id.

bool has_product_name ()
void clear_product_name ()

Clears the product_name field.

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

O(number_of_fields) complexity.

::fidl::StringView & product_name ()

Getter for product_name.

BuilderImpl & product_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

Setter for product_name.

bool has_type ()
void clear_type ()

Clears the type field.

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

O(number_of_fields) complexity.

::fuchsia_camera2::wire::DeviceType & type ()

Information about the type of device:

BuilderImpl & type (::fuchsia_camera2::wire::DeviceType elem)

Information about the type of device:

Protected Methods

void WireTableBaseBuilder< ::fuchsia_camera2::wire::DeviceInfo, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_camera2::wire::DeviceInfo>> && frame)

Records