template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 426 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/wire_types.h
Public Methods
::fuchsia_hardware_power_statecontrol::wire::ShutdownOptions Build ()
Build and return the table. The builder should not be used after this.
bool has_action ()
void clear_action ()
Clears the action field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_power_statecontrol::wire::ShutdownAction & action ()
Getter for action.
BuilderImpl & action (::fuchsia_hardware_power_statecontrol::wire::ShutdownAction elem)
Setter for action.
bool has_reasons ()
void clear_reasons ()
Clears the reasons field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_hardware_power_statecontrol::wire::ShutdownReason> & reasons ()
The set of shutdown reasons that are responsible for this shutdown request.
BuilderImpl & reasons (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_power_statecontrol::wire::ShutdownReason>>> elem)
The set of shutdown reasons that are responsible for this shutdown request.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_power_statecontrol::wire::ShutdownOptions, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power_statecontrol::wire::ShutdownOptions>> && frame)