template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 4781 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::ProfileAdvertiseRequest Build ()

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

bool has_services ()
void clear_services ()

Clears the services 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::ServiceDefinition> & services ()

The set of definitions describing the services that will be registered.

Required.

BuilderImpl & services (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_bluetooth_bredr::wire::ServiceDefinition>>> elem)

The set of definitions describing the services that will be registered.

Required.

bool has_receiver ()
void clear_receiver ()

Clears the receiver field.

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

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::ConnectionReceiver> & receiver ()

Receives connections made to the advertised services.

Either `receiver` or `connection_receiver` is required.

BuilderImpl & receiver (::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::ConnectionReceiver> elem)

Receives connections made to the advertised services.

Either `receiver` or `connection_receiver` is required.

bool has_parameters ()
void clear_parameters ()

Clears the parameters field.

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

O(number_of_fields) complexity.

::fuchsia_bluetooth::wire::ChannelParameters & parameters ()

The default parameters used to configure L2CAP connections on the `receiver`.

Optional. See `ChannelParameters` for defaults.

BuilderImpl & parameters (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_bluetooth::wire::ChannelParameters>> elem)

The default parameters used to configure L2CAP connections on the `receiver`.

Optional. See `ChannelParameters` for defaults.

bool has_connection_receiver ()
void clear_connection_receiver ()

Clears the connection_receiver field.

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

O(number_of_fields) complexity.

::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::ConnectionReceiver2> & connection_receiver ()

Receives connections made to the advertised services.

Either `receiver` or `connection_receiver` is required.

BuilderImpl & connection_receiver (::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::ConnectionReceiver2> elem)

Receives connections made to the advertised services.

Either `receiver` or `connection_receiver` is required.

Protected Methods

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

Records