template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 5573 of file fidling/gen/sdk/fidl/fuchsia.hardware.audio/fuchsia.hardware.audio/cpp/fidl/fuchsia.hardware.audio/cpp/wire_types.h

Public Methods

::fuchsia_hardware_audio::wire::CodecProperties Build ()

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

bool has_is_input ()
void clear_is_input ()

Clears the is_input field.

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

O(number_of_fields) complexity.

bool & is_input ()

Driver type is input (true) or output (false)

If not included, then the driver may be used for both input and output.

Optional.

BuilderImpl & is_input (bool elem)

Driver type is input (true) or output (false)

If not included, then the driver may be used for both input and output.

Optional.

bool has_manufacturer ()
void clear_manufacturer ()

Clears the manufacturer field.

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

O(number_of_fields) complexity.

::fidl::StringView & manufacturer ()

UI string for the manufacturer name. If not included, the manufacturer is unspecified.

If included, this string must be non-empty.

Optional.

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

UI string for the manufacturer name. If not included, the manufacturer is unspecified.

If included, this string must be non-empty.

Optional.

bool has_product ()
void clear_product ()

Clears the product field.

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

O(number_of_fields) complexity.

::fidl::StringView & product ()

UI string for the product name. If not included, the product name is unspecified.

If included, this string must be non-empty.

Optional.

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

UI string for the product name. If not included, the product name is unspecified.

If included, this string must be non-empty.

Optional.

bool has_unique_id ()
void clear_unique_id ()

Clears the unique_id field.

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

O(number_of_fields) complexity.

::fidl::Array<uint8_t, 16> & unique_id ()

Unique identifier for the codec.

If not included, there is no unique id for the Codec.

Optional.

BuilderImpl & unique_id (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::Array<uint8_t, 16>>> elem)

Unique identifier for the codec.

If not included, there is no unique id for the Codec.

Optional.

bool has_plug_detect_capabilities ()
void clear_plug_detect_capabilities ()

Clears the plug_detect_capabilities field.

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

O(number_of_fields) complexity.

::fuchsia_hardware_audio::wire::PlugDetectCapabilities & plug_detect_capabilities ()

Plug Detect Capabilities.

Required.

BuilderImpl & plug_detect_capabilities (::fuchsia_hardware_audio::wire::PlugDetectCapabilities elem)

Plug Detect Capabilities.

Required.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_audio::wire::CodecProperties, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_audio::wire::CodecProperties>> && frame)

Records