template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 4391 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

Public Methods

::fuchsia_bluetooth_bredr::wire::ServiceDefinition Build ()

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

bool has_service_class_uuids ()
void clear_service_class_uuids ()

Clears the service_class_uuids field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_bluetooth::wire::Uuid> & service_class_uuids ()

UUIDs of service classes that this service record conforms to.

This field is required - all advertised services must have at least one service class.

BuilderImpl & service_class_uuids (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_bluetooth::wire::Uuid>>> elem)

UUIDs of service classes that this service record conforms to.

This field is required - all advertised services must have at least one service class.

bool has_protocol_descriptor_list ()
void clear_protocol_descriptor_list ()

Clears the protocol_descriptor_list field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::ProtocolDescriptor> & protocol_descriptor_list ()

Specification for the primary protocol that can be used to gain access to this

service, with their protocol-specific identifiers.

This is ordered from lowest level (typically L2CAP) to highest.

BuilderImpl & protocol_descriptor_list (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::ProtocolDescriptor>>> elem)

Specification for the primary protocol that can be used to gain access to this

service, with their protocol-specific identifiers.

This is ordered from lowest level (typically L2CAP) to highest.

bool has_additional_protocol_descriptor_lists ()
void clear_additional_protocol_descriptor_lists ()

Clears the additional_protocol_descriptor_lists field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::ProtocolDescriptor>> & additional_protocol_descriptor_lists ()

Additional protocol descriptor lists, if the service requires more channels

in addition to the main service.

BuilderImpl & additional_protocol_descriptor_lists (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::ProtocolDescriptor>>>> elem)

Additional protocol descriptor lists, if the service requires more channels

in addition to the main service.

bool has_profile_descriptors ()
void clear_profile_descriptors ()

Clears the profile_descriptors field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::ProfileDescriptor> & profile_descriptors ()

Bluetooth profiles that are supported by this service.

BuilderImpl & profile_descriptors (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::ProfileDescriptor>>> elem)

Bluetooth profiles that are supported by this service.

bool has_information ()
void clear_information ()

Clears the information field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::Information> & information ()

Human-readable service information, in one or more languages.

The first set of information is considered the primary language.

BuilderImpl & information (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::Information>>> elem)

Human-readable service information, in one or more languages.

The first set of information is considered the primary language.

bool has_additional_attributes ()
void clear_additional_attributes ()

Clears the additional_attributes field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::Attribute> & additional_attributes ()

Additional attributes to be included in the Service Definition for specific

services or profiles.

All of these attributes should have an Attribute ID above 0x0200.

BuilderImpl & additional_attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::Attribute>>> elem)

Additional attributes to be included in the Service Definition for specific

services or profiles.

All of these attributes should have an Attribute ID above 0x0200.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_bluetooth_bredr::wire::ServiceDefinition, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_bluetooth_bredr::wire::ServiceDefinition>> && frame)

Records