template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 373 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
Public Methods
::fuchsia_buttons::wire::Button Build ()
Build and return the table. The builder should not be used after this.
bool has_types ()
void clear_types ()
Clears the types field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_input_report::wire::ConsumerControlButton> & types ()
Button Types. A single button may affect multiple things and thus have multiple
functionalities. For example, a privacy switch that mutes both the camera and mic may map to
the combination of fuchsia.input.report.ConsumerControlButton.MIC_MUTE and CAMERA_DISABLE.
BuilderImpl & types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::ConsumerControlButton>>> elem)
Button Types. A single button may affect multiple things and thus have multiple
functionalities. For example, a privacy switch that mutes both the camera and mic may map to
the combination of fuchsia.input.report.ConsumerControlButton.MIC_MUTE and CAMERA_DISABLE.
bool has_button_config ()
void clear_button_config ()
Clears the button_config field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_buttons::wire::ButtonConfig & button_config ()
Button Config.
BuilderImpl & button_config (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_buttons::wire::ButtonConfig>> elem)
Button Config.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_buttons::wire::Button, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::Button>> && frame)