template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4929 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/cpp/fidl/fuchsia.settings/cpp/wire_types.h
Public Methods
::fuchsia_settings::wire::LightGroup Build ()
Build and return the table. The builder should not be used after this.
bool has_name ()
void clear_name ()
Clears the name field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & name ()
Identifier for this light group, clients should pass this back into the
service to set the group's light values.
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
Identifier for this light group, clients should pass this back into the
service to set the group's light values.
bool has_enabled ()
void clear_enabled ()
Clears the enabled field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & enabled ()
True if the light group is enabled and changes will be visible to the
user. False if the light group is forced off by hardware. If the light
group is disabled, its value can still be set, but the change may not be
visible until the light group is back on.
BuilderImpl & enabled (bool elem)
True if the light group is enabled and changes will be visible to the
user. False if the light group is forced off by hardware. If the light
group is disabled, its value can still be set, but the change may not be
visible until the light group is back on.
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_settings::wire::LightType & type ()
Defines the acceptable value type for controlling this light group.
BuilderImpl & type (::fuchsia_settings::wire::LightType elem)
Defines the acceptable value type for controlling this light group.
bool has_lights ()
void clear_lights ()
Clears the lights field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_settings::wire::LightState> & lights ()
States of the lights in this group.
BuilderImpl & lights (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_settings::wire::LightState>>> elem)
States of the lights in this group.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_settings::wire::LightGroup, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_settings::wire::LightGroup>> && frame)