diff --git a/src/mavsdk_server/src/generated/action/action.pb.cc b/src/mavsdk_server/src/generated/action/action.pb.cc index a49e1376c..e4ebf51cd 100644 --- a/src/mavsdk_server/src/generated/action/action.pb.cc +++ b/src/mavsdk_server/src/generated/action/action.pb.cc @@ -27,1816 +27,1590 @@ namespace _fl = ::google::protobuf::internal::field_layout; namespace mavsdk { namespace rpc { namespace action { -template -PROTOBUF_CONSTEXPR -TransitionToMulticopterRequest::TransitionToMulticopterRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct TransitionToMulticopterRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TransitionToMulticopterRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TransitionToMulticopterRequestDefaultTypeInternal() {} - union { - TransitionToMulticopterRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TransitionToMulticopterRequestDefaultTypeInternal - _TransitionToMulticopterRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -TransitionToFixedwingRequest::TransitionToFixedwingRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct TransitionToFixedwingRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TransitionToFixedwingRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TransitionToFixedwingRequestDefaultTypeInternal() {} - union { - TransitionToFixedwingRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TransitionToFixedwingRequestDefaultTypeInternal _TransitionToFixedwingRequest_default_instance_; -template + template +PROTOBUF_CONSTEXPR TransitionToMulticopterRequest::TransitionToMulticopterRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct TransitionToMulticopterRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TransitionToMulticopterRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TransitionToMulticopterRequestDefaultTypeInternal() {} + union { + TransitionToMulticopterRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransitionToMulticopterRequestDefaultTypeInternal _TransitionToMulticopterRequest_default_instance_; + template +PROTOBUF_CONSTEXPR TransitionToFixedwingRequest::TransitionToFixedwingRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct TransitionToFixedwingRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TransitionToFixedwingRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TransitionToFixedwingRequestDefaultTypeInternal() {} + union { + TransitionToFixedwingRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransitionToFixedwingRequestDefaultTypeInternal _TransitionToFixedwingRequest_default_instance_; + template PROTOBUF_CONSTEXPR TerminateRequest::TerminateRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct TerminateRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TerminateRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TerminateRequestDefaultTypeInternal() {} - union { - TerminateRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TerminateRequestDefaultTypeInternal _TerminateRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct TerminateRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TerminateRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TerminateRequestDefaultTypeInternal() {} + union { + TerminateRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminateRequestDefaultTypeInternal _TerminateRequest_default_instance_; + template PROTOBUF_CONSTEXPR TakeoffRequest::TakeoffRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct TakeoffRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TakeoffRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TakeoffRequestDefaultTypeInternal() {} - union { - TakeoffRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TakeoffRequestDefaultTypeInternal _TakeoffRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct TakeoffRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TakeoffRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TakeoffRequestDefaultTypeInternal() {} + union { + TakeoffRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TakeoffRequestDefaultTypeInternal _TakeoffRequest_default_instance_; + template PROTOBUF_CONSTEXPR ShutdownRequest::ShutdownRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ShutdownRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ShutdownRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ShutdownRequestDefaultTypeInternal() {} - union { - ShutdownRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ShutdownRequestDefaultTypeInternal _ShutdownRequest_default_instance_; - -inline constexpr SetTakeoffAltitudeRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - altitude_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ShutdownRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ShutdownRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ShutdownRequestDefaultTypeInternal() {} + union { + ShutdownRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShutdownRequestDefaultTypeInternal _ShutdownRequest_default_instance_; + +inline constexpr SetTakeoffAltitudeRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : altitude_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR SetTakeoffAltitudeRequest::SetTakeoffAltitudeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetTakeoffAltitudeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetTakeoffAltitudeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetTakeoffAltitudeRequestDefaultTypeInternal() {} - union { - SetTakeoffAltitudeRequest _instance; - }; + PROTOBUF_CONSTEXPR SetTakeoffAltitudeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetTakeoffAltitudeRequestDefaultTypeInternal() {} + union { + SetTakeoffAltitudeRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetTakeoffAltitudeRequestDefaultTypeInternal _SetTakeoffAltitudeRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTakeoffAltitudeRequestDefaultTypeInternal _SetTakeoffAltitudeRequest_default_instance_; inline constexpr SetReturnToLaunchAltitudeRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept : - relative_altitude_m_{0}, - _cached_size_{0} -{} - -template -PROTOBUF_CONSTEXPR - SetReturnToLaunchAltitudeRequest::SetReturnToLaunchAltitudeRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + ::_pbi::ConstantInitialized) noexcept + : relative_altitude_m_{0}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeRequest::SetReturnToLaunchAltitudeRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetReturnToLaunchAltitudeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetReturnToLaunchAltitudeRequestDefaultTypeInternal() {} - union { - SetReturnToLaunchAltitudeRequest _instance; - }; + PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetReturnToLaunchAltitudeRequestDefaultTypeInternal() {} + union { + SetReturnToLaunchAltitudeRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetReturnToLaunchAltitudeRequestDefaultTypeInternal - _SetReturnToLaunchAltitudeRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetReturnToLaunchAltitudeRequestDefaultTypeInternal _SetReturnToLaunchAltitudeRequest_default_instance_; -inline constexpr SetMaximumSpeedRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - speed_{0}, - _cached_size_{0} -{} +inline constexpr SetMaximumSpeedRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : speed_{0}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SetMaximumSpeedRequest::SetMaximumSpeedRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetMaximumSpeedRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetMaximumSpeedRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetMaximumSpeedRequestDefaultTypeInternal() {} - union { - SetMaximumSpeedRequest _instance; - }; + PROTOBUF_CONSTEXPR SetMaximumSpeedRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetMaximumSpeedRequestDefaultTypeInternal() {} + union { + SetMaximumSpeedRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetMaximumSpeedRequestDefaultTypeInternal _SetMaximumSpeedRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetMaximumSpeedRequestDefaultTypeInternal _SetMaximumSpeedRequest_default_instance_; -inline constexpr SetCurrentSpeedRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - speed_m_s_{0}, - _cached_size_{0} -{} +inline constexpr SetCurrentSpeedRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : speed_m_s_{0}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SetCurrentSpeedRequest::SetCurrentSpeedRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetCurrentSpeedRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetCurrentSpeedRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetCurrentSpeedRequestDefaultTypeInternal() {} - union { - SetCurrentSpeedRequest _instance; - }; + PROTOBUF_CONSTEXPR SetCurrentSpeedRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetCurrentSpeedRequestDefaultTypeInternal() {} + union { + SetCurrentSpeedRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetCurrentSpeedRequestDefaultTypeInternal _SetCurrentSpeedRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetCurrentSpeedRequestDefaultTypeInternal _SetCurrentSpeedRequest_default_instance_; -inline constexpr SetActuatorRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - index_{0}, - value_{0}, - _cached_size_{0} -{} +inline constexpr SetActuatorRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : index_{0}, + value_{0}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SetActuatorRequest::SetActuatorRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetActuatorRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetActuatorRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetActuatorRequestDefaultTypeInternal() {} - union { - SetActuatorRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetActuatorRequestDefaultTypeInternal _SetActuatorRequest_default_instance_; -template + PROTOBUF_CONSTEXPR SetActuatorRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetActuatorRequestDefaultTypeInternal() {} + union { + SetActuatorRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetActuatorRequestDefaultTypeInternal _SetActuatorRequest_default_instance_; + template PROTOBUF_CONSTEXPR ReturnToLaunchRequest::ReturnToLaunchRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ReturnToLaunchRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ReturnToLaunchRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ReturnToLaunchRequestDefaultTypeInternal() {} - union { - ReturnToLaunchRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ReturnToLaunchRequestDefaultTypeInternal _ReturnToLaunchRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ReturnToLaunchRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReturnToLaunchRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ReturnToLaunchRequestDefaultTypeInternal() {} + union { + ReturnToLaunchRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReturnToLaunchRequestDefaultTypeInternal _ReturnToLaunchRequest_default_instance_; + template PROTOBUF_CONSTEXPR RebootRequest::RebootRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct RebootRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR RebootRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~RebootRequestDefaultTypeInternal() {} - union { - RebootRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - RebootRequestDefaultTypeInternal _RebootRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct RebootRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR RebootRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RebootRequestDefaultTypeInternal() {} + union { + RebootRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RebootRequestDefaultTypeInternal _RebootRequest_default_instance_; + template PROTOBUF_CONSTEXPR LandRequest::LandRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct LandRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR LandRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~LandRequestDefaultTypeInternal() {} - union { - LandRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - LandRequestDefaultTypeInternal _LandRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct LandRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR LandRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LandRequestDefaultTypeInternal() {} + union { + LandRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LandRequestDefaultTypeInternal _LandRequest_default_instance_; + template PROTOBUF_CONSTEXPR KillRequest::KillRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct KillRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR KillRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~KillRequestDefaultTypeInternal() {} - union { - KillRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - KillRequestDefaultTypeInternal _KillRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct KillRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR KillRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~KillRequestDefaultTypeInternal() {} + union { + KillRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KillRequestDefaultTypeInternal _KillRequest_default_instance_; + template PROTOBUF_CONSTEXPR HoldRequest::HoldRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct HoldRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR HoldRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~HoldRequestDefaultTypeInternal() {} - union { - HoldRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - HoldRequestDefaultTypeInternal _HoldRequest_default_instance_; - -inline constexpr GotoLocationRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - latitude_deg_{0}, - longitude_deg_{0}, - absolute_altitude_m_{0}, - yaw_deg_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct HoldRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR HoldRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HoldRequestDefaultTypeInternal() {} + union { + HoldRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HoldRequestDefaultTypeInternal _HoldRequest_default_instance_; + +inline constexpr GotoLocationRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : latitude_deg_{0}, + longitude_deg_{0}, + absolute_altitude_m_{0}, + yaw_deg_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR GotoLocationRequest::GotoLocationRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GotoLocationRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GotoLocationRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GotoLocationRequestDefaultTypeInternal() {} - union { - GotoLocationRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GotoLocationRequestDefaultTypeInternal _GotoLocationRequest_default_instance_; -template + PROTOBUF_CONSTEXPR GotoLocationRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GotoLocationRequestDefaultTypeInternal() {} + union { + GotoLocationRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GotoLocationRequestDefaultTypeInternal _GotoLocationRequest_default_instance_; + template PROTOBUF_CONSTEXPR GetTakeoffAltitudeRequest::GetTakeoffAltitudeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct GetTakeoffAltitudeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetTakeoffAltitudeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetTakeoffAltitudeRequestDefaultTypeInternal() {} - union { - GetTakeoffAltitudeRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetTakeoffAltitudeRequestDefaultTypeInternal _GetTakeoffAltitudeRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -GetReturnToLaunchAltitudeRequest::GetReturnToLaunchAltitudeRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct GetReturnToLaunchAltitudeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetReturnToLaunchAltitudeRequestDefaultTypeInternal() {} - union { - GetReturnToLaunchAltitudeRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetReturnToLaunchAltitudeRequestDefaultTypeInternal - _GetReturnToLaunchAltitudeRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct GetTakeoffAltitudeRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetTakeoffAltitudeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetTakeoffAltitudeRequestDefaultTypeInternal() {} + union { + GetTakeoffAltitudeRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetTakeoffAltitudeRequestDefaultTypeInternal _GetTakeoffAltitudeRequest_default_instance_; + template +PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeRequest::GetReturnToLaunchAltitudeRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct GetReturnToLaunchAltitudeRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetReturnToLaunchAltitudeRequestDefaultTypeInternal() {} + union { + GetReturnToLaunchAltitudeRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetReturnToLaunchAltitudeRequestDefaultTypeInternal _GetReturnToLaunchAltitudeRequest_default_instance_; + template PROTOBUF_CONSTEXPR GetMaximumSpeedRequest::GetMaximumSpeedRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct GetMaximumSpeedRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetMaximumSpeedRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetMaximumSpeedRequestDefaultTypeInternal() {} - union { - GetMaximumSpeedRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetMaximumSpeedRequestDefaultTypeInternal _GetMaximumSpeedRequest_default_instance_; - -inline constexpr DoOrbitRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - radius_m_{0}, - velocity_ms_{0}, - latitude_deg_{0}, - longitude_deg_{0}, - absolute_altitude_m_{0}, - yaw_behavior_{static_cast<::mavsdk::rpc::action::OrbitYawBehavior>(0)}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct GetMaximumSpeedRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetMaximumSpeedRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetMaximumSpeedRequestDefaultTypeInternal() {} + union { + GetMaximumSpeedRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMaximumSpeedRequestDefaultTypeInternal _GetMaximumSpeedRequest_default_instance_; + +inline constexpr DoOrbitRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : radius_m_{0}, + velocity_ms_{0}, + latitude_deg_{0}, + longitude_deg_{0}, + absolute_altitude_m_{0}, + yaw_behavior_{static_cast< ::mavsdk::rpc::action::OrbitYawBehavior >(0)}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR DoOrbitRequest::DoOrbitRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct DoOrbitRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR DoOrbitRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~DoOrbitRequestDefaultTypeInternal() {} - union { - DoOrbitRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - DoOrbitRequestDefaultTypeInternal _DoOrbitRequest_default_instance_; -template + PROTOBUF_CONSTEXPR DoOrbitRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DoOrbitRequestDefaultTypeInternal() {} + union { + DoOrbitRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoOrbitRequestDefaultTypeInternal _DoOrbitRequest_default_instance_; + template PROTOBUF_CONSTEXPR DisarmRequest::DisarmRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct DisarmRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR DisarmRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~DisarmRequestDefaultTypeInternal() {} - union { - DisarmRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - DisarmRequestDefaultTypeInternal _DisarmRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct DisarmRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR DisarmRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DisarmRequestDefaultTypeInternal() {} + union { + DisarmRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DisarmRequestDefaultTypeInternal _DisarmRequest_default_instance_; + template PROTOBUF_CONSTEXPR ArmRequest::ArmRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ArmRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~ArmRequestDefaultTypeInternal() {} - union { - ArmRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmRequestDefaultTypeInternal _ArmRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ArmRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ArmRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmRequestDefaultTypeInternal() {} + union { + ArmRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmRequestDefaultTypeInternal _ArmRequest_default_instance_; + template PROTOBUF_CONSTEXPR ArmForceRequest::ArmForceRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ArmForceRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmForceRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ArmForceRequestDefaultTypeInternal() {} - union { - ArmForceRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmForceRequestDefaultTypeInternal _ArmForceRequest_default_instance_; - -inline constexpr ActionResult::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - result_str_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - result_{static_cast<::mavsdk::rpc::action::ActionResult_Result>(0)}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ArmForceRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ArmForceRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmForceRequestDefaultTypeInternal() {} + union { + ArmForceRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmForceRequestDefaultTypeInternal _ArmForceRequest_default_instance_; + +inline constexpr ActionResult::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : result_str_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + result_{static_cast< ::mavsdk::rpc::action::ActionResult_Result >(0)}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR ActionResult::ActionResult(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ActionResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR ActionResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~ActionResultDefaultTypeInternal() {} - union { - ActionResult _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ActionResultDefaultTypeInternal _ActionResult_default_instance_; - -inline constexpr TransitionToMulticopterResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - _cached_size_{0}, - action_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - TransitionToMulticopterResponse::TransitionToMulticopterResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR ActionResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ActionResultDefaultTypeInternal() {} + union { + ActionResult _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ActionResultDefaultTypeInternal _ActionResult_default_instance_; + +inline constexpr TransitionToMulticopterResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TransitionToMulticopterResponse::TransitionToMulticopterResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TransitionToMulticopterResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TransitionToMulticopterResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TransitionToMulticopterResponseDefaultTypeInternal() {} - union { - TransitionToMulticopterResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TransitionToMulticopterResponseDefaultTypeInternal - _TransitionToMulticopterResponse_default_instance_; - -inline constexpr TransitionToFixedwingResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - TransitionToFixedwingResponse::TransitionToFixedwingResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR TransitionToMulticopterResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TransitionToMulticopterResponseDefaultTypeInternal() {} + union { + TransitionToMulticopterResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransitionToMulticopterResponseDefaultTypeInternal _TransitionToMulticopterResponse_default_instance_; + +inline constexpr TransitionToFixedwingResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR TransitionToFixedwingResponse::TransitionToFixedwingResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TransitionToFixedwingResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TransitionToFixedwingResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TransitionToFixedwingResponseDefaultTypeInternal() {} - union { - TransitionToFixedwingResponse _instance; - }; + PROTOBUF_CONSTEXPR TransitionToFixedwingResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TransitionToFixedwingResponseDefaultTypeInternal() {} + union { + TransitionToFixedwingResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TransitionToFixedwingResponseDefaultTypeInternal - _TransitionToFixedwingResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TransitionToFixedwingResponseDefaultTypeInternal _TransitionToFixedwingResponse_default_instance_; -inline constexpr TerminateResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr TerminateResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR TerminateResponse::TerminateResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TerminateResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TerminateResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TerminateResponseDefaultTypeInternal() {} - union { - TerminateResponse _instance; - }; + PROTOBUF_CONSTEXPR TerminateResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TerminateResponseDefaultTypeInternal() {} + union { + TerminateResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TerminateResponseDefaultTypeInternal _TerminateResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminateResponseDefaultTypeInternal _TerminateResponse_default_instance_; -inline constexpr TakeoffResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr TakeoffResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR TakeoffResponse::TakeoffResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TakeoffResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TakeoffResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TakeoffResponseDefaultTypeInternal() {} - union { - TakeoffResponse _instance; - }; + PROTOBUF_CONSTEXPR TakeoffResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TakeoffResponseDefaultTypeInternal() {} + union { + TakeoffResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TakeoffResponseDefaultTypeInternal _TakeoffResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TakeoffResponseDefaultTypeInternal _TakeoffResponse_default_instance_; -inline constexpr ShutdownResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr ShutdownResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ShutdownResponse::ShutdownResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ShutdownResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ShutdownResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ShutdownResponseDefaultTypeInternal() {} - union { - ShutdownResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ShutdownResponseDefaultTypeInternal _ShutdownResponse_default_instance_; - -inline constexpr SetTakeoffAltitudeResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - SetTakeoffAltitudeResponse::SetTakeoffAltitudeResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR ShutdownResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ShutdownResponseDefaultTypeInternal() {} + union { + ShutdownResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShutdownResponseDefaultTypeInternal _ShutdownResponse_default_instance_; + +inline constexpr SetTakeoffAltitudeResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SetTakeoffAltitudeResponse::SetTakeoffAltitudeResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetTakeoffAltitudeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetTakeoffAltitudeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetTakeoffAltitudeResponseDefaultTypeInternal() {} - union { - SetTakeoffAltitudeResponse _instance; - }; + PROTOBUF_CONSTEXPR SetTakeoffAltitudeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetTakeoffAltitudeResponseDefaultTypeInternal() {} + union { + SetTakeoffAltitudeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetTakeoffAltitudeResponseDefaultTypeInternal _SetTakeoffAltitudeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTakeoffAltitudeResponseDefaultTypeInternal _SetTakeoffAltitudeResponse_default_instance_; inline constexpr SetReturnToLaunchAltitudeResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeResponse::SetReturnToLaunchAltitudeResponse( - ::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeResponse::SetReturnToLaunchAltitudeResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetReturnToLaunchAltitudeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetReturnToLaunchAltitudeResponseDefaultTypeInternal() {} - union { - SetReturnToLaunchAltitudeResponse _instance; - }; + PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetReturnToLaunchAltitudeResponseDefaultTypeInternal() {} + union { + SetReturnToLaunchAltitudeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetReturnToLaunchAltitudeResponseDefaultTypeInternal - _SetReturnToLaunchAltitudeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetReturnToLaunchAltitudeResponseDefaultTypeInternal _SetReturnToLaunchAltitudeResponse_default_instance_; -inline constexpr SetMaximumSpeedResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr SetMaximumSpeedResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetMaximumSpeedResponse::SetMaximumSpeedResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetMaximumSpeedResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetMaximumSpeedResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetMaximumSpeedResponseDefaultTypeInternal() {} - union { - SetMaximumSpeedResponse _instance; - }; + PROTOBUF_CONSTEXPR SetMaximumSpeedResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetMaximumSpeedResponseDefaultTypeInternal() {} + union { + SetMaximumSpeedResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetMaximumSpeedResponseDefaultTypeInternal _SetMaximumSpeedResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetMaximumSpeedResponseDefaultTypeInternal _SetMaximumSpeedResponse_default_instance_; -inline constexpr SetCurrentSpeedResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr SetCurrentSpeedResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetCurrentSpeedResponse::SetCurrentSpeedResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetCurrentSpeedResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetCurrentSpeedResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetCurrentSpeedResponseDefaultTypeInternal() {} - union { - SetCurrentSpeedResponse _instance; - }; + PROTOBUF_CONSTEXPR SetCurrentSpeedResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetCurrentSpeedResponseDefaultTypeInternal() {} + union { + SetCurrentSpeedResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetCurrentSpeedResponseDefaultTypeInternal _SetCurrentSpeedResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetCurrentSpeedResponseDefaultTypeInternal _SetCurrentSpeedResponse_default_instance_; -inline constexpr SetActuatorResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr SetActuatorResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetActuatorResponse::SetActuatorResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetActuatorResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetActuatorResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetActuatorResponseDefaultTypeInternal() {} - union { - SetActuatorResponse _instance; - }; + PROTOBUF_CONSTEXPR SetActuatorResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetActuatorResponseDefaultTypeInternal() {} + union { + SetActuatorResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetActuatorResponseDefaultTypeInternal _SetActuatorResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetActuatorResponseDefaultTypeInternal _SetActuatorResponse_default_instance_; -inline constexpr ReturnToLaunchResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr ReturnToLaunchResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ReturnToLaunchResponse::ReturnToLaunchResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ReturnToLaunchResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ReturnToLaunchResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ReturnToLaunchResponseDefaultTypeInternal() {} - union { - ReturnToLaunchResponse _instance; - }; + PROTOBUF_CONSTEXPR ReturnToLaunchResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ReturnToLaunchResponseDefaultTypeInternal() {} + union { + ReturnToLaunchResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ReturnToLaunchResponseDefaultTypeInternal _ReturnToLaunchResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReturnToLaunchResponseDefaultTypeInternal _ReturnToLaunchResponse_default_instance_; -inline constexpr RebootResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr RebootResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR RebootResponse::RebootResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct RebootResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR RebootResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~RebootResponseDefaultTypeInternal() {} - union { - RebootResponse _instance; - }; + PROTOBUF_CONSTEXPR RebootResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RebootResponseDefaultTypeInternal() {} + union { + RebootResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - RebootResponseDefaultTypeInternal _RebootResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RebootResponseDefaultTypeInternal _RebootResponse_default_instance_; -inline constexpr LandResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr LandResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR LandResponse::LandResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct LandResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR LandResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~LandResponseDefaultTypeInternal() {} - union { - LandResponse _instance; - }; + PROTOBUF_CONSTEXPR LandResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LandResponseDefaultTypeInternal() {} + union { + LandResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - LandResponseDefaultTypeInternal _LandResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LandResponseDefaultTypeInternal _LandResponse_default_instance_; -inline constexpr KillResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr KillResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR KillResponse::KillResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct KillResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR KillResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~KillResponseDefaultTypeInternal() {} - union { - KillResponse _instance; - }; + PROTOBUF_CONSTEXPR KillResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~KillResponseDefaultTypeInternal() {} + union { + KillResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - KillResponseDefaultTypeInternal _KillResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 KillResponseDefaultTypeInternal _KillResponse_default_instance_; -inline constexpr HoldResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr HoldResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR HoldResponse::HoldResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct HoldResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR HoldResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~HoldResponseDefaultTypeInternal() {} - union { - HoldResponse _instance; - }; + PROTOBUF_CONSTEXPR HoldResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~HoldResponseDefaultTypeInternal() {} + union { + HoldResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - HoldResponseDefaultTypeInternal _HoldResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HoldResponseDefaultTypeInternal _HoldResponse_default_instance_; -inline constexpr GotoLocationResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr GotoLocationResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR GotoLocationResponse::GotoLocationResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GotoLocationResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GotoLocationResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GotoLocationResponseDefaultTypeInternal() {} - union { - GotoLocationResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GotoLocationResponseDefaultTypeInternal _GotoLocationResponse_default_instance_; - -inline constexpr GetTakeoffAltitudeResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr}, - altitude_{0} -{} - -template -PROTOBUF_CONSTEXPR - GetTakeoffAltitudeResponse::GetTakeoffAltitudeResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR GotoLocationResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GotoLocationResponseDefaultTypeInternal() {} + union { + GotoLocationResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GotoLocationResponseDefaultTypeInternal _GotoLocationResponse_default_instance_; + +inline constexpr GetTakeoffAltitudeResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr}, + altitude_{0} {} + +template +PROTOBUF_CONSTEXPR GetTakeoffAltitudeResponse::GetTakeoffAltitudeResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GetTakeoffAltitudeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetTakeoffAltitudeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetTakeoffAltitudeResponseDefaultTypeInternal() {} - union { - GetTakeoffAltitudeResponse _instance; - }; + PROTOBUF_CONSTEXPR GetTakeoffAltitudeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetTakeoffAltitudeResponseDefaultTypeInternal() {} + union { + GetTakeoffAltitudeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetTakeoffAltitudeResponseDefaultTypeInternal _GetTakeoffAltitudeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetTakeoffAltitudeResponseDefaultTypeInternal _GetTakeoffAltitudeResponse_default_instance_; inline constexpr GetReturnToLaunchAltitudeResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr}, - relative_altitude_m_{0} -{} - -template -PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeResponse::GetReturnToLaunchAltitudeResponse( - ::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr}, + relative_altitude_m_{0} {} + +template +PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeResponse::GetReturnToLaunchAltitudeResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GetReturnToLaunchAltitudeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetReturnToLaunchAltitudeResponseDefaultTypeInternal() {} - union { - GetReturnToLaunchAltitudeResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetReturnToLaunchAltitudeResponseDefaultTypeInternal - _GetReturnToLaunchAltitudeResponse_default_instance_; - -inline constexpr GetMaximumSpeedResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr}, - speed_{0} -{} - -template + PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetReturnToLaunchAltitudeResponseDefaultTypeInternal() {} + union { + GetReturnToLaunchAltitudeResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetReturnToLaunchAltitudeResponseDefaultTypeInternal _GetReturnToLaunchAltitudeResponse_default_instance_; + +inline constexpr GetMaximumSpeedResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr}, + speed_{0} {} + +template PROTOBUF_CONSTEXPR GetMaximumSpeedResponse::GetMaximumSpeedResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GetMaximumSpeedResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetMaximumSpeedResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetMaximumSpeedResponseDefaultTypeInternal() {} - union { - GetMaximumSpeedResponse _instance; - }; + PROTOBUF_CONSTEXPR GetMaximumSpeedResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetMaximumSpeedResponseDefaultTypeInternal() {} + union { + GetMaximumSpeedResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetMaximumSpeedResponseDefaultTypeInternal _GetMaximumSpeedResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetMaximumSpeedResponseDefaultTypeInternal _GetMaximumSpeedResponse_default_instance_; -inline constexpr DoOrbitResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr DoOrbitResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR DoOrbitResponse::DoOrbitResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct DoOrbitResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR DoOrbitResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~DoOrbitResponseDefaultTypeInternal() {} - union { - DoOrbitResponse _instance; - }; + PROTOBUF_CONSTEXPR DoOrbitResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DoOrbitResponseDefaultTypeInternal() {} + union { + DoOrbitResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - DoOrbitResponseDefaultTypeInternal _DoOrbitResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoOrbitResponseDefaultTypeInternal _DoOrbitResponse_default_instance_; -inline constexpr DisarmResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr DisarmResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR DisarmResponse::DisarmResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct DisarmResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR DisarmResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~DisarmResponseDefaultTypeInternal() {} - union { - DisarmResponse _instance; - }; + PROTOBUF_CONSTEXPR DisarmResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~DisarmResponseDefaultTypeInternal() {} + union { + DisarmResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - DisarmResponseDefaultTypeInternal _DisarmResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DisarmResponseDefaultTypeInternal _DisarmResponse_default_instance_; -inline constexpr ArmResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr ArmResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ArmResponse::ArmResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ArmResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~ArmResponseDefaultTypeInternal() {} - union { - ArmResponse _instance; - }; + PROTOBUF_CONSTEXPR ArmResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmResponseDefaultTypeInternal() {} + union { + ArmResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmResponseDefaultTypeInternal _ArmResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmResponseDefaultTypeInternal _ArmResponse_default_instance_; -inline constexpr ArmForceResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_result_{nullptr} -{} +inline constexpr ArmForceResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ArmForceResponse::ArmForceResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ArmForceResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmForceResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ArmForceResponseDefaultTypeInternal() {} - union { - ArmForceResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmForceResponseDefaultTypeInternal _ArmForceResponse_default_instance_; -} // namespace action -} // namespace rpc -} // namespace mavsdk + PROTOBUF_CONSTEXPR ArmForceResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmForceResponseDefaultTypeInternal() {} + union { + ArmForceResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmForceResponseDefaultTypeInternal _ArmForceResponse_default_instance_; +} // namespace action +} // namespace rpc +} // namespace mavsdk static const ::_pb::EnumDescriptor* file_level_enum_descriptors_action_2faction_2eproto[2]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_action_2faction_2eproto = nullptr; -const ::uint32_t TableStruct_action_2faction_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.latitude_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.longitude_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.absolute_altitude_m_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.yaw_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.radius_m_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.velocity_ms_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.yaw_behavior_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.latitude_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.longitude_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.absolute_altitude_m_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorRequest, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorRequest, _impl_.value_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToFixedwingRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToFixedwingResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::TransitionToFixedwingResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::TransitionToFixedwingResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::TransitionToMulticopterRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::TransitionToMulticopterResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::TransitionToMulticopterResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::TransitionToMulticopterResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _impl_.action_result_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _impl_.altitude_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeRequest, _impl_.altitude_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _impl_.action_result_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _impl_.speed_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedRequest, _impl_.speed_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::GetReturnToLaunchAltitudeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _impl_.action_result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest, _impl_.relative_altitude_m_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedRequest, _impl_.speed_m_s_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedResponse, _impl_.action_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ActionResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ActionResult, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ActionResult, _impl_.result_str_), -}; - -static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::mavsdk::rpc::action::ArmRequest)}, - {8, 17, -1, sizeof(::mavsdk::rpc::action::ArmResponse)}, - {18, -1, -1, sizeof(::mavsdk::rpc::action::ArmForceRequest)}, - {26, 35, -1, sizeof(::mavsdk::rpc::action::ArmForceResponse)}, - {36, -1, -1, sizeof(::mavsdk::rpc::action::DisarmRequest)}, - {44, 53, -1, sizeof(::mavsdk::rpc::action::DisarmResponse)}, - {54, -1, -1, sizeof(::mavsdk::rpc::action::TakeoffRequest)}, - {62, 71, -1, sizeof(::mavsdk::rpc::action::TakeoffResponse)}, - {72, -1, -1, sizeof(::mavsdk::rpc::action::LandRequest)}, - {80, 89, -1, sizeof(::mavsdk::rpc::action::LandResponse)}, - {90, -1, -1, sizeof(::mavsdk::rpc::action::RebootRequest)}, - {98, 107, -1, sizeof(::mavsdk::rpc::action::RebootResponse)}, - {108, -1, -1, sizeof(::mavsdk::rpc::action::ShutdownRequest)}, - {116, 125, -1, sizeof(::mavsdk::rpc::action::ShutdownResponse)}, - {126, -1, -1, sizeof(::mavsdk::rpc::action::TerminateRequest)}, - {134, 143, -1, sizeof(::mavsdk::rpc::action::TerminateResponse)}, - {144, -1, -1, sizeof(::mavsdk::rpc::action::KillRequest)}, - {152, 161, -1, sizeof(::mavsdk::rpc::action::KillResponse)}, - {162, -1, -1, sizeof(::mavsdk::rpc::action::ReturnToLaunchRequest)}, - {170, 179, -1, sizeof(::mavsdk::rpc::action::ReturnToLaunchResponse)}, - {180, -1, -1, sizeof(::mavsdk::rpc::action::GotoLocationRequest)}, - {192, 201, -1, sizeof(::mavsdk::rpc::action::GotoLocationResponse)}, - {202, -1, -1, sizeof(::mavsdk::rpc::action::DoOrbitRequest)}, - {216, 225, -1, sizeof(::mavsdk::rpc::action::DoOrbitResponse)}, - {226, -1, -1, sizeof(::mavsdk::rpc::action::HoldRequest)}, - {234, 243, -1, sizeof(::mavsdk::rpc::action::HoldResponse)}, - {244, -1, -1, sizeof(::mavsdk::rpc::action::SetActuatorRequest)}, - {254, 263, -1, sizeof(::mavsdk::rpc::action::SetActuatorResponse)}, - {264, -1, -1, sizeof(::mavsdk::rpc::action::TransitionToFixedwingRequest)}, - {272, 281, -1, sizeof(::mavsdk::rpc::action::TransitionToFixedwingResponse)}, - {282, -1, -1, sizeof(::mavsdk::rpc::action::TransitionToMulticopterRequest)}, - {290, 299, -1, sizeof(::mavsdk::rpc::action::TransitionToMulticopterResponse)}, - {300, -1, -1, sizeof(::mavsdk::rpc::action::GetTakeoffAltitudeRequest)}, - {308, 318, -1, sizeof(::mavsdk::rpc::action::GetTakeoffAltitudeResponse)}, - {320, -1, -1, sizeof(::mavsdk::rpc::action::SetTakeoffAltitudeRequest)}, - {329, 338, -1, sizeof(::mavsdk::rpc::action::SetTakeoffAltitudeResponse)}, - {339, -1, -1, sizeof(::mavsdk::rpc::action::GetMaximumSpeedRequest)}, - {347, 357, -1, sizeof(::mavsdk::rpc::action::GetMaximumSpeedResponse)}, - {359, -1, -1, sizeof(::mavsdk::rpc::action::SetMaximumSpeedRequest)}, - {368, 377, -1, sizeof(::mavsdk::rpc::action::SetMaximumSpeedResponse)}, - {378, -1, -1, sizeof(::mavsdk::rpc::action::GetReturnToLaunchAltitudeRequest)}, - {386, 396, -1, sizeof(::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse)}, - {398, -1, -1, sizeof(::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest)}, - {407, 416, -1, sizeof(::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse)}, - {417, -1, -1, sizeof(::mavsdk::rpc::action::SetCurrentSpeedRequest)}, - {426, 435, -1, sizeof(::mavsdk::rpc::action::SetCurrentSpeedResponse)}, - {436, -1, -1, sizeof(::mavsdk::rpc::action::ActionResult)}, +const ::uint32_t + TableStruct_action_2faction_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ArmForceResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DisarmResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TakeoffResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::LandResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::RebootResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ShutdownResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TerminateResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::KillResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ReturnToLaunchResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.latitude_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.longitude_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.absolute_altitude_m_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationRequest, _impl_.yaw_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GotoLocationResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.radius_m_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.velocity_ms_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.yaw_behavior_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.latitude_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.longitude_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitRequest, _impl_.absolute_altitude_m_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::DoOrbitResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::HoldResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorRequest, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorRequest, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetActuatorResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToFixedwingRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToFixedwingResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToFixedwingResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToFixedwingResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToMulticopterRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToMulticopterResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToMulticopterResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::TransitionToMulticopterResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _impl_.action_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetTakeoffAltitudeResponse, _impl_.altitude_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeRequest, _impl_.altitude_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetTakeoffAltitudeResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _impl_.action_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetMaximumSpeedResponse, _impl_.speed_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedRequest, _impl_.speed_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetMaximumSpeedResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetReturnToLaunchAltitudeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _impl_.action_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest, _impl_.relative_altitude_m_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedRequest, _impl_.speed_m_s_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::SetCurrentSpeedResponse, _impl_.action_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ActionResult, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ActionResult, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action::ActionResult, _impl_.result_str_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::mavsdk::rpc::action::ArmRequest)}, + {8, 17, -1, sizeof(::mavsdk::rpc::action::ArmResponse)}, + {18, -1, -1, sizeof(::mavsdk::rpc::action::ArmForceRequest)}, + {26, 35, -1, sizeof(::mavsdk::rpc::action::ArmForceResponse)}, + {36, -1, -1, sizeof(::mavsdk::rpc::action::DisarmRequest)}, + {44, 53, -1, sizeof(::mavsdk::rpc::action::DisarmResponse)}, + {54, -1, -1, sizeof(::mavsdk::rpc::action::TakeoffRequest)}, + {62, 71, -1, sizeof(::mavsdk::rpc::action::TakeoffResponse)}, + {72, -1, -1, sizeof(::mavsdk::rpc::action::LandRequest)}, + {80, 89, -1, sizeof(::mavsdk::rpc::action::LandResponse)}, + {90, -1, -1, sizeof(::mavsdk::rpc::action::RebootRequest)}, + {98, 107, -1, sizeof(::mavsdk::rpc::action::RebootResponse)}, + {108, -1, -1, sizeof(::mavsdk::rpc::action::ShutdownRequest)}, + {116, 125, -1, sizeof(::mavsdk::rpc::action::ShutdownResponse)}, + {126, -1, -1, sizeof(::mavsdk::rpc::action::TerminateRequest)}, + {134, 143, -1, sizeof(::mavsdk::rpc::action::TerminateResponse)}, + {144, -1, -1, sizeof(::mavsdk::rpc::action::KillRequest)}, + {152, 161, -1, sizeof(::mavsdk::rpc::action::KillResponse)}, + {162, -1, -1, sizeof(::mavsdk::rpc::action::ReturnToLaunchRequest)}, + {170, 179, -1, sizeof(::mavsdk::rpc::action::ReturnToLaunchResponse)}, + {180, -1, -1, sizeof(::mavsdk::rpc::action::GotoLocationRequest)}, + {192, 201, -1, sizeof(::mavsdk::rpc::action::GotoLocationResponse)}, + {202, -1, -1, sizeof(::mavsdk::rpc::action::DoOrbitRequest)}, + {216, 225, -1, sizeof(::mavsdk::rpc::action::DoOrbitResponse)}, + {226, -1, -1, sizeof(::mavsdk::rpc::action::HoldRequest)}, + {234, 243, -1, sizeof(::mavsdk::rpc::action::HoldResponse)}, + {244, -1, -1, sizeof(::mavsdk::rpc::action::SetActuatorRequest)}, + {254, 263, -1, sizeof(::mavsdk::rpc::action::SetActuatorResponse)}, + {264, -1, -1, sizeof(::mavsdk::rpc::action::TransitionToFixedwingRequest)}, + {272, 281, -1, sizeof(::mavsdk::rpc::action::TransitionToFixedwingResponse)}, + {282, -1, -1, sizeof(::mavsdk::rpc::action::TransitionToMulticopterRequest)}, + {290, 299, -1, sizeof(::mavsdk::rpc::action::TransitionToMulticopterResponse)}, + {300, -1, -1, sizeof(::mavsdk::rpc::action::GetTakeoffAltitudeRequest)}, + {308, 318, -1, sizeof(::mavsdk::rpc::action::GetTakeoffAltitudeResponse)}, + {320, -1, -1, sizeof(::mavsdk::rpc::action::SetTakeoffAltitudeRequest)}, + {329, 338, -1, sizeof(::mavsdk::rpc::action::SetTakeoffAltitudeResponse)}, + {339, -1, -1, sizeof(::mavsdk::rpc::action::GetMaximumSpeedRequest)}, + {347, 357, -1, sizeof(::mavsdk::rpc::action::GetMaximumSpeedResponse)}, + {359, -1, -1, sizeof(::mavsdk::rpc::action::SetMaximumSpeedRequest)}, + {368, 377, -1, sizeof(::mavsdk::rpc::action::SetMaximumSpeedResponse)}, + {378, -1, -1, sizeof(::mavsdk::rpc::action::GetReturnToLaunchAltitudeRequest)}, + {386, 396, -1, sizeof(::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse)}, + {398, -1, -1, sizeof(::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest)}, + {407, 416, -1, sizeof(::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse)}, + {417, -1, -1, sizeof(::mavsdk::rpc::action::SetCurrentSpeedRequest)}, + {426, 435, -1, sizeof(::mavsdk::rpc::action::SetCurrentSpeedResponse)}, + {436, -1, -1, sizeof(::mavsdk::rpc::action::ActionResult)}, }; static const ::_pb::Message* const file_default_instances[] = { &::mavsdk::rpc::action::_ArmRequest_default_instance_._instance, @@ -2039,9 +1813,11 @@ const char descriptor_table_protodef_action_2faction_2eproto[] ABSL_ATTRIBUTE_SE "entSpeed\022).mavsdk.rpc.action.SetCurrentS" "peedRequest\032*.mavsdk.rpc.action.SetCurre" "ntSpeedResponse\"\000B\037\n\020io.mavsdk.actionB\013A" - "ctionProtob\006proto3"}; -static const ::_pbi::DescriptorTable* const descriptor_table_action_2faction_2eproto_deps[1] = { - &::descriptor_table_mavsdk_5foptions_2eproto, + "ctionProtob\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_action_2faction_2eproto_deps[1] = + { + &::descriptor_table_mavsdk_5foptions_2eproto, }; static ::absl::once_flag descriptor_table_action_2faction_2eproto_once; PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_action_2faction_2eproto = { @@ -2063,20 +1839,17 @@ PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_action_2factio namespace mavsdk { namespace rpc { namespace action { -const ::google::protobuf::EnumDescriptor* ActionResult_Result_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_action_2faction_2eproto); - return file_level_enum_descriptors_action_2faction_2eproto[0]; +const ::google::protobuf::EnumDescriptor* ActionResult_Result_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_action_2faction_2eproto); + return file_level_enum_descriptors_action_2faction_2eproto[0]; } PROTOBUF_CONSTINIT const uint32_t ActionResult_Result_internal_data_[] = { - 983040u, - 0u, -}; -bool ActionResult_Result_IsValid(int value) -{ - return 0 <= value && value <= 14; + 983040u, 0u, }; +bool ActionResult_Result_IsValid(int value) { + return 0 <= value && value <= 14; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ActionResult_Result ActionResult::RESULT_UNKNOWN; constexpr ActionResult_Result ActionResult::RESULT_SUCCESS; @@ -2097,64 +1870,54 @@ constexpr ActionResult_Result ActionResult::Result_MIN; constexpr ActionResult_Result ActionResult::Result_MAX; constexpr int ActionResult::Result_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* OrbitYawBehavior_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_action_2faction_2eproto); - return file_level_enum_descriptors_action_2faction_2eproto[1]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* OrbitYawBehavior_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_action_2faction_2eproto); + return file_level_enum_descriptors_action_2faction_2eproto[1]; } PROTOBUF_CONSTINIT const uint32_t OrbitYawBehavior_internal_data_[] = { - 327680u, - 0u, -}; -bool OrbitYawBehavior_IsValid(int value) -{ - return 0 <= value && value <= 4; + 327680u, 0u, }; +bool OrbitYawBehavior_IsValid(int value) { + return 0 <= value && value <= 4; } // =================================================================== class ArmRequest::_Internal { -public: + public: }; ArmRequest::ArmRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmRequest) -} -ArmRequest::ArmRequest(::google::protobuf::Arena* arena, const ArmRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ArmRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmRequest) -} - -inline void* ArmRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmRequest(arena); -} -constexpr auto ArmRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ArmRequest), alignof(ArmRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmRequest) +} +ArmRequest::ArmRequest( + ::google::protobuf::Arena* arena, + const ArmRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ArmRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmRequest) +} + +inline void* ArmRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmRequest(arena); +} +constexpr auto ArmRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ArmRequest), + alignof(ArmRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2162,147 +1925,138 @@ const ::google::protobuf::internal::ClassDataFull ArmRequest::_class_data_ = { ::google::protobuf::internal::ClassData{ &_ArmRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ArmRequest::ByteSizeLong, - &ArmRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ArmRequest::ByteSizeLong, + &ArmRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmRequest, _impl_._cached_size_), false, }, &ArmRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ArmRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ArmRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ArmRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ArmRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ArmRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ArmRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ArmResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_._has_bits_); }; ArmResponse::ArmResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmResponse) } inline PROTOBUF_NDEBUG_INLINE ArmResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::ArmResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ArmResponse::ArmResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::ArmResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -ArmResponse::ArmResponse(::google::protobuf::Arena* arena, const ArmResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ArmResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmResponse) + const ArmResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ArmResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmResponse) } inline PROTOBUF_NDEBUG_INLINE ArmResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ArmResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -ArmResponse::~ArmResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ArmResponse) - SharedDtor(*this); -} -inline void ArmResponse::SharedDtor(MessageLite& self) -{ - ArmResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* ArmResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmResponse(arena); -} -constexpr auto ArmResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ArmResponse), alignof(ArmResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ArmResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +ArmResponse::~ArmResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ArmResponse) + SharedDtor(*this); +} +inline void ArmResponse::SharedDtor(MessageLite& self) { + ArmResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* ArmResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmResponse(arena); +} +constexpr auto ArmResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ArmResponse), + alignof(ArmResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2310,241 +2064,213 @@ const ::google::protobuf::internal::ClassDataFull ArmResponse::_class_data_ = { ::google::protobuf::internal::ClassData{ &_ArmResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ArmResponse::ByteSizeLong, - &ArmResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ArmResponse::ByteSizeLong, + &ArmResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_._cached_size_), false, }, &ArmResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ArmResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ArmResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ArmResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ArmResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ArmResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ArmResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ArmResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ArmResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ArmResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ArmResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ArmResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ArmResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(ArmResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ArmResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ArmResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ArmResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ArmResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ArmResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ArmResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ArmResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ArmResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ArmResponse::ByteSizeLong(const MessageLite& base) -{ - const ArmResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ArmResponse::ByteSizeLong() const -{ - const ArmResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ArmResponse) - ::size_t total_size = 0; + ::size_t ArmResponse::ByteSizeLong(const MessageLite& base) { + const ArmResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ArmResponse::ByteSizeLong() const { + const ArmResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ArmResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ArmResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ArmResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void ArmResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ArmResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ArmResponse::CopyFrom(const ArmResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ArmResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ArmResponse::CopyFrom(const ArmResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ArmResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ArmResponse::InternalSwap(ArmResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void ArmResponse::InternalSwap(ArmResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata ArmResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ArmResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ArmForceRequest::_Internal { -public: + public: }; ArmForceRequest::ArmForceRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmForceRequest) -} -ArmForceRequest::ArmForceRequest(::google::protobuf::Arena* arena, const ArmForceRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ArmForceRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmForceRequest) -} - -inline void* -ArmForceRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmForceRequest(arena); -} -constexpr auto ArmForceRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ArmForceRequest), alignof(ArmForceRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmForceRequest) +} +ArmForceRequest::ArmForceRequest( + ::google::protobuf::Arena* arena, + const ArmForceRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ArmForceRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmForceRequest) +} + +inline void* ArmForceRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmForceRequest(arena); +} +constexpr auto ArmForceRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ArmForceRequest), + alignof(ArmForceRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2552,148 +2278,138 @@ const ::google::protobuf::internal::ClassDataFull ArmForceRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_ArmForceRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmForceRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmForceRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ArmForceRequest::ByteSizeLong, - &ArmForceRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ArmForceRequest::ByteSizeLong, + &ArmForceRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmForceRequest, _impl_._cached_size_), false, }, &ArmForceRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ArmForceRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ArmForceRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmForceRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ArmForceRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ArmForceRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ArmForceRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmForceRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ArmForceRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ArmForceResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_._has_bits_); }; ArmForceResponse::ArmForceResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmForceResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ArmForceResponse) } inline PROTOBUF_NDEBUG_INLINE ArmForceResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::ArmForceResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ArmForceResponse::ArmForceResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::ArmForceResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -ArmForceResponse::ArmForceResponse(::google::protobuf::Arena* arena, const ArmForceResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ArmForceResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmForceResponse) + const ArmForceResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ArmForceResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ArmForceResponse) } inline PROTOBUF_NDEBUG_INLINE ArmForceResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ArmForceResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -ArmForceResponse::~ArmForceResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ArmForceResponse) - SharedDtor(*this); -} -inline void ArmForceResponse::SharedDtor(MessageLite& self) -{ - ArmForceResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -ArmForceResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmForceResponse(arena); -} -constexpr auto ArmForceResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ArmForceResponse), alignof(ArmForceResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ArmForceResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +ArmForceResponse::~ArmForceResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ArmForceResponse) + SharedDtor(*this); +} +inline void ArmForceResponse::SharedDtor(MessageLite& self) { + ArmForceResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* ArmForceResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmForceResponse(arena); +} +constexpr auto ArmForceResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ArmForceResponse), + alignof(ArmForceResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2701,240 +2417,213 @@ const ::google::protobuf::internal::ClassDataFull ArmForceResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_ArmForceResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmForceResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmForceResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ArmForceResponse::ByteSizeLong, - &ArmForceResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ArmForceResponse::ByteSizeLong, + &ArmForceResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_._cached_size_), false, }, &ArmForceResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ArmForceResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ArmForceResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmForceResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ArmForceResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ArmForceResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ArmForceResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ArmForceResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ArmForceResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ArmForceResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ArmForceResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ArmForceResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ArmForceResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ArmForceResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ArmForceResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(ArmForceResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ArmForceResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ArmForceResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ArmForceResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ArmForceResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ArmForceResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ArmForceResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ArmForceResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ArmForceResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ArmForceResponse::ByteSizeLong(const MessageLite& base) -{ - const ArmForceResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ArmForceResponse::ByteSizeLong() const -{ - const ArmForceResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ArmForceResponse) - ::size_t total_size = 0; + ::size_t ArmForceResponse::ByteSizeLong(const MessageLite& base) { + const ArmForceResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ArmForceResponse::ByteSizeLong() const { + const ArmForceResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ArmForceResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ArmForceResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ArmForceResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void ArmForceResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ArmForceResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ArmForceResponse::CopyFrom(const ArmForceResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ArmForceResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ArmForceResponse::CopyFrom(const ArmForceResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ArmForceResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ArmForceResponse::InternalSwap(ArmForceResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void ArmForceResponse::InternalSwap(ArmForceResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata ArmForceResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ArmForceResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class DisarmRequest::_Internal { -public: + public: }; DisarmRequest::DisarmRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DisarmRequest) -} -DisarmRequest::DisarmRequest(::google::protobuf::Arena* arena, const DisarmRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - DisarmRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.DisarmRequest) -} - -inline void* DisarmRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) DisarmRequest(arena); -} -constexpr auto DisarmRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(DisarmRequest), alignof(DisarmRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DisarmRequest) +} +DisarmRequest::DisarmRequest( + ::google::protobuf::Arena* arena, + const DisarmRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + DisarmRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.DisarmRequest) +} + +inline void* DisarmRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) DisarmRequest(arena); +} +constexpr auto DisarmRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DisarmRequest), + alignof(DisarmRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2942,388 +2631,352 @@ const ::google::protobuf::internal::ClassDataFull DisarmRequest::_class_data_ = ::google::protobuf::internal::ClassData{ &_DisarmRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &DisarmRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &DisarmRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &DisarmRequest::ByteSizeLong, - &DisarmRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &DisarmRequest::ByteSizeLong, + &DisarmRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(DisarmRequest, _impl_._cached_size_), false, }, &DisarmRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DisarmRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - DisarmRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DisarmRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata DisarmRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* DisarmRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> DisarmRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DisarmRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata DisarmRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class DisarmResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_._has_bits_); }; DisarmResponse::DisarmResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DisarmResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DisarmResponse) } inline PROTOBUF_NDEBUG_INLINE DisarmResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::DisarmResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +DisarmResponse::DisarmResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::DisarmResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -DisarmResponse::DisarmResponse(::google::protobuf::Arena* arena, const DisarmResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - DisarmResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.DisarmResponse) + const DisarmResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + DisarmResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.DisarmResponse) } inline PROTOBUF_NDEBUG_INLINE DisarmResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void DisarmResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -DisarmResponse::~DisarmResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.DisarmResponse) - SharedDtor(*this); -} -inline void DisarmResponse::SharedDtor(MessageLite& self) -{ - DisarmResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* DisarmResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) DisarmResponse(arena); -} -constexpr auto DisarmResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(DisarmResponse), alignof(DisarmResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void DisarmResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; } -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DisarmResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ +DisarmResponse::~DisarmResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.DisarmResponse) + SharedDtor(*this); +} +inline void DisarmResponse::SharedDtor(MessageLite& self) { + DisarmResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* DisarmResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) DisarmResponse(arena); +} +constexpr auto DisarmResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DisarmResponse), + alignof(DisarmResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull DisarmResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ &_DisarmResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &DisarmResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &DisarmResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &DisarmResponse::ByteSizeLong, - &DisarmResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &DisarmResponse::ByteSizeLong, + &DisarmResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_._cached_size_), false, }, &DisarmResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DisarmResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - DisarmResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DisarmResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void DisarmResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.DisarmResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* DisarmResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const DisarmResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* DisarmResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const DisarmResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.DisarmResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* DisarmResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DisarmResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DisarmResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.DisarmResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(DisarmResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void DisarmResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.DisarmResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* DisarmResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const DisarmResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* DisarmResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const DisarmResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.DisarmResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.DisarmResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t DisarmResponse::ByteSizeLong(const MessageLite& base) -{ - const DisarmResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t DisarmResponse::ByteSizeLong() const -{ - const DisarmResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.DisarmResponse) - ::size_t total_size = 0; + ::size_t DisarmResponse::ByteSizeLong(const MessageLite& base) { + const DisarmResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t DisarmResponse::ByteSizeLong() const { + const DisarmResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.DisarmResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void DisarmResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.DisarmResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void DisarmResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.DisarmResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void DisarmResponse::CopyFrom(const DisarmResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.DisarmResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void DisarmResponse::CopyFrom(const DisarmResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.DisarmResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void DisarmResponse::InternalSwap(DisarmResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void DisarmResponse::InternalSwap(DisarmResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata DisarmResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata DisarmResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TakeoffRequest::_Internal { -public: + public: }; TakeoffRequest::TakeoffRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TakeoffRequest) -} -TakeoffRequest::TakeoffRequest(::google::protobuf::Arena* arena, const TakeoffRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TakeoffRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TakeoffRequest) -} - -inline void* TakeoffRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TakeoffRequest(arena); -} -constexpr auto TakeoffRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TakeoffRequest), alignof(TakeoffRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TakeoffRequest) +} +TakeoffRequest::TakeoffRequest( + ::google::protobuf::Arena* arena, + const TakeoffRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TakeoffRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TakeoffRequest) +} + +inline void* TakeoffRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TakeoffRequest(arena); +} +constexpr auto TakeoffRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TakeoffRequest), + alignof(TakeoffRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3331,148 +2984,138 @@ const ::google::protobuf::internal::ClassDataFull TakeoffRequest::_class_data_ = ::google::protobuf::internal::ClassData{ &_TakeoffRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TakeoffRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TakeoffRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &TakeoffRequest::ByteSizeLong, - &TakeoffRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &TakeoffRequest::ByteSizeLong, + &TakeoffRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TakeoffRequest, _impl_._cached_size_), false, }, &TakeoffRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TakeoffRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - TakeoffRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TakeoffRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata TakeoffRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TakeoffRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> TakeoffRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TakeoffRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata TakeoffRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TakeoffResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_); }; TakeoffResponse::TakeoffResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TakeoffResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TakeoffResponse) } inline PROTOBUF_NDEBUG_INLINE TakeoffResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::TakeoffResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +TakeoffResponse::TakeoffResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::TakeoffResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -TakeoffResponse::TakeoffResponse(::google::protobuf::Arena* arena, const TakeoffResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TakeoffResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TakeoffResponse) + const TakeoffResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TakeoffResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TakeoffResponse) } inline PROTOBUF_NDEBUG_INLINE TakeoffResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TakeoffResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -TakeoffResponse::~TakeoffResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TakeoffResponse) - SharedDtor(*this); -} -inline void TakeoffResponse::SharedDtor(MessageLite& self) -{ - TakeoffResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -TakeoffResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TakeoffResponse(arena); -} -constexpr auto TakeoffResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TakeoffResponse), alignof(TakeoffResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TakeoffResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +TakeoffResponse::~TakeoffResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TakeoffResponse) + SharedDtor(*this); +} +inline void TakeoffResponse::SharedDtor(MessageLite& self) { + TakeoffResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* TakeoffResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TakeoffResponse(arena); +} +constexpr auto TakeoffResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TakeoffResponse), + alignof(TakeoffResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3480,240 +3123,213 @@ const ::google::protobuf::internal::ClassDataFull TakeoffResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_TakeoffResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TakeoffResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TakeoffResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TakeoffResponse::ByteSizeLong, - &TakeoffResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TakeoffResponse::ByteSizeLong, + &TakeoffResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._cached_size_), false, }, &TakeoffResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TakeoffResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TakeoffResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TakeoffResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TakeoffResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TakeoffResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TakeoffResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TakeoffResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TakeoffResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TakeoffResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TakeoffResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TakeoffResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TakeoffResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TakeoffResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TakeoffResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TakeoffResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TakeoffResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TakeoffResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TakeoffResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TakeoffResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TakeoffResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TakeoffResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TakeoffResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TakeoffResponse::ByteSizeLong(const MessageLite& base) -{ - const TakeoffResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TakeoffResponse::ByteSizeLong() const -{ - const TakeoffResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TakeoffResponse) - ::size_t total_size = 0; + ::size_t TakeoffResponse::ByteSizeLong(const MessageLite& base) { + const TakeoffResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TakeoffResponse::ByteSizeLong() const { + const TakeoffResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TakeoffResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TakeoffResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TakeoffResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void TakeoffResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TakeoffResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TakeoffResponse::CopyFrom(const TakeoffResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TakeoffResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TakeoffResponse::CopyFrom(const TakeoffResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TakeoffResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TakeoffResponse::InternalSwap(TakeoffResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void TakeoffResponse::InternalSwap(TakeoffResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata TakeoffResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TakeoffResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class LandRequest::_Internal { -public: + public: }; LandRequest::LandRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.LandRequest) -} -LandRequest::LandRequest(::google::protobuf::Arena* arena, const LandRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - LandRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.LandRequest) -} - -inline void* LandRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) LandRequest(arena); -} -constexpr auto LandRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(LandRequest), alignof(LandRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.LandRequest) +} +LandRequest::LandRequest( + ::google::protobuf::Arena* arena, + const LandRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + LandRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.LandRequest) +} + +inline void* LandRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) LandRequest(arena); +} +constexpr auto LandRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LandRequest), + alignof(LandRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3721,147 +3337,138 @@ const ::google::protobuf::internal::ClassDataFull LandRequest::_class_data_ = { ::google::protobuf::internal::ClassData{ &_LandRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &LandRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &LandRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &LandRequest::ByteSizeLong, - &LandRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &LandRequest::ByteSizeLong, + &LandRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(LandRequest, _impl_._cached_size_), false, }, &LandRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* LandRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - LandRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::LandRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata LandRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* LandRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> LandRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::LandRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata LandRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class LandResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_); }; LandResponse::LandResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.LandResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.LandResponse) } inline PROTOBUF_NDEBUG_INLINE LandResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::LandResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +LandResponse::LandResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::LandResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -LandResponse::LandResponse(::google::protobuf::Arena* arena, const LandResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - LandResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.LandResponse) + const LandResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + LandResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.LandResponse) } inline PROTOBUF_NDEBUG_INLINE LandResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void LandResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -LandResponse::~LandResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.LandResponse) - SharedDtor(*this); -} -inline void LandResponse::SharedDtor(MessageLite& self) -{ - LandResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* LandResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) LandResponse(arena); -} -constexpr auto LandResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(LandResponse), alignof(LandResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void LandResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +LandResponse::~LandResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.LandResponse) + SharedDtor(*this); +} +inline void LandResponse::SharedDtor(MessageLite& self) { + LandResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* LandResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) LandResponse(arena); +} +constexpr auto LandResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LandResponse), + alignof(LandResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3869,240 +3476,213 @@ const ::google::protobuf::internal::ClassDataFull LandResponse::_class_data_ = { ::google::protobuf::internal::ClassData{ &_LandResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &LandResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &LandResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &LandResponse::ByteSizeLong, - &LandResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &LandResponse::ByteSizeLong, + &LandResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._cached_size_), false, }, &LandResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* LandResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - LandResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::LandResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void LandResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.LandResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* LandResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const LandResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* LandResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const LandResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.LandResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* LandResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> LandResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::LandResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.LandResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void LandResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.LandResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* LandResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const LandResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* LandResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const LandResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.LandResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.LandResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t LandResponse::ByteSizeLong(const MessageLite& base) -{ - const LandResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t LandResponse::ByteSizeLong() const -{ - const LandResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.LandResponse) - ::size_t total_size = 0; + ::size_t LandResponse::ByteSizeLong(const MessageLite& base) { + const LandResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t LandResponse::ByteSizeLong() const { + const LandResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.LandResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void LandResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.LandResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void LandResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.LandResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void LandResponse::CopyFrom(const LandResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.LandResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void LandResponse::CopyFrom(const LandResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.LandResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void LandResponse::InternalSwap(LandResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void LandResponse::InternalSwap(LandResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata LandResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata LandResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class RebootRequest::_Internal { -public: + public: }; RebootRequest::RebootRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.RebootRequest) -} -RebootRequest::RebootRequest(::google::protobuf::Arena* arena, const RebootRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - RebootRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.RebootRequest) -} - -inline void* RebootRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) RebootRequest(arena); -} -constexpr auto RebootRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(RebootRequest), alignof(RebootRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.RebootRequest) +} +RebootRequest::RebootRequest( + ::google::protobuf::Arena* arena, + const RebootRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RebootRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.RebootRequest) +} + +inline void* RebootRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RebootRequest(arena); +} +constexpr auto RebootRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RebootRequest), + alignof(RebootRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4110,147 +3690,138 @@ const ::google::protobuf::internal::ClassDataFull RebootRequest::_class_data_ = ::google::protobuf::internal::ClassData{ &_RebootRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &RebootRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &RebootRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &RebootRequest::ByteSizeLong, - &RebootRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &RebootRequest::ByteSizeLong, + &RebootRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(RebootRequest, _impl_._cached_size_), false, }, &RebootRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RebootRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - RebootRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::RebootRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata RebootRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RebootRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> RebootRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::RebootRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata RebootRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class RebootResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_); }; RebootResponse::RebootResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.RebootResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.RebootResponse) } inline PROTOBUF_NDEBUG_INLINE RebootResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::RebootResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RebootResponse::RebootResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::RebootResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -RebootResponse::RebootResponse(::google::protobuf::Arena* arena, const RebootResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - RebootResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.RebootResponse) + const RebootResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RebootResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.RebootResponse) } inline PROTOBUF_NDEBUG_INLINE RebootResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void RebootResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -RebootResponse::~RebootResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.RebootResponse) - SharedDtor(*this); -} -inline void RebootResponse::SharedDtor(MessageLite& self) -{ - RebootResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* RebootResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) RebootResponse(arena); -} -constexpr auto RebootResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(RebootResponse), alignof(RebootResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RebootResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +RebootResponse::~RebootResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.RebootResponse) + SharedDtor(*this); +} +inline void RebootResponse::SharedDtor(MessageLite& self) { + RebootResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* RebootResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RebootResponse(arena); +} +constexpr auto RebootResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RebootResponse), + alignof(RebootResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4258,241 +3829,213 @@ const ::google::protobuf::internal::ClassDataFull RebootResponse::_class_data_ = ::google::protobuf::internal::ClassData{ &_RebootResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &RebootResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &RebootResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &RebootResponse::ByteSizeLong, - &RebootResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &RebootResponse::ByteSizeLong, + &RebootResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._cached_size_), false, }, &RebootResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RebootResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - RebootResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::RebootResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void RebootResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.RebootResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* RebootResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const RebootResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* RebootResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const RebootResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.RebootResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* RebootResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> RebootResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::RebootResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.RebootResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void RebootResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.RebootResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RebootResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RebootResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RebootResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RebootResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.RebootResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.RebootResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t RebootResponse::ByteSizeLong(const MessageLite& base) -{ - const RebootResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t RebootResponse::ByteSizeLong() const -{ - const RebootResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.RebootResponse) - ::size_t total_size = 0; + ::size_t RebootResponse::ByteSizeLong(const MessageLite& base) { + const RebootResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RebootResponse::ByteSizeLong() const { + const RebootResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.RebootResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void RebootResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.RebootResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void RebootResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.RebootResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void RebootResponse::CopyFrom(const RebootResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.RebootResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void RebootResponse::CopyFrom(const RebootResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.RebootResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void RebootResponse::InternalSwap(RebootResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void RebootResponse::InternalSwap(RebootResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata RebootResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata RebootResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ShutdownRequest::_Internal { -public: + public: }; ShutdownRequest::ShutdownRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ShutdownRequest) -} -ShutdownRequest::ShutdownRequest(::google::protobuf::Arena* arena, const ShutdownRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ShutdownRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ShutdownRequest) -} - -inline void* -ShutdownRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ShutdownRequest(arena); -} -constexpr auto ShutdownRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ShutdownRequest), alignof(ShutdownRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ShutdownRequest) +} +ShutdownRequest::ShutdownRequest( + ::google::protobuf::Arena* arena, + const ShutdownRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ShutdownRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ShutdownRequest) +} + +inline void* ShutdownRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ShutdownRequest(arena); +} +constexpr auto ShutdownRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ShutdownRequest), + alignof(ShutdownRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4500,148 +4043,138 @@ const ::google::protobuf::internal::ClassDataFull ShutdownRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_ShutdownRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ShutdownRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ShutdownRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ShutdownRequest::ByteSizeLong, - &ShutdownRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ShutdownRequest::ByteSizeLong, + &ShutdownRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ShutdownRequest, _impl_._cached_size_), false, }, &ShutdownRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ShutdownRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ShutdownRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ShutdownRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ShutdownRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ShutdownRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ShutdownRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ShutdownRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ShutdownRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ShutdownResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_); }; ShutdownResponse::ShutdownResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ShutdownResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ShutdownResponse) } inline PROTOBUF_NDEBUG_INLINE ShutdownResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::ShutdownResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ShutdownResponse::ShutdownResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::ShutdownResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -ShutdownResponse::ShutdownResponse(::google::protobuf::Arena* arena, const ShutdownResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ShutdownResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ShutdownResponse) + const ShutdownResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ShutdownResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ShutdownResponse) } inline PROTOBUF_NDEBUG_INLINE ShutdownResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ShutdownResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -ShutdownResponse::~ShutdownResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ShutdownResponse) - SharedDtor(*this); -} -inline void ShutdownResponse::SharedDtor(MessageLite& self) -{ - ShutdownResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -ShutdownResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ShutdownResponse(arena); -} -constexpr auto ShutdownResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ShutdownResponse), alignof(ShutdownResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ShutdownResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +ShutdownResponse::~ShutdownResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ShutdownResponse) + SharedDtor(*this); +} +inline void ShutdownResponse::SharedDtor(MessageLite& self) { + ShutdownResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* ShutdownResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ShutdownResponse(arena); +} +constexpr auto ShutdownResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ShutdownResponse), + alignof(ShutdownResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4649,241 +4182,213 @@ const ::google::protobuf::internal::ClassDataFull ShutdownResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_ShutdownResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ShutdownResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ShutdownResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ShutdownResponse::ByteSizeLong, - &ShutdownResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ShutdownResponse::ByteSizeLong, + &ShutdownResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._cached_size_), false, }, &ShutdownResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ShutdownResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ShutdownResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ShutdownResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ShutdownResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ShutdownResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ShutdownResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ShutdownResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ShutdownResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ShutdownResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ShutdownResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ShutdownResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ShutdownResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ShutdownResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ShutdownResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ShutdownResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ShutdownResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ShutdownResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ShutdownResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ShutdownResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ShutdownResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ShutdownResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ShutdownResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ShutdownResponse::ByteSizeLong(const MessageLite& base) -{ - const ShutdownResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ShutdownResponse::ByteSizeLong() const -{ - const ShutdownResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ShutdownResponse) - ::size_t total_size = 0; + ::size_t ShutdownResponse::ByteSizeLong(const MessageLite& base) { + const ShutdownResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ShutdownResponse::ByteSizeLong() const { + const ShutdownResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ShutdownResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ShutdownResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ShutdownResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void ShutdownResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ShutdownResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ShutdownResponse::CopyFrom(const ShutdownResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ShutdownResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ShutdownResponse::CopyFrom(const ShutdownResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ShutdownResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ShutdownResponse::InternalSwap(ShutdownResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void ShutdownResponse::InternalSwap(ShutdownResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata ShutdownResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ShutdownResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TerminateRequest::_Internal { -public: + public: }; TerminateRequest::TerminateRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TerminateRequest) -} -TerminateRequest::TerminateRequest(::google::protobuf::Arena* arena, const TerminateRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TerminateRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TerminateRequest) -} - -inline void* -TerminateRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TerminateRequest(arena); -} -constexpr auto TerminateRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TerminateRequest), alignof(TerminateRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TerminateRequest) +} +TerminateRequest::TerminateRequest( + ::google::protobuf::Arena* arena, + const TerminateRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TerminateRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TerminateRequest) +} + +inline void* TerminateRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TerminateRequest(arena); +} +constexpr auto TerminateRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TerminateRequest), + alignof(TerminateRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4891,149 +4396,138 @@ const ::google::protobuf::internal::ClassDataFull TerminateRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_TerminateRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TerminateRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TerminateRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &TerminateRequest::ByteSizeLong, - &TerminateRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &TerminateRequest::ByteSizeLong, + &TerminateRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TerminateRequest, _impl_._cached_size_), false, }, &TerminateRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TerminateRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - TerminateRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TerminateRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata TerminateRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TerminateRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> TerminateRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TerminateRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata TerminateRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TerminateResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_); }; TerminateResponse::TerminateResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TerminateResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TerminateResponse) } inline PROTOBUF_NDEBUG_INLINE TerminateResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::TerminateResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::TerminateResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TerminateResponse::TerminateResponse( - ::google::protobuf::Arena* arena, const TerminateResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TerminateResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TerminateResponse) + ::google::protobuf::Arena* arena, + const TerminateResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TerminateResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TerminateResponse) } inline PROTOBUF_NDEBUG_INLINE TerminateResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TerminateResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -TerminateResponse::~TerminateResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TerminateResponse) - SharedDtor(*this); -} -inline void TerminateResponse::SharedDtor(MessageLite& self) -{ - TerminateResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -TerminateResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TerminateResponse(arena); -} -constexpr auto TerminateResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TerminateResponse), alignof(TerminateResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TerminateResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +TerminateResponse::~TerminateResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TerminateResponse) + SharedDtor(*this); +} +inline void TerminateResponse::SharedDtor(MessageLite& self) { + TerminateResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* TerminateResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TerminateResponse(arena); +} +constexpr auto TerminateResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TerminateResponse), + alignof(TerminateResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5041,240 +4535,213 @@ const ::google::protobuf::internal::ClassDataFull TerminateResponse::_class_data ::google::protobuf::internal::ClassData{ &_TerminateResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TerminateResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TerminateResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TerminateResponse::ByteSizeLong, - &TerminateResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TerminateResponse::ByteSizeLong, + &TerminateResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._cached_size_), false, }, &TerminateResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TerminateResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TerminateResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TerminateResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TerminateResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TerminateResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TerminateResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TerminateResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TerminateResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TerminateResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TerminateResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TerminateResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TerminateResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TerminateResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TerminateResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TerminateResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TerminateResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TerminateResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TerminateResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TerminateResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TerminateResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TerminateResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TerminateResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TerminateResponse::ByteSizeLong(const MessageLite& base) -{ - const TerminateResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TerminateResponse::ByteSizeLong() const -{ - const TerminateResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TerminateResponse) - ::size_t total_size = 0; + ::size_t TerminateResponse::ByteSizeLong(const MessageLite& base) { + const TerminateResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TerminateResponse::ByteSizeLong() const { + const TerminateResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TerminateResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TerminateResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TerminateResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void TerminateResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TerminateResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TerminateResponse::CopyFrom(const TerminateResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TerminateResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TerminateResponse::CopyFrom(const TerminateResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TerminateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TerminateResponse::InternalSwap(TerminateResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void TerminateResponse::InternalSwap(TerminateResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata TerminateResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TerminateResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class KillRequest::_Internal { -public: + public: }; KillRequest::KillRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.KillRequest) -} -KillRequest::KillRequest(::google::protobuf::Arena* arena, const KillRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - KillRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.KillRequest) -} - -inline void* KillRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) KillRequest(arena); -} -constexpr auto KillRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(KillRequest), alignof(KillRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.KillRequest) +} +KillRequest::KillRequest( + ::google::protobuf::Arena* arena, + const KillRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + KillRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.KillRequest) +} + +inline void* KillRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) KillRequest(arena); +} +constexpr auto KillRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(KillRequest), + alignof(KillRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5282,147 +4749,138 @@ const ::google::protobuf::internal::ClassDataFull KillRequest::_class_data_ = { ::google::protobuf::internal::ClassData{ &_KillRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &KillRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &KillRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &KillRequest::ByteSizeLong, - &KillRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &KillRequest::ByteSizeLong, + &KillRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(KillRequest, _impl_._cached_size_), false, }, &KillRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* KillRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - KillRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::KillRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata KillRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* KillRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); } -// =================================================================== +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> KillRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::KillRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata KillRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== class KillResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(KillResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(KillResponse, _impl_._has_bits_); }; KillResponse::KillResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.KillResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.KillResponse) } inline PROTOBUF_NDEBUG_INLINE KillResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::KillResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +KillResponse::KillResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::KillResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -KillResponse::KillResponse(::google::protobuf::Arena* arena, const KillResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - KillResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.KillResponse) + const KillResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + KillResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.KillResponse) } inline PROTOBUF_NDEBUG_INLINE KillResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void KillResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -KillResponse::~KillResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.KillResponse) - SharedDtor(*this); -} -inline void KillResponse::SharedDtor(MessageLite& self) -{ - KillResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* KillResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) KillResponse(arena); -} -constexpr auto KillResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(KillResponse), alignof(KillResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void KillResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +KillResponse::~KillResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.KillResponse) + SharedDtor(*this); +} +inline void KillResponse::SharedDtor(MessageLite& self) { + KillResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* KillResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) KillResponse(arena); +} +constexpr auto KillResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(KillResponse), + alignof(KillResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5430,242 +4888,213 @@ const ::google::protobuf::internal::ClassDataFull KillResponse::_class_data_ = { ::google::protobuf::internal::ClassData{ &_KillResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &KillResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &KillResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &KillResponse::ByteSizeLong, - &KillResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &KillResponse::ByteSizeLong, + &KillResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(KillResponse, _impl_._cached_size_), false, }, &KillResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* KillResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - KillResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(KillResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::KillResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(KillResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(KillResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void KillResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.KillResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* KillResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const KillResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* KillResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const KillResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.KillResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* KillResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> KillResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(KillResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::KillResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.KillResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(KillResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(KillResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void KillResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.KillResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* KillResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const KillResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* KillResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const KillResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.KillResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.KillResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t KillResponse::ByteSizeLong(const MessageLite& base) -{ - const KillResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t KillResponse::ByteSizeLong() const -{ - const KillResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.KillResponse) - ::size_t total_size = 0; + ::size_t KillResponse::ByteSizeLong(const MessageLite& base) { + const KillResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t KillResponse::ByteSizeLong() const { + const KillResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.KillResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void KillResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.KillResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void KillResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.KillResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void KillResponse::CopyFrom(const KillResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.KillResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void KillResponse::CopyFrom(const KillResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.KillResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void KillResponse::InternalSwap(KillResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void KillResponse::InternalSwap(KillResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata KillResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata KillResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ReturnToLaunchRequest::_Internal { -public: + public: }; ReturnToLaunchRequest::ReturnToLaunchRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ReturnToLaunchRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ReturnToLaunchRequest) } ReturnToLaunchRequest::ReturnToLaunchRequest( - ::google::protobuf::Arena* arena, const ReturnToLaunchRequest& from) + ::google::protobuf::Arena* arena, + const ReturnToLaunchRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ReturnToLaunchRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ReturnToLaunchRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ReturnToLaunchRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ReturnToLaunchRequest) } -inline void* -ReturnToLaunchRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ReturnToLaunchRequest(arena); +inline void* ReturnToLaunchRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ReturnToLaunchRequest(arena); } -constexpr auto ReturnToLaunchRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ReturnToLaunchRequest), alignof(ReturnToLaunchRequest)); +constexpr auto ReturnToLaunchRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ReturnToLaunchRequest), + alignof(ReturnToLaunchRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5673,150 +5102,138 @@ const ::google::protobuf::internal::ClassDataFull ReturnToLaunchRequest::_class_ ::google::protobuf::internal::ClassData{ &_ReturnToLaunchRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ReturnToLaunchRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ReturnToLaunchRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ReturnToLaunchRequest::ByteSizeLong, - &ReturnToLaunchRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ReturnToLaunchRequest::ByteSizeLong, + &ReturnToLaunchRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ReturnToLaunchRequest, _impl_._cached_size_), false, }, &ReturnToLaunchRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ReturnToLaunchRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ReturnToLaunchRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::ReturnToLaunchRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ReturnToLaunchRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ReturnToLaunchRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ReturnToLaunchRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ReturnToLaunchRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ReturnToLaunchRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ReturnToLaunchResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_._has_bits_); }; ReturnToLaunchResponse::ReturnToLaunchResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ReturnToLaunchResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ReturnToLaunchResponse) } inline PROTOBUF_NDEBUG_INLINE ReturnToLaunchResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::ReturnToLaunchResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::ReturnToLaunchResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} ReturnToLaunchResponse::ReturnToLaunchResponse( - ::google::protobuf::Arena* arena, const ReturnToLaunchResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ReturnToLaunchResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ReturnToLaunchResponse) + ::google::protobuf::Arena* arena, + const ReturnToLaunchResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ReturnToLaunchResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ReturnToLaunchResponse) } inline PROTOBUF_NDEBUG_INLINE ReturnToLaunchResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ReturnToLaunchResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -ReturnToLaunchResponse::~ReturnToLaunchResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ReturnToLaunchResponse) - SharedDtor(*this); -} -inline void ReturnToLaunchResponse::SharedDtor(MessageLite& self) -{ - ReturnToLaunchResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -ReturnToLaunchResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ReturnToLaunchResponse(arena); -} -constexpr auto ReturnToLaunchResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ReturnToLaunchResponse), alignof(ReturnToLaunchResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ReturnToLaunchResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +ReturnToLaunchResponse::~ReturnToLaunchResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ReturnToLaunchResponse) + SharedDtor(*this); +} +inline void ReturnToLaunchResponse::SharedDtor(MessageLite& self) { + ReturnToLaunchResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* ReturnToLaunchResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ReturnToLaunchResponse(arena); +} +constexpr auto ReturnToLaunchResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ReturnToLaunchResponse), + alignof(ReturnToLaunchResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5824,258 +5241,228 @@ const ::google::protobuf::internal::ClassDataFull ReturnToLaunchResponse::_class ::google::protobuf::internal::ClassData{ &_ReturnToLaunchResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ReturnToLaunchResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ReturnToLaunchResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ReturnToLaunchResponse::ByteSizeLong, - &ReturnToLaunchResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ReturnToLaunchResponse::ByteSizeLong, + &ReturnToLaunchResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_._cached_size_), false, }, &ReturnToLaunchResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ReturnToLaunchResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ReturnToLaunchResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::ReturnToLaunchResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ReturnToLaunchResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ReturnToLaunchResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ReturnToLaunchResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ReturnToLaunchResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ReturnToLaunchResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ReturnToLaunchResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ReturnToLaunchResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ReturnToLaunchResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ReturnToLaunchResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ReturnToLaunchResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ReturnToLaunchResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(ReturnToLaunchResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ReturnToLaunchResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ReturnToLaunchResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ReturnToLaunchResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ReturnToLaunchResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ReturnToLaunchResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ReturnToLaunchResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ReturnToLaunchResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ReturnToLaunchResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ReturnToLaunchResponse::ByteSizeLong(const MessageLite& base) -{ - const ReturnToLaunchResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ReturnToLaunchResponse::ByteSizeLong() const -{ - const ReturnToLaunchResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ReturnToLaunchResponse) - ::size_t total_size = 0; + ::size_t ReturnToLaunchResponse::ByteSizeLong(const MessageLite& base) { + const ReturnToLaunchResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ReturnToLaunchResponse::ByteSizeLong() const { + const ReturnToLaunchResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ReturnToLaunchResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ReturnToLaunchResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ReturnToLaunchResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void ReturnToLaunchResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ReturnToLaunchResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ReturnToLaunchResponse::CopyFrom(const ReturnToLaunchResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ReturnToLaunchResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ReturnToLaunchResponse::CopyFrom(const ReturnToLaunchResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ReturnToLaunchResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ReturnToLaunchResponse::InternalSwap(ReturnToLaunchResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void ReturnToLaunchResponse::InternalSwap(ReturnToLaunchResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata ReturnToLaunchResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ReturnToLaunchResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GotoLocationRequest::_Internal { -public: + public: }; GotoLocationRequest::GotoLocationRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GotoLocationRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GotoLocationRequest) } GotoLocationRequest::GotoLocationRequest( - ::google::protobuf::Arena* arena, const GotoLocationRequest& from) : - GotoLocationRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const GotoLocationRequest& from) + : GotoLocationRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE GotoLocationRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GotoLocationRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, latitude_deg_), - 0, - offsetof(Impl_, yaw_deg_) - offsetof(Impl_, latitude_deg_) + sizeof(Impl_::yaw_deg_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GotoLocationRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, latitude_deg_), + 0, + offsetof(Impl_, yaw_deg_) - + offsetof(Impl_, latitude_deg_) + + sizeof(Impl_::yaw_deg_)); } -GotoLocationRequest::~GotoLocationRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GotoLocationRequest) - SharedDtor(*this); +GotoLocationRequest::~GotoLocationRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GotoLocationRequest) + SharedDtor(*this); } -inline void GotoLocationRequest::SharedDtor(MessageLite& self) -{ - GotoLocationRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void GotoLocationRequest::SharedDtor(MessageLite& self) { + GotoLocationRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* -GotoLocationRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GotoLocationRequest(arena); +inline void* GotoLocationRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GotoLocationRequest(arena); } -constexpr auto GotoLocationRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GotoLocationRequest), alignof(GotoLocationRequest)); +constexpr auto GotoLocationRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GotoLocationRequest), + alignof(GotoLocationRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6083,338 +5470,299 @@ const ::google::protobuf::internal::ClassDataFull GotoLocationRequest::_class_da ::google::protobuf::internal::ClassData{ &_GotoLocationRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GotoLocationRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GotoLocationRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GotoLocationRequest::ByteSizeLong, - &GotoLocationRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &GotoLocationRequest::ByteSizeLong, + &GotoLocationRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_._cached_size_), false, }, &GotoLocationRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GotoLocationRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> - GotoLocationRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 4, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967280, // skipmap - offsetof(decltype(_table_), field_entries), - 4, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GotoLocationRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float yaw_deg = 4; - {::_pbi::TcParser::FastF32S1, - {37, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.yaw_deg_)}}, - // double latitude_deg = 1; - {::_pbi::TcParser::FastF64S1, - {9, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.latitude_deg_)}}, - // double longitude_deg = 2; - {::_pbi::TcParser::FastF64S1, - {17, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.longitude_deg_)}}, - // float absolute_altitude_m = 3; - {::_pbi::TcParser::FastF32S1, - {29, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.absolute_altitude_m_)}}, - }}, - {{65535, 65535}}, - {{ - // double latitude_deg = 1; - {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.latitude_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, - // double longitude_deg = 2; - {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.longitude_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, - // float absolute_altitude_m = 3; - {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.absolute_altitude_m_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float yaw_deg = 4; - {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.yaw_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void GotoLocationRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GotoLocationRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.latitude_deg_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.yaw_deg_) - - reinterpret_cast(&_impl_.latitude_deg_)) + - sizeof(_impl_.yaw_deg_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GotoLocationRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GotoLocationRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GotoLocationRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GotoLocationRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GotoLocationRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GotoLocationRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> GotoLocationRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GotoLocationRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float yaw_deg = 4; + {::_pbi::TcParser::FastF32S1, + {37, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.yaw_deg_)}}, // double latitude_deg = 1; - if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteDoubleToArray(1, this_._internal_latitude_deg(), target); - } - + {::_pbi::TcParser::FastF64S1, + {9, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.latitude_deg_)}}, // double longitude_deg = 2; - if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteDoubleToArray(2, this_._internal_longitude_deg(), target); - } - + {::_pbi::TcParser::FastF64S1, + {17, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.longitude_deg_)}}, // float absolute_altitude_m = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 3, this_._internal_absolute_altitude_m(), target); - } - + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.absolute_altitude_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // double latitude_deg = 1; + {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.latitude_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // double longitude_deg = 2; + {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.longitude_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // float absolute_altitude_m = 3; + {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.absolute_altitude_m_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float yaw_deg = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this_._internal_yaw_deg(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GotoLocationRequest) - return target; -} + {PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.yaw_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void GotoLocationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GotoLocationRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.latitude_deg_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.yaw_deg_) - + reinterpret_cast(&_impl_.latitude_deg_)) + sizeof(_impl_.yaw_deg_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GotoLocationRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GotoLocationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GotoLocationRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GotoLocationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GotoLocationRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // double latitude_deg = 1; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 1, this_._internal_latitude_deg(), target); + } + + // double longitude_deg = 2; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 2, this_._internal_longitude_deg(), target); + } + + // float absolute_altitude_m = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_absolute_altitude_m(), target); + } + + // float yaw_deg = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this_._internal_yaw_deg(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GotoLocationRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GotoLocationRequest::ByteSizeLong(const MessageLite& base) -{ - const GotoLocationRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GotoLocationRequest::ByteSizeLong() const -{ - const GotoLocationRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GotoLocationRequest) - ::size_t total_size = 0; + ::size_t GotoLocationRequest::ByteSizeLong(const MessageLite& base) { + const GotoLocationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GotoLocationRequest::ByteSizeLong() const { + const GotoLocationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GotoLocationRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // double latitude_deg = 1; - if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { - total_size += 9; - } - // double longitude_deg = 2; - if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { - total_size += 9; - } - // float absolute_altitude_m = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { - total_size += 5; - } - // float yaw_deg = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // double latitude_deg = 1; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { + total_size += 9; + } + // double longitude_deg = 2; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { + total_size += 9; + } + // float absolute_altitude_m = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { + total_size += 5; + } + // float yaw_deg = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void GotoLocationRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GotoLocationRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - if (::absl::bit_cast<::uint64_t>(from._internal_latitude_deg()) != 0) { - _this->_impl_.latitude_deg_ = from._impl_.latitude_deg_; - } - if (::absl::bit_cast<::uint64_t>(from._internal_longitude_deg()) != 0) { - _this->_impl_.longitude_deg_ = from._impl_.longitude_deg_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_absolute_altitude_m()) != 0) { - _this->_impl_.absolute_altitude_m_ = from._impl_.absolute_altitude_m_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_yaw_deg()) != 0) { - _this->_impl_.yaw_deg_ = from._impl_.yaw_deg_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void GotoLocationRequest::CopyFrom(const GotoLocationRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GotoLocationRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void GotoLocationRequest::InternalSwap(GotoLocationRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.yaw_deg_) + - sizeof(GotoLocationRequest::_impl_.yaw_deg_) - - PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.latitude_deg_)>( - reinterpret_cast(&_impl_.latitude_deg_), - reinterpret_cast(&other->_impl_.latitude_deg_)); -} - -::google::protobuf::Metadata GotoLocationRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void GotoLocationRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GotoLocationRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint64_t>(from._internal_latitude_deg()) != 0) { + _this->_impl_.latitude_deg_ = from._impl_.latitude_deg_; + } + if (::absl::bit_cast<::uint64_t>(from._internal_longitude_deg()) != 0) { + _this->_impl_.longitude_deg_ = from._impl_.longitude_deg_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_absolute_altitude_m()) != 0) { + _this->_impl_.absolute_altitude_m_ = from._impl_.absolute_altitude_m_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_yaw_deg()) != 0) { + _this->_impl_.yaw_deg_ = from._impl_.yaw_deg_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GotoLocationRequest::CopyFrom(const GotoLocationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GotoLocationRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GotoLocationRequest::InternalSwap(GotoLocationRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.yaw_deg_) + + sizeof(GotoLocationRequest::_impl_.yaw_deg_) + - PROTOBUF_FIELD_OFFSET(GotoLocationRequest, _impl_.latitude_deg_)>( + reinterpret_cast(&_impl_.latitude_deg_), + reinterpret_cast(&other->_impl_.latitude_deg_)); +} + +::google::protobuf::Metadata GotoLocationRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GotoLocationResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_._has_bits_); }; GotoLocationResponse::GotoLocationResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GotoLocationResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GotoLocationResponse) } inline PROTOBUF_NDEBUG_INLINE GotoLocationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::GotoLocationResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::GotoLocationResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} GotoLocationResponse::GotoLocationResponse( - ::google::protobuf::Arena* arena, const GotoLocationResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GotoLocationResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GotoLocationResponse) + ::google::protobuf::Arena* arena, + const GotoLocationResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GotoLocationResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GotoLocationResponse) } inline PROTOBUF_NDEBUG_INLINE GotoLocationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GotoLocationResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -GotoLocationResponse::~GotoLocationResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GotoLocationResponse) - SharedDtor(*this); -} -inline void GotoLocationResponse::SharedDtor(MessageLite& self) -{ - GotoLocationResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -GotoLocationResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GotoLocationResponse(arena); -} -constexpr auto GotoLocationResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GotoLocationResponse), alignof(GotoLocationResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GotoLocationResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +GotoLocationResponse::~GotoLocationResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GotoLocationResponse) + SharedDtor(*this); +} +inline void GotoLocationResponse::SharedDtor(MessageLite& self) { + GotoLocationResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* GotoLocationResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GotoLocationResponse(arena); +} +constexpr auto GotoLocationResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GotoLocationResponse), + alignof(GotoLocationResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6422,256 +5770,228 @@ const ::google::protobuf::internal::ClassDataFull GotoLocationResponse::_class_d ::google::protobuf::internal::ClassData{ &_GotoLocationResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GotoLocationResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GotoLocationResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GotoLocationResponse::ByteSizeLong, - &GotoLocationResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &GotoLocationResponse::ByteSizeLong, + &GotoLocationResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_._cached_size_), false, }, &GotoLocationResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GotoLocationResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - GotoLocationResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::GotoLocationResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void GotoLocationResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GotoLocationResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GotoLocationResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GotoLocationResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GotoLocationResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GotoLocationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GotoLocationResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GotoLocationResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GotoLocationResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GotoLocationResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GotoLocationResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(GotoLocationResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GotoLocationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GotoLocationResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GotoLocationResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GotoLocationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GotoLocationResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GotoLocationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GotoLocationResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GotoLocationResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GotoLocationResponse::ByteSizeLong(const MessageLite& base) -{ - const GotoLocationResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GotoLocationResponse::ByteSizeLong() const -{ - const GotoLocationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GotoLocationResponse) - ::size_t total_size = 0; + ::size_t GotoLocationResponse::ByteSizeLong(const MessageLite& base) { + const GotoLocationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GotoLocationResponse::ByteSizeLong() const { + const GotoLocationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GotoLocationResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void GotoLocationResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GotoLocationResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void GotoLocationResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GotoLocationResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void GotoLocationResponse::CopyFrom(const GotoLocationResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GotoLocationResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void GotoLocationResponse::CopyFrom(const GotoLocationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GotoLocationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void GotoLocationResponse::InternalSwap(GotoLocationResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void GotoLocationResponse::InternalSwap(GotoLocationResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata GotoLocationResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata GotoLocationResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class DoOrbitRequest::_Internal { -public: + public: }; DoOrbitRequest::DoOrbitRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DoOrbitRequest) -} -DoOrbitRequest::DoOrbitRequest(::google::protobuf::Arena* arena, const DoOrbitRequest& from) : - DoOrbitRequest(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DoOrbitRequest) +} +DoOrbitRequest::DoOrbitRequest( + ::google::protobuf::Arena* arena, const DoOrbitRequest& from) + : DoOrbitRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE DoOrbitRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void DoOrbitRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, radius_m_), - 0, - offsetof(Impl_, yaw_behavior_) - offsetof(Impl_, radius_m_) + sizeof(Impl_::yaw_behavior_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void DoOrbitRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, radius_m_), + 0, + offsetof(Impl_, yaw_behavior_) - + offsetof(Impl_, radius_m_) + + sizeof(Impl_::yaw_behavior_)); } -DoOrbitRequest::~DoOrbitRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.DoOrbitRequest) - SharedDtor(*this); +DoOrbitRequest::~DoOrbitRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.DoOrbitRequest) + SharedDtor(*this); } -inline void DoOrbitRequest::SharedDtor(MessageLite& self) -{ - DoOrbitRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void DoOrbitRequest::SharedDtor(MessageLite& self) { + DoOrbitRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* DoOrbitRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) DoOrbitRequest(arena); +inline void* DoOrbitRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) DoOrbitRequest(arena); } -constexpr auto DoOrbitRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(DoOrbitRequest), alignof(DoOrbitRequest)); +constexpr auto DoOrbitRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DoOrbitRequest), + alignof(DoOrbitRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6679,386 +5999,342 @@ const ::google::protobuf::internal::ClassDataFull DoOrbitRequest::_class_data_ = ::google::protobuf::internal::ClassData{ &_DoOrbitRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &DoOrbitRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &DoOrbitRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &DoOrbitRequest::ByteSizeLong, - &DoOrbitRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &DoOrbitRequest::ByteSizeLong, + &DoOrbitRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_._cached_size_), false, }, &DoOrbitRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DoOrbitRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 0, 0, 2> - DoOrbitRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 7, - 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967176, // skipmap - offsetof(decltype(_table_), field_entries), - 6, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DoOrbitRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // float radius_m = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.radius_m_)}}, - // float velocity_ms = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.velocity_ms_)}}, - // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(DoOrbitRequest, _impl_.yaw_behavior_), - 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.yaw_behavior_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; - {::_pbi::TcParser::FastF64S1, - {41, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.latitude_deg_)}}, - // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; - {::_pbi::TcParser::FastF64S1, - {49, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.longitude_deg_)}}, - // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; - {::_pbi::TcParser::FastF64S1, - {57, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.absolute_altitude_m_)}}, - }}, - {{65535, 65535}}, - {{ - // float radius_m = 1; - {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.radius_m_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float velocity_ms = 2; - {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.velocity_ms_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; - {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.yaw_behavior_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; - {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.latitude_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, - // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; - {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.longitude_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, - // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; - {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.absolute_altitude_m_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void DoOrbitRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.DoOrbitRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.radius_m_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.yaw_behavior_) - - reinterpret_cast(&_impl_.radius_m_)) + - sizeof(_impl_.yaw_behavior_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* DoOrbitRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const DoOrbitRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* DoOrbitRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const DoOrbitRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.DoOrbitRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* DoOrbitRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 0, 0, 2> DoOrbitRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967176, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DoOrbitRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // float radius_m = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_radius_m()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_radius_m(), target); - } - + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.radius_m_)}}, // float velocity_ms = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_velocity_ms()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_velocity_ms(), target); - } - + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.velocity_ms_)}}, // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; - if (this_._internal_yaw_behavior() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteEnumToArray(3, this_._internal_yaw_behavior(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DoOrbitRequest, _impl_.yaw_behavior_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.yaw_behavior_)}}, + {::_pbi::TcParser::MiniParse, {}}, // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteDoubleToArray(5, this_._internal_latitude_deg(), target); - } - + {::_pbi::TcParser::FastF64S1, + {41, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.latitude_deg_)}}, // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteDoubleToArray(6, this_._internal_longitude_deg(), target); - } - + {::_pbi::TcParser::FastF64S1, + {49, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.longitude_deg_)}}, // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint64_t>(this_._internal_absolute_altitude_m()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteDoubleToArray( - 7, this_._internal_absolute_altitude_m(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.DoOrbitRequest) - return target; -} + {::_pbi::TcParser::FastF64S1, + {57, 63, 0, PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.absolute_altitude_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float radius_m = 1; + {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.radius_m_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float velocity_ms = 2; + {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.velocity_ms_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; + {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.yaw_behavior_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; + {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.latitude_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; + {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.longitude_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; + {PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.absolute_altitude_m_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void DoOrbitRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.DoOrbitRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.radius_m_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.yaw_behavior_) - + reinterpret_cast(&_impl_.radius_m_)) + sizeof(_impl_.yaw_behavior_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* DoOrbitRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const DoOrbitRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* DoOrbitRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const DoOrbitRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.DoOrbitRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float radius_m = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_radius_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_radius_m(), target); + } + + // float velocity_ms = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_velocity_ms()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_velocity_ms(), target); + } + + // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; + if (this_._internal_yaw_behavior() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_yaw_behavior(), target); + } + + // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 5, this_._internal_latitude_deg(), target); + } + + // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 6, this_._internal_longitude_deg(), target); + } + + // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_absolute_altitude_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 7, this_._internal_absolute_altitude_m(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.DoOrbitRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t DoOrbitRequest::ByteSizeLong(const MessageLite& base) -{ - const DoOrbitRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t DoOrbitRequest::ByteSizeLong() const -{ - const DoOrbitRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.DoOrbitRequest) - ::size_t total_size = 0; + ::size_t DoOrbitRequest::ByteSizeLong(const MessageLite& base) { + const DoOrbitRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t DoOrbitRequest::ByteSizeLong() const { + const DoOrbitRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.DoOrbitRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // float radius_m = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_radius_m()) != 0) { - total_size += 5; - } - // float velocity_ms = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_velocity_ms()) != 0) { - total_size += 5; - } - // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { - total_size += 9; - } - // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { - total_size += 9; - } - // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint64_t>(this_._internal_absolute_altitude_m()) != 0) { - total_size += 9; - } - // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; - if (this_._internal_yaw_behavior() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_yaw_behavior()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // float radius_m = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_radius_m()) != 0) { + total_size += 5; + } + // float velocity_ms = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_velocity_ms()) != 0) { + total_size += 5; + } + // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { + total_size += 9; + } + // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { + total_size += 9; + } + // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint64_t>(this_._internal_absolute_altitude_m()) != 0) { + total_size += 9; + } + // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; + if (this_._internal_yaw_behavior() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_yaw_behavior()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void DoOrbitRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.DoOrbitRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_radius_m()) != 0) { - _this->_impl_.radius_m_ = from._impl_.radius_m_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_velocity_ms()) != 0) { - _this->_impl_.velocity_ms_ = from._impl_.velocity_ms_; - } - if (::absl::bit_cast<::uint64_t>(from._internal_latitude_deg()) != 0) { - _this->_impl_.latitude_deg_ = from._impl_.latitude_deg_; - } - if (::absl::bit_cast<::uint64_t>(from._internal_longitude_deg()) != 0) { - _this->_impl_.longitude_deg_ = from._impl_.longitude_deg_; - } - if (::absl::bit_cast<::uint64_t>(from._internal_absolute_altitude_m()) != 0) { - _this->_impl_.absolute_altitude_m_ = from._impl_.absolute_altitude_m_; - } - if (from._internal_yaw_behavior() != 0) { - _this->_impl_.yaw_behavior_ = from._impl_.yaw_behavior_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void DoOrbitRequest::CopyFrom(const DoOrbitRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.DoOrbitRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void DoOrbitRequest::InternalSwap(DoOrbitRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.yaw_behavior_) + - sizeof(DoOrbitRequest::_impl_.yaw_behavior_) - - PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.radius_m_)>( - reinterpret_cast(&_impl_.radius_m_), - reinterpret_cast(&other->_impl_.radius_m_)); -} - -::google::protobuf::Metadata DoOrbitRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void DoOrbitRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.DoOrbitRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint32_t>(from._internal_radius_m()) != 0) { + _this->_impl_.radius_m_ = from._impl_.radius_m_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_velocity_ms()) != 0) { + _this->_impl_.velocity_ms_ = from._impl_.velocity_ms_; + } + if (::absl::bit_cast<::uint64_t>(from._internal_latitude_deg()) != 0) { + _this->_impl_.latitude_deg_ = from._impl_.latitude_deg_; + } + if (::absl::bit_cast<::uint64_t>(from._internal_longitude_deg()) != 0) { + _this->_impl_.longitude_deg_ = from._impl_.longitude_deg_; + } + if (::absl::bit_cast<::uint64_t>(from._internal_absolute_altitude_m()) != 0) { + _this->_impl_.absolute_altitude_m_ = from._impl_.absolute_altitude_m_; + } + if (from._internal_yaw_behavior() != 0) { + _this->_impl_.yaw_behavior_ = from._impl_.yaw_behavior_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void DoOrbitRequest::CopyFrom(const DoOrbitRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.DoOrbitRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void DoOrbitRequest::InternalSwap(DoOrbitRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.yaw_behavior_) + + sizeof(DoOrbitRequest::_impl_.yaw_behavior_) + - PROTOBUF_FIELD_OFFSET(DoOrbitRequest, _impl_.radius_m_)>( + reinterpret_cast(&_impl_.radius_m_), + reinterpret_cast(&other->_impl_.radius_m_)); +} + +::google::protobuf::Metadata DoOrbitRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class DoOrbitResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_._has_bits_); }; DoOrbitResponse::DoOrbitResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DoOrbitResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.DoOrbitResponse) } inline PROTOBUF_NDEBUG_INLINE DoOrbitResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::DoOrbitResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +DoOrbitResponse::DoOrbitResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::DoOrbitResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -DoOrbitResponse::DoOrbitResponse(::google::protobuf::Arena* arena, const DoOrbitResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - DoOrbitResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.DoOrbitResponse) + const DoOrbitResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + DoOrbitResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.DoOrbitResponse) } inline PROTOBUF_NDEBUG_INLINE DoOrbitResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void DoOrbitResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -DoOrbitResponse::~DoOrbitResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.DoOrbitResponse) - SharedDtor(*this); -} -inline void DoOrbitResponse::SharedDtor(MessageLite& self) -{ - DoOrbitResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -DoOrbitResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) DoOrbitResponse(arena); -} -constexpr auto DoOrbitResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(DoOrbitResponse), alignof(DoOrbitResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void DoOrbitResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +DoOrbitResponse::~DoOrbitResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.DoOrbitResponse) + SharedDtor(*this); +} +inline void DoOrbitResponse::SharedDtor(MessageLite& self) { + DoOrbitResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* DoOrbitResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) DoOrbitResponse(arena); +} +constexpr auto DoOrbitResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DoOrbitResponse), + alignof(DoOrbitResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7066,240 +6342,213 @@ const ::google::protobuf::internal::ClassDataFull DoOrbitResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_DoOrbitResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &DoOrbitResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &DoOrbitResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &DoOrbitResponse::ByteSizeLong, - &DoOrbitResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &DoOrbitResponse::ByteSizeLong, + &DoOrbitResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_._cached_size_), false, }, &DoOrbitResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DoOrbitResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - DoOrbitResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DoOrbitResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void DoOrbitResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.DoOrbitResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* DoOrbitResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const DoOrbitResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* DoOrbitResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const DoOrbitResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.DoOrbitResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* DoOrbitResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DoOrbitResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::DoOrbitResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.DoOrbitResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(DoOrbitResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void DoOrbitResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.DoOrbitResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* DoOrbitResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const DoOrbitResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* DoOrbitResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const DoOrbitResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.DoOrbitResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.DoOrbitResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t DoOrbitResponse::ByteSizeLong(const MessageLite& base) -{ - const DoOrbitResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t DoOrbitResponse::ByteSizeLong() const -{ - const DoOrbitResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.DoOrbitResponse) - ::size_t total_size = 0; + ::size_t DoOrbitResponse::ByteSizeLong(const MessageLite& base) { + const DoOrbitResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t DoOrbitResponse::ByteSizeLong() const { + const DoOrbitResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.DoOrbitResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void DoOrbitResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.DoOrbitResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void DoOrbitResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.DoOrbitResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void DoOrbitResponse::CopyFrom(const DoOrbitResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.DoOrbitResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void DoOrbitResponse::CopyFrom(const DoOrbitResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.DoOrbitResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void DoOrbitResponse::InternalSwap(DoOrbitResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void DoOrbitResponse::InternalSwap(DoOrbitResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata DoOrbitResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata DoOrbitResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class HoldRequest::_Internal { -public: + public: }; HoldRequest::HoldRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.HoldRequest) -} -HoldRequest::HoldRequest(::google::protobuf::Arena* arena, const HoldRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - HoldRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.HoldRequest) -} - -inline void* HoldRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) HoldRequest(arena); -} -constexpr auto HoldRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(HoldRequest), alignof(HoldRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.HoldRequest) +} +HoldRequest::HoldRequest( + ::google::protobuf::Arena* arena, + const HoldRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + HoldRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.HoldRequest) +} + +inline void* HoldRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) HoldRequest(arena); +} +constexpr auto HoldRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HoldRequest), + alignof(HoldRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7307,147 +6556,138 @@ const ::google::protobuf::internal::ClassDataFull HoldRequest::_class_data_ = { ::google::protobuf::internal::ClassData{ &_HoldRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &HoldRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &HoldRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &HoldRequest::ByteSizeLong, - &HoldRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &HoldRequest::ByteSizeLong, + &HoldRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(HoldRequest, _impl_._cached_size_), false, }, &HoldRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* HoldRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - HoldRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::HoldRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata HoldRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* HoldRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> HoldRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::HoldRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata HoldRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class HoldResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_._has_bits_); }; HoldResponse::HoldResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.HoldResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.HoldResponse) } inline PROTOBUF_NDEBUG_INLINE HoldResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::HoldResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +HoldResponse::HoldResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::HoldResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -HoldResponse::HoldResponse(::google::protobuf::Arena* arena, const HoldResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - HoldResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.HoldResponse) + const HoldResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + HoldResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.HoldResponse) } inline PROTOBUF_NDEBUG_INLINE HoldResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void HoldResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -HoldResponse::~HoldResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.HoldResponse) - SharedDtor(*this); -} -inline void HoldResponse::SharedDtor(MessageLite& self) -{ - HoldResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* HoldResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) HoldResponse(arena); -} -constexpr auto HoldResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(HoldResponse), alignof(HoldResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void HoldResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +HoldResponse::~HoldResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.HoldResponse) + SharedDtor(*this); +} +inline void HoldResponse::SharedDtor(MessageLite& self) { + HoldResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* HoldResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) HoldResponse(arena); +} +constexpr auto HoldResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HoldResponse), + alignof(HoldResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7455,257 +6695,228 @@ const ::google::protobuf::internal::ClassDataFull HoldResponse::_class_data_ = { ::google::protobuf::internal::ClassData{ &_HoldResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &HoldResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &HoldResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &HoldResponse::ByteSizeLong, - &HoldResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &HoldResponse::ByteSizeLong, + &HoldResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_._cached_size_), false, }, &HoldResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* HoldResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - HoldResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::HoldResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void HoldResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.HoldResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* HoldResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const HoldResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* HoldResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const HoldResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.HoldResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* HoldResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> HoldResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::HoldResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.HoldResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(HoldResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void HoldResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.HoldResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* HoldResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const HoldResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* HoldResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const HoldResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.HoldResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.HoldResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t HoldResponse::ByteSizeLong(const MessageLite& base) -{ - const HoldResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t HoldResponse::ByteSizeLong() const -{ - const HoldResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.HoldResponse) - ::size_t total_size = 0; + ::size_t HoldResponse::ByteSizeLong(const MessageLite& base) { + const HoldResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t HoldResponse::ByteSizeLong() const { + const HoldResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.HoldResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void HoldResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.HoldResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void HoldResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.HoldResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void HoldResponse::CopyFrom(const HoldResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.HoldResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void HoldResponse::CopyFrom(const HoldResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.HoldResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void HoldResponse::InternalSwap(HoldResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void HoldResponse::InternalSwap(HoldResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata HoldResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata HoldResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetActuatorRequest::_Internal { -public: + public: }; SetActuatorRequest::SetActuatorRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetActuatorRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetActuatorRequest) } SetActuatorRequest::SetActuatorRequest( - ::google::protobuf::Arena* arena, const SetActuatorRequest& from) : - SetActuatorRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetActuatorRequest& from) + : SetActuatorRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetActuatorRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetActuatorRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, index_), - 0, - offsetof(Impl_, value_) - offsetof(Impl_, index_) + sizeof(Impl_::value_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetActuatorRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, index_), + 0, + offsetof(Impl_, value_) - + offsetof(Impl_, index_) + + sizeof(Impl_::value_)); } -SetActuatorRequest::~SetActuatorRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetActuatorRequest) - SharedDtor(*this); +SetActuatorRequest::~SetActuatorRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetActuatorRequest) + SharedDtor(*this); } -inline void SetActuatorRequest::SharedDtor(MessageLite& self) -{ - SetActuatorRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void SetActuatorRequest::SharedDtor(MessageLite& self) { + SetActuatorRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* -SetActuatorRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetActuatorRequest(arena); +inline void* SetActuatorRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetActuatorRequest(arena); } -constexpr auto SetActuatorRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetActuatorRequest), alignof(SetActuatorRequest)); +constexpr auto SetActuatorRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetActuatorRequest), + alignof(SetActuatorRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7713,294 +6924,260 @@ const ::google::protobuf::internal::ClassDataFull SetActuatorRequest::_class_dat ::google::protobuf::internal::ClassData{ &_SetActuatorRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetActuatorRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetActuatorRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetActuatorRequest::ByteSizeLong, - &SetActuatorRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetActuatorRequest::ByteSizeLong, + &SetActuatorRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_._cached_size_), false, }, &SetActuatorRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetActuatorRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 0, 2> - SetActuatorRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetActuatorRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float value = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.value_)}}, - // int32 index = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(SetActuatorRequest, _impl_.index_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.index_)}}, - }}, - {{65535, 65535}}, - {{ - // int32 index = 1; - {PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.index_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // float value = 2; - {PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.value_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetActuatorRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetActuatorRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.index_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.value_) - reinterpret_cast(&_impl_.index_)) + - sizeof(_impl_.value_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetActuatorRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetActuatorRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetActuatorRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetActuatorRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetActuatorRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetActuatorRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> SetActuatorRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetActuatorRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float value = 2; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.value_)}}, // int32 index = 1; - if (this_._internal_index() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( - stream, this_._internal_index(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SetActuatorRequest, _impl_.index_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.index_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 index = 1; + {PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.index_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, // float value = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_value(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetActuatorRequest) - return target; -} + {PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.value_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void SetActuatorRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetActuatorRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.index_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.value_) - + reinterpret_cast(&_impl_.index_)) + sizeof(_impl_.value_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetActuatorRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetActuatorRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetActuatorRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetActuatorRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetActuatorRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 index = 1; + if (this_._internal_index() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_index(), target); + } + + // float value = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_value(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetActuatorRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetActuatorRequest::ByteSizeLong(const MessageLite& base) -{ - const SetActuatorRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetActuatorRequest::ByteSizeLong() const -{ - const SetActuatorRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetActuatorRequest) - ::size_t total_size = 0; + ::size_t SetActuatorRequest::ByteSizeLong(const MessageLite& base) { + const SetActuatorRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetActuatorRequest::ByteSizeLong() const { + const SetActuatorRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetActuatorRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // int32 index = 1; - if (this_._internal_index() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_index()); - } - // float value = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // int32 index = 1; + if (this_._internal_index() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_index()); + } + // float value = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetActuatorRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetActuatorRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetActuatorRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetActuatorRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_index() != 0) { - _this->_impl_.index_ = from._impl_.index_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_value()) != 0) { - _this->_impl_.value_ = from._impl_.value_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_index() != 0) { + _this->_impl_.index_ = from._impl_.index_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_value()) != 0) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetActuatorRequest::CopyFrom(const SetActuatorRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetActuatorRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetActuatorRequest::CopyFrom(const SetActuatorRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetActuatorRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetActuatorRequest::InternalSwap(SetActuatorRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.value_) + - sizeof(SetActuatorRequest::_impl_.value_) - - PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.index_)>( - reinterpret_cast(&_impl_.index_), reinterpret_cast(&other->_impl_.index_)); + +void SetActuatorRequest::InternalSwap(SetActuatorRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.value_) + + sizeof(SetActuatorRequest::_impl_.value_) + - PROTOBUF_FIELD_OFFSET(SetActuatorRequest, _impl_.index_)>( + reinterpret_cast(&_impl_.index_), + reinterpret_cast(&other->_impl_.index_)); } -::google::protobuf::Metadata SetActuatorRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetActuatorRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetActuatorResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_._has_bits_); }; SetActuatorResponse::SetActuatorResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetActuatorResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetActuatorResponse) } inline PROTOBUF_NDEBUG_INLINE SetActuatorResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::SetActuatorResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::SetActuatorResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetActuatorResponse::SetActuatorResponse( - ::google::protobuf::Arena* arena, const SetActuatorResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetActuatorResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetActuatorResponse) + ::google::protobuf::Arena* arena, + const SetActuatorResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetActuatorResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetActuatorResponse) } inline PROTOBUF_NDEBUG_INLINE SetActuatorResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetActuatorResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -SetActuatorResponse::~SetActuatorResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetActuatorResponse) - SharedDtor(*this); -} -inline void SetActuatorResponse::SharedDtor(MessageLite& self) -{ - SetActuatorResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetActuatorResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetActuatorResponse(arena); -} -constexpr auto SetActuatorResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetActuatorResponse), alignof(SetActuatorResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetActuatorResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +SetActuatorResponse::~SetActuatorResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetActuatorResponse) + SharedDtor(*this); +} +inline void SetActuatorResponse::SharedDtor(MessageLite& self) { + SetActuatorResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* SetActuatorResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetActuatorResponse(arena); +} +constexpr auto SetActuatorResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetActuatorResponse), + alignof(SetActuatorResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8008,242 +7185,213 @@ const ::google::protobuf::internal::ClassDataFull SetActuatorResponse::_class_da ::google::protobuf::internal::ClassData{ &_SetActuatorResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetActuatorResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetActuatorResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetActuatorResponse::ByteSizeLong, - &SetActuatorResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetActuatorResponse::ByteSizeLong, + &SetActuatorResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_._cached_size_), false, }, &SetActuatorResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetActuatorResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetActuatorResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetActuatorResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetActuatorResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetActuatorResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetActuatorResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetActuatorResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetActuatorResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetActuatorResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetActuatorResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetActuatorResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetActuatorResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetActuatorResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetActuatorResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(SetActuatorResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void SetActuatorResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetActuatorResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetActuatorResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetActuatorResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetActuatorResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetActuatorResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetActuatorResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetActuatorResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetActuatorResponse::ByteSizeLong(const MessageLite& base) -{ - const SetActuatorResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetActuatorResponse::ByteSizeLong() const -{ - const SetActuatorResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetActuatorResponse) - ::size_t total_size = 0; + ::size_t SetActuatorResponse::ByteSizeLong(const MessageLite& base) { + const SetActuatorResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetActuatorResponse::ByteSizeLong() const { + const SetActuatorResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetActuatorResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SetActuatorResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetActuatorResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void SetActuatorResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetActuatorResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetActuatorResponse::CopyFrom(const SetActuatorResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetActuatorResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetActuatorResponse::CopyFrom(const SetActuatorResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetActuatorResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetActuatorResponse::InternalSwap(SetActuatorResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void SetActuatorResponse::InternalSwap(SetActuatorResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata SetActuatorResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetActuatorResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TransitionToFixedwingRequest::_Internal { -public: + public: }; TransitionToFixedwingRequest::TransitionToFixedwingRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToFixedwingRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToFixedwingRequest) } TransitionToFixedwingRequest::TransitionToFixedwingRequest( - ::google::protobuf::Arena* arena, const TransitionToFixedwingRequest& from) + ::google::protobuf::Arena* arena, + const TransitionToFixedwingRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TransitionToFixedwingRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TransitionToFixedwingRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToFixedwingRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToFixedwingRequest) } -inline void* TransitionToFixedwingRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TransitionToFixedwingRequest(arena); +inline void* TransitionToFixedwingRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TransitionToFixedwingRequest(arena); } -constexpr auto TransitionToFixedwingRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TransitionToFixedwingRequest), alignof(TransitionToFixedwingRequest)); +constexpr auto TransitionToFixedwingRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TransitionToFixedwingRequest), + alignof(TransitionToFixedwingRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8251,150 +7399,138 @@ const ::google::protobuf::internal::ClassDataFull TransitionToFixedwingRequest:: ::google::protobuf::internal::ClassData{ &_TransitionToFixedwingRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TransitionToFixedwingRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TransitionToFixedwingRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &TransitionToFixedwingRequest::ByteSizeLong, - &TransitionToFixedwingRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &TransitionToFixedwingRequest::ByteSizeLong, + &TransitionToFixedwingRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TransitionToFixedwingRequest, _impl_._cached_size_), false, }, &TransitionToFixedwingRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TransitionToFixedwingRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - TransitionToFixedwingRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::TransitionToFixedwingRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata TransitionToFixedwingRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TransitionToFixedwingRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> TransitionToFixedwingRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TransitionToFixedwingRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata TransitionToFixedwingRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TransitionToFixedwingResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_._has_bits_); }; TransitionToFixedwingResponse::TransitionToFixedwingResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToFixedwingResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToFixedwingResponse) } inline PROTOBUF_NDEBUG_INLINE TransitionToFixedwingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::TransitionToFixedwingResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::TransitionToFixedwingResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TransitionToFixedwingResponse::TransitionToFixedwingResponse( - ::google::protobuf::Arena* arena, const TransitionToFixedwingResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TransitionToFixedwingResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToFixedwingResponse) + ::google::protobuf::Arena* arena, + const TransitionToFixedwingResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TransitionToFixedwingResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToFixedwingResponse) } inline PROTOBUF_NDEBUG_INLINE TransitionToFixedwingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TransitionToFixedwingResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -TransitionToFixedwingResponse::~TransitionToFixedwingResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TransitionToFixedwingResponse) - SharedDtor(*this); -} -inline void TransitionToFixedwingResponse::SharedDtor(MessageLite& self) -{ - TransitionToFixedwingResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* TransitionToFixedwingResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TransitionToFixedwingResponse(arena); -} -constexpr auto TransitionToFixedwingResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TransitionToFixedwingResponse), alignof(TransitionToFixedwingResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TransitionToFixedwingResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +TransitionToFixedwingResponse::~TransitionToFixedwingResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TransitionToFixedwingResponse) + SharedDtor(*this); +} +inline void TransitionToFixedwingResponse::SharedDtor(MessageLite& self) { + TransitionToFixedwingResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* TransitionToFixedwingResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TransitionToFixedwingResponse(arena); +} +constexpr auto TransitionToFixedwingResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TransitionToFixedwingResponse), + alignof(TransitionToFixedwingResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8402,249 +7538,213 @@ const ::google::protobuf::internal::ClassDataFull TransitionToFixedwingResponse: ::google::protobuf::internal::ClassData{ &_TransitionToFixedwingResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TransitionToFixedwingResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TransitionToFixedwingResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TransitionToFixedwingResponse::ByteSizeLong, - &TransitionToFixedwingResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TransitionToFixedwingResponse::ByteSizeLong, + &TransitionToFixedwingResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_._cached_size_), false, }, &TransitionToFixedwingResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TransitionToFixedwingResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TransitionToFixedwingResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::TransitionToFixedwingResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TransitionToFixedwingResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TransitionToFixedwingResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TransitionToFixedwingResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TransitionToFixedwingResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TransitionToFixedwingResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TransitionToFixedwingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TransitionToFixedwingResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TransitionToFixedwingResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TransitionToFixedwingResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TransitionToFixedwingResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TransitionToFixedwingResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(TransitionToFixedwingResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TransitionToFixedwingResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TransitionToFixedwingResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TransitionToFixedwingResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TransitionToFixedwingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TransitionToFixedwingResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TransitionToFixedwingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TransitionToFixedwingResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TransitionToFixedwingResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TransitionToFixedwingResponse::ByteSizeLong(const MessageLite& base) -{ - const TransitionToFixedwingResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TransitionToFixedwingResponse::ByteSizeLong() const -{ - const TransitionToFixedwingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TransitionToFixedwingResponse) - ::size_t total_size = 0; + ::size_t TransitionToFixedwingResponse::ByteSizeLong(const MessageLite& base) { + const TransitionToFixedwingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TransitionToFixedwingResponse::ByteSizeLong() const { + const TransitionToFixedwingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TransitionToFixedwingResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TransitionToFixedwingResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TransitionToFixedwingResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void TransitionToFixedwingResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TransitionToFixedwingResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TransitionToFixedwingResponse::CopyFrom(const TransitionToFixedwingResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TransitionToFixedwingResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TransitionToFixedwingResponse::CopyFrom(const TransitionToFixedwingResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TransitionToFixedwingResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TransitionToFixedwingResponse::InternalSwap( - TransitionToFixedwingResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void TransitionToFixedwingResponse::InternalSwap(TransitionToFixedwingResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata TransitionToFixedwingResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TransitionToFixedwingResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TransitionToMulticopterRequest::_Internal { -public: + public: }; TransitionToMulticopterRequest::TransitionToMulticopterRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToMulticopterRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToMulticopterRequest) } TransitionToMulticopterRequest::TransitionToMulticopterRequest( - ::google::protobuf::Arena* arena, const TransitionToMulticopterRequest& from) + ::google::protobuf::Arena* arena, + const TransitionToMulticopterRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TransitionToMulticopterRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TransitionToMulticopterRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToMulticopterRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToMulticopterRequest) } -inline void* TransitionToMulticopterRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TransitionToMulticopterRequest(arena); +inline void* TransitionToMulticopterRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TransitionToMulticopterRequest(arena); } -constexpr auto TransitionToMulticopterRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TransitionToMulticopterRequest), alignof(TransitionToMulticopterRequest)); +constexpr auto TransitionToMulticopterRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TransitionToMulticopterRequest), + alignof(TransitionToMulticopterRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8652,151 +7752,138 @@ const ::google::protobuf::internal::ClassDataFull TransitionToMulticopterRequest ::google::protobuf::internal::ClassData{ &_TransitionToMulticopterRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TransitionToMulticopterRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TransitionToMulticopterRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - TransitionToMulticopterRequest>(), - &TransitionToMulticopterRequest::ByteSizeLong, - &TransitionToMulticopterRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &TransitionToMulticopterRequest::ByteSizeLong, + &TransitionToMulticopterRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TransitionToMulticopterRequest, _impl_._cached_size_), false, }, &TransitionToMulticopterRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TransitionToMulticopterRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - TransitionToMulticopterRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::TransitionToMulticopterRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata TransitionToMulticopterRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TransitionToMulticopterRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> TransitionToMulticopterRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TransitionToMulticopterRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata TransitionToMulticopterRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TransitionToMulticopterResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_._has_bits_); }; TransitionToMulticopterResponse::TransitionToMulticopterResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToMulticopterResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.TransitionToMulticopterResponse) } inline PROTOBUF_NDEBUG_INLINE TransitionToMulticopterResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::TransitionToMulticopterResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::TransitionToMulticopterResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TransitionToMulticopterResponse::TransitionToMulticopterResponse( - ::google::protobuf::Arena* arena, const TransitionToMulticopterResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TransitionToMulticopterResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToMulticopterResponse) + ::google::protobuf::Arena* arena, + const TransitionToMulticopterResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TransitionToMulticopterResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.TransitionToMulticopterResponse) } inline PROTOBUF_NDEBUG_INLINE TransitionToMulticopterResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TransitionToMulticopterResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -TransitionToMulticopterResponse::~TransitionToMulticopterResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TransitionToMulticopterResponse) - SharedDtor(*this); -} -inline void TransitionToMulticopterResponse::SharedDtor(MessageLite& self) -{ - TransitionToMulticopterResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* TransitionToMulticopterResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TransitionToMulticopterResponse(arena); -} -constexpr auto TransitionToMulticopterResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TransitionToMulticopterResponse), alignof(TransitionToMulticopterResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TransitionToMulticopterResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +TransitionToMulticopterResponse::~TransitionToMulticopterResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.TransitionToMulticopterResponse) + SharedDtor(*this); +} +inline void TransitionToMulticopterResponse::SharedDtor(MessageLite& self) { + TransitionToMulticopterResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* TransitionToMulticopterResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TransitionToMulticopterResponse(arena); +} +constexpr auto TransitionToMulticopterResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TransitionToMulticopterResponse), + alignof(TransitionToMulticopterResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8804,249 +7891,213 @@ const ::google::protobuf::internal::ClassDataFull TransitionToMulticopterRespons ::google::protobuf::internal::ClassData{ &_TransitionToMulticopterResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TransitionToMulticopterResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TransitionToMulticopterResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TransitionToMulticopterResponse::ByteSizeLong, - &TransitionToMulticopterResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TransitionToMulticopterResponse::ByteSizeLong, + &TransitionToMulticopterResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_._cached_size_), false, }, &TransitionToMulticopterResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TransitionToMulticopterResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TransitionToMulticopterResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::TransitionToMulticopterResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TransitionToMulticopterResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TransitionToMulticopterResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TransitionToMulticopterResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TransitionToMulticopterResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TransitionToMulticopterResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TransitionToMulticopterResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TransitionToMulticopterResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TransitionToMulticopterResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TransitionToMulticopterResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::TransitionToMulticopterResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TransitionToMulticopterResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(TransitionToMulticopterResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void TransitionToMulticopterResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.TransitionToMulticopterResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TransitionToMulticopterResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TransitionToMulticopterResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TransitionToMulticopterResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TransitionToMulticopterResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.TransitionToMulticopterResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.TransitionToMulticopterResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TransitionToMulticopterResponse::ByteSizeLong(const MessageLite& base) -{ - const TransitionToMulticopterResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TransitionToMulticopterResponse::ByteSizeLong() const -{ - const TransitionToMulticopterResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TransitionToMulticopterResponse) - ::size_t total_size = 0; + ::size_t TransitionToMulticopterResponse::ByteSizeLong(const MessageLite& base) { + const TransitionToMulticopterResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TransitionToMulticopterResponse::ByteSizeLong() const { + const TransitionToMulticopterResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.TransitionToMulticopterResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TransitionToMulticopterResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TransitionToMulticopterResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void TransitionToMulticopterResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.TransitionToMulticopterResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TransitionToMulticopterResponse::CopyFrom(const TransitionToMulticopterResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TransitionToMulticopterResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TransitionToMulticopterResponse::CopyFrom(const TransitionToMulticopterResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.TransitionToMulticopterResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TransitionToMulticopterResponse::InternalSwap( - TransitionToMulticopterResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void TransitionToMulticopterResponse::InternalSwap(TransitionToMulticopterResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata TransitionToMulticopterResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TransitionToMulticopterResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetTakeoffAltitudeRequest::_Internal { -public: + public: }; GetTakeoffAltitudeRequest::GetTakeoffAltitudeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetTakeoffAltitudeRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetTakeoffAltitudeRequest) } GetTakeoffAltitudeRequest::GetTakeoffAltitudeRequest( - ::google::protobuf::Arena* arena, const GetTakeoffAltitudeRequest& from) + ::google::protobuf::Arena* arena, + const GetTakeoffAltitudeRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetTakeoffAltitudeRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetTakeoffAltitudeRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetTakeoffAltitudeRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetTakeoffAltitudeRequest) } -inline void* -GetTakeoffAltitudeRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetTakeoffAltitudeRequest(arena); +inline void* GetTakeoffAltitudeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetTakeoffAltitudeRequest(arena); } -constexpr auto GetTakeoffAltitudeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetTakeoffAltitudeRequest), alignof(GetTakeoffAltitudeRequest)); +constexpr auto GetTakeoffAltitudeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetTakeoffAltitudeRequest), + alignof(GetTakeoffAltitudeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9054,154 +8105,144 @@ const ::google::protobuf::internal::ClassDataFull GetTakeoffAltitudeRequest::_cl ::google::protobuf::internal::ClassData{ &_GetTakeoffAltitudeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetTakeoffAltitudeRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetTakeoffAltitudeRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &GetTakeoffAltitudeRequest::ByteSizeLong, - &GetTakeoffAltitudeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetTakeoffAltitudeRequest::ByteSizeLong, + &GetTakeoffAltitudeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeRequest, _impl_._cached_size_), false, }, &GetTakeoffAltitudeRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetTakeoffAltitudeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - GetTakeoffAltitudeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::GetTakeoffAltitudeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata GetTakeoffAltitudeRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetTakeoffAltitudeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetTakeoffAltitudeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GetTakeoffAltitudeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata GetTakeoffAltitudeRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetTakeoffAltitudeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_._has_bits_); }; GetTakeoffAltitudeResponse::GetTakeoffAltitudeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetTakeoffAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE GetTakeoffAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::GetTakeoffAltitudeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::GetTakeoffAltitudeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} GetTakeoffAltitudeResponse::GetTakeoffAltitudeResponse( - ::google::protobuf::Arena* arena, const GetTakeoffAltitudeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetTakeoffAltitudeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - _impl_.altitude_ = from._impl_.altitude_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + ::google::protobuf::Arena* arena, + const GetTakeoffAltitudeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetTakeoffAltitudeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + _impl_.altitude_ = from._impl_.altitude_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetTakeoffAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE GetTakeoffAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GetTakeoffAltitudeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_result_), - 0, - offsetof(Impl_, altitude_) - offsetof(Impl_, action_result_) + sizeof(Impl_::altitude_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GetTakeoffAltitudeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_result_), + 0, + offsetof(Impl_, altitude_) - + offsetof(Impl_, action_result_) + + sizeof(Impl_::altitude_)); } -GetTakeoffAltitudeResponse::~GetTakeoffAltitudeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GetTakeoffAltitudeResponse) - SharedDtor(*this); +GetTakeoffAltitudeResponse::~GetTakeoffAltitudeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + SharedDtor(*this); } -inline void GetTakeoffAltitudeResponse::SharedDtor(MessageLite& self) -{ - GetTakeoffAltitudeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); +inline void GetTakeoffAltitudeResponse::SharedDtor(MessageLite& self) { + GetTakeoffAltitudeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); } -inline void* -GetTakeoffAltitudeResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetTakeoffAltitudeResponse(arena); +inline void* GetTakeoffAltitudeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetTakeoffAltitudeResponse(arena); } -constexpr auto GetTakeoffAltitudeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetTakeoffAltitudeResponse), alignof(GetTakeoffAltitudeResponse)); +constexpr auto GetTakeoffAltitudeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetTakeoffAltitudeResponse), + alignof(GetTakeoffAltitudeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9209,285 +8250,252 @@ const ::google::protobuf::internal::ClassDataFull GetTakeoffAltitudeResponse::_c ::google::protobuf::internal::ClassData{ &_GetTakeoffAltitudeResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetTakeoffAltitudeResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetTakeoffAltitudeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GetTakeoffAltitudeResponse::ByteSizeLong, - &GetTakeoffAltitudeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &GetTakeoffAltitudeResponse::ByteSizeLong, + &GetTakeoffAltitudeResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_._cached_size_), false, }, &GetTakeoffAltitudeResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetTakeoffAltitudeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - GetTakeoffAltitudeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::GetTakeoffAltitudeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float altitude = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.altitude_)}}, - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // float altitude = 2; - {PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.altitude_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void GetTakeoffAltitudeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_.altitude_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GetTakeoffAltitudeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GetTakeoffAltitudeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GetTakeoffAltitudeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GetTakeoffAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetTakeoffAltitudeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GetTakeoffAltitudeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GetTakeoffAltitudeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float altitude = 2; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.altitude_)}}, // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // float altitude = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_altitude(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GetTakeoffAltitudeResponse) - return target; -} + {PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.altitude_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GetTakeoffAltitudeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_.altitude_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetTakeoffAltitudeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetTakeoffAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetTakeoffAltitudeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetTakeoffAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + // float altitude = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_altitude(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GetTakeoffAltitudeResponse::ByteSizeLong(const MessageLite& base) -{ - const GetTakeoffAltitudeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GetTakeoffAltitudeResponse::ByteSizeLong() const -{ - const GetTakeoffAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) - ::size_t total_size = 0; + ::size_t GetTakeoffAltitudeResponse::ByteSizeLong(const MessageLite& base) { + const GetTakeoffAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetTakeoffAltitudeResponse::ByteSizeLong() const { + const GetTakeoffAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - { - // float altitude = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { - total_size += 5; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void GetTakeoffAltitudeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + { + // float altitude = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - if (::absl::bit_cast<::uint32_t>(from._internal_altitude()) != 0) { - _this->_impl_.altitude_ = from._impl_.altitude_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void GetTakeoffAltitudeResponse::CopyFrom(const GetTakeoffAltitudeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void GetTakeoffAltitudeResponse::InternalSwap(GetTakeoffAltitudeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.altitude_) + - sizeof(GetTakeoffAltitudeResponse::_impl_.altitude_) - - PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.action_result_)>( - reinterpret_cast(&_impl_.action_result_), - reinterpret_cast(&other->_impl_.action_result_)); -} -::google::protobuf::Metadata GetTakeoffAltitudeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void GetTakeoffAltitudeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + } + } + if (::absl::bit_cast<::uint32_t>(from._internal_altitude()) != 0) { + _this->_impl_.altitude_ = from._impl_.altitude_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetTakeoffAltitudeResponse::CopyFrom(const GetTakeoffAltitudeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetTakeoffAltitudeResponse::InternalSwap(GetTakeoffAltitudeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.altitude_) + + sizeof(GetTakeoffAltitudeResponse::_impl_.altitude_) + - PROTOBUF_FIELD_OFFSET(GetTakeoffAltitudeResponse, _impl_.action_result_)>( + reinterpret_cast(&_impl_.action_result_), + reinterpret_cast(&other->_impl_.action_result_)); +} + +::google::protobuf::Metadata GetTakeoffAltitudeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetTakeoffAltitudeRequest::_Internal { -public: + public: }; SetTakeoffAltitudeRequest::SetTakeoffAltitudeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetTakeoffAltitudeRequest) } SetTakeoffAltitudeRequest::SetTakeoffAltitudeRequest( - ::google::protobuf::Arena* arena, const SetTakeoffAltitudeRequest& from) : - SetTakeoffAltitudeRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetTakeoffAltitudeRequest& from) + : SetTakeoffAltitudeRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetTakeoffAltitudeRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetTakeoffAltitudeRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.altitude_ = {}; -} -SetTakeoffAltitudeRequest::~SetTakeoffAltitudeRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetTakeoffAltitudeRequest) - SharedDtor(*this); -} -inline void SetTakeoffAltitudeRequest::SharedDtor(MessageLite& self) -{ - SetTakeoffAltitudeRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -SetTakeoffAltitudeRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetTakeoffAltitudeRequest(arena); -} -constexpr auto SetTakeoffAltitudeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetTakeoffAltitudeRequest), alignof(SetTakeoffAltitudeRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetTakeoffAltitudeRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.altitude_ = {}; +} +SetTakeoffAltitudeRequest::~SetTakeoffAltitudeRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + SharedDtor(*this); +} +inline void SetTakeoffAltitudeRequest::SharedDtor(MessageLite& self) { + SetTakeoffAltitudeRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* SetTakeoffAltitudeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetTakeoffAltitudeRequest(arena); +} +constexpr auto SetTakeoffAltitudeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetTakeoffAltitudeRequest), + alignof(SetTakeoffAltitudeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9495,261 +8503,231 @@ const ::google::protobuf::internal::ClassDataFull SetTakeoffAltitudeRequest::_cl ::google::protobuf::internal::ClassData{ &_SetTakeoffAltitudeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetTakeoffAltitudeRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetTakeoffAltitudeRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetTakeoffAltitudeRequest::ByteSizeLong, - &SetTakeoffAltitudeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetTakeoffAltitudeRequest::ByteSizeLong, + &SetTakeoffAltitudeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeRequest, _impl_._cached_size_), false, }, &SetTakeoffAltitudeRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetTakeoffAltitudeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - SetTakeoffAltitudeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetTakeoffAltitudeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float altitude = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeRequest, _impl_.altitude_)}}, - }}, - {{65535, 65535}}, - {{ - // float altitude = 1; - {PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeRequest, _impl_.altitude_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetTakeoffAltitudeRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.altitude_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetTakeoffAltitudeRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetTakeoffAltitudeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetTakeoffAltitudeRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetTakeoffAltitudeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetTakeoffAltitudeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SetTakeoffAltitudeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetTakeoffAltitudeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // float altitude = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_altitude(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetTakeoffAltitudeRequest) - return target; -} + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeRequest, _impl_.altitude_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float altitude = 1; + {PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeRequest, _impl_.altitude_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void SetTakeoffAltitudeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.altitude_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetTakeoffAltitudeRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetTakeoffAltitudeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetTakeoffAltitudeRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetTakeoffAltitudeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float altitude = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_altitude(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetTakeoffAltitudeRequest::ByteSizeLong(const MessageLite& base) -{ - const SetTakeoffAltitudeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetTakeoffAltitudeRequest::ByteSizeLong() const -{ - const SetTakeoffAltitudeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) - ::size_t total_size = 0; + ::size_t SetTakeoffAltitudeRequest::ByteSizeLong(const MessageLite& base) { + const SetTakeoffAltitudeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetTakeoffAltitudeRequest::ByteSizeLong() const { + const SetTakeoffAltitudeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // float altitude = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { - total_size += 5; + { + // float altitude = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_altitude()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetTakeoffAltitudeRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetTakeoffAltitudeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_altitude()) != 0) { - _this->_impl_.altitude_ = from._impl_.altitude_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_altitude()) != 0) { + _this->_impl_.altitude_ = from._impl_.altitude_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetTakeoffAltitudeRequest::CopyFrom(const SetTakeoffAltitudeRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetTakeoffAltitudeRequest::CopyFrom(const SetTakeoffAltitudeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetTakeoffAltitudeRequest::InternalSwap(SetTakeoffAltitudeRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.altitude_, other->_impl_.altitude_); + +void SetTakeoffAltitudeRequest::InternalSwap(SetTakeoffAltitudeRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.altitude_, other->_impl_.altitude_); } -::google::protobuf::Metadata SetTakeoffAltitudeRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetTakeoffAltitudeRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetTakeoffAltitudeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_._has_bits_); }; SetTakeoffAltitudeResponse::SetTakeoffAltitudeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetTakeoffAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE SetTakeoffAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::SetTakeoffAltitudeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::SetTakeoffAltitudeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetTakeoffAltitudeResponse::SetTakeoffAltitudeResponse( - ::google::protobuf::Arena* arena, const SetTakeoffAltitudeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetTakeoffAltitudeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + ::google::protobuf::Arena* arena, + const SetTakeoffAltitudeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetTakeoffAltitudeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetTakeoffAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE SetTakeoffAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetTakeoffAltitudeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -SetTakeoffAltitudeResponse::~SetTakeoffAltitudeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetTakeoffAltitudeResponse) - SharedDtor(*this); -} -inline void SetTakeoffAltitudeResponse::SharedDtor(MessageLite& self) -{ - SetTakeoffAltitudeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetTakeoffAltitudeResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetTakeoffAltitudeResponse(arena); -} -constexpr auto SetTakeoffAltitudeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetTakeoffAltitudeResponse), alignof(SetTakeoffAltitudeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetTakeoffAltitudeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +SetTakeoffAltitudeResponse::~SetTakeoffAltitudeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + SharedDtor(*this); +} +inline void SetTakeoffAltitudeResponse::SharedDtor(MessageLite& self) { + SetTakeoffAltitudeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* SetTakeoffAltitudeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetTakeoffAltitudeResponse(arena); +} +constexpr auto SetTakeoffAltitudeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetTakeoffAltitudeResponse), + alignof(SetTakeoffAltitudeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9757,243 +8735,213 @@ const ::google::protobuf::internal::ClassDataFull SetTakeoffAltitudeResponse::_c ::google::protobuf::internal::ClassData{ &_SetTakeoffAltitudeResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetTakeoffAltitudeResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetTakeoffAltitudeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetTakeoffAltitudeResponse::ByteSizeLong, - &SetTakeoffAltitudeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetTakeoffAltitudeResponse::ByteSizeLong, + &SetTakeoffAltitudeResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_._cached_size_), false, }, &SetTakeoffAltitudeResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetTakeoffAltitudeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetTakeoffAltitudeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetTakeoffAltitudeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetTakeoffAltitudeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetTakeoffAltitudeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetTakeoffAltitudeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetTakeoffAltitudeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetTakeoffAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetTakeoffAltitudeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetTakeoffAltitudeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetTakeoffAltitudeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetTakeoffAltitudeResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(SetTakeoffAltitudeResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void SetTakeoffAltitudeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetTakeoffAltitudeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetTakeoffAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetTakeoffAltitudeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetTakeoffAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetTakeoffAltitudeResponse::ByteSizeLong(const MessageLite& base) -{ - const SetTakeoffAltitudeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetTakeoffAltitudeResponse::ByteSizeLong() const -{ - const SetTakeoffAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) - ::size_t total_size = 0; + ::size_t SetTakeoffAltitudeResponse::ByteSizeLong(const MessageLite& base) { + const SetTakeoffAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetTakeoffAltitudeResponse::ByteSizeLong() const { + const SetTakeoffAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SetTakeoffAltitudeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void SetTakeoffAltitudeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetTakeoffAltitudeResponse::CopyFrom(const SetTakeoffAltitudeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetTakeoffAltitudeResponse::CopyFrom(const SetTakeoffAltitudeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetTakeoffAltitudeResponse::InternalSwap(SetTakeoffAltitudeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void SetTakeoffAltitudeResponse::InternalSwap(SetTakeoffAltitudeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata SetTakeoffAltitudeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetTakeoffAltitudeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetMaximumSpeedRequest::_Internal { -public: + public: }; GetMaximumSpeedRequest::GetMaximumSpeedRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetMaximumSpeedRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetMaximumSpeedRequest) } GetMaximumSpeedRequest::GetMaximumSpeedRequest( - ::google::protobuf::Arena* arena, const GetMaximumSpeedRequest& from) + ::google::protobuf::Arena* arena, + const GetMaximumSpeedRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetMaximumSpeedRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetMaximumSpeedRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetMaximumSpeedRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetMaximumSpeedRequest) } -inline void* -GetMaximumSpeedRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetMaximumSpeedRequest(arena); +inline void* GetMaximumSpeedRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetMaximumSpeedRequest(arena); } -constexpr auto GetMaximumSpeedRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetMaximumSpeedRequest), alignof(GetMaximumSpeedRequest)); +constexpr auto GetMaximumSpeedRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetMaximumSpeedRequest), + alignof(GetMaximumSpeedRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10001,154 +8949,144 @@ const ::google::protobuf::internal::ClassDataFull GetMaximumSpeedRequest::_class ::google::protobuf::internal::ClassData{ &_GetMaximumSpeedRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetMaximumSpeedRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetMaximumSpeedRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &GetMaximumSpeedRequest::ByteSizeLong, - &GetMaximumSpeedRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetMaximumSpeedRequest::ByteSizeLong, + &GetMaximumSpeedRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetMaximumSpeedRequest, _impl_._cached_size_), false, }, &GetMaximumSpeedRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetMaximumSpeedRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - GetMaximumSpeedRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::GetMaximumSpeedRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata GetMaximumSpeedRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetMaximumSpeedRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetMaximumSpeedRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GetMaximumSpeedRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata GetMaximumSpeedRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetMaximumSpeedResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_._has_bits_); }; GetMaximumSpeedResponse::GetMaximumSpeedResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetMaximumSpeedResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetMaximumSpeedResponse) } inline PROTOBUF_NDEBUG_INLINE GetMaximumSpeedResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::GetMaximumSpeedResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::GetMaximumSpeedResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} GetMaximumSpeedResponse::GetMaximumSpeedResponse( - ::google::protobuf::Arena* arena, const GetMaximumSpeedResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetMaximumSpeedResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - _impl_.speed_ = from._impl_.speed_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetMaximumSpeedResponse) + ::google::protobuf::Arena* arena, + const GetMaximumSpeedResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetMaximumSpeedResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + _impl_.speed_ = from._impl_.speed_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetMaximumSpeedResponse) } inline PROTOBUF_NDEBUG_INLINE GetMaximumSpeedResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GetMaximumSpeedResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_result_), - 0, - offsetof(Impl_, speed_) - offsetof(Impl_, action_result_) + sizeof(Impl_::speed_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GetMaximumSpeedResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_result_), + 0, + offsetof(Impl_, speed_) - + offsetof(Impl_, action_result_) + + sizeof(Impl_::speed_)); } -GetMaximumSpeedResponse::~GetMaximumSpeedResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GetMaximumSpeedResponse) - SharedDtor(*this); +GetMaximumSpeedResponse::~GetMaximumSpeedResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GetMaximumSpeedResponse) + SharedDtor(*this); } -inline void GetMaximumSpeedResponse::SharedDtor(MessageLite& self) -{ - GetMaximumSpeedResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); +inline void GetMaximumSpeedResponse::SharedDtor(MessageLite& self) { + GetMaximumSpeedResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); } -inline void* -GetMaximumSpeedResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetMaximumSpeedResponse(arena); +inline void* GetMaximumSpeedResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetMaximumSpeedResponse(arena); } -constexpr auto GetMaximumSpeedResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetMaximumSpeedResponse), alignof(GetMaximumSpeedResponse)); +constexpr auto GetMaximumSpeedResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetMaximumSpeedResponse), + alignof(GetMaximumSpeedResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10156,285 +9094,252 @@ const ::google::protobuf::internal::ClassDataFull GetMaximumSpeedResponse::_clas ::google::protobuf::internal::ClassData{ &_GetMaximumSpeedResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetMaximumSpeedResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetMaximumSpeedResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GetMaximumSpeedResponse::ByteSizeLong, - &GetMaximumSpeedResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &GetMaximumSpeedResponse::ByteSizeLong, + &GetMaximumSpeedResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_._cached_size_), false, }, &GetMaximumSpeedResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetMaximumSpeedResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - GetMaximumSpeedResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::GetMaximumSpeedResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float speed = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.speed_)}}, - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // float speed = 2; - {PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.speed_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void GetMaximumSpeedResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GetMaximumSpeedResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_.speed_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GetMaximumSpeedResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GetMaximumSpeedResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GetMaximumSpeedResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GetMaximumSpeedResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GetMaximumSpeedResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetMaximumSpeedResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GetMaximumSpeedResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GetMaximumSpeedResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float speed = 2; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.speed_)}}, // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // float speed = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_speed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GetMaximumSpeedResponse) - return target; -} + {PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.speed_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GetMaximumSpeedResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GetMaximumSpeedResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_.speed_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetMaximumSpeedResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetMaximumSpeedResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetMaximumSpeedResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetMaximumSpeedResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GetMaximumSpeedResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + // float speed = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GetMaximumSpeedResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GetMaximumSpeedResponse::ByteSizeLong(const MessageLite& base) -{ - const GetMaximumSpeedResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GetMaximumSpeedResponse::ByteSizeLong() const -{ - const GetMaximumSpeedResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GetMaximumSpeedResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - { - // float speed = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { - total_size += 5; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void GetMaximumSpeedResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GetMaximumSpeedResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); - } - } - if (::absl::bit_cast<::uint32_t>(from._internal_speed()) != 0) { - _this->_impl_.speed_ = from._impl_.speed_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} + ::size_t GetMaximumSpeedResponse::ByteSizeLong(const MessageLite& base) { + const GetMaximumSpeedResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetMaximumSpeedResponse::ByteSizeLong() const { + const GetMaximumSpeedResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GetMaximumSpeedResponse) + ::size_t total_size = 0; -void GetMaximumSpeedResponse::CopyFrom(const GetMaximumSpeedResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GetMaximumSpeedResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; -void GetMaximumSpeedResponse::InternalSwap(GetMaximumSpeedResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.speed_) + - sizeof(GetMaximumSpeedResponse::_impl_.speed_) - - PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.action_result_)>( - reinterpret_cast(&_impl_.action_result_), - reinterpret_cast(&other->_impl_.action_result_)); -} + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + { + // float speed = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } -::google::protobuf::Metadata GetMaximumSpeedResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void GetMaximumSpeedResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GetMaximumSpeedResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + } + } + if (::absl::bit_cast<::uint32_t>(from._internal_speed()) != 0) { + _this->_impl_.speed_ = from._impl_.speed_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetMaximumSpeedResponse::CopyFrom(const GetMaximumSpeedResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GetMaximumSpeedResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetMaximumSpeedResponse::InternalSwap(GetMaximumSpeedResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.speed_) + + sizeof(GetMaximumSpeedResponse::_impl_.speed_) + - PROTOBUF_FIELD_OFFSET(GetMaximumSpeedResponse, _impl_.action_result_)>( + reinterpret_cast(&_impl_.action_result_), + reinterpret_cast(&other->_impl_.action_result_)); +} + +::google::protobuf::Metadata GetMaximumSpeedResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetMaximumSpeedRequest::_Internal { -public: + public: }; SetMaximumSpeedRequest::SetMaximumSpeedRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetMaximumSpeedRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetMaximumSpeedRequest) } SetMaximumSpeedRequest::SetMaximumSpeedRequest( - ::google::protobuf::Arena* arena, const SetMaximumSpeedRequest& from) : - SetMaximumSpeedRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetMaximumSpeedRequest& from) + : SetMaximumSpeedRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetMaximumSpeedRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetMaximumSpeedRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.speed_ = {}; -} -SetMaximumSpeedRequest::~SetMaximumSpeedRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetMaximumSpeedRequest) - SharedDtor(*this); -} -inline void SetMaximumSpeedRequest::SharedDtor(MessageLite& self) -{ - SetMaximumSpeedRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -SetMaximumSpeedRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetMaximumSpeedRequest(arena); -} -constexpr auto SetMaximumSpeedRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetMaximumSpeedRequest), alignof(SetMaximumSpeedRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetMaximumSpeedRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.speed_ = {}; +} +SetMaximumSpeedRequest::~SetMaximumSpeedRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetMaximumSpeedRequest) + SharedDtor(*this); +} +inline void SetMaximumSpeedRequest::SharedDtor(MessageLite& self) { + SetMaximumSpeedRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* SetMaximumSpeedRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetMaximumSpeedRequest(arena); +} +constexpr auto SetMaximumSpeedRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetMaximumSpeedRequest), + alignof(SetMaximumSpeedRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10442,261 +9347,231 @@ const ::google::protobuf::internal::ClassDataFull SetMaximumSpeedRequest::_class ::google::protobuf::internal::ClassData{ &_SetMaximumSpeedRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetMaximumSpeedRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetMaximumSpeedRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetMaximumSpeedRequest::ByteSizeLong, - &SetMaximumSpeedRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetMaximumSpeedRequest::ByteSizeLong, + &SetMaximumSpeedRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetMaximumSpeedRequest, _impl_._cached_size_), false, }, &SetMaximumSpeedRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetMaximumSpeedRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - SetMaximumSpeedRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetMaximumSpeedRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float speed = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(SetMaximumSpeedRequest, _impl_.speed_)}}, - }}, - {{65535, 65535}}, - {{ - // float speed = 1; - {PROTOBUF_FIELD_OFFSET(SetMaximumSpeedRequest, _impl_.speed_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetMaximumSpeedRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetMaximumSpeedRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.speed_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetMaximumSpeedRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetMaximumSpeedRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetMaximumSpeedRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetMaximumSpeedRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetMaximumSpeedRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetMaximumSpeedRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SetMaximumSpeedRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetMaximumSpeedRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // float speed = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_speed(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetMaximumSpeedRequest) - return target; -} + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(SetMaximumSpeedRequest, _impl_.speed_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float speed = 1; + {PROTOBUF_FIELD_OFFSET(SetMaximumSpeedRequest, _impl_.speed_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void SetMaximumSpeedRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetMaximumSpeedRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.speed_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetMaximumSpeedRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetMaximumSpeedRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetMaximumSpeedRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetMaximumSpeedRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetMaximumSpeedRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float speed = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetMaximumSpeedRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetMaximumSpeedRequest::ByteSizeLong(const MessageLite& base) -{ - const SetMaximumSpeedRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetMaximumSpeedRequest::ByteSizeLong() const -{ - const SetMaximumSpeedRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetMaximumSpeedRequest) - ::size_t total_size = 0; + ::size_t SetMaximumSpeedRequest::ByteSizeLong(const MessageLite& base) { + const SetMaximumSpeedRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetMaximumSpeedRequest::ByteSizeLong() const { + const SetMaximumSpeedRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetMaximumSpeedRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // float speed = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { - total_size += 5; + { + // float speed = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_speed()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetMaximumSpeedRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetMaximumSpeedRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetMaximumSpeedRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetMaximumSpeedRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_speed()) != 0) { - _this->_impl_.speed_ = from._impl_.speed_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_speed()) != 0) { + _this->_impl_.speed_ = from._impl_.speed_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetMaximumSpeedRequest::CopyFrom(const SetMaximumSpeedRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetMaximumSpeedRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetMaximumSpeedRequest::CopyFrom(const SetMaximumSpeedRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetMaximumSpeedRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetMaximumSpeedRequest::InternalSwap(SetMaximumSpeedRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.speed_, other->_impl_.speed_); + +void SetMaximumSpeedRequest::InternalSwap(SetMaximumSpeedRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.speed_, other->_impl_.speed_); } -::google::protobuf::Metadata SetMaximumSpeedRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetMaximumSpeedRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetMaximumSpeedResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_._has_bits_); }; SetMaximumSpeedResponse::SetMaximumSpeedResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetMaximumSpeedResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetMaximumSpeedResponse) } inline PROTOBUF_NDEBUG_INLINE SetMaximumSpeedResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::SetMaximumSpeedResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::SetMaximumSpeedResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetMaximumSpeedResponse::SetMaximumSpeedResponse( - ::google::protobuf::Arena* arena, const SetMaximumSpeedResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetMaximumSpeedResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetMaximumSpeedResponse) + ::google::protobuf::Arena* arena, + const SetMaximumSpeedResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetMaximumSpeedResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetMaximumSpeedResponse) } inline PROTOBUF_NDEBUG_INLINE SetMaximumSpeedResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetMaximumSpeedResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -SetMaximumSpeedResponse::~SetMaximumSpeedResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetMaximumSpeedResponse) - SharedDtor(*this); -} -inline void SetMaximumSpeedResponse::SharedDtor(MessageLite& self) -{ - SetMaximumSpeedResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetMaximumSpeedResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetMaximumSpeedResponse(arena); -} -constexpr auto SetMaximumSpeedResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetMaximumSpeedResponse), alignof(SetMaximumSpeedResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetMaximumSpeedResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +SetMaximumSpeedResponse::~SetMaximumSpeedResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetMaximumSpeedResponse) + SharedDtor(*this); +} +inline void SetMaximumSpeedResponse::SharedDtor(MessageLite& self) { + SetMaximumSpeedResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* SetMaximumSpeedResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetMaximumSpeedResponse(arena); +} +constexpr auto SetMaximumSpeedResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetMaximumSpeedResponse), + alignof(SetMaximumSpeedResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10704,243 +9579,213 @@ const ::google::protobuf::internal::ClassDataFull SetMaximumSpeedResponse::_clas ::google::protobuf::internal::ClassData{ &_SetMaximumSpeedResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetMaximumSpeedResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetMaximumSpeedResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetMaximumSpeedResponse::ByteSizeLong, - &SetMaximumSpeedResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetMaximumSpeedResponse::ByteSizeLong, + &SetMaximumSpeedResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_._cached_size_), false, }, &SetMaximumSpeedResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetMaximumSpeedResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetMaximumSpeedResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetMaximumSpeedResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetMaximumSpeedResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetMaximumSpeedResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetMaximumSpeedResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetMaximumSpeedResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetMaximumSpeedResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetMaximumSpeedResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetMaximumSpeedResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetMaximumSpeedResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetMaximumSpeedResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetMaximumSpeedResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetMaximumSpeedResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(SetMaximumSpeedResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void SetMaximumSpeedResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetMaximumSpeedResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetMaximumSpeedResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetMaximumSpeedResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetMaximumSpeedResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetMaximumSpeedResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetMaximumSpeedResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetMaximumSpeedResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetMaximumSpeedResponse::ByteSizeLong(const MessageLite& base) -{ - const SetMaximumSpeedResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetMaximumSpeedResponse::ByteSizeLong() const -{ - const SetMaximumSpeedResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetMaximumSpeedResponse) - ::size_t total_size = 0; + ::size_t SetMaximumSpeedResponse::ByteSizeLong(const MessageLite& base) { + const SetMaximumSpeedResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetMaximumSpeedResponse::ByteSizeLong() const { + const SetMaximumSpeedResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetMaximumSpeedResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SetMaximumSpeedResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetMaximumSpeedResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void SetMaximumSpeedResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetMaximumSpeedResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetMaximumSpeedResponse::CopyFrom(const SetMaximumSpeedResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetMaximumSpeedResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetMaximumSpeedResponse::CopyFrom(const SetMaximumSpeedResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetMaximumSpeedResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetMaximumSpeedResponse::InternalSwap(SetMaximumSpeedResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void SetMaximumSpeedResponse::InternalSwap(SetMaximumSpeedResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata SetMaximumSpeedResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetMaximumSpeedResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetReturnToLaunchAltitudeRequest::_Internal { -public: + public: }; GetReturnToLaunchAltitudeRequest::GetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) } GetReturnToLaunchAltitudeRequest::GetReturnToLaunchAltitudeRequest( - ::google::protobuf::Arena* arena, const GetReturnToLaunchAltitudeRequest& from) + ::google::protobuf::Arena* arena, + const GetReturnToLaunchAltitudeRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetReturnToLaunchAltitudeRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetReturnToLaunchAltitudeRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) } -inline void* GetReturnToLaunchAltitudeRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetReturnToLaunchAltitudeRequest(arena); +inline void* GetReturnToLaunchAltitudeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetReturnToLaunchAltitudeRequest(arena); } -constexpr auto GetReturnToLaunchAltitudeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetReturnToLaunchAltitudeRequest), alignof(GetReturnToLaunchAltitudeRequest)); +constexpr auto GetReturnToLaunchAltitudeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetReturnToLaunchAltitudeRequest), + alignof(GetReturnToLaunchAltitudeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10948,459 +9793,397 @@ const ::google::protobuf::internal::ClassDataFull GetReturnToLaunchAltitudeReque ::google::protobuf::internal::ClassData{ &_GetReturnToLaunchAltitudeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetReturnToLaunchAltitudeRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - GetReturnToLaunchAltitudeRequest>(), + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetReturnToLaunchAltitudeRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - GetReturnToLaunchAltitudeRequest>(), - &GetReturnToLaunchAltitudeRequest::ByteSizeLong, - &GetReturnToLaunchAltitudeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetReturnToLaunchAltitudeRequest::ByteSizeLong, + &GetReturnToLaunchAltitudeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeRequest, _impl_._cached_size_), false, }, &GetReturnToLaunchAltitudeRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* -GetReturnToLaunchAltitudeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - GetReturnToLaunchAltitudeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::GetReturnToLaunchAltitudeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata GetReturnToLaunchAltitudeRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetReturnToLaunchAltitudeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetReturnToLaunchAltitudeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GetReturnToLaunchAltitudeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata GetReturnToLaunchAltitudeRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetReturnToLaunchAltitudeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_._has_bits_); }; -GetReturnToLaunchAltitudeResponse::GetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena) +GetReturnToLaunchAltitudeResponse::GetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE GetReturnToLaunchAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} GetReturnToLaunchAltitudeResponse::GetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena, const GetReturnToLaunchAltitudeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetReturnToLaunchAltitudeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - _impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + ::google::protobuf::Arena* arena, + const GetReturnToLaunchAltitudeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetReturnToLaunchAltitudeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + _impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE GetReturnToLaunchAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GetReturnToLaunchAltitudeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_result_), - 0, - offsetof(Impl_, relative_altitude_m_) - offsetof(Impl_, action_result_) + - sizeof(Impl_::relative_altitude_m_)); -} -GetReturnToLaunchAltitudeResponse::~GetReturnToLaunchAltitudeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) - SharedDtor(*this); -} -inline void GetReturnToLaunchAltitudeResponse::SharedDtor(MessageLite& self) -{ - GetReturnToLaunchAltitudeResponse& this_ = - static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* GetReturnToLaunchAltitudeResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetReturnToLaunchAltitudeResponse(arena); -} -constexpr auto GetReturnToLaunchAltitudeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetReturnToLaunchAltitudeResponse), alignof(GetReturnToLaunchAltitudeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GetReturnToLaunchAltitudeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_result_), + 0, + offsetof(Impl_, relative_altitude_m_) - + offsetof(Impl_, action_result_) + + sizeof(Impl_::relative_altitude_m_)); +} +GetReturnToLaunchAltitudeResponse::~GetReturnToLaunchAltitudeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + SharedDtor(*this); +} +inline void GetReturnToLaunchAltitudeResponse::SharedDtor(MessageLite& self) { + GetReturnToLaunchAltitudeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* GetReturnToLaunchAltitudeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetReturnToLaunchAltitudeResponse(arena); +} +constexpr auto GetReturnToLaunchAltitudeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetReturnToLaunchAltitudeResponse), + alignof(GetReturnToLaunchAltitudeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetReturnToLaunchAltitudeResponse::_class_data_ = - { - ::google::protobuf::internal::ClassData{ - &_GetReturnToLaunchAltitudeResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetReturnToLaunchAltitudeResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetReturnToLaunchAltitudeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GetReturnToLaunchAltitudeResponse::ByteSizeLong, +const ::google::protobuf::internal::ClassDataFull GetReturnToLaunchAltitudeResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_GetReturnToLaunchAltitudeResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &GetReturnToLaunchAltitudeResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &GetReturnToLaunchAltitudeResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &GetReturnToLaunchAltitudeResponse::ByteSizeLong, &GetReturnToLaunchAltitudeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_._cached_size_), - false, - }, - &GetReturnToLaunchAltitudeResponse::kDescriptorMethods, - &descriptor_table_action_2faction_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -GetReturnToLaunchAltitudeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - GetReturnToLaunchAltitudeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float relative_altitude_m = 2; - {::_pbi::TcParser::FastF32S1, - {21, - 63, - 0, - PROTOBUF_FIELD_OFFSET( - GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_)}}, - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // float relative_altitude_m = 2; - {PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void GetReturnToLaunchAltitudeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_.relative_altitude_m_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GetReturnToLaunchAltitudeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GetReturnToLaunchAltitudeResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GetReturnToLaunchAltitudeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GetReturnToLaunchAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_._cached_size_), + false, + }, + &GetReturnToLaunchAltitudeResponse::kDescriptorMethods, + &descriptor_table_action_2faction_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetReturnToLaunchAltitudeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GetReturnToLaunchAltitudeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::GetReturnToLaunchAltitudeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float relative_altitude_m = 2; + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_)}}, // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // float relative_altitude_m = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 2, this_._internal_relative_altitude_m(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) - return target; -} + {PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GetReturnToLaunchAltitudeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_.relative_altitude_m_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetReturnToLaunchAltitudeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetReturnToLaunchAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetReturnToLaunchAltitudeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetReturnToLaunchAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + // float relative_altitude_m = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_relative_altitude_m(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GetReturnToLaunchAltitudeResponse::ByteSizeLong(const MessageLite& base) -{ - const GetReturnToLaunchAltitudeResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GetReturnToLaunchAltitudeResponse::ByteSizeLong() const -{ - const GetReturnToLaunchAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) - ::size_t total_size = 0; + ::size_t GetReturnToLaunchAltitudeResponse::ByteSizeLong(const MessageLite& base) { + const GetReturnToLaunchAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetReturnToLaunchAltitudeResponse::ByteSizeLong() const { + const GetReturnToLaunchAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - { - // float relative_altitude_m = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { - total_size += 5; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void GetReturnToLaunchAltitudeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + { + // float relative_altitude_m = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - if (::absl::bit_cast<::uint32_t>(from._internal_relative_altitude_m()) != 0) { - _this->_impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void GetReturnToLaunchAltitudeResponse::CopyFrom(const GetReturnToLaunchAltitudeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void GetReturnToLaunchAltitudeResponse::InternalSwap( - GetReturnToLaunchAltitudeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_) + - sizeof(GetReturnToLaunchAltitudeResponse::_impl_.relative_altitude_m_) - - PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.action_result_)>( - reinterpret_cast(&_impl_.action_result_), - reinterpret_cast(&other->_impl_.action_result_)); -} - -::google::protobuf::Metadata GetReturnToLaunchAltitudeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); + +void GetReturnToLaunchAltitudeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + } + } + if (::absl::bit_cast<::uint32_t>(from._internal_relative_altitude_m()) != 0) { + _this->_impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void GetReturnToLaunchAltitudeResponse::CopyFrom(const GetReturnToLaunchAltitudeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void GetReturnToLaunchAltitudeResponse::InternalSwap(GetReturnToLaunchAltitudeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.relative_altitude_m_) + + sizeof(GetReturnToLaunchAltitudeResponse::_impl_.relative_altitude_m_) + - PROTOBUF_FIELD_OFFSET(GetReturnToLaunchAltitudeResponse, _impl_.action_result_)>( + reinterpret_cast(&_impl_.action_result_), + reinterpret_cast(&other->_impl_.action_result_)); +} + +::google::protobuf::Metadata GetReturnToLaunchAltitudeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetReturnToLaunchAltitudeRequest::_Internal { -public: + public: }; SetReturnToLaunchAltitudeRequest::SetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) } SetReturnToLaunchAltitudeRequest::SetReturnToLaunchAltitudeRequest( - ::google::protobuf::Arena* arena, const SetReturnToLaunchAltitudeRequest& from) : - SetReturnToLaunchAltitudeRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetReturnToLaunchAltitudeRequest& from) + : SetReturnToLaunchAltitudeRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetReturnToLaunchAltitudeRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetReturnToLaunchAltitudeRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.relative_altitude_m_ = {}; -} -SetReturnToLaunchAltitudeRequest::~SetReturnToLaunchAltitudeRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) - SharedDtor(*this); -} -inline void SetReturnToLaunchAltitudeRequest::SharedDtor(MessageLite& self) -{ - SetReturnToLaunchAltitudeRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* SetReturnToLaunchAltitudeRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetReturnToLaunchAltitudeRequest(arena); -} -constexpr auto SetReturnToLaunchAltitudeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetReturnToLaunchAltitudeRequest), alignof(SetReturnToLaunchAltitudeRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetReturnToLaunchAltitudeRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.relative_altitude_m_ = {}; +} +SetReturnToLaunchAltitudeRequest::~SetReturnToLaunchAltitudeRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + SharedDtor(*this); +} +inline void SetReturnToLaunchAltitudeRequest::SharedDtor(MessageLite& self) { + SetReturnToLaunchAltitudeRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* SetReturnToLaunchAltitudeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetReturnToLaunchAltitudeRequest(arena); +} +constexpr auto SetReturnToLaunchAltitudeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetReturnToLaunchAltitudeRequest), + alignof(SetReturnToLaunchAltitudeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -11408,536 +10191,455 @@ const ::google::protobuf::internal::ClassDataFull SetReturnToLaunchAltitudeReque ::google::protobuf::internal::ClassData{ &_SetReturnToLaunchAltitudeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetReturnToLaunchAltitudeRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetReturnToLaunchAltitudeRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetReturnToLaunchAltitudeRequest::ByteSizeLong, - &SetReturnToLaunchAltitudeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetReturnToLaunchAltitudeRequest::ByteSizeLong, + &SetReturnToLaunchAltitudeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeRequest, _impl_._cached_size_), false, }, &SetReturnToLaunchAltitudeRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* -SetReturnToLaunchAltitudeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - SetReturnToLaunchAltitudeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float relative_altitude_m = 1; - {::_pbi::TcParser::FastF32S1, - {13, - 63, - 0, - PROTOBUF_FIELD_OFFSET( - SetReturnToLaunchAltitudeRequest, _impl_.relative_altitude_m_)}}, - }}, - {{65535, 65535}}, - {{ - // float relative_altitude_m = 1; - {PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeRequest, _impl_.relative_altitude_m_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetReturnToLaunchAltitudeRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.relative_altitude_m_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetReturnToLaunchAltitudeRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetReturnToLaunchAltitudeRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetReturnToLaunchAltitudeRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetReturnToLaunchAltitudeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetReturnToLaunchAltitudeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SetReturnToLaunchAltitudeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetReturnToLaunchAltitudeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // float relative_altitude_m = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 1, this_._internal_relative_altitude_m(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) - return target; -} + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeRequest, _impl_.relative_altitude_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float relative_altitude_m = 1; + {PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeRequest, _impl_.relative_altitude_m_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void SetReturnToLaunchAltitudeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.relative_altitude_m_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetReturnToLaunchAltitudeRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetReturnToLaunchAltitudeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetReturnToLaunchAltitudeRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetReturnToLaunchAltitudeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float relative_altitude_m = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_relative_altitude_m(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetReturnToLaunchAltitudeRequest::ByteSizeLong(const MessageLite& base) -{ - const SetReturnToLaunchAltitudeRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetReturnToLaunchAltitudeRequest::ByteSizeLong() const -{ - const SetReturnToLaunchAltitudeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) - ::size_t total_size = 0; + ::size_t SetReturnToLaunchAltitudeRequest::ByteSizeLong(const MessageLite& base) { + const SetReturnToLaunchAltitudeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetReturnToLaunchAltitudeRequest::ByteSizeLong() const { + const SetReturnToLaunchAltitudeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // float relative_altitude_m = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { - total_size += 5; + { + // float relative_altitude_m = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetReturnToLaunchAltitudeRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetReturnToLaunchAltitudeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_relative_altitude_m()) != 0) { - _this->_impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_relative_altitude_m()) != 0) { + _this->_impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetReturnToLaunchAltitudeRequest::CopyFrom(const SetReturnToLaunchAltitudeRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetReturnToLaunchAltitudeRequest::CopyFrom(const SetReturnToLaunchAltitudeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetReturnToLaunchAltitudeRequest::InternalSwap( - SetReturnToLaunchAltitudeRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.relative_altitude_m_, other->_impl_.relative_altitude_m_); + +void SetReturnToLaunchAltitudeRequest::InternalSwap(SetReturnToLaunchAltitudeRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.relative_altitude_m_, other->_impl_.relative_altitude_m_); } -::google::protobuf::Metadata SetReturnToLaunchAltitudeRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetReturnToLaunchAltitudeRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetReturnToLaunchAltitudeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_._has_bits_); }; -SetReturnToLaunchAltitudeResponse::SetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena) +SetReturnToLaunchAltitudeResponse::SetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE SetReturnToLaunchAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetReturnToLaunchAltitudeResponse::SetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena, const SetReturnToLaunchAltitudeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetReturnToLaunchAltitudeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + ::google::protobuf::Arena* arena, + const SetReturnToLaunchAltitudeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetReturnToLaunchAltitudeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) } inline PROTOBUF_NDEBUG_INLINE SetReturnToLaunchAltitudeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetReturnToLaunchAltitudeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -SetReturnToLaunchAltitudeResponse::~SetReturnToLaunchAltitudeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) - SharedDtor(*this); -} -inline void SetReturnToLaunchAltitudeResponse::SharedDtor(MessageLite& self) -{ - SetReturnToLaunchAltitudeResponse& this_ = - static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* SetReturnToLaunchAltitudeResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetReturnToLaunchAltitudeResponse(arena); -} -constexpr auto SetReturnToLaunchAltitudeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetReturnToLaunchAltitudeResponse), alignof(SetReturnToLaunchAltitudeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetReturnToLaunchAltitudeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +SetReturnToLaunchAltitudeResponse::~SetReturnToLaunchAltitudeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + SharedDtor(*this); +} +inline void SetReturnToLaunchAltitudeResponse::SharedDtor(MessageLite& self) { + SetReturnToLaunchAltitudeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* SetReturnToLaunchAltitudeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetReturnToLaunchAltitudeResponse(arena); +} +constexpr auto SetReturnToLaunchAltitudeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetReturnToLaunchAltitudeResponse), + alignof(SetReturnToLaunchAltitudeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetReturnToLaunchAltitudeResponse::_class_data_ = - { - ::google::protobuf::internal::ClassData{ - &_SetReturnToLaunchAltitudeResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetReturnToLaunchAltitudeResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetReturnToLaunchAltitudeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetReturnToLaunchAltitudeResponse::ByteSizeLong, +const ::google::protobuf::internal::ClassDataFull SetReturnToLaunchAltitudeResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SetReturnToLaunchAltitudeResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SetReturnToLaunchAltitudeResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SetReturnToLaunchAltitudeResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &SetReturnToLaunchAltitudeResponse::ByteSizeLong, &SetReturnToLaunchAltitudeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_._cached_size_), - false, - }, - &SetReturnToLaunchAltitudeResponse::kDescriptorMethods, - &descriptor_table_action_2faction_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -SetReturnToLaunchAltitudeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetReturnToLaunchAltitudeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetReturnToLaunchAltitudeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetReturnToLaunchAltitudeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetReturnToLaunchAltitudeResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetReturnToLaunchAltitudeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetReturnToLaunchAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_._cached_size_), + false, + }, + &SetReturnToLaunchAltitudeResponse::kDescriptorMethods, + &descriptor_table_action_2faction_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetReturnToLaunchAltitudeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetReturnToLaunchAltitudeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetReturnToLaunchAltitudeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(SetReturnToLaunchAltitudeResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void SetReturnToLaunchAltitudeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetReturnToLaunchAltitudeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetReturnToLaunchAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetReturnToLaunchAltitudeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetReturnToLaunchAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetReturnToLaunchAltitudeResponse::ByteSizeLong(const MessageLite& base) -{ - const SetReturnToLaunchAltitudeResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetReturnToLaunchAltitudeResponse::ByteSizeLong() const -{ - const SetReturnToLaunchAltitudeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) - ::size_t total_size = 0; + ::size_t SetReturnToLaunchAltitudeResponse::ByteSizeLong(const MessageLite& base) { + const SetReturnToLaunchAltitudeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetReturnToLaunchAltitudeResponse::ByteSizeLong() const { + const SetReturnToLaunchAltitudeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SetReturnToLaunchAltitudeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void SetReturnToLaunchAltitudeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetReturnToLaunchAltitudeResponse::CopyFrom(const SetReturnToLaunchAltitudeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetReturnToLaunchAltitudeResponse::CopyFrom(const SetReturnToLaunchAltitudeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetReturnToLaunchAltitudeResponse::InternalSwap( - SetReturnToLaunchAltitudeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void SetReturnToLaunchAltitudeResponse::InternalSwap(SetReturnToLaunchAltitudeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata SetReturnToLaunchAltitudeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetReturnToLaunchAltitudeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetCurrentSpeedRequest::_Internal { -public: + public: }; SetCurrentSpeedRequest::SetCurrentSpeedRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetCurrentSpeedRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetCurrentSpeedRequest) } SetCurrentSpeedRequest::SetCurrentSpeedRequest( - ::google::protobuf::Arena* arena, const SetCurrentSpeedRequest& from) : - SetCurrentSpeedRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetCurrentSpeedRequest& from) + : SetCurrentSpeedRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetCurrentSpeedRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetCurrentSpeedRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.speed_m_s_ = {}; -} -SetCurrentSpeedRequest::~SetCurrentSpeedRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetCurrentSpeedRequest) - SharedDtor(*this); -} -inline void SetCurrentSpeedRequest::SharedDtor(MessageLite& self) -{ - SetCurrentSpeedRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -SetCurrentSpeedRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetCurrentSpeedRequest(arena); -} -constexpr auto SetCurrentSpeedRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetCurrentSpeedRequest), alignof(SetCurrentSpeedRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetCurrentSpeedRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.speed_m_s_ = {}; +} +SetCurrentSpeedRequest::~SetCurrentSpeedRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetCurrentSpeedRequest) + SharedDtor(*this); +} +inline void SetCurrentSpeedRequest::SharedDtor(MessageLite& self) { + SetCurrentSpeedRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* SetCurrentSpeedRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetCurrentSpeedRequest(arena); +} +constexpr auto SetCurrentSpeedRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetCurrentSpeedRequest), + alignof(SetCurrentSpeedRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -11945,261 +10647,231 @@ const ::google::protobuf::internal::ClassDataFull SetCurrentSpeedRequest::_class ::google::protobuf::internal::ClassData{ &_SetCurrentSpeedRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetCurrentSpeedRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetCurrentSpeedRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetCurrentSpeedRequest::ByteSizeLong, - &SetCurrentSpeedRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetCurrentSpeedRequest::ByteSizeLong, + &SetCurrentSpeedRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetCurrentSpeedRequest, _impl_._cached_size_), false, }, &SetCurrentSpeedRequest::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetCurrentSpeedRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - SetCurrentSpeedRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetCurrentSpeedRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float speed_m_s = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(SetCurrentSpeedRequest, _impl_.speed_m_s_)}}, - }}, - {{65535, 65535}}, - {{ - // float speed_m_s = 1; - {PROTOBUF_FIELD_OFFSET(SetCurrentSpeedRequest, _impl_.speed_m_s_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetCurrentSpeedRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetCurrentSpeedRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.speed_m_s_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetCurrentSpeedRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetCurrentSpeedRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetCurrentSpeedRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetCurrentSpeedRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetCurrentSpeedRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetCurrentSpeedRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SetCurrentSpeedRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetCurrentSpeedRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // float speed_m_s = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_speed_m_s()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_speed_m_s(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetCurrentSpeedRequest) - return target; -} + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(SetCurrentSpeedRequest, _impl_.speed_m_s_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float speed_m_s = 1; + {PROTOBUF_FIELD_OFFSET(SetCurrentSpeedRequest, _impl_.speed_m_s_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void SetCurrentSpeedRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetCurrentSpeedRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.speed_m_s_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetCurrentSpeedRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetCurrentSpeedRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetCurrentSpeedRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetCurrentSpeedRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetCurrentSpeedRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float speed_m_s = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_speed_m_s()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_speed_m_s(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetCurrentSpeedRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetCurrentSpeedRequest::ByteSizeLong(const MessageLite& base) -{ - const SetCurrentSpeedRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetCurrentSpeedRequest::ByteSizeLong() const -{ - const SetCurrentSpeedRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetCurrentSpeedRequest) - ::size_t total_size = 0; + ::size_t SetCurrentSpeedRequest::ByteSizeLong(const MessageLite& base) { + const SetCurrentSpeedRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetCurrentSpeedRequest::ByteSizeLong() const { + const SetCurrentSpeedRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetCurrentSpeedRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // float speed_m_s = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_speed_m_s()) != 0) { - total_size += 5; + { + // float speed_m_s = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_speed_m_s()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetCurrentSpeedRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetCurrentSpeedRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetCurrentSpeedRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetCurrentSpeedRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_speed_m_s()) != 0) { - _this->_impl_.speed_m_s_ = from._impl_.speed_m_s_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_speed_m_s()) != 0) { + _this->_impl_.speed_m_s_ = from._impl_.speed_m_s_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetCurrentSpeedRequest::CopyFrom(const SetCurrentSpeedRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetCurrentSpeedRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetCurrentSpeedRequest::CopyFrom(const SetCurrentSpeedRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetCurrentSpeedRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetCurrentSpeedRequest::InternalSwap(SetCurrentSpeedRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.speed_m_s_, other->_impl_.speed_m_s_); + +void SetCurrentSpeedRequest::InternalSwap(SetCurrentSpeedRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.speed_m_s_, other->_impl_.speed_m_s_); } -::google::protobuf::Metadata SetCurrentSpeedRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetCurrentSpeedRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetCurrentSpeedResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_._has_bits_); }; SetCurrentSpeedResponse::SetCurrentSpeedResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetCurrentSpeedResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.SetCurrentSpeedResponse) } inline PROTOBUF_NDEBUG_INLINE SetCurrentSpeedResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::SetCurrentSpeedResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::SetCurrentSpeedResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetCurrentSpeedResponse::SetCurrentSpeedResponse( - ::google::protobuf::Arena* arena, const SetCurrentSpeedResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetCurrentSpeedResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetCurrentSpeedResponse) + ::google::protobuf::Arena* arena, + const SetCurrentSpeedResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetCurrentSpeedResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( + arena, *from._impl_.action_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.SetCurrentSpeedResponse) } inline PROTOBUF_NDEBUG_INLINE SetCurrentSpeedResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetCurrentSpeedResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_result_ = {}; -} -SetCurrentSpeedResponse::~SetCurrentSpeedResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetCurrentSpeedResponse) - SharedDtor(*this); -} -inline void SetCurrentSpeedResponse::SharedDtor(MessageLite& self) -{ - SetCurrentSpeedResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetCurrentSpeedResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetCurrentSpeedResponse(arena); -} -constexpr auto SetCurrentSpeedResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetCurrentSpeedResponse), alignof(SetCurrentSpeedResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetCurrentSpeedResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_result_ = {}; +} +SetCurrentSpeedResponse::~SetCurrentSpeedResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.SetCurrentSpeedResponse) + SharedDtor(*this); +} +inline void SetCurrentSpeedResponse::SharedDtor(MessageLite& self) { + SetCurrentSpeedResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_result_; + this_._impl_.~Impl_(); +} + +inline void* SetCurrentSpeedResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetCurrentSpeedResponse(arena); +} +constexpr auto SetCurrentSpeedResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetCurrentSpeedResponse), + alignof(SetCurrentSpeedResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -12207,277 +10879,243 @@ const ::google::protobuf::internal::ClassDataFull SetCurrentSpeedResponse::_clas ::google::protobuf::internal::ClassData{ &_SetCurrentSpeedResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetCurrentSpeedResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetCurrentSpeedResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetCurrentSpeedResponse::ByteSizeLong, - &SetCurrentSpeedResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetCurrentSpeedResponse::ByteSizeLong, + &SetCurrentSpeedResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_._cached_size_), false, }, &SetCurrentSpeedResponse::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetCurrentSpeedResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetCurrentSpeedResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action::SetCurrentSpeedResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_.action_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult action_result = 1; - {PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_.action_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetCurrentSpeedResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetCurrentSpeedResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_result_ != nullptr); - _impl_.action_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetCurrentSpeedResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetCurrentSpeedResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetCurrentSpeedResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetCurrentSpeedResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetCurrentSpeedResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetCurrentSpeedResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetCurrentSpeedResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::SetCurrentSpeedResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action.ActionResult action_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_result_, - this_._impl_.action_result_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetCurrentSpeedResponse) - return target; -} + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_.action_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult action_result = 1; + {PROTOBUF_FIELD_OFFSET(SetCurrentSpeedResponse, _impl_.action_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void SetCurrentSpeedResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.SetCurrentSpeedResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_result_ != nullptr); + _impl_.action_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetCurrentSpeedResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetCurrentSpeedResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetCurrentSpeedResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetCurrentSpeedResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.SetCurrentSpeedResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action.ActionResult action_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_result_, this_._impl_.action_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.SetCurrentSpeedResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetCurrentSpeedResponse::ByteSizeLong(const MessageLite& base) -{ - const SetCurrentSpeedResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetCurrentSpeedResponse::ByteSizeLong() const -{ - const SetCurrentSpeedResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetCurrentSpeedResponse) - ::size_t total_size = 0; + ::size_t SetCurrentSpeedResponse::ByteSizeLong(const MessageLite& base) { + const SetCurrentSpeedResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetCurrentSpeedResponse::ByteSizeLong() const { + const SetCurrentSpeedResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.SetCurrentSpeedResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action.ActionResult action_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SetCurrentSpeedResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetCurrentSpeedResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_result_ != nullptr); - if (_this->_impl_.action_result_ == nullptr) { - _this->_impl_.action_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>( - arena, *from._impl_.action_result_); - } else { - _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); + { + // .mavsdk.rpc.action.ActionResult action_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void SetCurrentSpeedResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.SetCurrentSpeedResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_result_ != nullptr); + if (_this->_impl_.action_result_ == nullptr) { + _this->_impl_.action_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action::ActionResult>(arena, *from._impl_.action_result_); + } else { + _this->_impl_.action_result_->MergeFrom(*from._impl_.action_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetCurrentSpeedResponse::CopyFrom(const SetCurrentSpeedResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetCurrentSpeedResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetCurrentSpeedResponse::CopyFrom(const SetCurrentSpeedResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.SetCurrentSpeedResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetCurrentSpeedResponse::InternalSwap(SetCurrentSpeedResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_result_, other->_impl_.action_result_); + +void SetCurrentSpeedResponse::InternalSwap(SetCurrentSpeedResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_result_, other->_impl_.action_result_); } -::google::protobuf::Metadata SetCurrentSpeedResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetCurrentSpeedResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ActionResult::_Internal { -public: + public: }; ActionResult::ActionResult(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ActionResult) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action.ActionResult) } inline PROTOBUF_NDEBUG_INLINE ActionResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action::ActionResult& from_msg) + : result_str_(arena, from.result_str_), + _cached_size_{0} {} + +ActionResult::ActionResult( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action::ActionResult& from_msg) : - result_str_(arena, from.result_str_), - _cached_size_{0} -{} - -ActionResult::ActionResult(::google::protobuf::Arena* arena, const ActionResult& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ActionResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ActionResult) + const ActionResult& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ActionResult* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.result_ = from._impl_.result_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action.ActionResult) } inline PROTOBUF_NDEBUG_INLINE ActionResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - result_str_(arena), - _cached_size_{0} -{} - -inline void ActionResult::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -ActionResult::~ActionResult() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ActionResult) - SharedDtor(*this); -} -inline void ActionResult::SharedDtor(MessageLite& self) -{ - ActionResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.result_str_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* ActionResult::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ActionResult(arena); -} -constexpr auto ActionResult::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(ActionResult), alignof(ActionResult)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : result_str_(arena), + _cached_size_{0} {} + +inline void ActionResult::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.result_ = {}; +} +ActionResult::~ActionResult() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action.ActionResult) + SharedDtor(*this); +} +inline void ActionResult::SharedDtor(MessageLite& self) { + ActionResult& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.result_str_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ActionResult::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ActionResult(arena); +} +constexpr auto ActionResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ActionResult), + alignof(ActionResult)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -12485,215 +11123,200 @@ const ::google::protobuf::internal::ClassDataFull ActionResult::_class_data_ = { ::google::protobuf::internal::ClassData{ &_ActionResult_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ActionResult::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ActionResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ActionResult::ByteSizeLong, - &ActionResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ActionResult::ByteSizeLong, + &ActionResult::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ActionResult, _impl_._cached_size_), false, }, &ActionResult::kDescriptorMethods, &descriptor_table_action_2faction_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ActionResult::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 49, 2> - ActionResult::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // string result_str = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_str_)}}, - // .mavsdk.rpc.action.ActionResult.Result result = 1; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(ActionResult, _impl_.result_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action.ActionResult.Result result = 1; - {PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string result_str = 2; - {PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_str_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{"\36\0\12\0\0\0\0\0" - "mavsdk.rpc.action.ActionResult" - "result_str"}}, - }; - -PROTOBUF_NOINLINE void ActionResult::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ActionResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.result_str_.ClearToEmpty(); - _impl_.result_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ActionResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ActionResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ActionResult::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ActionResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ActionResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ActionResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 49, 2> ActionResult::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action::ActionResult>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string result_str = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_str_)}}, // .mavsdk.rpc.action.ActionResult.Result result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_result(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ActionResult, _impl_.result_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action.ActionResult.Result result = 1; + {PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // string result_str = 2; - if (!this_._internal_result_str().empty()) { - const std::string& _s = this_._internal_result_str(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.action.ActionResult.result_str"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ActionResult) - return target; -} + {PROTOBUF_FIELD_OFFSET(ActionResult, _impl_.result_str_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\36\0\12\0\0\0\0\0" + "mavsdk.rpc.action.ActionResult" + "result_str" + }}, +}; + +PROTOBUF_NOINLINE void ActionResult::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action.ActionResult) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.result_str_.ClearToEmpty(); + _impl_.result_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ActionResult::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ActionResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ActionResult::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ActionResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action.ActionResult) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.action.ActionResult.Result result = 1; + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + const std::string& _s = this_._internal_result_str(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.action.ActionResult.result_str"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action.ActionResult) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ActionResult::ByteSizeLong(const MessageLite& base) -{ - const ActionResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ActionResult::ByteSizeLong() const -{ - const ActionResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ActionResult) - ::size_t total_size = 0; + ::size_t ActionResult::ByteSizeLong(const MessageLite& base) { + const ActionResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ActionResult::ByteSizeLong() const { + const ActionResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action.ActionResult) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string result_str = 2; - if (!this_._internal_result_str().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_result_str()); - } - // .mavsdk.rpc.action.ActionResult.Result result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_result_str()); + } + // .mavsdk.rpc.action.ActionResult.Result result = 1; + if (this_._internal_result() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ActionResult::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ActionResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ActionResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action.ActionResult) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (!from._internal_result_str().empty()) { - _this->_internal_set_result_str(from._internal_result_str()); - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (!from._internal_result_str().empty()) { + _this->_internal_set_result_str(from._internal_result_str()); + } + if (from._internal_result() != 0) { + _this->_impl_.result_ = from._impl_.result_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ActionResult::CopyFrom(const ActionResult& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ActionResult) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ActionResult::CopyFrom(const ActionResult& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action.ActionResult) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ActionResult::InternalSwap(ActionResult* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); - swap(_impl_.result_, other->_impl_.result_); + +void ActionResult::InternalSwap(ActionResult* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); + swap(_impl_.result_, other->_impl_.result_); } -::google::protobuf::Metadata ActionResult::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ActionResult::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // @@protoc_insertion_point(namespace_scope) -} // namespace action -} // namespace rpc -} // namespace mavsdk +} // namespace action +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init2_ PROTOBUF_UNUSED = - (::_pbi::AddDescriptors(&descriptor_table_action_2faction_2eproto), ::std::false_type{}); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_action_2faction_2eproto), + ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/mavsdk_server/src/generated/action/action.pb.h b/src/mavsdk_server/src/generated/action/action.pb.h index 848064933..3887b0c0d 100644 --- a/src/mavsdk_server/src/generated/action/action.pb.h +++ b/src/mavsdk_server/src/generated/action/action.pb.h @@ -27,8 +27,8 @@ #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/message_lite.h" -#include "google/protobuf/repeated_field.h" // IWYU pragma: export -#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "mavsdk_options.pb.h" @@ -42,16 +42,18 @@ namespace google { namespace protobuf { namespace internal { -template::absl::string_view GetAnyMessageName(); -} // namespace internal -} // namespace protobuf -} // namespace google +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_action_2faction_2eproto { - static const ::uint32_t offsets[]; + static const ::uint32_t offsets[]; }; -extern const ::google::protobuf::internal::DescriptorTable descriptor_table_action_2faction_2eproto; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_action_2faction_2eproto; namespace mavsdk { namespace rpc { namespace action { @@ -90,12 +92,10 @@ struct GetMaximumSpeedResponseDefaultTypeInternal; extern GetMaximumSpeedResponseDefaultTypeInternal _GetMaximumSpeedResponse_default_instance_; class GetReturnToLaunchAltitudeRequest; struct GetReturnToLaunchAltitudeRequestDefaultTypeInternal; -extern GetReturnToLaunchAltitudeRequestDefaultTypeInternal - _GetReturnToLaunchAltitudeRequest_default_instance_; +extern GetReturnToLaunchAltitudeRequestDefaultTypeInternal _GetReturnToLaunchAltitudeRequest_default_instance_; class GetReturnToLaunchAltitudeResponse; struct GetReturnToLaunchAltitudeResponseDefaultTypeInternal; -extern GetReturnToLaunchAltitudeResponseDefaultTypeInternal - _GetReturnToLaunchAltitudeResponse_default_instance_; +extern GetReturnToLaunchAltitudeResponseDefaultTypeInternal _GetReturnToLaunchAltitudeResponse_default_instance_; class GetTakeoffAltitudeRequest; struct GetTakeoffAltitudeRequestDefaultTypeInternal; extern GetTakeoffAltitudeRequestDefaultTypeInternal _GetTakeoffAltitudeRequest_default_instance_; @@ -158,12 +158,10 @@ struct SetMaximumSpeedResponseDefaultTypeInternal; extern SetMaximumSpeedResponseDefaultTypeInternal _SetMaximumSpeedResponse_default_instance_; class SetReturnToLaunchAltitudeRequest; struct SetReturnToLaunchAltitudeRequestDefaultTypeInternal; -extern SetReturnToLaunchAltitudeRequestDefaultTypeInternal - _SetReturnToLaunchAltitudeRequest_default_instance_; +extern SetReturnToLaunchAltitudeRequestDefaultTypeInternal _SetReturnToLaunchAltitudeRequest_default_instance_; class SetReturnToLaunchAltitudeResponse; struct SetReturnToLaunchAltitudeResponseDefaultTypeInternal; -extern SetReturnToLaunchAltitudeResponseDefaultTypeInternal - _SetReturnToLaunchAltitudeResponse_default_instance_; +extern SetReturnToLaunchAltitudeResponseDefaultTypeInternal _SetReturnToLaunchAltitudeResponse_default_instance_; class SetTakeoffAltitudeRequest; struct SetTakeoffAltitudeRequestDefaultTypeInternal; extern SetTakeoffAltitudeRequestDefaultTypeInternal _SetTakeoffAltitudeRequest_default_instance_; @@ -190,50 +188,47 @@ struct TerminateResponseDefaultTypeInternal; extern TerminateResponseDefaultTypeInternal _TerminateResponse_default_instance_; class TransitionToFixedwingRequest; struct TransitionToFixedwingRequestDefaultTypeInternal; -extern TransitionToFixedwingRequestDefaultTypeInternal - _TransitionToFixedwingRequest_default_instance_; +extern TransitionToFixedwingRequestDefaultTypeInternal _TransitionToFixedwingRequest_default_instance_; class TransitionToFixedwingResponse; struct TransitionToFixedwingResponseDefaultTypeInternal; -extern TransitionToFixedwingResponseDefaultTypeInternal - _TransitionToFixedwingResponse_default_instance_; +extern TransitionToFixedwingResponseDefaultTypeInternal _TransitionToFixedwingResponse_default_instance_; class TransitionToMulticopterRequest; struct TransitionToMulticopterRequestDefaultTypeInternal; -extern TransitionToMulticopterRequestDefaultTypeInternal - _TransitionToMulticopterRequest_default_instance_; +extern TransitionToMulticopterRequestDefaultTypeInternal _TransitionToMulticopterRequest_default_instance_; class TransitionToMulticopterResponse; struct TransitionToMulticopterResponseDefaultTypeInternal; -extern TransitionToMulticopterResponseDefaultTypeInternal - _TransitionToMulticopterResponse_default_instance_; -} // namespace action -} // namespace rpc -} // namespace mavsdk +extern TransitionToMulticopterResponseDefaultTypeInternal _TransitionToMulticopterResponse_default_instance_; +} // namespace action +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google namespace mavsdk { namespace rpc { namespace action { enum ActionResult_Result : int { - ActionResult_Result_RESULT_UNKNOWN = 0, - ActionResult_Result_RESULT_SUCCESS = 1, - ActionResult_Result_RESULT_NO_SYSTEM = 2, - ActionResult_Result_RESULT_CONNECTION_ERROR = 3, - ActionResult_Result_RESULT_BUSY = 4, - ActionResult_Result_RESULT_COMMAND_DENIED = 5, - ActionResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = 6, - ActionResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED = 7, - ActionResult_Result_RESULT_TIMEOUT = 8, - ActionResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = 9, - ActionResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT = 10, - ActionResult_Result_RESULT_PARAMETER_ERROR = 11, - ActionResult_Result_RESULT_UNSUPPORTED = 12, - ActionResult_Result_RESULT_FAILED = 13, - ActionResult_Result_RESULT_INVALID_ARGUMENT = 14, - ActionResult_Result_ActionResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - ActionResult_Result_ActionResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ActionResult_Result_RESULT_UNKNOWN = 0, + ActionResult_Result_RESULT_SUCCESS = 1, + ActionResult_Result_RESULT_NO_SYSTEM = 2, + ActionResult_Result_RESULT_CONNECTION_ERROR = 3, + ActionResult_Result_RESULT_BUSY = 4, + ActionResult_Result_RESULT_COMMAND_DENIED = 5, + ActionResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = 6, + ActionResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED = 7, + ActionResult_Result_RESULT_TIMEOUT = 8, + ActionResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = 9, + ActionResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT = 10, + ActionResult_Result_RESULT_PARAMETER_ERROR = 11, + ActionResult_Result_RESULT_UNSUPPORTED = 12, + ActionResult_Result_RESULT_FAILED = 13, + ActionResult_Result_RESULT_INVALID_ARGUMENT = 14, + ActionResult_Result_ActionResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ActionResult_Result_ActionResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), }; bool ActionResult_Result_IsValid(int value); @@ -241,32 +236,35 @@ extern const uint32_t ActionResult_Result_internal_data_[]; constexpr ActionResult_Result ActionResult_Result_Result_MIN = static_cast(0); constexpr ActionResult_Result ActionResult_Result_Result_MAX = static_cast(14); constexpr int ActionResult_Result_Result_ARRAYSIZE = 14 + 1; -const ::google::protobuf::EnumDescriptor* ActionResult_Result_descriptor(); -template const std::string& ActionResult_Result_Name(T value) -{ - static_assert( - std::is_same::value || std::is_integral::value, - "Incorrect type passed to Result_Name()."); - return ActionResult_Result_Name(static_cast(value)); -} -template<> inline const std::string& ActionResult_Result_Name(ActionResult_Result value) -{ - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool ActionResult_Result_Parse(absl::string_view name, ActionResult_Result* value) -{ - return ::google::protobuf::internal::ParseNamedEnum( - ActionResult_Result_descriptor(), name, value); +const ::google::protobuf::EnumDescriptor* +ActionResult_Result_descriptor(); +template +const std::string& ActionResult_Result_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to Result_Name()."); + return ActionResult_Result_Name(static_cast(value)); +} +template <> +inline const std::string& ActionResult_Result_Name(ActionResult_Result value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ActionResult_Result_Parse(absl::string_view name, ActionResult_Result* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ActionResult_Result_descriptor(), name, value); } enum OrbitYawBehavior : int { - ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER = 0, - ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING = 1, - ORBIT_YAW_BEHAVIOR_UNCONTROLLED = 2, - ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE = 3, - ORBIT_YAW_BEHAVIOR_RC_CONTROLLED = 4, - OrbitYawBehavior_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(), - OrbitYawBehavior_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max(), + ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TO_CIRCLE_CENTER = 0, + ORBIT_YAW_BEHAVIOR_HOLD_INITIAL_HEADING = 1, + ORBIT_YAW_BEHAVIOR_UNCONTROLLED = 2, + ORBIT_YAW_BEHAVIOR_HOLD_FRONT_TANGENT_TO_CIRCLE = 3, + ORBIT_YAW_BEHAVIOR_RC_CONTROLLED = 4, + OrbitYawBehavior_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + OrbitYawBehavior_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), }; bool OrbitYawBehavior_IsValid(int value); @@ -274,9220 +272,8631 @@ extern const uint32_t OrbitYawBehavior_internal_data_[]; constexpr OrbitYawBehavior OrbitYawBehavior_MIN = static_cast(0); constexpr OrbitYawBehavior OrbitYawBehavior_MAX = static_cast(4); constexpr int OrbitYawBehavior_ARRAYSIZE = 4 + 1; -const ::google::protobuf::EnumDescriptor* OrbitYawBehavior_descriptor(); -template const std::string& OrbitYawBehavior_Name(T value) -{ - static_assert( - std::is_same::value || std::is_integral::value, - "Incorrect type passed to OrbitYawBehavior_Name()."); - return OrbitYawBehavior_Name(static_cast(value)); -} -template<> inline const std::string& OrbitYawBehavior_Name(OrbitYawBehavior value) -{ - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool OrbitYawBehavior_Parse(absl::string_view name, OrbitYawBehavior* value) -{ - return ::google::protobuf::internal::ParseNamedEnum( - OrbitYawBehavior_descriptor(), name, value); +const ::google::protobuf::EnumDescriptor* +OrbitYawBehavior_descriptor(); +template +const std::string& OrbitYawBehavior_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to OrbitYawBehavior_Name()."); + return OrbitYawBehavior_Name(static_cast(value)); +} +template <> +inline const std::string& OrbitYawBehavior_Name(OrbitYawBehavior value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool OrbitYawBehavior_Parse(absl::string_view name, OrbitYawBehavior* value) { + return ::google::protobuf::internal::ParseNamedEnum( + OrbitYawBehavior_descriptor(), name, value); } // =================================================================== + // ------------------------------------------------------------------- -class TransitionToMulticopterRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class TransitionToMulticopterRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TransitionToMulticopterRequest) */ { -public: - inline TransitionToMulticopterRequest() : TransitionToMulticopterRequest(nullptr) {} + public: + inline TransitionToMulticopterRequest() : TransitionToMulticopterRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TransitionToMulticopterRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToMulticopterRequest)); - } + void operator delete(TransitionToMulticopterRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToMulticopterRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - TransitionToMulticopterRequest(::google::protobuf::internal::ConstantInitialized); - - inline TransitionToMulticopterRequest(const TransitionToMulticopterRequest& from) : - TransitionToMulticopterRequest(nullptr, from) - {} - inline TransitionToMulticopterRequest(TransitionToMulticopterRequest&& from) noexcept : - TransitionToMulticopterRequest(nullptr, std::move(from)) - {} - inline TransitionToMulticopterRequest& operator=(const TransitionToMulticopterRequest& from) - { - CopyFrom(from); - return *this; - } - inline TransitionToMulticopterRequest& operator=(TransitionToMulticopterRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TransitionToMulticopterRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const TransitionToMulticopterRequest* internal_default_instance() - { - return reinterpret_cast( - &_TransitionToMulticopterRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 30; - friend void swap(TransitionToMulticopterRequest& a, TransitionToMulticopterRequest& b) - { - a.Swap(&b); - } - inline void Swap(TransitionToMulticopterRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TransitionToMulticopterRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TransitionToMulticopterRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - TransitionToMulticopterRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const TransitionToMulticopterRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const TransitionToMulticopterRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.TransitionToMulticopterRequest"; - } - -protected: - explicit TransitionToMulticopterRequest(::google::protobuf::Arena* arena); - TransitionToMulticopterRequest( - ::google::protobuf::Arena* arena, const TransitionToMulticopterRequest& from); - TransitionToMulticopterRequest( - ::google::protobuf::Arena* arena, TransitionToMulticopterRequest&& from) noexcept : - TransitionToMulticopterRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToMulticopterRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TransitionToMulticopterRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TransitionToMulticopterRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline TransitionToMulticopterRequest(const TransitionToMulticopterRequest& from) : TransitionToMulticopterRequest(nullptr, from) {} + inline TransitionToMulticopterRequest(TransitionToMulticopterRequest&& from) noexcept + : TransitionToMulticopterRequest(nullptr, std::move(from)) {} + inline TransitionToMulticopterRequest& operator=(const TransitionToMulticopterRequest& from) { + CopyFrom(from); + return *this; + } + inline TransitionToMulticopterRequest& operator=(TransitionToMulticopterRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TransitionToMulticopterRequest& default_instance() { + return *internal_default_instance(); + } + static inline const TransitionToMulticopterRequest* internal_default_instance() { + return reinterpret_cast( + &_TransitionToMulticopterRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 30; + friend void swap(TransitionToMulticopterRequest& a, TransitionToMulticopterRequest& b) { a.Swap(&b); } + inline void Swap(TransitionToMulticopterRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TransitionToMulticopterRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TransitionToMulticopterRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const TransitionToMulticopterRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const TransitionToMulticopterRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TransitionToMulticopterRequest"; } + + protected: + explicit TransitionToMulticopterRequest(::google::protobuf::Arena* arena); + TransitionToMulticopterRequest(::google::protobuf::Arena* arena, const TransitionToMulticopterRequest& from); + TransitionToMulticopterRequest(::google::protobuf::Arena* arena, TransitionToMulticopterRequest&& from) noexcept + : TransitionToMulticopterRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToMulticopterRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TransitionToMulticopterRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class TransitionToFixedwingRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class TransitionToFixedwingRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TransitionToFixedwingRequest) */ { -public: - inline TransitionToFixedwingRequest() : TransitionToFixedwingRequest(nullptr) {} + public: + inline TransitionToFixedwingRequest() : TransitionToFixedwingRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TransitionToFixedwingRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToFixedwingRequest)); - } + void operator delete(TransitionToFixedwingRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToFixedwingRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - TransitionToFixedwingRequest(::google::protobuf::internal::ConstantInitialized); - - inline TransitionToFixedwingRequest(const TransitionToFixedwingRequest& from) : - TransitionToFixedwingRequest(nullptr, from) - {} - inline TransitionToFixedwingRequest(TransitionToFixedwingRequest&& from) noexcept : - TransitionToFixedwingRequest(nullptr, std::move(from)) - {} - inline TransitionToFixedwingRequest& operator=(const TransitionToFixedwingRequest& from) - { - CopyFrom(from); - return *this; - } - inline TransitionToFixedwingRequest& operator=(TransitionToFixedwingRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TransitionToFixedwingRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const TransitionToFixedwingRequest* internal_default_instance() - { - return reinterpret_cast( - &_TransitionToFixedwingRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 28; - friend void swap(TransitionToFixedwingRequest& a, TransitionToFixedwingRequest& b) - { - a.Swap(&b); - } - inline void Swap(TransitionToFixedwingRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TransitionToFixedwingRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TransitionToFixedwingRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - TransitionToFixedwingRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const TransitionToFixedwingRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const TransitionToFixedwingRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.TransitionToFixedwingRequest"; - } - -protected: - explicit TransitionToFixedwingRequest(::google::protobuf::Arena* arena); - TransitionToFixedwingRequest( - ::google::protobuf::Arena* arena, const TransitionToFixedwingRequest& from); - TransitionToFixedwingRequest( - ::google::protobuf::Arena* arena, TransitionToFixedwingRequest&& from) noexcept : - TransitionToFixedwingRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToFixedwingRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TransitionToFixedwingRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TransitionToFixedwingRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline TransitionToFixedwingRequest(const TransitionToFixedwingRequest& from) : TransitionToFixedwingRequest(nullptr, from) {} + inline TransitionToFixedwingRequest(TransitionToFixedwingRequest&& from) noexcept + : TransitionToFixedwingRequest(nullptr, std::move(from)) {} + inline TransitionToFixedwingRequest& operator=(const TransitionToFixedwingRequest& from) { + CopyFrom(from); + return *this; + } + inline TransitionToFixedwingRequest& operator=(TransitionToFixedwingRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TransitionToFixedwingRequest& default_instance() { + return *internal_default_instance(); + } + static inline const TransitionToFixedwingRequest* internal_default_instance() { + return reinterpret_cast( + &_TransitionToFixedwingRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 28; + friend void swap(TransitionToFixedwingRequest& a, TransitionToFixedwingRequest& b) { a.Swap(&b); } + inline void Swap(TransitionToFixedwingRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TransitionToFixedwingRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TransitionToFixedwingRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const TransitionToFixedwingRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const TransitionToFixedwingRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TransitionToFixedwingRequest"; } + + protected: + explicit TransitionToFixedwingRequest(::google::protobuf::Arena* arena); + TransitionToFixedwingRequest(::google::protobuf::Arena* arena, const TransitionToFixedwingRequest& from); + TransitionToFixedwingRequest(::google::protobuf::Arena* arena, TransitionToFixedwingRequest&& from) noexcept + : TransitionToFixedwingRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToFixedwingRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TransitionToFixedwingRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class TerminateRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class TerminateRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TerminateRequest) */ { -public: - inline TerminateRequest() : TerminateRequest(nullptr) {} + public: + inline TerminateRequest() : TerminateRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TerminateRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminateRequest)); - } + void operator delete(TerminateRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminateRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR TerminateRequest(::google::protobuf::internal::ConstantInitialized); - - inline TerminateRequest(const TerminateRequest& from) : TerminateRequest(nullptr, from) {} - inline TerminateRequest(TerminateRequest&& from) noexcept : - TerminateRequest(nullptr, std::move(from)) - {} - inline TerminateRequest& operator=(const TerminateRequest& from) - { - CopyFrom(from); - return *this; - } - inline TerminateRequest& operator=(TerminateRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TerminateRequest& default_instance() { return *internal_default_instance(); } - static inline const TerminateRequest* internal_default_instance() - { - return reinterpret_cast(&_TerminateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 14; - friend void swap(TerminateRequest& a, TerminateRequest& b) { a.Swap(&b); } - inline void Swap(TerminateRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TerminateRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TerminateRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct( - arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const TerminateRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const TerminateRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TerminateRequest"; } - -protected: - explicit TerminateRequest(::google::protobuf::Arena* arena); - TerminateRequest(::google::protobuf::Arena* arena, const TerminateRequest& from); - TerminateRequest(::google::protobuf::Arena* arena, TerminateRequest&& from) noexcept : - TerminateRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TerminateRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TerminateRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TerminateRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline TerminateRequest(const TerminateRequest& from) : TerminateRequest(nullptr, from) {} + inline TerminateRequest(TerminateRequest&& from) noexcept + : TerminateRequest(nullptr, std::move(from)) {} + inline TerminateRequest& operator=(const TerminateRequest& from) { + CopyFrom(from); + return *this; + } + inline TerminateRequest& operator=(TerminateRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TerminateRequest& default_instance() { + return *internal_default_instance(); + } + static inline const TerminateRequest* internal_default_instance() { + return reinterpret_cast( + &_TerminateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 14; + friend void swap(TerminateRequest& a, TerminateRequest& b) { a.Swap(&b); } + inline void Swap(TerminateRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TerminateRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TerminateRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const TerminateRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const TerminateRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TerminateRequest"; } + + protected: + explicit TerminateRequest(::google::protobuf::Arena* arena); + TerminateRequest(::google::protobuf::Arena* arena, const TerminateRequest& from); + TerminateRequest(::google::protobuf::Arena* arena, TerminateRequest&& from) noexcept + : TerminateRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TerminateRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TerminateRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class TakeoffRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class TakeoffRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TakeoffRequest) */ { -public: - inline TakeoffRequest() : TakeoffRequest(nullptr) {} + public: + inline TakeoffRequest() : TakeoffRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TakeoffRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TakeoffRequest)); - } + void operator delete(TakeoffRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TakeoffRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR TakeoffRequest(::google::protobuf::internal::ConstantInitialized); - - inline TakeoffRequest(const TakeoffRequest& from) : TakeoffRequest(nullptr, from) {} - inline TakeoffRequest(TakeoffRequest&& from) noexcept : TakeoffRequest(nullptr, std::move(from)) - {} - inline TakeoffRequest& operator=(const TakeoffRequest& from) - { - CopyFrom(from); - return *this; - } - inline TakeoffRequest& operator=(TakeoffRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TakeoffRequest& default_instance() { return *internal_default_instance(); } - static inline const TakeoffRequest* internal_default_instance() - { - return reinterpret_cast(&_TakeoffRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 6; - friend void swap(TakeoffRequest& a, TakeoffRequest& b) { a.Swap(&b); } - inline void Swap(TakeoffRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TakeoffRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TakeoffRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct( - arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const TakeoffRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const TakeoffRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TakeoffRequest"; } - -protected: - explicit TakeoffRequest(::google::protobuf::Arena* arena); - TakeoffRequest(::google::protobuf::Arena* arena, const TakeoffRequest& from); - TakeoffRequest(::google::protobuf::Arena* arena, TakeoffRequest&& from) noexcept : - TakeoffRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TakeoffRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TakeoffRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TakeoffRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline TakeoffRequest(const TakeoffRequest& from) : TakeoffRequest(nullptr, from) {} + inline TakeoffRequest(TakeoffRequest&& from) noexcept + : TakeoffRequest(nullptr, std::move(from)) {} + inline TakeoffRequest& operator=(const TakeoffRequest& from) { + CopyFrom(from); + return *this; + } + inline TakeoffRequest& operator=(TakeoffRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TakeoffRequest& default_instance() { + return *internal_default_instance(); + } + static inline const TakeoffRequest* internal_default_instance() { + return reinterpret_cast( + &_TakeoffRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(TakeoffRequest& a, TakeoffRequest& b) { a.Swap(&b); } + inline void Swap(TakeoffRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TakeoffRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TakeoffRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const TakeoffRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const TakeoffRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TakeoffRequest"; } + + protected: + explicit TakeoffRequest(::google::protobuf::Arena* arena); + TakeoffRequest(::google::protobuf::Arena* arena, const TakeoffRequest& from); + TakeoffRequest(::google::protobuf::Arena* arena, TakeoffRequest&& from) noexcept + : TakeoffRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TakeoffRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TakeoffRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ShutdownRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class ShutdownRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ShutdownRequest) */ { -public: - inline ShutdownRequest() : ShutdownRequest(nullptr) {} + public: + inline ShutdownRequest() : ShutdownRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ShutdownRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ShutdownRequest)); - } + void operator delete(ShutdownRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ShutdownRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ShutdownRequest(::google::protobuf::internal::ConstantInitialized); - - inline ShutdownRequest(const ShutdownRequest& from) : ShutdownRequest(nullptr, from) {} - inline ShutdownRequest(ShutdownRequest&& from) noexcept : - ShutdownRequest(nullptr, std::move(from)) - {} - inline ShutdownRequest& operator=(const ShutdownRequest& from) - { - CopyFrom(from); - return *this; - } - inline ShutdownRequest& operator=(ShutdownRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ShutdownRequest& default_instance() { return *internal_default_instance(); } - static inline const ShutdownRequest* internal_default_instance() - { - return reinterpret_cast(&_ShutdownRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 12; - friend void swap(ShutdownRequest& a, ShutdownRequest& b) { a.Swap(&b); } - inline void Swap(ShutdownRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ShutdownRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ShutdownRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct( - arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ShutdownRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ShutdownRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ShutdownRequest"; } - -protected: - explicit ShutdownRequest(::google::protobuf::Arena* arena); - ShutdownRequest(::google::protobuf::Arena* arena, const ShutdownRequest& from); - ShutdownRequest(::google::protobuf::Arena* arena, ShutdownRequest&& from) noexcept : - ShutdownRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ShutdownRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ShutdownRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ShutdownRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline ShutdownRequest(const ShutdownRequest& from) : ShutdownRequest(nullptr, from) {} + inline ShutdownRequest(ShutdownRequest&& from) noexcept + : ShutdownRequest(nullptr, std::move(from)) {} + inline ShutdownRequest& operator=(const ShutdownRequest& from) { + CopyFrom(from); + return *this; + } + inline ShutdownRequest& operator=(ShutdownRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ShutdownRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ShutdownRequest* internal_default_instance() { + return reinterpret_cast( + &_ShutdownRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(ShutdownRequest& a, ShutdownRequest& b) { a.Swap(&b); } + inline void Swap(ShutdownRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ShutdownRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ShutdownRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const ShutdownRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const ShutdownRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ShutdownRequest"; } + + protected: + explicit ShutdownRequest(::google::protobuf::Arena* arena); + ShutdownRequest(::google::protobuf::Arena* arena, const ShutdownRequest& from); + ShutdownRequest(::google::protobuf::Arena* arena, ShutdownRequest&& from) noexcept + : ShutdownRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ShutdownRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ShutdownRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetTakeoffAltitudeRequest final : public ::google::protobuf::Message +class SetTakeoffAltitudeRequest final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetTakeoffAltitudeRequest) */ { -public: - inline SetTakeoffAltitudeRequest() : SetTakeoffAltitudeRequest(nullptr) {} - ~SetTakeoffAltitudeRequest() PROTOBUF_FINAL; + public: + inline SetTakeoffAltitudeRequest() : SetTakeoffAltitudeRequest(nullptr) {} + ~SetTakeoffAltitudeRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetTakeoffAltitudeRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTakeoffAltitudeRequest)); - } + void operator delete(SetTakeoffAltitudeRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTakeoffAltitudeRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetTakeoffAltitudeRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetTakeoffAltitudeRequest(const SetTakeoffAltitudeRequest& from) : - SetTakeoffAltitudeRequest(nullptr, from) - {} - inline SetTakeoffAltitudeRequest(SetTakeoffAltitudeRequest&& from) noexcept : - SetTakeoffAltitudeRequest(nullptr, std::move(from)) - {} - inline SetTakeoffAltitudeRequest& operator=(const SetTakeoffAltitudeRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetTakeoffAltitudeRequest& operator=(SetTakeoffAltitudeRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetTakeoffAltitudeRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SetTakeoffAltitudeRequest* internal_default_instance() - { - return reinterpret_cast( - &_SetTakeoffAltitudeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 34; - friend void swap(SetTakeoffAltitudeRequest& a, SetTakeoffAltitudeRequest& b) { a.Swap(&b); } - inline void Swap(SetTakeoffAltitudeRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetTakeoffAltitudeRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetTakeoffAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetTakeoffAltitudeRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetTakeoffAltitudeRequest& from) - { - SetTakeoffAltitudeRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetTakeoffAltitudeRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetTakeoffAltitudeRequest"; - } - -protected: - explicit SetTakeoffAltitudeRequest(::google::protobuf::Arena* arena); - SetTakeoffAltitudeRequest( - ::google::protobuf::Arena* arena, const SetTakeoffAltitudeRequest& from); - SetTakeoffAltitudeRequest( - ::google::protobuf::Arena* arena, SetTakeoffAltitudeRequest&& from) noexcept : - SetTakeoffAltitudeRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kAltitudeFieldNumber = 1, - }; - // float altitude = 1; - void clear_altitude(); - float altitude() const; - void set_altitude(float value); - -private: - float _internal_altitude() const; - void _internal_set_altitude(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetTakeoffAltitudeRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetTakeoffAltitudeRequest& from_msg); - float altitude_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetTakeoffAltitudeRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetTakeoffAltitudeRequest(const SetTakeoffAltitudeRequest& from) : SetTakeoffAltitudeRequest(nullptr, from) {} + inline SetTakeoffAltitudeRequest(SetTakeoffAltitudeRequest&& from) noexcept + : SetTakeoffAltitudeRequest(nullptr, std::move(from)) {} + inline SetTakeoffAltitudeRequest& operator=(const SetTakeoffAltitudeRequest& from) { + CopyFrom(from); + return *this; + } + inline SetTakeoffAltitudeRequest& operator=(SetTakeoffAltitudeRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetTakeoffAltitudeRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetTakeoffAltitudeRequest* internal_default_instance() { + return reinterpret_cast( + &_SetTakeoffAltitudeRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 34; + friend void swap(SetTakeoffAltitudeRequest& a, SetTakeoffAltitudeRequest& b) { a.Swap(&b); } + inline void Swap(SetTakeoffAltitudeRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetTakeoffAltitudeRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetTakeoffAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetTakeoffAltitudeRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetTakeoffAltitudeRequest& from) { SetTakeoffAltitudeRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetTakeoffAltitudeRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetTakeoffAltitudeRequest"; } + + protected: + explicit SetTakeoffAltitudeRequest(::google::protobuf::Arena* arena); + SetTakeoffAltitudeRequest(::google::protobuf::Arena* arena, const SetTakeoffAltitudeRequest& from); + SetTakeoffAltitudeRequest(::google::protobuf::Arena* arena, SetTakeoffAltitudeRequest&& from) noexcept + : SetTakeoffAltitudeRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAltitudeFieldNumber = 1, + }; + // float altitude = 1; + void clear_altitude() ; + float altitude() const; + void set_altitude(float value); + + private: + float _internal_altitude() const; + void _internal_set_altitude(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetTakeoffAltitudeRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetTakeoffAltitudeRequest& from_msg); + float altitude_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetReturnToLaunchAltitudeRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) */ -{ -public: - inline SetReturnToLaunchAltitudeRequest() : SetReturnToLaunchAltitudeRequest(nullptr) {} - ~SetReturnToLaunchAltitudeRequest() PROTOBUF_FINAL; +class SetReturnToLaunchAltitudeRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) */ { + public: + inline SetReturnToLaunchAltitudeRequest() : SetReturnToLaunchAltitudeRequest(nullptr) {} + ~SetReturnToLaunchAltitudeRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetReturnToLaunchAltitudeRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetReturnToLaunchAltitudeRequest)); - } + void operator delete(SetReturnToLaunchAltitudeRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetReturnToLaunchAltitudeRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetReturnToLaunchAltitudeRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetReturnToLaunchAltitudeRequest(const SetReturnToLaunchAltitudeRequest& from) : - SetReturnToLaunchAltitudeRequest(nullptr, from) - {} - inline SetReturnToLaunchAltitudeRequest(SetReturnToLaunchAltitudeRequest&& from) noexcept : - SetReturnToLaunchAltitudeRequest(nullptr, std::move(from)) - {} - inline SetReturnToLaunchAltitudeRequest& operator=(const SetReturnToLaunchAltitudeRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetReturnToLaunchAltitudeRequest& - operator=(SetReturnToLaunchAltitudeRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetReturnToLaunchAltitudeRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SetReturnToLaunchAltitudeRequest* internal_default_instance() - { - return reinterpret_cast( - &_SetReturnToLaunchAltitudeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 42; - friend void swap(SetReturnToLaunchAltitudeRequest& a, SetReturnToLaunchAltitudeRequest& b) - { - a.Swap(&b); - } - inline void Swap(SetReturnToLaunchAltitudeRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetReturnToLaunchAltitudeRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetReturnToLaunchAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct( - arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetReturnToLaunchAltitudeRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetReturnToLaunchAltitudeRequest& from) - { - SetReturnToLaunchAltitudeRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetReturnToLaunchAltitudeRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest"; - } - -protected: - explicit SetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena); - SetReturnToLaunchAltitudeRequest( - ::google::protobuf::Arena* arena, const SetReturnToLaunchAltitudeRequest& from); - SetReturnToLaunchAltitudeRequest( - ::google::protobuf::Arena* arena, SetReturnToLaunchAltitudeRequest&& from) noexcept : - SetReturnToLaunchAltitudeRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kRelativeAltitudeMFieldNumber = 1, - }; - // float relative_altitude_m = 1; - void clear_relative_altitude_m(); - float relative_altitude_m() const; - void set_relative_altitude_m(float value); - -private: - float _internal_relative_altitude_m() const; - void _internal_set_relative_altitude_m(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetReturnToLaunchAltitudeRequest& from_msg); - float relative_altitude_m_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetReturnToLaunchAltitudeRequest(const SetReturnToLaunchAltitudeRequest& from) : SetReturnToLaunchAltitudeRequest(nullptr, from) {} + inline SetReturnToLaunchAltitudeRequest(SetReturnToLaunchAltitudeRequest&& from) noexcept + : SetReturnToLaunchAltitudeRequest(nullptr, std::move(from)) {} + inline SetReturnToLaunchAltitudeRequest& operator=(const SetReturnToLaunchAltitudeRequest& from) { + CopyFrom(from); + return *this; + } + inline SetReturnToLaunchAltitudeRequest& operator=(SetReturnToLaunchAltitudeRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetReturnToLaunchAltitudeRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetReturnToLaunchAltitudeRequest* internal_default_instance() { + return reinterpret_cast( + &_SetReturnToLaunchAltitudeRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 42; + friend void swap(SetReturnToLaunchAltitudeRequest& a, SetReturnToLaunchAltitudeRequest& b) { a.Swap(&b); } + inline void Swap(SetReturnToLaunchAltitudeRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetReturnToLaunchAltitudeRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetReturnToLaunchAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetReturnToLaunchAltitudeRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetReturnToLaunchAltitudeRequest& from) { SetReturnToLaunchAltitudeRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetReturnToLaunchAltitudeRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest"; } + + protected: + explicit SetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena); + SetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena, const SetReturnToLaunchAltitudeRequest& from); + SetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena, SetReturnToLaunchAltitudeRequest&& from) noexcept + : SetReturnToLaunchAltitudeRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRelativeAltitudeMFieldNumber = 1, + }; + // float relative_altitude_m = 1; + void clear_relative_altitude_m() ; + float relative_altitude_m() const; + void set_relative_altitude_m(float value); + + private: + float _internal_relative_altitude_m() const; + void _internal_set_relative_altitude_m(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetReturnToLaunchAltitudeRequest& from_msg); + float relative_altitude_m_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetMaximumSpeedRequest final : public ::google::protobuf::Message +class SetMaximumSpeedRequest final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetMaximumSpeedRequest) */ { -public: - inline SetMaximumSpeedRequest() : SetMaximumSpeedRequest(nullptr) {} - ~SetMaximumSpeedRequest() PROTOBUF_FINAL; + public: + inline SetMaximumSpeedRequest() : SetMaximumSpeedRequest(nullptr) {} + ~SetMaximumSpeedRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetMaximumSpeedRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetMaximumSpeedRequest)); - } + void operator delete(SetMaximumSpeedRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetMaximumSpeedRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetMaximumSpeedRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetMaximumSpeedRequest(const SetMaximumSpeedRequest& from) : - SetMaximumSpeedRequest(nullptr, from) - {} - inline SetMaximumSpeedRequest(SetMaximumSpeedRequest&& from) noexcept : - SetMaximumSpeedRequest(nullptr, std::move(from)) - {} - inline SetMaximumSpeedRequest& operator=(const SetMaximumSpeedRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetMaximumSpeedRequest& operator=(SetMaximumSpeedRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetMaximumSpeedRequest& default_instance() { return *internal_default_instance(); } - static inline const SetMaximumSpeedRequest* internal_default_instance() - { - return reinterpret_cast( - &_SetMaximumSpeedRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 38; - friend void swap(SetMaximumSpeedRequest& a, SetMaximumSpeedRequest& b) { a.Swap(&b); } - inline void Swap(SetMaximumSpeedRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetMaximumSpeedRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetMaximumSpeedRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetMaximumSpeedRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetMaximumSpeedRequest& from) - { - SetMaximumSpeedRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetMaximumSpeedRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetMaximumSpeedRequest"; - } - -protected: - explicit SetMaximumSpeedRequest(::google::protobuf::Arena* arena); - SetMaximumSpeedRequest(::google::protobuf::Arena* arena, const SetMaximumSpeedRequest& from); - SetMaximumSpeedRequest(::google::protobuf::Arena* arena, SetMaximumSpeedRequest&& from) noexcept - : - SetMaximumSpeedRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kSpeedFieldNumber = 1, - }; - // float speed = 1; - void clear_speed(); - float speed() const; - void set_speed(float value); - -private: - float _internal_speed() const; - void _internal_set_speed(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetMaximumSpeedRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetMaximumSpeedRequest& from_msg); - float speed_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetMaximumSpeedRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetMaximumSpeedRequest(const SetMaximumSpeedRequest& from) : SetMaximumSpeedRequest(nullptr, from) {} + inline SetMaximumSpeedRequest(SetMaximumSpeedRequest&& from) noexcept + : SetMaximumSpeedRequest(nullptr, std::move(from)) {} + inline SetMaximumSpeedRequest& operator=(const SetMaximumSpeedRequest& from) { + CopyFrom(from); + return *this; + } + inline SetMaximumSpeedRequest& operator=(SetMaximumSpeedRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetMaximumSpeedRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetMaximumSpeedRequest* internal_default_instance() { + return reinterpret_cast( + &_SetMaximumSpeedRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 38; + friend void swap(SetMaximumSpeedRequest& a, SetMaximumSpeedRequest& b) { a.Swap(&b); } + inline void Swap(SetMaximumSpeedRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetMaximumSpeedRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetMaximumSpeedRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetMaximumSpeedRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetMaximumSpeedRequest& from) { SetMaximumSpeedRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetMaximumSpeedRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetMaximumSpeedRequest"; } + + protected: + explicit SetMaximumSpeedRequest(::google::protobuf::Arena* arena); + SetMaximumSpeedRequest(::google::protobuf::Arena* arena, const SetMaximumSpeedRequest& from); + SetMaximumSpeedRequest(::google::protobuf::Arena* arena, SetMaximumSpeedRequest&& from) noexcept + : SetMaximumSpeedRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSpeedFieldNumber = 1, + }; + // float speed = 1; + void clear_speed() ; + float speed() const; + void set_speed(float value); + + private: + float _internal_speed() const; + void _internal_set_speed(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetMaximumSpeedRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetMaximumSpeedRequest& from_msg); + float speed_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetCurrentSpeedRequest final : public ::google::protobuf::Message +class SetCurrentSpeedRequest final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetCurrentSpeedRequest) */ { -public: - inline SetCurrentSpeedRequest() : SetCurrentSpeedRequest(nullptr) {} - ~SetCurrentSpeedRequest() PROTOBUF_FINAL; + public: + inline SetCurrentSpeedRequest() : SetCurrentSpeedRequest(nullptr) {} + ~SetCurrentSpeedRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetCurrentSpeedRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCurrentSpeedRequest)); - } + void operator delete(SetCurrentSpeedRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCurrentSpeedRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetCurrentSpeedRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetCurrentSpeedRequest(const SetCurrentSpeedRequest& from) : - SetCurrentSpeedRequest(nullptr, from) - {} - inline SetCurrentSpeedRequest(SetCurrentSpeedRequest&& from) noexcept : - SetCurrentSpeedRequest(nullptr, std::move(from)) - {} - inline SetCurrentSpeedRequest& operator=(const SetCurrentSpeedRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetCurrentSpeedRequest& operator=(SetCurrentSpeedRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetCurrentSpeedRequest& default_instance() { return *internal_default_instance(); } - static inline const SetCurrentSpeedRequest* internal_default_instance() - { - return reinterpret_cast( - &_SetCurrentSpeedRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 44; - friend void swap(SetCurrentSpeedRequest& a, SetCurrentSpeedRequest& b) { a.Swap(&b); } - inline void Swap(SetCurrentSpeedRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetCurrentSpeedRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetCurrentSpeedRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetCurrentSpeedRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetCurrentSpeedRequest& from) - { - SetCurrentSpeedRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetCurrentSpeedRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetCurrentSpeedRequest"; - } - -protected: - explicit SetCurrentSpeedRequest(::google::protobuf::Arena* arena); - SetCurrentSpeedRequest(::google::protobuf::Arena* arena, const SetCurrentSpeedRequest& from); - SetCurrentSpeedRequest(::google::protobuf::Arena* arena, SetCurrentSpeedRequest&& from) noexcept - : - SetCurrentSpeedRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kSpeedMSFieldNumber = 1, - }; - // float speed_m_s = 1; - void clear_speed_m_s(); - float speed_m_s() const; - void set_speed_m_s(float value); - -private: - float _internal_speed_m_s() const; - void _internal_set_speed_m_s(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetCurrentSpeedRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetCurrentSpeedRequest& from_msg); - float speed_m_s_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetCurrentSpeedRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetCurrentSpeedRequest(const SetCurrentSpeedRequest& from) : SetCurrentSpeedRequest(nullptr, from) {} + inline SetCurrentSpeedRequest(SetCurrentSpeedRequest&& from) noexcept + : SetCurrentSpeedRequest(nullptr, std::move(from)) {} + inline SetCurrentSpeedRequest& operator=(const SetCurrentSpeedRequest& from) { + CopyFrom(from); + return *this; + } + inline SetCurrentSpeedRequest& operator=(SetCurrentSpeedRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetCurrentSpeedRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetCurrentSpeedRequest* internal_default_instance() { + return reinterpret_cast( + &_SetCurrentSpeedRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 44; + friend void swap(SetCurrentSpeedRequest& a, SetCurrentSpeedRequest& b) { a.Swap(&b); } + inline void Swap(SetCurrentSpeedRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetCurrentSpeedRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetCurrentSpeedRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetCurrentSpeedRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetCurrentSpeedRequest& from) { SetCurrentSpeedRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetCurrentSpeedRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetCurrentSpeedRequest"; } + + protected: + explicit SetCurrentSpeedRequest(::google::protobuf::Arena* arena); + SetCurrentSpeedRequest(::google::protobuf::Arena* arena, const SetCurrentSpeedRequest& from); + SetCurrentSpeedRequest(::google::protobuf::Arena* arena, SetCurrentSpeedRequest&& from) noexcept + : SetCurrentSpeedRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSpeedMSFieldNumber = 1, + }; + // float speed_m_s = 1; + void clear_speed_m_s() ; + float speed_m_s() const; + void set_speed_m_s(float value); + + private: + float _internal_speed_m_s() const; + void _internal_set_speed_m_s(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetCurrentSpeedRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetCurrentSpeedRequest& from_msg); + float speed_m_s_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetActuatorRequest final : public ::google::protobuf::Message +class SetActuatorRequest final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetActuatorRequest) */ { -public: - inline SetActuatorRequest() : SetActuatorRequest(nullptr) {} - ~SetActuatorRequest() PROTOBUF_FINAL; + public: + inline SetActuatorRequest() : SetActuatorRequest(nullptr) {} + ~SetActuatorRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetActuatorRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetActuatorRequest)); - } + void operator delete(SetActuatorRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetActuatorRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetActuatorRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetActuatorRequest(const SetActuatorRequest& from) : SetActuatorRequest(nullptr, from) {} - inline SetActuatorRequest(SetActuatorRequest&& from) noexcept : - SetActuatorRequest(nullptr, std::move(from)) - {} - inline SetActuatorRequest& operator=(const SetActuatorRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetActuatorRequest& operator=(SetActuatorRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetActuatorRequest& default_instance() { return *internal_default_instance(); } - static inline const SetActuatorRequest* internal_default_instance() - { - return reinterpret_cast(&_SetActuatorRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 26; - friend void swap(SetActuatorRequest& a, SetActuatorRequest& b) { a.Swap(&b); } - inline void Swap(SetActuatorRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetActuatorRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetActuatorRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetActuatorRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetActuatorRequest& from) { SetActuatorRequest::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetActuatorRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetActuatorRequest"; } - -protected: - explicit SetActuatorRequest(::google::protobuf::Arena* arena); - SetActuatorRequest(::google::protobuf::Arena* arena, const SetActuatorRequest& from); - SetActuatorRequest(::google::protobuf::Arena* arena, SetActuatorRequest&& from) noexcept : - SetActuatorRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kIndexFieldNumber = 1, - kValueFieldNumber = 2, - }; - // int32 index = 1; - void clear_index(); - ::int32_t index() const; - void set_index(::int32_t value); - -private: - ::int32_t _internal_index() const; - void _internal_set_index(::int32_t value); - -public: - // float value = 2; - void clear_value(); - float value() const; - void set_value(float value); - -private: - float _internal_value() const; - void _internal_set_value(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetActuatorRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetActuatorRequest& from_msg); - ::int32_t index_; - float value_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetActuatorRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetActuatorRequest(const SetActuatorRequest& from) : SetActuatorRequest(nullptr, from) {} + inline SetActuatorRequest(SetActuatorRequest&& from) noexcept + : SetActuatorRequest(nullptr, std::move(from)) {} + inline SetActuatorRequest& operator=(const SetActuatorRequest& from) { + CopyFrom(from); + return *this; + } + inline SetActuatorRequest& operator=(SetActuatorRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetActuatorRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetActuatorRequest* internal_default_instance() { + return reinterpret_cast( + &_SetActuatorRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 26; + friend void swap(SetActuatorRequest& a, SetActuatorRequest& b) { a.Swap(&b); } + inline void Swap(SetActuatorRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetActuatorRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetActuatorRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetActuatorRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetActuatorRequest& from) { SetActuatorRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetActuatorRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetActuatorRequest"; } + + protected: + explicit SetActuatorRequest(::google::protobuf::Arena* arena); + SetActuatorRequest(::google::protobuf::Arena* arena, const SetActuatorRequest& from); + SetActuatorRequest(::google::protobuf::Arena* arena, SetActuatorRequest&& from) noexcept + : SetActuatorRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIndexFieldNumber = 1, + kValueFieldNumber = 2, + }; + // int32 index = 1; + void clear_index() ; + ::int32_t index() const; + void set_index(::int32_t value); + + private: + ::int32_t _internal_index() const; + void _internal_set_index(::int32_t value); + + public: + // float value = 2; + void clear_value() ; + float value() const; + void set_value(float value); + + private: + float _internal_value() const; + void _internal_set_value(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetActuatorRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetActuatorRequest& from_msg); + ::int32_t index_; + float value_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ReturnToLaunchRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class ReturnToLaunchRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ReturnToLaunchRequest) */ { -public: - inline ReturnToLaunchRequest() : ReturnToLaunchRequest(nullptr) {} + public: + inline ReturnToLaunchRequest() : ReturnToLaunchRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ReturnToLaunchRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ReturnToLaunchRequest)); - } + void operator delete(ReturnToLaunchRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ReturnToLaunchRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - ReturnToLaunchRequest(::google::protobuf::internal::ConstantInitialized); - - inline ReturnToLaunchRequest(const ReturnToLaunchRequest& from) : - ReturnToLaunchRequest(nullptr, from) - {} - inline ReturnToLaunchRequest(ReturnToLaunchRequest&& from) noexcept : - ReturnToLaunchRequest(nullptr, std::move(from)) - {} - inline ReturnToLaunchRequest& operator=(const ReturnToLaunchRequest& from) - { - CopyFrom(from); - return *this; - } - inline ReturnToLaunchRequest& operator=(ReturnToLaunchRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ReturnToLaunchRequest& default_instance() { return *internal_default_instance(); } - static inline const ReturnToLaunchRequest* internal_default_instance() - { - return reinterpret_cast( - &_ReturnToLaunchRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 18; - friend void swap(ReturnToLaunchRequest& a, ReturnToLaunchRequest& b) { a.Swap(&b); } - inline void Swap(ReturnToLaunchRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ReturnToLaunchRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ReturnToLaunchRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - ReturnToLaunchRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ReturnToLaunchRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ReturnToLaunchRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.ReturnToLaunchRequest"; - } - -protected: - explicit ReturnToLaunchRequest(::google::protobuf::Arena* arena); - ReturnToLaunchRequest(::google::protobuf::Arena* arena, const ReturnToLaunchRequest& from); - ReturnToLaunchRequest(::google::protobuf::Arena* arena, ReturnToLaunchRequest&& from) noexcept : - ReturnToLaunchRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ReturnToLaunchRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ReturnToLaunchRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ReturnToLaunchRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline ReturnToLaunchRequest(const ReturnToLaunchRequest& from) : ReturnToLaunchRequest(nullptr, from) {} + inline ReturnToLaunchRequest(ReturnToLaunchRequest&& from) noexcept + : ReturnToLaunchRequest(nullptr, std::move(from)) {} + inline ReturnToLaunchRequest& operator=(const ReturnToLaunchRequest& from) { + CopyFrom(from); + return *this; + } + inline ReturnToLaunchRequest& operator=(ReturnToLaunchRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReturnToLaunchRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ReturnToLaunchRequest* internal_default_instance() { + return reinterpret_cast( + &_ReturnToLaunchRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 18; + friend void swap(ReturnToLaunchRequest& a, ReturnToLaunchRequest& b) { a.Swap(&b); } + inline void Swap(ReturnToLaunchRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReturnToLaunchRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReturnToLaunchRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const ReturnToLaunchRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const ReturnToLaunchRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ReturnToLaunchRequest"; } + + protected: + explicit ReturnToLaunchRequest(::google::protobuf::Arena* arena); + ReturnToLaunchRequest(::google::protobuf::Arena* arena, const ReturnToLaunchRequest& from); + ReturnToLaunchRequest(::google::protobuf::Arena* arena, ReturnToLaunchRequest&& from) noexcept + : ReturnToLaunchRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ReturnToLaunchRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ReturnToLaunchRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class RebootRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class RebootRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.RebootRequest) */ { -public: - inline RebootRequest() : RebootRequest(nullptr) {} + public: + inline RebootRequest() : RebootRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RebootRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RebootRequest)); - } + void operator delete(RebootRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RebootRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR RebootRequest(::google::protobuf::internal::ConstantInitialized); - - inline RebootRequest(const RebootRequest& from) : RebootRequest(nullptr, from) {} - inline RebootRequest(RebootRequest&& from) noexcept : RebootRequest(nullptr, std::move(from)) {} - inline RebootRequest& operator=(const RebootRequest& from) - { - CopyFrom(from); - return *this; - } - inline RebootRequest& operator=(RebootRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const RebootRequest& default_instance() { return *internal_default_instance(); } - static inline const RebootRequest* internal_default_instance() - { - return reinterpret_cast(&_RebootRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 10; - friend void swap(RebootRequest& a, RebootRequest& b) { a.Swap(&b); } - inline void Swap(RebootRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RebootRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RebootRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const RebootRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const RebootRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.RebootRequest"; } - -protected: - explicit RebootRequest(::google::protobuf::Arena* arena); - RebootRequest(::google::protobuf::Arena* arena, const RebootRequest& from); - RebootRequest(::google::protobuf::Arena* arena, RebootRequest&& from) noexcept : - RebootRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.RebootRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const RebootRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR RebootRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline RebootRequest(const RebootRequest& from) : RebootRequest(nullptr, from) {} + inline RebootRequest(RebootRequest&& from) noexcept + : RebootRequest(nullptr, std::move(from)) {} + inline RebootRequest& operator=(const RebootRequest& from) { + CopyFrom(from); + return *this; + } + inline RebootRequest& operator=(RebootRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RebootRequest& default_instance() { + return *internal_default_instance(); + } + static inline const RebootRequest* internal_default_instance() { + return reinterpret_cast( + &_RebootRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(RebootRequest& a, RebootRequest& b) { a.Swap(&b); } + inline void Swap(RebootRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RebootRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RebootRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const RebootRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const RebootRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.RebootRequest"; } + + protected: + explicit RebootRequest(::google::protobuf::Arena* arena); + RebootRequest(::google::protobuf::Arena* arena, const RebootRequest& from); + RebootRequest(::google::protobuf::Arena* arena, RebootRequest&& from) noexcept + : RebootRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.RebootRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RebootRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class LandRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class LandRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.LandRequest) */ { -public: - inline LandRequest() : LandRequest(nullptr) {} + public: + inline LandRequest() : LandRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(LandRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(LandRequest)); - } + void operator delete(LandRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(LandRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR LandRequest(::google::protobuf::internal::ConstantInitialized); - - inline LandRequest(const LandRequest& from) : LandRequest(nullptr, from) {} - inline LandRequest(LandRequest&& from) noexcept : LandRequest(nullptr, std::move(from)) {} - inline LandRequest& operator=(const LandRequest& from) - { - CopyFrom(from); - return *this; - } - inline LandRequest& operator=(LandRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const LandRequest& default_instance() { return *internal_default_instance(); } - static inline const LandRequest* internal_default_instance() - { - return reinterpret_cast(&_LandRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 8; - friend void swap(LandRequest& a, LandRequest& b) { a.Swap(&b); } - inline void Swap(LandRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LandRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LandRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const LandRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const LandRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.LandRequest"; } - -protected: - explicit LandRequest(::google::protobuf::Arena* arena); - LandRequest(::google::protobuf::Arena* arena, const LandRequest& from); - LandRequest(::google::protobuf::Arena* arena, LandRequest&& from) noexcept : LandRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.LandRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const LandRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR LandRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline LandRequest(const LandRequest& from) : LandRequest(nullptr, from) {} + inline LandRequest(LandRequest&& from) noexcept + : LandRequest(nullptr, std::move(from)) {} + inline LandRequest& operator=(const LandRequest& from) { + CopyFrom(from); + return *this; + } + inline LandRequest& operator=(LandRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LandRequest& default_instance() { + return *internal_default_instance(); + } + static inline const LandRequest* internal_default_instance() { + return reinterpret_cast( + &_LandRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(LandRequest& a, LandRequest& b) { a.Swap(&b); } + inline void Swap(LandRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LandRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LandRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const LandRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const LandRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.LandRequest"; } + + protected: + explicit LandRequest(::google::protobuf::Arena* arena); + LandRequest(::google::protobuf::Arena* arena, const LandRequest& from); + LandRequest(::google::protobuf::Arena* arena, LandRequest&& from) noexcept + : LandRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.LandRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const LandRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class KillRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class KillRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.KillRequest) */ { -public: - inline KillRequest() : KillRequest(nullptr) {} + public: + inline KillRequest() : KillRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(KillRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(KillRequest)); - } + void operator delete(KillRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(KillRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR KillRequest(::google::protobuf::internal::ConstantInitialized); - - inline KillRequest(const KillRequest& from) : KillRequest(nullptr, from) {} - inline KillRequest(KillRequest&& from) noexcept : KillRequest(nullptr, std::move(from)) {} - inline KillRequest& operator=(const KillRequest& from) - { - CopyFrom(from); - return *this; - } - inline KillRequest& operator=(KillRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const KillRequest& default_instance() { return *internal_default_instance(); } - static inline const KillRequest* internal_default_instance() - { - return reinterpret_cast(&_KillRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 16; - friend void swap(KillRequest& a, KillRequest& b) { a.Swap(&b); } - inline void Swap(KillRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(KillRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - KillRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const KillRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const KillRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.KillRequest"; } - -protected: - explicit KillRequest(::google::protobuf::Arena* arena); - KillRequest(::google::protobuf::Arena* arena, const KillRequest& from); - KillRequest(::google::protobuf::Arena* arena, KillRequest&& from) noexcept : KillRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.KillRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const KillRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR KillRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline KillRequest(const KillRequest& from) : KillRequest(nullptr, from) {} + inline KillRequest(KillRequest&& from) noexcept + : KillRequest(nullptr, std::move(from)) {} + inline KillRequest& operator=(const KillRequest& from) { + CopyFrom(from); + return *this; + } + inline KillRequest& operator=(KillRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const KillRequest& default_instance() { + return *internal_default_instance(); + } + static inline const KillRequest* internal_default_instance() { + return reinterpret_cast( + &_KillRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(KillRequest& a, KillRequest& b) { a.Swap(&b); } + inline void Swap(KillRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(KillRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + KillRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const KillRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const KillRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.KillRequest"; } + + protected: + explicit KillRequest(::google::protobuf::Arena* arena); + KillRequest(::google::protobuf::Arena* arena, const KillRequest& from); + KillRequest(::google::protobuf::Arena* arena, KillRequest&& from) noexcept + : KillRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.KillRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const KillRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class HoldRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class HoldRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.HoldRequest) */ { -public: - inline HoldRequest() : HoldRequest(nullptr) {} + public: + inline HoldRequest() : HoldRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(HoldRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(HoldRequest)); - } + void operator delete(HoldRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(HoldRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR HoldRequest(::google::protobuf::internal::ConstantInitialized); - - inline HoldRequest(const HoldRequest& from) : HoldRequest(nullptr, from) {} - inline HoldRequest(HoldRequest&& from) noexcept : HoldRequest(nullptr, std::move(from)) {} - inline HoldRequest& operator=(const HoldRequest& from) - { - CopyFrom(from); - return *this; - } - inline HoldRequest& operator=(HoldRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const HoldRequest& default_instance() { return *internal_default_instance(); } - static inline const HoldRequest* internal_default_instance() - { - return reinterpret_cast(&_HoldRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 24; - friend void swap(HoldRequest& a, HoldRequest& b) { a.Swap(&b); } - inline void Swap(HoldRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(HoldRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - HoldRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const HoldRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const HoldRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.HoldRequest"; } - -protected: - explicit HoldRequest(::google::protobuf::Arena* arena); - HoldRequest(::google::protobuf::Arena* arena, const HoldRequest& from); - HoldRequest(::google::protobuf::Arena* arena, HoldRequest&& from) noexcept : HoldRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.HoldRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const HoldRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR HoldRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline HoldRequest(const HoldRequest& from) : HoldRequest(nullptr, from) {} + inline HoldRequest(HoldRequest&& from) noexcept + : HoldRequest(nullptr, std::move(from)) {} + inline HoldRequest& operator=(const HoldRequest& from) { + CopyFrom(from); + return *this; + } + inline HoldRequest& operator=(HoldRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const HoldRequest& default_instance() { + return *internal_default_instance(); + } + static inline const HoldRequest* internal_default_instance() { + return reinterpret_cast( + &_HoldRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 24; + friend void swap(HoldRequest& a, HoldRequest& b) { a.Swap(&b); } + inline void Swap(HoldRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(HoldRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + HoldRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const HoldRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const HoldRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.HoldRequest"; } + + protected: + explicit HoldRequest(::google::protobuf::Arena* arena); + HoldRequest(::google::protobuf::Arena* arena, const HoldRequest& from); + HoldRequest(::google::protobuf::Arena* arena, HoldRequest&& from) noexcept + : HoldRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.HoldRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const HoldRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GotoLocationRequest final : public ::google::protobuf::Message +class GotoLocationRequest final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GotoLocationRequest) */ { -public: - inline GotoLocationRequest() : GotoLocationRequest(nullptr) {} - ~GotoLocationRequest() PROTOBUF_FINAL; + public: + inline GotoLocationRequest() : GotoLocationRequest(nullptr) {} + ~GotoLocationRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GotoLocationRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GotoLocationRequest)); - } + void operator delete(GotoLocationRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GotoLocationRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GotoLocationRequest(::google::protobuf::internal::ConstantInitialized); - - inline GotoLocationRequest(const GotoLocationRequest& from) : GotoLocationRequest(nullptr, from) - {} - inline GotoLocationRequest(GotoLocationRequest&& from) noexcept : - GotoLocationRequest(nullptr, std::move(from)) - {} - inline GotoLocationRequest& operator=(const GotoLocationRequest& from) - { - CopyFrom(from); - return *this; - } - inline GotoLocationRequest& operator=(GotoLocationRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GotoLocationRequest& default_instance() { return *internal_default_instance(); } - static inline const GotoLocationRequest* internal_default_instance() - { - return reinterpret_cast( - &_GotoLocationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 20; - friend void swap(GotoLocationRequest& a, GotoLocationRequest& b) { a.Swap(&b); } - inline void Swap(GotoLocationRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GotoLocationRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GotoLocationRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GotoLocationRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GotoLocationRequest& from) { GotoLocationRequest::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GotoLocationRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GotoLocationRequest"; } - -protected: - explicit GotoLocationRequest(::google::protobuf::Arena* arena); - GotoLocationRequest(::google::protobuf::Arena* arena, const GotoLocationRequest& from); - GotoLocationRequest(::google::protobuf::Arena* arena, GotoLocationRequest&& from) noexcept : - GotoLocationRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kLatitudeDegFieldNumber = 1, - kLongitudeDegFieldNumber = 2, - kAbsoluteAltitudeMFieldNumber = 3, - kYawDegFieldNumber = 4, - }; - // double latitude_deg = 1; - void clear_latitude_deg(); - double latitude_deg() const; - void set_latitude_deg(double value); - -private: - double _internal_latitude_deg() const; - void _internal_set_latitude_deg(double value); - -public: - // double longitude_deg = 2; - void clear_longitude_deg(); - double longitude_deg() const; - void set_longitude_deg(double value); - -private: - double _internal_longitude_deg() const; - void _internal_set_longitude_deg(double value); - -public: - // float absolute_altitude_m = 3; - void clear_absolute_altitude_m(); - float absolute_altitude_m() const; - void set_absolute_altitude_m(float value); - -private: - float _internal_absolute_altitude_m() const; - void _internal_set_absolute_altitude_m(float value); - -public: - // float yaw_deg = 4; - void clear_yaw_deg(); - float yaw_deg() const; - void set_yaw_deg(float value); - -private: - float _internal_yaw_deg() const; - void _internal_set_yaw_deg(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GotoLocationRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<2, 4, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GotoLocationRequest& from_msg); - double latitude_deg_; - double longitude_deg_; - float absolute_altitude_m_; - float yaw_deg_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GotoLocationRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline GotoLocationRequest(const GotoLocationRequest& from) : GotoLocationRequest(nullptr, from) {} + inline GotoLocationRequest(GotoLocationRequest&& from) noexcept + : GotoLocationRequest(nullptr, std::move(from)) {} + inline GotoLocationRequest& operator=(const GotoLocationRequest& from) { + CopyFrom(from); + return *this; + } + inline GotoLocationRequest& operator=(GotoLocationRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GotoLocationRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GotoLocationRequest* internal_default_instance() { + return reinterpret_cast( + &_GotoLocationRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 20; + friend void swap(GotoLocationRequest& a, GotoLocationRequest& b) { a.Swap(&b); } + inline void Swap(GotoLocationRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GotoLocationRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GotoLocationRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GotoLocationRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GotoLocationRequest& from) { GotoLocationRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GotoLocationRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GotoLocationRequest"; } + + protected: + explicit GotoLocationRequest(::google::protobuf::Arena* arena); + GotoLocationRequest(::google::protobuf::Arena* arena, const GotoLocationRequest& from); + GotoLocationRequest(::google::protobuf::Arena* arena, GotoLocationRequest&& from) noexcept + : GotoLocationRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLatitudeDegFieldNumber = 1, + kLongitudeDegFieldNumber = 2, + kAbsoluteAltitudeMFieldNumber = 3, + kYawDegFieldNumber = 4, + }; + // double latitude_deg = 1; + void clear_latitude_deg() ; + double latitude_deg() const; + void set_latitude_deg(double value); + + private: + double _internal_latitude_deg() const; + void _internal_set_latitude_deg(double value); + + public: + // double longitude_deg = 2; + void clear_longitude_deg() ; + double longitude_deg() const; + void set_longitude_deg(double value); + + private: + double _internal_longitude_deg() const; + void _internal_set_longitude_deg(double value); + + public: + // float absolute_altitude_m = 3; + void clear_absolute_altitude_m() ; + float absolute_altitude_m() const; + void set_absolute_altitude_m(float value); + + private: + float _internal_absolute_altitude_m() const; + void _internal_set_absolute_altitude_m(float value); + + public: + // float yaw_deg = 4; + void clear_yaw_deg() ; + float yaw_deg() const; + void set_yaw_deg(float value); + + private: + float _internal_yaw_deg() const; + void _internal_set_yaw_deg(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GotoLocationRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GotoLocationRequest& from_msg); + double latitude_deg_; + double longitude_deg_; + float absolute_altitude_m_; + float yaw_deg_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GetTakeoffAltitudeRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class GetTakeoffAltitudeRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetTakeoffAltitudeRequest) */ { -public: - inline GetTakeoffAltitudeRequest() : GetTakeoffAltitudeRequest(nullptr) {} + public: + inline GetTakeoffAltitudeRequest() : GetTakeoffAltitudeRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTakeoffAltitudeRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTakeoffAltitudeRequest)); - } + void operator delete(GetTakeoffAltitudeRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTakeoffAltitudeRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GetTakeoffAltitudeRequest(::google::protobuf::internal::ConstantInitialized); - - inline GetTakeoffAltitudeRequest(const GetTakeoffAltitudeRequest& from) : - GetTakeoffAltitudeRequest(nullptr, from) - {} - inline GetTakeoffAltitudeRequest(GetTakeoffAltitudeRequest&& from) noexcept : - GetTakeoffAltitudeRequest(nullptr, std::move(from)) - {} - inline GetTakeoffAltitudeRequest& operator=(const GetTakeoffAltitudeRequest& from) - { - CopyFrom(from); - return *this; - } - inline GetTakeoffAltitudeRequest& operator=(GetTakeoffAltitudeRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetTakeoffAltitudeRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const GetTakeoffAltitudeRequest* internal_default_instance() - { - return reinterpret_cast( - &_GetTakeoffAltitudeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 32; - friend void swap(GetTakeoffAltitudeRequest& a, GetTakeoffAltitudeRequest& b) { a.Swap(&b); } - inline void Swap(GetTakeoffAltitudeRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetTakeoffAltitudeRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetTakeoffAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - GetTakeoffAltitudeRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetTakeoffAltitudeRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetTakeoffAltitudeRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.GetTakeoffAltitudeRequest"; - } - -protected: - explicit GetTakeoffAltitudeRequest(::google::protobuf::Arena* arena); - GetTakeoffAltitudeRequest( - ::google::protobuf::Arena* arena, const GetTakeoffAltitudeRequest& from); - GetTakeoffAltitudeRequest( - ::google::protobuf::Arena* arena, GetTakeoffAltitudeRequest&& from) noexcept : - GetTakeoffAltitudeRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetTakeoffAltitudeRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetTakeoffAltitudeRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GetTakeoffAltitudeRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline GetTakeoffAltitudeRequest(const GetTakeoffAltitudeRequest& from) : GetTakeoffAltitudeRequest(nullptr, from) {} + inline GetTakeoffAltitudeRequest(GetTakeoffAltitudeRequest&& from) noexcept + : GetTakeoffAltitudeRequest(nullptr, std::move(from)) {} + inline GetTakeoffAltitudeRequest& operator=(const GetTakeoffAltitudeRequest& from) { + CopyFrom(from); + return *this; + } + inline GetTakeoffAltitudeRequest& operator=(GetTakeoffAltitudeRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetTakeoffAltitudeRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetTakeoffAltitudeRequest* internal_default_instance() { + return reinterpret_cast( + &_GetTakeoffAltitudeRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 32; + friend void swap(GetTakeoffAltitudeRequest& a, GetTakeoffAltitudeRequest& b) { a.Swap(&b); } + inline void Swap(GetTakeoffAltitudeRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetTakeoffAltitudeRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetTakeoffAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GetTakeoffAltitudeRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GetTakeoffAltitudeRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GetTakeoffAltitudeRequest"; } + + protected: + explicit GetTakeoffAltitudeRequest(::google::protobuf::Arena* arena); + GetTakeoffAltitudeRequest(::google::protobuf::Arena* arena, const GetTakeoffAltitudeRequest& from); + GetTakeoffAltitudeRequest(::google::protobuf::Arena* arena, GetTakeoffAltitudeRequest&& from) noexcept + : GetTakeoffAltitudeRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetTakeoffAltitudeRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetTakeoffAltitudeRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GetReturnToLaunchAltitudeRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) */ -{ -public: - inline GetReturnToLaunchAltitudeRequest() : GetReturnToLaunchAltitudeRequest(nullptr) {} +class GetReturnToLaunchAltitudeRequest final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) */ { + public: + inline GetReturnToLaunchAltitudeRequest() : GetReturnToLaunchAltitudeRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetReturnToLaunchAltitudeRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetReturnToLaunchAltitudeRequest)); - } + void operator delete(GetReturnToLaunchAltitudeRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetReturnToLaunchAltitudeRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GetReturnToLaunchAltitudeRequest(::google::protobuf::internal::ConstantInitialized); - - inline GetReturnToLaunchAltitudeRequest(const GetReturnToLaunchAltitudeRequest& from) : - GetReturnToLaunchAltitudeRequest(nullptr, from) - {} - inline GetReturnToLaunchAltitudeRequest(GetReturnToLaunchAltitudeRequest&& from) noexcept : - GetReturnToLaunchAltitudeRequest(nullptr, std::move(from)) - {} - inline GetReturnToLaunchAltitudeRequest& operator=(const GetReturnToLaunchAltitudeRequest& from) - { - CopyFrom(from); - return *this; - } - inline GetReturnToLaunchAltitudeRequest& - operator=(GetReturnToLaunchAltitudeRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetReturnToLaunchAltitudeRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const GetReturnToLaunchAltitudeRequest* internal_default_instance() - { - return reinterpret_cast( - &_GetReturnToLaunchAltitudeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 40; - friend void swap(GetReturnToLaunchAltitudeRequest& a, GetReturnToLaunchAltitudeRequest& b) - { - a.Swap(&b); - } - inline void Swap(GetReturnToLaunchAltitudeRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetReturnToLaunchAltitudeRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetReturnToLaunchAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - GetReturnToLaunchAltitudeRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetReturnToLaunchAltitudeRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetReturnToLaunchAltitudeRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest"; - } - -protected: - explicit GetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena); - GetReturnToLaunchAltitudeRequest( - ::google::protobuf::Arena* arena, const GetReturnToLaunchAltitudeRequest& from); - GetReturnToLaunchAltitudeRequest( - ::google::protobuf::Arena* arena, GetReturnToLaunchAltitudeRequest&& from) noexcept : - GetReturnToLaunchAltitudeRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetReturnToLaunchAltitudeRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline GetReturnToLaunchAltitudeRequest(const GetReturnToLaunchAltitudeRequest& from) : GetReturnToLaunchAltitudeRequest(nullptr, from) {} + inline GetReturnToLaunchAltitudeRequest(GetReturnToLaunchAltitudeRequest&& from) noexcept + : GetReturnToLaunchAltitudeRequest(nullptr, std::move(from)) {} + inline GetReturnToLaunchAltitudeRequest& operator=(const GetReturnToLaunchAltitudeRequest& from) { + CopyFrom(from); + return *this; + } + inline GetReturnToLaunchAltitudeRequest& operator=(GetReturnToLaunchAltitudeRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetReturnToLaunchAltitudeRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetReturnToLaunchAltitudeRequest* internal_default_instance() { + return reinterpret_cast( + &_GetReturnToLaunchAltitudeRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 40; + friend void swap(GetReturnToLaunchAltitudeRequest& a, GetReturnToLaunchAltitudeRequest& b) { a.Swap(&b); } + inline void Swap(GetReturnToLaunchAltitudeRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetReturnToLaunchAltitudeRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetReturnToLaunchAltitudeRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GetReturnToLaunchAltitudeRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GetReturnToLaunchAltitudeRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest"; } + + protected: + explicit GetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena); + GetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena, const GetReturnToLaunchAltitudeRequest& from); + GetReturnToLaunchAltitudeRequest(::google::protobuf::Arena* arena, GetReturnToLaunchAltitudeRequest&& from) noexcept + : GetReturnToLaunchAltitudeRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetReturnToLaunchAltitudeRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetReturnToLaunchAltitudeRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GetMaximumSpeedRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class GetMaximumSpeedRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetMaximumSpeedRequest) */ { -public: - inline GetMaximumSpeedRequest() : GetMaximumSpeedRequest(nullptr) {} + public: + inline GetMaximumSpeedRequest() : GetMaximumSpeedRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetMaximumSpeedRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetMaximumSpeedRequest)); - } + void operator delete(GetMaximumSpeedRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetMaximumSpeedRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GetMaximumSpeedRequest(::google::protobuf::internal::ConstantInitialized); - - inline GetMaximumSpeedRequest(const GetMaximumSpeedRequest& from) : - GetMaximumSpeedRequest(nullptr, from) - {} - inline GetMaximumSpeedRequest(GetMaximumSpeedRequest&& from) noexcept : - GetMaximumSpeedRequest(nullptr, std::move(from)) - {} - inline GetMaximumSpeedRequest& operator=(const GetMaximumSpeedRequest& from) - { - CopyFrom(from); - return *this; - } - inline GetMaximumSpeedRequest& operator=(GetMaximumSpeedRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetMaximumSpeedRequest& default_instance() { return *internal_default_instance(); } - static inline const GetMaximumSpeedRequest* internal_default_instance() - { - return reinterpret_cast( - &_GetMaximumSpeedRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 36; - friend void swap(GetMaximumSpeedRequest& a, GetMaximumSpeedRequest& b) { a.Swap(&b); } - inline void Swap(GetMaximumSpeedRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetMaximumSpeedRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetMaximumSpeedRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - GetMaximumSpeedRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetMaximumSpeedRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetMaximumSpeedRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.GetMaximumSpeedRequest"; - } - -protected: - explicit GetMaximumSpeedRequest(::google::protobuf::Arena* arena); - GetMaximumSpeedRequest(::google::protobuf::Arena* arena, const GetMaximumSpeedRequest& from); - GetMaximumSpeedRequest(::google::protobuf::Arena* arena, GetMaximumSpeedRequest&& from) noexcept - : - GetMaximumSpeedRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetMaximumSpeedRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetMaximumSpeedRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GetMaximumSpeedRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline GetMaximumSpeedRequest(const GetMaximumSpeedRequest& from) : GetMaximumSpeedRequest(nullptr, from) {} + inline GetMaximumSpeedRequest(GetMaximumSpeedRequest&& from) noexcept + : GetMaximumSpeedRequest(nullptr, std::move(from)) {} + inline GetMaximumSpeedRequest& operator=(const GetMaximumSpeedRequest& from) { + CopyFrom(from); + return *this; + } + inline GetMaximumSpeedRequest& operator=(GetMaximumSpeedRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetMaximumSpeedRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetMaximumSpeedRequest* internal_default_instance() { + return reinterpret_cast( + &_GetMaximumSpeedRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 36; + friend void swap(GetMaximumSpeedRequest& a, GetMaximumSpeedRequest& b) { a.Swap(&b); } + inline void Swap(GetMaximumSpeedRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetMaximumSpeedRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetMaximumSpeedRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GetMaximumSpeedRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GetMaximumSpeedRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GetMaximumSpeedRequest"; } + + protected: + explicit GetMaximumSpeedRequest(::google::protobuf::Arena* arena); + GetMaximumSpeedRequest(::google::protobuf::Arena* arena, const GetMaximumSpeedRequest& from); + GetMaximumSpeedRequest(::google::protobuf::Arena* arena, GetMaximumSpeedRequest&& from) noexcept + : GetMaximumSpeedRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetMaximumSpeedRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetMaximumSpeedRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class DoOrbitRequest final : public ::google::protobuf::Message +class DoOrbitRequest final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.DoOrbitRequest) */ { -public: - inline DoOrbitRequest() : DoOrbitRequest(nullptr) {} - ~DoOrbitRequest() PROTOBUF_FINAL; + public: + inline DoOrbitRequest() : DoOrbitRequest(nullptr) {} + ~DoOrbitRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DoOrbitRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DoOrbitRequest)); - } + void operator delete(DoOrbitRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(DoOrbitRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR DoOrbitRequest(::google::protobuf::internal::ConstantInitialized); - - inline DoOrbitRequest(const DoOrbitRequest& from) : DoOrbitRequest(nullptr, from) {} - inline DoOrbitRequest(DoOrbitRequest&& from) noexcept : DoOrbitRequest(nullptr, std::move(from)) - {} - inline DoOrbitRequest& operator=(const DoOrbitRequest& from) - { - CopyFrom(from); - return *this; - } - inline DoOrbitRequest& operator=(DoOrbitRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const DoOrbitRequest& default_instance() { return *internal_default_instance(); } - static inline const DoOrbitRequest* internal_default_instance() - { - return reinterpret_cast(&_DoOrbitRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 22; - friend void swap(DoOrbitRequest& a, DoOrbitRequest& b) { a.Swap(&b); } - inline void Swap(DoOrbitRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DoOrbitRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DoOrbitRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DoOrbitRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DoOrbitRequest& from) { DoOrbitRequest::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DoOrbitRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DoOrbitRequest"; } - -protected: - explicit DoOrbitRequest(::google::protobuf::Arena* arena); - DoOrbitRequest(::google::protobuf::Arena* arena, const DoOrbitRequest& from); - DoOrbitRequest(::google::protobuf::Arena* arena, DoOrbitRequest&& from) noexcept : - DoOrbitRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kRadiusMFieldNumber = 1, - kVelocityMsFieldNumber = 2, - kLatitudeDegFieldNumber = 5, - kLongitudeDegFieldNumber = 6, - kAbsoluteAltitudeMFieldNumber = 7, - kYawBehaviorFieldNumber = 3, - }; - // float radius_m = 1; - void clear_radius_m(); - float radius_m() const; - void set_radius_m(float value); - -private: - float _internal_radius_m() const; - void _internal_set_radius_m(float value); - -public: - // float velocity_ms = 2; - void clear_velocity_ms(); - float velocity_ms() const; - void set_velocity_ms(float value); - -private: - float _internal_velocity_ms() const; - void _internal_set_velocity_ms(float value); - -public: - // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; - void clear_latitude_deg(); - double latitude_deg() const; - void set_latitude_deg(double value); - -private: - double _internal_latitude_deg() const; - void _internal_set_latitude_deg(double value); - -public: - // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; - void clear_longitude_deg(); - double longitude_deg() const; - void set_longitude_deg(double value); - -private: - double _internal_longitude_deg() const; - void _internal_set_longitude_deg(double value); - -public: - // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; - void clear_absolute_altitude_m(); - double absolute_altitude_m() const; - void set_absolute_altitude_m(double value); - -private: - double _internal_absolute_altitude_m() const; - void _internal_set_absolute_altitude_m(double value); - -public: - // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; - void clear_yaw_behavior(); - ::mavsdk::rpc::action::OrbitYawBehavior yaw_behavior() const; - void set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value); - -private: - ::mavsdk::rpc::action::OrbitYawBehavior _internal_yaw_behavior() const; - void _internal_set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DoOrbitRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<3, 6, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const DoOrbitRequest& from_msg); - float radius_m_; - float velocity_ms_; - double latitude_deg_; - double longitude_deg_; - double absolute_altitude_m_; - int yaw_behavior_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR DoOrbitRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline DoOrbitRequest(const DoOrbitRequest& from) : DoOrbitRequest(nullptr, from) {} + inline DoOrbitRequest(DoOrbitRequest&& from) noexcept + : DoOrbitRequest(nullptr, std::move(from)) {} + inline DoOrbitRequest& operator=(const DoOrbitRequest& from) { + CopyFrom(from); + return *this; + } + inline DoOrbitRequest& operator=(DoOrbitRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DoOrbitRequest& default_instance() { + return *internal_default_instance(); + } + static inline const DoOrbitRequest* internal_default_instance() { + return reinterpret_cast( + &_DoOrbitRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 22; + friend void swap(DoOrbitRequest& a, DoOrbitRequest& b) { a.Swap(&b); } + inline void Swap(DoOrbitRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DoOrbitRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DoOrbitRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const DoOrbitRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const DoOrbitRequest& from) { DoOrbitRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(DoOrbitRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DoOrbitRequest"; } + + protected: + explicit DoOrbitRequest(::google::protobuf::Arena* arena); + DoOrbitRequest(::google::protobuf::Arena* arena, const DoOrbitRequest& from); + DoOrbitRequest(::google::protobuf::Arena* arena, DoOrbitRequest&& from) noexcept + : DoOrbitRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRadiusMFieldNumber = 1, + kVelocityMsFieldNumber = 2, + kLatitudeDegFieldNumber = 5, + kLongitudeDegFieldNumber = 6, + kAbsoluteAltitudeMFieldNumber = 7, + kYawBehaviorFieldNumber = 3, + }; + // float radius_m = 1; + void clear_radius_m() ; + float radius_m() const; + void set_radius_m(float value); + + private: + float _internal_radius_m() const; + void _internal_set_radius_m(float value); + + public: + // float velocity_ms = 2; + void clear_velocity_ms() ; + float velocity_ms() const; + void set_velocity_ms(float value); + + private: + float _internal_velocity_ms() const; + void _internal_set_velocity_ms(float value); + + public: + // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; + void clear_latitude_deg() ; + double latitude_deg() const; + void set_latitude_deg(double value); + + private: + double _internal_latitude_deg() const; + void _internal_set_latitude_deg(double value); + + public: + // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; + void clear_longitude_deg() ; + double longitude_deg() const; + void set_longitude_deg(double value); + + private: + double _internal_longitude_deg() const; + void _internal_set_longitude_deg(double value); + + public: + // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; + void clear_absolute_altitude_m() ; + double absolute_altitude_m() const; + void set_absolute_altitude_m(double value); + + private: + double _internal_absolute_altitude_m() const; + void _internal_set_absolute_altitude_m(double value); + + public: + // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; + void clear_yaw_behavior() ; + ::mavsdk::rpc::action::OrbitYawBehavior yaw_behavior() const; + void set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value); + + private: + ::mavsdk::rpc::action::OrbitYawBehavior _internal_yaw_behavior() const; + void _internal_set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DoOrbitRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const DoOrbitRequest& from_msg); + float radius_m_; + float velocity_ms_; + double latitude_deg_; + double longitude_deg_; + double absolute_altitude_m_; + int yaw_behavior_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class DisarmRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class DisarmRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.DisarmRequest) */ { -public: - inline DisarmRequest() : DisarmRequest(nullptr) {} + public: + inline DisarmRequest() : DisarmRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DisarmRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DisarmRequest)); - } + void operator delete(DisarmRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(DisarmRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR DisarmRequest(::google::protobuf::internal::ConstantInitialized); - - inline DisarmRequest(const DisarmRequest& from) : DisarmRequest(nullptr, from) {} - inline DisarmRequest(DisarmRequest&& from) noexcept : DisarmRequest(nullptr, std::move(from)) {} - inline DisarmRequest& operator=(const DisarmRequest& from) - { - CopyFrom(from); - return *this; - } - inline DisarmRequest& operator=(DisarmRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const DisarmRequest& default_instance() { return *internal_default_instance(); } - static inline const DisarmRequest* internal_default_instance() - { - return reinterpret_cast(&_DisarmRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 4; - friend void swap(DisarmRequest& a, DisarmRequest& b) { a.Swap(&b); } - inline void Swap(DisarmRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DisarmRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DisarmRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const DisarmRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const DisarmRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DisarmRequest"; } - -protected: - explicit DisarmRequest(::google::protobuf::Arena* arena); - DisarmRequest(::google::protobuf::Arena* arena, const DisarmRequest& from); - DisarmRequest(::google::protobuf::Arena* arena, DisarmRequest&& from) noexcept : - DisarmRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DisarmRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const DisarmRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR DisarmRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline DisarmRequest(const DisarmRequest& from) : DisarmRequest(nullptr, from) {} + inline DisarmRequest(DisarmRequest&& from) noexcept + : DisarmRequest(nullptr, std::move(from)) {} + inline DisarmRequest& operator=(const DisarmRequest& from) { + CopyFrom(from); + return *this; + } + inline DisarmRequest& operator=(DisarmRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DisarmRequest& default_instance() { + return *internal_default_instance(); + } + static inline const DisarmRequest* internal_default_instance() { + return reinterpret_cast( + &_DisarmRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(DisarmRequest& a, DisarmRequest& b) { a.Swap(&b); } + inline void Swap(DisarmRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DisarmRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DisarmRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const DisarmRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const DisarmRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DisarmRequest"; } + + protected: + explicit DisarmRequest(::google::protobuf::Arena* arena); + DisarmRequest(::google::protobuf::Arena* arena, const DisarmRequest& from); + DisarmRequest(::google::protobuf::Arena* arena, DisarmRequest&& from) noexcept + : DisarmRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DisarmRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const DisarmRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ArmRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class ArmRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ArmRequest) */ { -public: - inline ArmRequest() : ArmRequest(nullptr) {} + public: + inline ArmRequest() : ArmRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmRequest)); - } + void operator delete(ArmRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ArmRequest(::google::protobuf::internal::ConstantInitialized); - - inline ArmRequest(const ArmRequest& from) : ArmRequest(nullptr, from) {} - inline ArmRequest(ArmRequest&& from) noexcept : ArmRequest(nullptr, std::move(from)) {} - inline ArmRequest& operator=(const ArmRequest& from) - { - CopyFrom(from); - return *this; - } - inline ArmRequest& operator=(ArmRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmRequest& default_instance() { return *internal_default_instance(); } - static inline const ArmRequest* internal_default_instance() - { - return reinterpret_cast(&_ArmRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(ArmRequest& a, ArmRequest& b) { a.Swap(&b); } - inline void Swap(ArmRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArmRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ArmRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ArmRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmRequest"; } - -protected: - explicit ArmRequest(::google::protobuf::Arena* arena); - ArmRequest(::google::protobuf::Arena* arena, const ArmRequest& from); - ArmRequest(::google::protobuf::Arena* arena, ArmRequest&& from) noexcept : ArmRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ArmRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmRequest(const ArmRequest& from) : ArmRequest(nullptr, from) {} + inline ArmRequest(ArmRequest&& from) noexcept + : ArmRequest(nullptr, std::move(from)) {} + inline ArmRequest& operator=(const ArmRequest& from) { + CopyFrom(from); + return *this; + } + inline ArmRequest& operator=(ArmRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ArmRequest* internal_default_instance() { + return reinterpret_cast( + &_ArmRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(ArmRequest& a, ArmRequest& b) { a.Swap(&b); } + inline void Swap(ArmRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const ArmRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const ArmRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmRequest"; } + + protected: + explicit ArmRequest(::google::protobuf::Arena* arena); + ArmRequest(::google::protobuf::Arena* arena, const ArmRequest& from); + ArmRequest(::google::protobuf::Arena* arena, ArmRequest&& from) noexcept + : ArmRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ArmForceRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class ArmForceRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ArmForceRequest) */ { -public: - inline ArmForceRequest() : ArmForceRequest(nullptr) {} + public: + inline ArmForceRequest() : ArmForceRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmForceRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmForceRequest)); - } + void operator delete(ArmForceRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmForceRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ArmForceRequest(::google::protobuf::internal::ConstantInitialized); - - inline ArmForceRequest(const ArmForceRequest& from) : ArmForceRequest(nullptr, from) {} - inline ArmForceRequest(ArmForceRequest&& from) noexcept : - ArmForceRequest(nullptr, std::move(from)) - {} - inline ArmForceRequest& operator=(const ArmForceRequest& from) - { - CopyFrom(from); - return *this; - } - inline ArmForceRequest& operator=(ArmForceRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmForceRequest& default_instance() { return *internal_default_instance(); } - static inline const ArmForceRequest* internal_default_instance() - { - return reinterpret_cast(&_ArmForceRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(ArmForceRequest& a, ArmForceRequest& b) { a.Swap(&b); } - inline void Swap(ArmForceRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmForceRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArmForceRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct( - arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const ArmForceRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const ArmForceRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmForceRequest"; } - -protected: - explicit ArmForceRequest(::google::protobuf::Arena* arena); - ArmForceRequest(::google::protobuf::Arena* arena, const ArmForceRequest& from); - ArmForceRequest(::google::protobuf::Arena* arena, ArmForceRequest&& from) noexcept : - ArmForceRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmForceRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmForceRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ArmForceRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmForceRequest(const ArmForceRequest& from) : ArmForceRequest(nullptr, from) {} + inline ArmForceRequest(ArmForceRequest&& from) noexcept + : ArmForceRequest(nullptr, std::move(from)) {} + inline ArmForceRequest& operator=(const ArmForceRequest& from) { + CopyFrom(from); + return *this; + } + inline ArmForceRequest& operator=(ArmForceRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmForceRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ArmForceRequest* internal_default_instance() { + return reinterpret_cast( + &_ArmForceRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(ArmForceRequest& a, ArmForceRequest& b) { a.Swap(&b); } + inline void Swap(ArmForceRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmForceRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmForceRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const ArmForceRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const ArmForceRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmForceRequest"; } + + protected: + explicit ArmForceRequest(::google::protobuf::Arena* arena); + ArmForceRequest(::google::protobuf::Arena* arena, const ArmForceRequest& from); + ArmForceRequest(::google::protobuf::Arena* arena, ArmForceRequest&& from) noexcept + : ArmForceRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmForceRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmForceRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ActionResult final : public ::google::protobuf::Message +class ActionResult final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ActionResult) */ { -public: - inline ActionResult() : ActionResult(nullptr) {} - ~ActionResult() PROTOBUF_FINAL; + public: + inline ActionResult() : ActionResult(nullptr) {} + ~ActionResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ActionResult* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ActionResult)); - } + void operator delete(ActionResult* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ActionResult)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ActionResult(::google::protobuf::internal::ConstantInitialized); - - inline ActionResult(const ActionResult& from) : ActionResult(nullptr, from) {} - inline ActionResult(ActionResult&& from) noexcept : ActionResult(nullptr, std::move(from)) {} - inline ActionResult& operator=(const ActionResult& from) - { - CopyFrom(from); - return *this; - } - inline ActionResult& operator=(ActionResult&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ActionResult& default_instance() { return *internal_default_instance(); } - static inline const ActionResult* internal_default_instance() - { - return reinterpret_cast(&_ActionResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 46; - friend void swap(ActionResult& a, ActionResult& b) { a.Swap(&b); } - inline void Swap(ActionResult* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ActionResult* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ActionResult* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ActionResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ActionResult& from) { ActionResult::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ActionResult* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ActionResult"; } - -protected: - explicit ActionResult(::google::protobuf::Arena* arena); - ActionResult(::google::protobuf::Arena* arena, const ActionResult& from); - ActionResult(::google::protobuf::Arena* arena, ActionResult&& from) noexcept : - ActionResult(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using Result = ActionResult_Result; - static constexpr Result RESULT_UNKNOWN = ActionResult_Result_RESULT_UNKNOWN; - static constexpr Result RESULT_SUCCESS = ActionResult_Result_RESULT_SUCCESS; - static constexpr Result RESULT_NO_SYSTEM = ActionResult_Result_RESULT_NO_SYSTEM; - static constexpr Result RESULT_CONNECTION_ERROR = ActionResult_Result_RESULT_CONNECTION_ERROR; - static constexpr Result RESULT_BUSY = ActionResult_Result_RESULT_BUSY; - static constexpr Result RESULT_COMMAND_DENIED = ActionResult_Result_RESULT_COMMAND_DENIED; - static constexpr Result RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = - ActionResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN; - static constexpr Result RESULT_COMMAND_DENIED_NOT_LANDED = - ActionResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED; - static constexpr Result RESULT_TIMEOUT = ActionResult_Result_RESULT_TIMEOUT; - static constexpr Result RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = - ActionResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN; - static constexpr Result RESULT_NO_VTOL_TRANSITION_SUPPORT = - ActionResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT; - static constexpr Result RESULT_PARAMETER_ERROR = ActionResult_Result_RESULT_PARAMETER_ERROR; - static constexpr Result RESULT_UNSUPPORTED = ActionResult_Result_RESULT_UNSUPPORTED; - static constexpr Result RESULT_FAILED = ActionResult_Result_RESULT_FAILED; - static constexpr Result RESULT_INVALID_ARGUMENT = ActionResult_Result_RESULT_INVALID_ARGUMENT; - static inline bool Result_IsValid(int value) { return ActionResult_Result_IsValid(value); } - static constexpr Result Result_MIN = ActionResult_Result_Result_MIN; - static constexpr Result Result_MAX = ActionResult_Result_Result_MAX; - static constexpr int Result_ARRAYSIZE = ActionResult_Result_Result_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() - { - return ActionResult_Result_descriptor(); - } - template static inline const std::string& Result_Name(T value) - { - return ActionResult_Result_Name(value); - } - static inline bool Result_Parse(absl::string_view name, Result* value) - { - return ActionResult_Result_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kResultStrFieldNumber = 2, - kResultFieldNumber = 1, - }; - // string result_str = 2; - void clear_result_str(); - const std::string& result_str() const; - template - void set_result_str(Arg_&& arg, Args_... args); - std::string* mutable_result_str(); - PROTOBUF_NODISCARD std::string* release_result_str(); - void set_allocated_result_str(std::string* value); - -private: - const std::string& _internal_result_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str(const std::string& value); - std::string* _internal_mutable_result_str(); - -public: - // .mavsdk.rpc.action.ActionResult.Result result = 1; - void clear_result(); - ::mavsdk::rpc::action::ActionResult_Result result() const; - void set_result(::mavsdk::rpc::action::ActionResult_Result value); - -private: - ::mavsdk::rpc::action::ActionResult_Result _internal_result() const; - void _internal_set_result(::mavsdk::rpc::action::ActionResult_Result value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ActionResult) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 49, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ActionResult& from_msg); - ::google::protobuf::internal::ArenaStringPtr result_str_; - int result_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ActionResult( + ::google::protobuf::internal::ConstantInitialized); + + inline ActionResult(const ActionResult& from) : ActionResult(nullptr, from) {} + inline ActionResult(ActionResult&& from) noexcept + : ActionResult(nullptr, std::move(from)) {} + inline ActionResult& operator=(const ActionResult& from) { + CopyFrom(from); + return *this; + } + inline ActionResult& operator=(ActionResult&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ActionResult& default_instance() { + return *internal_default_instance(); + } + static inline const ActionResult* internal_default_instance() { + return reinterpret_cast( + &_ActionResult_default_instance_); + } + static constexpr int kIndexInFileMessages = 46; + friend void swap(ActionResult& a, ActionResult& b) { a.Swap(&b); } + inline void Swap(ActionResult* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ActionResult* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ActionResult* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ActionResult& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ActionResult& from) { ActionResult::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ActionResult* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ActionResult"; } + + protected: + explicit ActionResult(::google::protobuf::Arena* arena); + ActionResult(::google::protobuf::Arena* arena, const ActionResult& from); + ActionResult(::google::protobuf::Arena* arena, ActionResult&& from) noexcept + : ActionResult(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Result = ActionResult_Result; + static constexpr Result RESULT_UNKNOWN = ActionResult_Result_RESULT_UNKNOWN; + static constexpr Result RESULT_SUCCESS = ActionResult_Result_RESULT_SUCCESS; + static constexpr Result RESULT_NO_SYSTEM = ActionResult_Result_RESULT_NO_SYSTEM; + static constexpr Result RESULT_CONNECTION_ERROR = ActionResult_Result_RESULT_CONNECTION_ERROR; + static constexpr Result RESULT_BUSY = ActionResult_Result_RESULT_BUSY; + static constexpr Result RESULT_COMMAND_DENIED = ActionResult_Result_RESULT_COMMAND_DENIED; + static constexpr Result RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = ActionResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN; + static constexpr Result RESULT_COMMAND_DENIED_NOT_LANDED = ActionResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED; + static constexpr Result RESULT_TIMEOUT = ActionResult_Result_RESULT_TIMEOUT; + static constexpr Result RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = ActionResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN; + static constexpr Result RESULT_NO_VTOL_TRANSITION_SUPPORT = ActionResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT; + static constexpr Result RESULT_PARAMETER_ERROR = ActionResult_Result_RESULT_PARAMETER_ERROR; + static constexpr Result RESULT_UNSUPPORTED = ActionResult_Result_RESULT_UNSUPPORTED; + static constexpr Result RESULT_FAILED = ActionResult_Result_RESULT_FAILED; + static constexpr Result RESULT_INVALID_ARGUMENT = ActionResult_Result_RESULT_INVALID_ARGUMENT; + static inline bool Result_IsValid(int value) { + return ActionResult_Result_IsValid(value); + } + static constexpr Result Result_MIN = ActionResult_Result_Result_MIN; + static constexpr Result Result_MAX = ActionResult_Result_Result_MAX; + static constexpr int Result_ARRAYSIZE = ActionResult_Result_Result_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() { + return ActionResult_Result_descriptor(); + } + template + static inline const std::string& Result_Name(T value) { + return ActionResult_Result_Name(value); + } + static inline bool Result_Parse(absl::string_view name, Result* value) { + return ActionResult_Result_Parse(name, value); + } + + // accessors ------------------------------------------------------- + enum : int { + kResultStrFieldNumber = 2, + kResultFieldNumber = 1, + }; + // string result_str = 2; + void clear_result_str() ; + const std::string& result_str() const; + template + void set_result_str(Arg_&& arg, Args_... args); + std::string* mutable_result_str(); + PROTOBUF_NODISCARD std::string* release_result_str(); + void set_allocated_result_str(std::string* value); + + private: + const std::string& _internal_result_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str( + const std::string& value); + std::string* _internal_mutable_result_str(); + + public: + // .mavsdk.rpc.action.ActionResult.Result result = 1; + void clear_result() ; + ::mavsdk::rpc::action::ActionResult_Result result() const; + void set_result(::mavsdk::rpc::action::ActionResult_Result value); + + private: + ::mavsdk::rpc::action::ActionResult_Result _internal_result() const; + void _internal_set_result(::mavsdk::rpc::action::ActionResult_Result value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ActionResult) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 49, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ActionResult& from_msg); + ::google::protobuf::internal::ArenaStringPtr result_str_; + int result_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class TransitionToMulticopterResponse final : public ::google::protobuf::Message +class TransitionToMulticopterResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TransitionToMulticopterResponse) */ { -public: - inline TransitionToMulticopterResponse() : TransitionToMulticopterResponse(nullptr) {} - ~TransitionToMulticopterResponse() PROTOBUF_FINAL; + public: + inline TransitionToMulticopterResponse() : TransitionToMulticopterResponse(nullptr) {} + ~TransitionToMulticopterResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TransitionToMulticopterResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToMulticopterResponse)); - } + void operator delete(TransitionToMulticopterResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToMulticopterResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - TransitionToMulticopterResponse(::google::protobuf::internal::ConstantInitialized); - - inline TransitionToMulticopterResponse(const TransitionToMulticopterResponse& from) : - TransitionToMulticopterResponse(nullptr, from) - {} - inline TransitionToMulticopterResponse(TransitionToMulticopterResponse&& from) noexcept : - TransitionToMulticopterResponse(nullptr, std::move(from)) - {} - inline TransitionToMulticopterResponse& operator=(const TransitionToMulticopterResponse& from) - { - CopyFrom(from); - return *this; - } - inline TransitionToMulticopterResponse& - operator=(TransitionToMulticopterResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TransitionToMulticopterResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const TransitionToMulticopterResponse* internal_default_instance() - { - return reinterpret_cast( - &_TransitionToMulticopterResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 31; - friend void swap(TransitionToMulticopterResponse& a, TransitionToMulticopterResponse& b) - { - a.Swap(&b); - } - inline void Swap(TransitionToMulticopterResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TransitionToMulticopterResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TransitionToMulticopterResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct( - arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const TransitionToMulticopterResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const TransitionToMulticopterResponse& from) - { - TransitionToMulticopterResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(TransitionToMulticopterResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.TransitionToMulticopterResponse"; - } - -protected: - explicit TransitionToMulticopterResponse(::google::protobuf::Arena* arena); - TransitionToMulticopterResponse( - ::google::protobuf::Arena* arena, const TransitionToMulticopterResponse& from); - TransitionToMulticopterResponse( - ::google::protobuf::Arena* arena, TransitionToMulticopterResponse&& from) noexcept : - TransitionToMulticopterResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToMulticopterResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TransitionToMulticopterResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TransitionToMulticopterResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline TransitionToMulticopterResponse(const TransitionToMulticopterResponse& from) : TransitionToMulticopterResponse(nullptr, from) {} + inline TransitionToMulticopterResponse(TransitionToMulticopterResponse&& from) noexcept + : TransitionToMulticopterResponse(nullptr, std::move(from)) {} + inline TransitionToMulticopterResponse& operator=(const TransitionToMulticopterResponse& from) { + CopyFrom(from); + return *this; + } + inline TransitionToMulticopterResponse& operator=(TransitionToMulticopterResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TransitionToMulticopterResponse& default_instance() { + return *internal_default_instance(); + } + static inline const TransitionToMulticopterResponse* internal_default_instance() { + return reinterpret_cast( + &_TransitionToMulticopterResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 31; + friend void swap(TransitionToMulticopterResponse& a, TransitionToMulticopterResponse& b) { a.Swap(&b); } + inline void Swap(TransitionToMulticopterResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TransitionToMulticopterResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TransitionToMulticopterResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TransitionToMulticopterResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TransitionToMulticopterResponse& from) { TransitionToMulticopterResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TransitionToMulticopterResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TransitionToMulticopterResponse"; } + + protected: + explicit TransitionToMulticopterResponse(::google::protobuf::Arena* arena); + TransitionToMulticopterResponse(::google::protobuf::Arena* arena, const TransitionToMulticopterResponse& from); + TransitionToMulticopterResponse(::google::protobuf::Arena* arena, TransitionToMulticopterResponse&& from) noexcept + : TransitionToMulticopterResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToMulticopterResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TransitionToMulticopterResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class TransitionToFixedwingResponse final : public ::google::protobuf::Message +class TransitionToFixedwingResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TransitionToFixedwingResponse) */ { -public: - inline TransitionToFixedwingResponse() : TransitionToFixedwingResponse(nullptr) {} - ~TransitionToFixedwingResponse() PROTOBUF_FINAL; + public: + inline TransitionToFixedwingResponse() : TransitionToFixedwingResponse(nullptr) {} + ~TransitionToFixedwingResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TransitionToFixedwingResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToFixedwingResponse)); - } + void operator delete(TransitionToFixedwingResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TransitionToFixedwingResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - TransitionToFixedwingResponse(::google::protobuf::internal::ConstantInitialized); - - inline TransitionToFixedwingResponse(const TransitionToFixedwingResponse& from) : - TransitionToFixedwingResponse(nullptr, from) - {} - inline TransitionToFixedwingResponse(TransitionToFixedwingResponse&& from) noexcept : - TransitionToFixedwingResponse(nullptr, std::move(from)) - {} - inline TransitionToFixedwingResponse& operator=(const TransitionToFixedwingResponse& from) - { - CopyFrom(from); - return *this; - } - inline TransitionToFixedwingResponse& operator=(TransitionToFixedwingResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TransitionToFixedwingResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const TransitionToFixedwingResponse* internal_default_instance() - { - return reinterpret_cast( - &_TransitionToFixedwingResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 29; - friend void swap(TransitionToFixedwingResponse& a, TransitionToFixedwingResponse& b) - { - a.Swap(&b); - } - inline void Swap(TransitionToFixedwingResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TransitionToFixedwingResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TransitionToFixedwingResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const TransitionToFixedwingResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const TransitionToFixedwingResponse& from) - { - TransitionToFixedwingResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(TransitionToFixedwingResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.TransitionToFixedwingResponse"; - } - -protected: - explicit TransitionToFixedwingResponse(::google::protobuf::Arena* arena); - TransitionToFixedwingResponse( - ::google::protobuf::Arena* arena, const TransitionToFixedwingResponse& from); - TransitionToFixedwingResponse( - ::google::protobuf::Arena* arena, TransitionToFixedwingResponse&& from) noexcept : - TransitionToFixedwingResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToFixedwingResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TransitionToFixedwingResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TransitionToFixedwingResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline TransitionToFixedwingResponse(const TransitionToFixedwingResponse& from) : TransitionToFixedwingResponse(nullptr, from) {} + inline TransitionToFixedwingResponse(TransitionToFixedwingResponse&& from) noexcept + : TransitionToFixedwingResponse(nullptr, std::move(from)) {} + inline TransitionToFixedwingResponse& operator=(const TransitionToFixedwingResponse& from) { + CopyFrom(from); + return *this; + } + inline TransitionToFixedwingResponse& operator=(TransitionToFixedwingResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TransitionToFixedwingResponse& default_instance() { + return *internal_default_instance(); + } + static inline const TransitionToFixedwingResponse* internal_default_instance() { + return reinterpret_cast( + &_TransitionToFixedwingResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 29; + friend void swap(TransitionToFixedwingResponse& a, TransitionToFixedwingResponse& b) { a.Swap(&b); } + inline void Swap(TransitionToFixedwingResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TransitionToFixedwingResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TransitionToFixedwingResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TransitionToFixedwingResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TransitionToFixedwingResponse& from) { TransitionToFixedwingResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TransitionToFixedwingResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TransitionToFixedwingResponse"; } + + protected: + explicit TransitionToFixedwingResponse(::google::protobuf::Arena* arena); + TransitionToFixedwingResponse(::google::protobuf::Arena* arena, const TransitionToFixedwingResponse& from); + TransitionToFixedwingResponse(::google::protobuf::Arena* arena, TransitionToFixedwingResponse&& from) noexcept + : TransitionToFixedwingResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TransitionToFixedwingResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TransitionToFixedwingResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class TerminateResponse final : public ::google::protobuf::Message +class TerminateResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TerminateResponse) */ { -public: - inline TerminateResponse() : TerminateResponse(nullptr) {} - ~TerminateResponse() PROTOBUF_FINAL; + public: + inline TerminateResponse() : TerminateResponse(nullptr) {} + ~TerminateResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TerminateResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminateResponse)); - } + void operator delete(TerminateResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminateResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - TerminateResponse(::google::protobuf::internal::ConstantInitialized); - - inline TerminateResponse(const TerminateResponse& from) : TerminateResponse(nullptr, from) {} - inline TerminateResponse(TerminateResponse&& from) noexcept : - TerminateResponse(nullptr, std::move(from)) - {} - inline TerminateResponse& operator=(const TerminateResponse& from) - { - CopyFrom(from); - return *this; - } - inline TerminateResponse& operator=(TerminateResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TerminateResponse& default_instance() { return *internal_default_instance(); } - static inline const TerminateResponse* internal_default_instance() - { - return reinterpret_cast(&_TerminateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 15; - friend void swap(TerminateResponse& a, TerminateResponse& b) { a.Swap(&b); } - inline void Swap(TerminateResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TerminateResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TerminateResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const TerminateResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const TerminateResponse& from) { TerminateResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(TerminateResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TerminateResponse"; } - -protected: - explicit TerminateResponse(::google::protobuf::Arena* arena); - TerminateResponse(::google::protobuf::Arena* arena, const TerminateResponse& from); - TerminateResponse(::google::protobuf::Arena* arena, TerminateResponse&& from) noexcept : - TerminateResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TerminateResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TerminateResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TerminateResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline TerminateResponse(const TerminateResponse& from) : TerminateResponse(nullptr, from) {} + inline TerminateResponse(TerminateResponse&& from) noexcept + : TerminateResponse(nullptr, std::move(from)) {} + inline TerminateResponse& operator=(const TerminateResponse& from) { + CopyFrom(from); + return *this; + } + inline TerminateResponse& operator=(TerminateResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TerminateResponse& default_instance() { + return *internal_default_instance(); + } + static inline const TerminateResponse* internal_default_instance() { + return reinterpret_cast( + &_TerminateResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 15; + friend void swap(TerminateResponse& a, TerminateResponse& b) { a.Swap(&b); } + inline void Swap(TerminateResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TerminateResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TerminateResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TerminateResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TerminateResponse& from) { TerminateResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TerminateResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TerminateResponse"; } + + protected: + explicit TerminateResponse(::google::protobuf::Arena* arena); + TerminateResponse(::google::protobuf::Arena* arena, const TerminateResponse& from); + TerminateResponse(::google::protobuf::Arena* arena, TerminateResponse&& from) noexcept + : TerminateResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TerminateResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TerminateResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class TakeoffResponse final : public ::google::protobuf::Message +class TakeoffResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.TakeoffResponse) */ { -public: - inline TakeoffResponse() : TakeoffResponse(nullptr) {} - ~TakeoffResponse() PROTOBUF_FINAL; + public: + inline TakeoffResponse() : TakeoffResponse(nullptr) {} + ~TakeoffResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TakeoffResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TakeoffResponse)); - } + void operator delete(TakeoffResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TakeoffResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR TakeoffResponse(::google::protobuf::internal::ConstantInitialized); - - inline TakeoffResponse(const TakeoffResponse& from) : TakeoffResponse(nullptr, from) {} - inline TakeoffResponse(TakeoffResponse&& from) noexcept : - TakeoffResponse(nullptr, std::move(from)) - {} - inline TakeoffResponse& operator=(const TakeoffResponse& from) - { - CopyFrom(from); - return *this; - } - inline TakeoffResponse& operator=(TakeoffResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TakeoffResponse& default_instance() { return *internal_default_instance(); } - static inline const TakeoffResponse* internal_default_instance() - { - return reinterpret_cast(&_TakeoffResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 7; - friend void swap(TakeoffResponse& a, TakeoffResponse& b) { a.Swap(&b); } - inline void Swap(TakeoffResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TakeoffResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TakeoffResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const TakeoffResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const TakeoffResponse& from) { TakeoffResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(TakeoffResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TakeoffResponse"; } - -protected: - explicit TakeoffResponse(::google::protobuf::Arena* arena); - TakeoffResponse(::google::protobuf::Arena* arena, const TakeoffResponse& from); - TakeoffResponse(::google::protobuf::Arena* arena, TakeoffResponse&& from) noexcept : - TakeoffResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TakeoffResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TakeoffResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR TakeoffResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline TakeoffResponse(const TakeoffResponse& from) : TakeoffResponse(nullptr, from) {} + inline TakeoffResponse(TakeoffResponse&& from) noexcept + : TakeoffResponse(nullptr, std::move(from)) {} + inline TakeoffResponse& operator=(const TakeoffResponse& from) { + CopyFrom(from); + return *this; + } + inline TakeoffResponse& operator=(TakeoffResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TakeoffResponse& default_instance() { + return *internal_default_instance(); + } + static inline const TakeoffResponse* internal_default_instance() { + return reinterpret_cast( + &_TakeoffResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(TakeoffResponse& a, TakeoffResponse& b) { a.Swap(&b); } + inline void Swap(TakeoffResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TakeoffResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TakeoffResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TakeoffResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TakeoffResponse& from) { TakeoffResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TakeoffResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.TakeoffResponse"; } + + protected: + explicit TakeoffResponse(::google::protobuf::Arena* arena); + TakeoffResponse(::google::protobuf::Arena* arena, const TakeoffResponse& from); + TakeoffResponse(::google::protobuf::Arena* arena, TakeoffResponse&& from) noexcept + : TakeoffResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.TakeoffResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TakeoffResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ShutdownResponse final : public ::google::protobuf::Message +class ShutdownResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ShutdownResponse) */ { -public: - inline ShutdownResponse() : ShutdownResponse(nullptr) {} - ~ShutdownResponse() PROTOBUF_FINAL; + public: + inline ShutdownResponse() : ShutdownResponse(nullptr) {} + ~ShutdownResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ShutdownResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ShutdownResponse)); - } + void operator delete(ShutdownResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ShutdownResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ShutdownResponse(::google::protobuf::internal::ConstantInitialized); - - inline ShutdownResponse(const ShutdownResponse& from) : ShutdownResponse(nullptr, from) {} - inline ShutdownResponse(ShutdownResponse&& from) noexcept : - ShutdownResponse(nullptr, std::move(from)) - {} - inline ShutdownResponse& operator=(const ShutdownResponse& from) - { - CopyFrom(from); - return *this; - } - inline ShutdownResponse& operator=(ShutdownResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ShutdownResponse& default_instance() { return *internal_default_instance(); } - static inline const ShutdownResponse* internal_default_instance() - { - return reinterpret_cast(&_ShutdownResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 13; - friend void swap(ShutdownResponse& a, ShutdownResponse& b) { a.Swap(&b); } - inline void Swap(ShutdownResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ShutdownResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ShutdownResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ShutdownResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ShutdownResponse& from) { ShutdownResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ShutdownResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ShutdownResponse"; } - -protected: - explicit ShutdownResponse(::google::protobuf::Arena* arena); - ShutdownResponse(::google::protobuf::Arena* arena, const ShutdownResponse& from); - ShutdownResponse(::google::protobuf::Arena* arena, ShutdownResponse&& from) noexcept : - ShutdownResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ShutdownResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ShutdownResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ShutdownResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ShutdownResponse(const ShutdownResponse& from) : ShutdownResponse(nullptr, from) {} + inline ShutdownResponse(ShutdownResponse&& from) noexcept + : ShutdownResponse(nullptr, std::move(from)) {} + inline ShutdownResponse& operator=(const ShutdownResponse& from) { + CopyFrom(from); + return *this; + } + inline ShutdownResponse& operator=(ShutdownResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ShutdownResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ShutdownResponse* internal_default_instance() { + return reinterpret_cast( + &_ShutdownResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(ShutdownResponse& a, ShutdownResponse& b) { a.Swap(&b); } + inline void Swap(ShutdownResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ShutdownResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ShutdownResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ShutdownResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ShutdownResponse& from) { ShutdownResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ShutdownResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ShutdownResponse"; } + + protected: + explicit ShutdownResponse(::google::protobuf::Arena* arena); + ShutdownResponse(::google::protobuf::Arena* arena, const ShutdownResponse& from); + ShutdownResponse(::google::protobuf::Arena* arena, ShutdownResponse&& from) noexcept + : ShutdownResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ShutdownResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ShutdownResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetTakeoffAltitudeResponse final : public ::google::protobuf::Message +class SetTakeoffAltitudeResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetTakeoffAltitudeResponse) */ { -public: - inline SetTakeoffAltitudeResponse() : SetTakeoffAltitudeResponse(nullptr) {} - ~SetTakeoffAltitudeResponse() PROTOBUF_FINAL; + public: + inline SetTakeoffAltitudeResponse() : SetTakeoffAltitudeResponse(nullptr) {} + ~SetTakeoffAltitudeResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetTakeoffAltitudeResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTakeoffAltitudeResponse)); - } + void operator delete(SetTakeoffAltitudeResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTakeoffAltitudeResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetTakeoffAltitudeResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetTakeoffAltitudeResponse(const SetTakeoffAltitudeResponse& from) : - SetTakeoffAltitudeResponse(nullptr, from) - {} - inline SetTakeoffAltitudeResponse(SetTakeoffAltitudeResponse&& from) noexcept : - SetTakeoffAltitudeResponse(nullptr, std::move(from)) - {} - inline SetTakeoffAltitudeResponse& operator=(const SetTakeoffAltitudeResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetTakeoffAltitudeResponse& operator=(SetTakeoffAltitudeResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetTakeoffAltitudeResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const SetTakeoffAltitudeResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetTakeoffAltitudeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 35; - friend void swap(SetTakeoffAltitudeResponse& a, SetTakeoffAltitudeResponse& b) { a.Swap(&b); } - inline void Swap(SetTakeoffAltitudeResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetTakeoffAltitudeResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetTakeoffAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetTakeoffAltitudeResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetTakeoffAltitudeResponse& from) - { - SetTakeoffAltitudeResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetTakeoffAltitudeResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetTakeoffAltitudeResponse"; - } - -protected: - explicit SetTakeoffAltitudeResponse(::google::protobuf::Arena* arena); - SetTakeoffAltitudeResponse( - ::google::protobuf::Arena* arena, const SetTakeoffAltitudeResponse& from); - SetTakeoffAltitudeResponse( - ::google::protobuf::Arena* arena, SetTakeoffAltitudeResponse&& from) noexcept : - SetTakeoffAltitudeResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetTakeoffAltitudeResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetTakeoffAltitudeResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetTakeoffAltitudeResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetTakeoffAltitudeResponse(const SetTakeoffAltitudeResponse& from) : SetTakeoffAltitudeResponse(nullptr, from) {} + inline SetTakeoffAltitudeResponse(SetTakeoffAltitudeResponse&& from) noexcept + : SetTakeoffAltitudeResponse(nullptr, std::move(from)) {} + inline SetTakeoffAltitudeResponse& operator=(const SetTakeoffAltitudeResponse& from) { + CopyFrom(from); + return *this; + } + inline SetTakeoffAltitudeResponse& operator=(SetTakeoffAltitudeResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetTakeoffAltitudeResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetTakeoffAltitudeResponse* internal_default_instance() { + return reinterpret_cast( + &_SetTakeoffAltitudeResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 35; + friend void swap(SetTakeoffAltitudeResponse& a, SetTakeoffAltitudeResponse& b) { a.Swap(&b); } + inline void Swap(SetTakeoffAltitudeResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetTakeoffAltitudeResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetTakeoffAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetTakeoffAltitudeResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetTakeoffAltitudeResponse& from) { SetTakeoffAltitudeResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetTakeoffAltitudeResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetTakeoffAltitudeResponse"; } + + protected: + explicit SetTakeoffAltitudeResponse(::google::protobuf::Arena* arena); + SetTakeoffAltitudeResponse(::google::protobuf::Arena* arena, const SetTakeoffAltitudeResponse& from); + SetTakeoffAltitudeResponse(::google::protobuf::Arena* arena, SetTakeoffAltitudeResponse&& from) noexcept + : SetTakeoffAltitudeResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetTakeoffAltitudeResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetTakeoffAltitudeResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetReturnToLaunchAltitudeResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) */ -{ -public: - inline SetReturnToLaunchAltitudeResponse() : SetReturnToLaunchAltitudeResponse(nullptr) {} - ~SetReturnToLaunchAltitudeResponse() PROTOBUF_FINAL; +class SetReturnToLaunchAltitudeResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) */ { + public: + inline SetReturnToLaunchAltitudeResponse() : SetReturnToLaunchAltitudeResponse(nullptr) {} + ~SetReturnToLaunchAltitudeResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetReturnToLaunchAltitudeResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetReturnToLaunchAltitudeResponse)); - } + void operator delete(SetReturnToLaunchAltitudeResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetReturnToLaunchAltitudeResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetReturnToLaunchAltitudeResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetReturnToLaunchAltitudeResponse(const SetReturnToLaunchAltitudeResponse& from) : - SetReturnToLaunchAltitudeResponse(nullptr, from) - {} - inline SetReturnToLaunchAltitudeResponse(SetReturnToLaunchAltitudeResponse&& from) noexcept : - SetReturnToLaunchAltitudeResponse(nullptr, std::move(from)) - {} - inline SetReturnToLaunchAltitudeResponse& - operator=(const SetReturnToLaunchAltitudeResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetReturnToLaunchAltitudeResponse& - operator=(SetReturnToLaunchAltitudeResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetReturnToLaunchAltitudeResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const SetReturnToLaunchAltitudeResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetReturnToLaunchAltitudeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 43; - friend void swap(SetReturnToLaunchAltitudeResponse& a, SetReturnToLaunchAltitudeResponse& b) - { - a.Swap(&b); - } - inline void Swap(SetReturnToLaunchAltitudeResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetReturnToLaunchAltitudeResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetReturnToLaunchAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct( - arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetReturnToLaunchAltitudeResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetReturnToLaunchAltitudeResponse& from) - { - SetReturnToLaunchAltitudeResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetReturnToLaunchAltitudeResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse"; - } - -protected: - explicit SetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena); - SetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena, const SetReturnToLaunchAltitudeResponse& from); - SetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena, SetReturnToLaunchAltitudeResponse&& from) noexcept : - SetReturnToLaunchAltitudeResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetReturnToLaunchAltitudeResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetReturnToLaunchAltitudeResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetReturnToLaunchAltitudeResponse(const SetReturnToLaunchAltitudeResponse& from) : SetReturnToLaunchAltitudeResponse(nullptr, from) {} + inline SetReturnToLaunchAltitudeResponse(SetReturnToLaunchAltitudeResponse&& from) noexcept + : SetReturnToLaunchAltitudeResponse(nullptr, std::move(from)) {} + inline SetReturnToLaunchAltitudeResponse& operator=(const SetReturnToLaunchAltitudeResponse& from) { + CopyFrom(from); + return *this; + } + inline SetReturnToLaunchAltitudeResponse& operator=(SetReturnToLaunchAltitudeResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetReturnToLaunchAltitudeResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetReturnToLaunchAltitudeResponse* internal_default_instance() { + return reinterpret_cast( + &_SetReturnToLaunchAltitudeResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 43; + friend void swap(SetReturnToLaunchAltitudeResponse& a, SetReturnToLaunchAltitudeResponse& b) { a.Swap(&b); } + inline void Swap(SetReturnToLaunchAltitudeResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetReturnToLaunchAltitudeResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetReturnToLaunchAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetReturnToLaunchAltitudeResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetReturnToLaunchAltitudeResponse& from) { SetReturnToLaunchAltitudeResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetReturnToLaunchAltitudeResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse"; } + + protected: + explicit SetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena); + SetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena, const SetReturnToLaunchAltitudeResponse& from); + SetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena, SetReturnToLaunchAltitudeResponse&& from) noexcept + : SetReturnToLaunchAltitudeResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetReturnToLaunchAltitudeResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetMaximumSpeedResponse final : public ::google::protobuf::Message +class SetMaximumSpeedResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetMaximumSpeedResponse) */ { -public: - inline SetMaximumSpeedResponse() : SetMaximumSpeedResponse(nullptr) {} - ~SetMaximumSpeedResponse() PROTOBUF_FINAL; + public: + inline SetMaximumSpeedResponse() : SetMaximumSpeedResponse(nullptr) {} + ~SetMaximumSpeedResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetMaximumSpeedResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetMaximumSpeedResponse)); - } + void operator delete(SetMaximumSpeedResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetMaximumSpeedResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetMaximumSpeedResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetMaximumSpeedResponse(const SetMaximumSpeedResponse& from) : - SetMaximumSpeedResponse(nullptr, from) - {} - inline SetMaximumSpeedResponse(SetMaximumSpeedResponse&& from) noexcept : - SetMaximumSpeedResponse(nullptr, std::move(from)) - {} - inline SetMaximumSpeedResponse& operator=(const SetMaximumSpeedResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetMaximumSpeedResponse& operator=(SetMaximumSpeedResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetMaximumSpeedResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const SetMaximumSpeedResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetMaximumSpeedResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 39; - friend void swap(SetMaximumSpeedResponse& a, SetMaximumSpeedResponse& b) { a.Swap(&b); } - inline void Swap(SetMaximumSpeedResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetMaximumSpeedResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetMaximumSpeedResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetMaximumSpeedResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetMaximumSpeedResponse& from) - { - SetMaximumSpeedResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetMaximumSpeedResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetMaximumSpeedResponse"; - } - -protected: - explicit SetMaximumSpeedResponse(::google::protobuf::Arena* arena); - SetMaximumSpeedResponse(::google::protobuf::Arena* arena, const SetMaximumSpeedResponse& from); - SetMaximumSpeedResponse( - ::google::protobuf::Arena* arena, SetMaximumSpeedResponse&& from) noexcept : - SetMaximumSpeedResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetMaximumSpeedResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetMaximumSpeedResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetMaximumSpeedResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetMaximumSpeedResponse(const SetMaximumSpeedResponse& from) : SetMaximumSpeedResponse(nullptr, from) {} + inline SetMaximumSpeedResponse(SetMaximumSpeedResponse&& from) noexcept + : SetMaximumSpeedResponse(nullptr, std::move(from)) {} + inline SetMaximumSpeedResponse& operator=(const SetMaximumSpeedResponse& from) { + CopyFrom(from); + return *this; + } + inline SetMaximumSpeedResponse& operator=(SetMaximumSpeedResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetMaximumSpeedResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetMaximumSpeedResponse* internal_default_instance() { + return reinterpret_cast( + &_SetMaximumSpeedResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 39; + friend void swap(SetMaximumSpeedResponse& a, SetMaximumSpeedResponse& b) { a.Swap(&b); } + inline void Swap(SetMaximumSpeedResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetMaximumSpeedResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetMaximumSpeedResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetMaximumSpeedResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetMaximumSpeedResponse& from) { SetMaximumSpeedResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetMaximumSpeedResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetMaximumSpeedResponse"; } + + protected: + explicit SetMaximumSpeedResponse(::google::protobuf::Arena* arena); + SetMaximumSpeedResponse(::google::protobuf::Arena* arena, const SetMaximumSpeedResponse& from); + SetMaximumSpeedResponse(::google::protobuf::Arena* arena, SetMaximumSpeedResponse&& from) noexcept + : SetMaximumSpeedResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetMaximumSpeedResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetMaximumSpeedResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetCurrentSpeedResponse final : public ::google::protobuf::Message +class SetCurrentSpeedResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetCurrentSpeedResponse) */ { -public: - inline SetCurrentSpeedResponse() : SetCurrentSpeedResponse(nullptr) {} - ~SetCurrentSpeedResponse() PROTOBUF_FINAL; + public: + inline SetCurrentSpeedResponse() : SetCurrentSpeedResponse(nullptr) {} + ~SetCurrentSpeedResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetCurrentSpeedResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCurrentSpeedResponse)); - } + void operator delete(SetCurrentSpeedResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCurrentSpeedResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetCurrentSpeedResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetCurrentSpeedResponse(const SetCurrentSpeedResponse& from) : - SetCurrentSpeedResponse(nullptr, from) - {} - inline SetCurrentSpeedResponse(SetCurrentSpeedResponse&& from) noexcept : - SetCurrentSpeedResponse(nullptr, std::move(from)) - {} - inline SetCurrentSpeedResponse& operator=(const SetCurrentSpeedResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetCurrentSpeedResponse& operator=(SetCurrentSpeedResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetCurrentSpeedResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const SetCurrentSpeedResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetCurrentSpeedResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 45; - friend void swap(SetCurrentSpeedResponse& a, SetCurrentSpeedResponse& b) { a.Swap(&b); } - inline void Swap(SetCurrentSpeedResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetCurrentSpeedResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetCurrentSpeedResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetCurrentSpeedResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetCurrentSpeedResponse& from) - { - SetCurrentSpeedResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetCurrentSpeedResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.SetCurrentSpeedResponse"; - } - -protected: - explicit SetCurrentSpeedResponse(::google::protobuf::Arena* arena); - SetCurrentSpeedResponse(::google::protobuf::Arena* arena, const SetCurrentSpeedResponse& from); - SetCurrentSpeedResponse( - ::google::protobuf::Arena* arena, SetCurrentSpeedResponse&& from) noexcept : - SetCurrentSpeedResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetCurrentSpeedResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetCurrentSpeedResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetCurrentSpeedResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetCurrentSpeedResponse(const SetCurrentSpeedResponse& from) : SetCurrentSpeedResponse(nullptr, from) {} + inline SetCurrentSpeedResponse(SetCurrentSpeedResponse&& from) noexcept + : SetCurrentSpeedResponse(nullptr, std::move(from)) {} + inline SetCurrentSpeedResponse& operator=(const SetCurrentSpeedResponse& from) { + CopyFrom(from); + return *this; + } + inline SetCurrentSpeedResponse& operator=(SetCurrentSpeedResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetCurrentSpeedResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetCurrentSpeedResponse* internal_default_instance() { + return reinterpret_cast( + &_SetCurrentSpeedResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 45; + friend void swap(SetCurrentSpeedResponse& a, SetCurrentSpeedResponse& b) { a.Swap(&b); } + inline void Swap(SetCurrentSpeedResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetCurrentSpeedResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetCurrentSpeedResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetCurrentSpeedResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetCurrentSpeedResponse& from) { SetCurrentSpeedResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetCurrentSpeedResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetCurrentSpeedResponse"; } + + protected: + explicit SetCurrentSpeedResponse(::google::protobuf::Arena* arena); + SetCurrentSpeedResponse(::google::protobuf::Arena* arena, const SetCurrentSpeedResponse& from); + SetCurrentSpeedResponse(::google::protobuf::Arena* arena, SetCurrentSpeedResponse&& from) noexcept + : SetCurrentSpeedResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetCurrentSpeedResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetCurrentSpeedResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class SetActuatorResponse final : public ::google::protobuf::Message +class SetActuatorResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.SetActuatorResponse) */ { -public: - inline SetActuatorResponse() : SetActuatorResponse(nullptr) {} - ~SetActuatorResponse() PROTOBUF_FINAL; + public: + inline SetActuatorResponse() : SetActuatorResponse(nullptr) {} + ~SetActuatorResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetActuatorResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetActuatorResponse)); - } + void operator delete(SetActuatorResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetActuatorResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetActuatorResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetActuatorResponse(const SetActuatorResponse& from) : SetActuatorResponse(nullptr, from) - {} - inline SetActuatorResponse(SetActuatorResponse&& from) noexcept : - SetActuatorResponse(nullptr, std::move(from)) - {} - inline SetActuatorResponse& operator=(const SetActuatorResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetActuatorResponse& operator=(SetActuatorResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetActuatorResponse& default_instance() { return *internal_default_instance(); } - static inline const SetActuatorResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetActuatorResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 27; - friend void swap(SetActuatorResponse& a, SetActuatorResponse& b) { a.Swap(&b); } - inline void Swap(SetActuatorResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetActuatorResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetActuatorResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetActuatorResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetActuatorResponse& from) { SetActuatorResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetActuatorResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetActuatorResponse"; } - -protected: - explicit SetActuatorResponse(::google::protobuf::Arena* arena); - SetActuatorResponse(::google::protobuf::Arena* arena, const SetActuatorResponse& from); - SetActuatorResponse(::google::protobuf::Arena* arena, SetActuatorResponse&& from) noexcept : - SetActuatorResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetActuatorResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetActuatorResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetActuatorResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetActuatorResponse(const SetActuatorResponse& from) : SetActuatorResponse(nullptr, from) {} + inline SetActuatorResponse(SetActuatorResponse&& from) noexcept + : SetActuatorResponse(nullptr, std::move(from)) {} + inline SetActuatorResponse& operator=(const SetActuatorResponse& from) { + CopyFrom(from); + return *this; + } + inline SetActuatorResponse& operator=(SetActuatorResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetActuatorResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetActuatorResponse* internal_default_instance() { + return reinterpret_cast( + &_SetActuatorResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 27; + friend void swap(SetActuatorResponse& a, SetActuatorResponse& b) { a.Swap(&b); } + inline void Swap(SetActuatorResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetActuatorResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetActuatorResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetActuatorResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetActuatorResponse& from) { SetActuatorResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetActuatorResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.SetActuatorResponse"; } + + protected: + explicit SetActuatorResponse(::google::protobuf::Arena* arena); + SetActuatorResponse(::google::protobuf::Arena* arena, const SetActuatorResponse& from); + SetActuatorResponse(::google::protobuf::Arena* arena, SetActuatorResponse&& from) noexcept + : SetActuatorResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.SetActuatorResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetActuatorResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ReturnToLaunchResponse final : public ::google::protobuf::Message +class ReturnToLaunchResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ReturnToLaunchResponse) */ { -public: - inline ReturnToLaunchResponse() : ReturnToLaunchResponse(nullptr) {} - ~ReturnToLaunchResponse() PROTOBUF_FINAL; + public: + inline ReturnToLaunchResponse() : ReturnToLaunchResponse(nullptr) {} + ~ReturnToLaunchResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ReturnToLaunchResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ReturnToLaunchResponse)); - } + void operator delete(ReturnToLaunchResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ReturnToLaunchResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - ReturnToLaunchResponse(::google::protobuf::internal::ConstantInitialized); - - inline ReturnToLaunchResponse(const ReturnToLaunchResponse& from) : - ReturnToLaunchResponse(nullptr, from) - {} - inline ReturnToLaunchResponse(ReturnToLaunchResponse&& from) noexcept : - ReturnToLaunchResponse(nullptr, std::move(from)) - {} - inline ReturnToLaunchResponse& operator=(const ReturnToLaunchResponse& from) - { - CopyFrom(from); - return *this; - } - inline ReturnToLaunchResponse& operator=(ReturnToLaunchResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ReturnToLaunchResponse& default_instance() { return *internal_default_instance(); } - static inline const ReturnToLaunchResponse* internal_default_instance() - { - return reinterpret_cast( - &_ReturnToLaunchResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 19; - friend void swap(ReturnToLaunchResponse& a, ReturnToLaunchResponse& b) { a.Swap(&b); } - inline void Swap(ReturnToLaunchResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ReturnToLaunchResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ReturnToLaunchResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ReturnToLaunchResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ReturnToLaunchResponse& from) - { - ReturnToLaunchResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ReturnToLaunchResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.ReturnToLaunchResponse"; - } - -protected: - explicit ReturnToLaunchResponse(::google::protobuf::Arena* arena); - ReturnToLaunchResponse(::google::protobuf::Arena* arena, const ReturnToLaunchResponse& from); - ReturnToLaunchResponse(::google::protobuf::Arena* arena, ReturnToLaunchResponse&& from) noexcept - : - ReturnToLaunchResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ReturnToLaunchResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ReturnToLaunchResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ReturnToLaunchResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ReturnToLaunchResponse(const ReturnToLaunchResponse& from) : ReturnToLaunchResponse(nullptr, from) {} + inline ReturnToLaunchResponse(ReturnToLaunchResponse&& from) noexcept + : ReturnToLaunchResponse(nullptr, std::move(from)) {} + inline ReturnToLaunchResponse& operator=(const ReturnToLaunchResponse& from) { + CopyFrom(from); + return *this; + } + inline ReturnToLaunchResponse& operator=(ReturnToLaunchResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReturnToLaunchResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ReturnToLaunchResponse* internal_default_instance() { + return reinterpret_cast( + &_ReturnToLaunchResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 19; + friend void swap(ReturnToLaunchResponse& a, ReturnToLaunchResponse& b) { a.Swap(&b); } + inline void Swap(ReturnToLaunchResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReturnToLaunchResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReturnToLaunchResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ReturnToLaunchResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ReturnToLaunchResponse& from) { ReturnToLaunchResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ReturnToLaunchResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ReturnToLaunchResponse"; } + + protected: + explicit ReturnToLaunchResponse(::google::protobuf::Arena* arena); + ReturnToLaunchResponse(::google::protobuf::Arena* arena, const ReturnToLaunchResponse& from); + ReturnToLaunchResponse(::google::protobuf::Arena* arena, ReturnToLaunchResponse&& from) noexcept + : ReturnToLaunchResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ReturnToLaunchResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ReturnToLaunchResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class RebootResponse final : public ::google::protobuf::Message +class RebootResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.RebootResponse) */ { -public: - inline RebootResponse() : RebootResponse(nullptr) {} - ~RebootResponse() PROTOBUF_FINAL; + public: + inline RebootResponse() : RebootResponse(nullptr) {} + ~RebootResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RebootResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RebootResponse)); - } + void operator delete(RebootResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RebootResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR RebootResponse(::google::protobuf::internal::ConstantInitialized); - - inline RebootResponse(const RebootResponse& from) : RebootResponse(nullptr, from) {} - inline RebootResponse(RebootResponse&& from) noexcept : RebootResponse(nullptr, std::move(from)) - {} - inline RebootResponse& operator=(const RebootResponse& from) - { - CopyFrom(from); - return *this; - } - inline RebootResponse& operator=(RebootResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const RebootResponse& default_instance() { return *internal_default_instance(); } - static inline const RebootResponse* internal_default_instance() - { - return reinterpret_cast(&_RebootResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 11; - friend void swap(RebootResponse& a, RebootResponse& b) { a.Swap(&b); } - inline void Swap(RebootResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RebootResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RebootResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RebootResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RebootResponse& from) { RebootResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(RebootResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.RebootResponse"; } - -protected: - explicit RebootResponse(::google::protobuf::Arena* arena); - RebootResponse(::google::protobuf::Arena* arena, const RebootResponse& from); - RebootResponse(::google::protobuf::Arena* arena, RebootResponse&& from) noexcept : - RebootResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.RebootResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const RebootResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR RebootResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline RebootResponse(const RebootResponse& from) : RebootResponse(nullptr, from) {} + inline RebootResponse(RebootResponse&& from) noexcept + : RebootResponse(nullptr, std::move(from)) {} + inline RebootResponse& operator=(const RebootResponse& from) { + CopyFrom(from); + return *this; + } + inline RebootResponse& operator=(RebootResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RebootResponse& default_instance() { + return *internal_default_instance(); + } + static inline const RebootResponse* internal_default_instance() { + return reinterpret_cast( + &_RebootResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(RebootResponse& a, RebootResponse& b) { a.Swap(&b); } + inline void Swap(RebootResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RebootResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RebootResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RebootResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RebootResponse& from) { RebootResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RebootResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.RebootResponse"; } + + protected: + explicit RebootResponse(::google::protobuf::Arena* arena); + RebootResponse(::google::protobuf::Arena* arena, const RebootResponse& from); + RebootResponse(::google::protobuf::Arena* arena, RebootResponse&& from) noexcept + : RebootResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.RebootResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RebootResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class LandResponse final : public ::google::protobuf::Message +class LandResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.LandResponse) */ { -public: - inline LandResponse() : LandResponse(nullptr) {} - ~LandResponse() PROTOBUF_FINAL; + public: + inline LandResponse() : LandResponse(nullptr) {} + ~LandResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(LandResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(LandResponse)); - } + void operator delete(LandResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(LandResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR LandResponse(::google::protobuf::internal::ConstantInitialized); - - inline LandResponse(const LandResponse& from) : LandResponse(nullptr, from) {} - inline LandResponse(LandResponse&& from) noexcept : LandResponse(nullptr, std::move(from)) {} - inline LandResponse& operator=(const LandResponse& from) - { - CopyFrom(from); - return *this; - } - inline LandResponse& operator=(LandResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const LandResponse& default_instance() { return *internal_default_instance(); } - static inline const LandResponse* internal_default_instance() - { - return reinterpret_cast(&_LandResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 9; - friend void swap(LandResponse& a, LandResponse& b) { a.Swap(&b); } - inline void Swap(LandResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LandResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LandResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const LandResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const LandResponse& from) { LandResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(LandResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.LandResponse"; } - -protected: - explicit LandResponse(::google::protobuf::Arena* arena); - LandResponse(::google::protobuf::Arena* arena, const LandResponse& from); - LandResponse(::google::protobuf::Arena* arena, LandResponse&& from) noexcept : - LandResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.LandResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const LandResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR LandResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline LandResponse(const LandResponse& from) : LandResponse(nullptr, from) {} + inline LandResponse(LandResponse&& from) noexcept + : LandResponse(nullptr, std::move(from)) {} + inline LandResponse& operator=(const LandResponse& from) { + CopyFrom(from); + return *this; + } + inline LandResponse& operator=(LandResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LandResponse& default_instance() { + return *internal_default_instance(); + } + static inline const LandResponse* internal_default_instance() { + return reinterpret_cast( + &_LandResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(LandResponse& a, LandResponse& b) { a.Swap(&b); } + inline void Swap(LandResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LandResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LandResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const LandResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const LandResponse& from) { LandResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(LandResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.LandResponse"; } + + protected: + explicit LandResponse(::google::protobuf::Arena* arena); + LandResponse(::google::protobuf::Arena* arena, const LandResponse& from); + LandResponse(::google::protobuf::Arena* arena, LandResponse&& from) noexcept + : LandResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.LandResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const LandResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class KillResponse final : public ::google::protobuf::Message +class KillResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.KillResponse) */ { -public: - inline KillResponse() : KillResponse(nullptr) {} - ~KillResponse() PROTOBUF_FINAL; + public: + inline KillResponse() : KillResponse(nullptr) {} + ~KillResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(KillResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(KillResponse)); - } + void operator delete(KillResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(KillResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR KillResponse(::google::protobuf::internal::ConstantInitialized); - - inline KillResponse(const KillResponse& from) : KillResponse(nullptr, from) {} - inline KillResponse(KillResponse&& from) noexcept : KillResponse(nullptr, std::move(from)) {} - inline KillResponse& operator=(const KillResponse& from) - { - CopyFrom(from); - return *this; - } - inline KillResponse& operator=(KillResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const KillResponse& default_instance() { return *internal_default_instance(); } - static inline const KillResponse* internal_default_instance() - { - return reinterpret_cast(&_KillResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 17; - friend void swap(KillResponse& a, KillResponse& b) { a.Swap(&b); } - inline void Swap(KillResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(KillResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - KillResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const KillResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const KillResponse& from) { KillResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(KillResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.KillResponse"; } - -protected: - explicit KillResponse(::google::protobuf::Arena* arena); - KillResponse(::google::protobuf::Arena* arena, const KillResponse& from); - KillResponse(::google::protobuf::Arena* arena, KillResponse&& from) noexcept : - KillResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.KillResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const KillResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR KillResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline KillResponse(const KillResponse& from) : KillResponse(nullptr, from) {} + inline KillResponse(KillResponse&& from) noexcept + : KillResponse(nullptr, std::move(from)) {} + inline KillResponse& operator=(const KillResponse& from) { + CopyFrom(from); + return *this; + } + inline KillResponse& operator=(KillResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const KillResponse& default_instance() { + return *internal_default_instance(); + } + static inline const KillResponse* internal_default_instance() { + return reinterpret_cast( + &_KillResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 17; + friend void swap(KillResponse& a, KillResponse& b) { a.Swap(&b); } + inline void Swap(KillResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(KillResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + KillResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const KillResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const KillResponse& from) { KillResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(KillResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.KillResponse"; } + + protected: + explicit KillResponse(::google::protobuf::Arena* arena); + KillResponse(::google::protobuf::Arena* arena, const KillResponse& from); + KillResponse(::google::protobuf::Arena* arena, KillResponse&& from) noexcept + : KillResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.KillResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const KillResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class HoldResponse final : public ::google::protobuf::Message +class HoldResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.HoldResponse) */ { -public: - inline HoldResponse() : HoldResponse(nullptr) {} - ~HoldResponse() PROTOBUF_FINAL; + public: + inline HoldResponse() : HoldResponse(nullptr) {} + ~HoldResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(HoldResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(HoldResponse)); - } + void operator delete(HoldResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(HoldResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR HoldResponse(::google::protobuf::internal::ConstantInitialized); - - inline HoldResponse(const HoldResponse& from) : HoldResponse(nullptr, from) {} - inline HoldResponse(HoldResponse&& from) noexcept : HoldResponse(nullptr, std::move(from)) {} - inline HoldResponse& operator=(const HoldResponse& from) - { - CopyFrom(from); - return *this; - } - inline HoldResponse& operator=(HoldResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const HoldResponse& default_instance() { return *internal_default_instance(); } - static inline const HoldResponse* internal_default_instance() - { - return reinterpret_cast(&_HoldResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 25; - friend void swap(HoldResponse& a, HoldResponse& b) { a.Swap(&b); } - inline void Swap(HoldResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(HoldResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - HoldResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const HoldResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const HoldResponse& from) { HoldResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(HoldResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.HoldResponse"; } - -protected: - explicit HoldResponse(::google::protobuf::Arena* arena); - HoldResponse(::google::protobuf::Arena* arena, const HoldResponse& from); - HoldResponse(::google::protobuf::Arena* arena, HoldResponse&& from) noexcept : - HoldResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.HoldResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const HoldResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR HoldResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline HoldResponse(const HoldResponse& from) : HoldResponse(nullptr, from) {} + inline HoldResponse(HoldResponse&& from) noexcept + : HoldResponse(nullptr, std::move(from)) {} + inline HoldResponse& operator=(const HoldResponse& from) { + CopyFrom(from); + return *this; + } + inline HoldResponse& operator=(HoldResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const HoldResponse& default_instance() { + return *internal_default_instance(); + } + static inline const HoldResponse* internal_default_instance() { + return reinterpret_cast( + &_HoldResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 25; + friend void swap(HoldResponse& a, HoldResponse& b) { a.Swap(&b); } + inline void Swap(HoldResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(HoldResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + HoldResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const HoldResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const HoldResponse& from) { HoldResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(HoldResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.HoldResponse"; } + + protected: + explicit HoldResponse(::google::protobuf::Arena* arena); + HoldResponse(::google::protobuf::Arena* arena, const HoldResponse& from); + HoldResponse(::google::protobuf::Arena* arena, HoldResponse&& from) noexcept + : HoldResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.HoldResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const HoldResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GotoLocationResponse final : public ::google::protobuf::Message +class GotoLocationResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GotoLocationResponse) */ { -public: - inline GotoLocationResponse() : GotoLocationResponse(nullptr) {} - ~GotoLocationResponse() PROTOBUF_FINAL; + public: + inline GotoLocationResponse() : GotoLocationResponse(nullptr) {} + ~GotoLocationResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GotoLocationResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GotoLocationResponse)); - } + void operator delete(GotoLocationResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GotoLocationResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GotoLocationResponse(::google::protobuf::internal::ConstantInitialized); - - inline GotoLocationResponse(const GotoLocationResponse& from) : - GotoLocationResponse(nullptr, from) - {} - inline GotoLocationResponse(GotoLocationResponse&& from) noexcept : - GotoLocationResponse(nullptr, std::move(from)) - {} - inline GotoLocationResponse& operator=(const GotoLocationResponse& from) - { - CopyFrom(from); - return *this; - } - inline GotoLocationResponse& operator=(GotoLocationResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GotoLocationResponse& default_instance() { return *internal_default_instance(); } - static inline const GotoLocationResponse* internal_default_instance() - { - return reinterpret_cast( - &_GotoLocationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 21; - friend void swap(GotoLocationResponse& a, GotoLocationResponse& b) { a.Swap(&b); } - inline void Swap(GotoLocationResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GotoLocationResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GotoLocationResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GotoLocationResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GotoLocationResponse& from) - { - GotoLocationResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GotoLocationResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.GotoLocationResponse"; - } - -protected: - explicit GotoLocationResponse(::google::protobuf::Arena* arena); - GotoLocationResponse(::google::protobuf::Arena* arena, const GotoLocationResponse& from); - GotoLocationResponse(::google::protobuf::Arena* arena, GotoLocationResponse&& from) noexcept : - GotoLocationResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GotoLocationResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GotoLocationResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GotoLocationResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline GotoLocationResponse(const GotoLocationResponse& from) : GotoLocationResponse(nullptr, from) {} + inline GotoLocationResponse(GotoLocationResponse&& from) noexcept + : GotoLocationResponse(nullptr, std::move(from)) {} + inline GotoLocationResponse& operator=(const GotoLocationResponse& from) { + CopyFrom(from); + return *this; + } + inline GotoLocationResponse& operator=(GotoLocationResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GotoLocationResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GotoLocationResponse* internal_default_instance() { + return reinterpret_cast( + &_GotoLocationResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 21; + friend void swap(GotoLocationResponse& a, GotoLocationResponse& b) { a.Swap(&b); } + inline void Swap(GotoLocationResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GotoLocationResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GotoLocationResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GotoLocationResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GotoLocationResponse& from) { GotoLocationResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GotoLocationResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GotoLocationResponse"; } + + protected: + explicit GotoLocationResponse(::google::protobuf::Arena* arena); + GotoLocationResponse(::google::protobuf::Arena* arena, const GotoLocationResponse& from); + GotoLocationResponse(::google::protobuf::Arena* arena, GotoLocationResponse&& from) noexcept + : GotoLocationResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GotoLocationResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GotoLocationResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GetTakeoffAltitudeResponse final : public ::google::protobuf::Message +class GetTakeoffAltitudeResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetTakeoffAltitudeResponse) */ { -public: - inline GetTakeoffAltitudeResponse() : GetTakeoffAltitudeResponse(nullptr) {} - ~GetTakeoffAltitudeResponse() PROTOBUF_FINAL; + public: + inline GetTakeoffAltitudeResponse() : GetTakeoffAltitudeResponse(nullptr) {} + ~GetTakeoffAltitudeResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTakeoffAltitudeResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTakeoffAltitudeResponse)); - } + void operator delete(GetTakeoffAltitudeResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTakeoffAltitudeResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GetTakeoffAltitudeResponse(::google::protobuf::internal::ConstantInitialized); - - inline GetTakeoffAltitudeResponse(const GetTakeoffAltitudeResponse& from) : - GetTakeoffAltitudeResponse(nullptr, from) - {} - inline GetTakeoffAltitudeResponse(GetTakeoffAltitudeResponse&& from) noexcept : - GetTakeoffAltitudeResponse(nullptr, std::move(from)) - {} - inline GetTakeoffAltitudeResponse& operator=(const GetTakeoffAltitudeResponse& from) - { - CopyFrom(from); - return *this; - } - inline GetTakeoffAltitudeResponse& operator=(GetTakeoffAltitudeResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetTakeoffAltitudeResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const GetTakeoffAltitudeResponse* internal_default_instance() - { - return reinterpret_cast( - &_GetTakeoffAltitudeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 33; - friend void swap(GetTakeoffAltitudeResponse& a, GetTakeoffAltitudeResponse& b) { a.Swap(&b); } - inline void Swap(GetTakeoffAltitudeResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetTakeoffAltitudeResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetTakeoffAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetTakeoffAltitudeResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetTakeoffAltitudeResponse& from) - { - GetTakeoffAltitudeResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetTakeoffAltitudeResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.GetTakeoffAltitudeResponse"; - } - -protected: - explicit GetTakeoffAltitudeResponse(::google::protobuf::Arena* arena); - GetTakeoffAltitudeResponse( - ::google::protobuf::Arena* arena, const GetTakeoffAltitudeResponse& from); - GetTakeoffAltitudeResponse( - ::google::protobuf::Arena* arena, GetTakeoffAltitudeResponse&& from) noexcept : - GetTakeoffAltitudeResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - kAltitudeFieldNumber = 2, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // float altitude = 2; - void clear_altitude(); - float altitude() const; - void set_altitude(float value); - -private: - float _internal_altitude() const; - void _internal_set_altitude(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetTakeoffAltitudeResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetTakeoffAltitudeResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - float altitude_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GetTakeoffAltitudeResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline GetTakeoffAltitudeResponse(const GetTakeoffAltitudeResponse& from) : GetTakeoffAltitudeResponse(nullptr, from) {} + inline GetTakeoffAltitudeResponse(GetTakeoffAltitudeResponse&& from) noexcept + : GetTakeoffAltitudeResponse(nullptr, std::move(from)) {} + inline GetTakeoffAltitudeResponse& operator=(const GetTakeoffAltitudeResponse& from) { + CopyFrom(from); + return *this; + } + inline GetTakeoffAltitudeResponse& operator=(GetTakeoffAltitudeResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetTakeoffAltitudeResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetTakeoffAltitudeResponse* internal_default_instance() { + return reinterpret_cast( + &_GetTakeoffAltitudeResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 33; + friend void swap(GetTakeoffAltitudeResponse& a, GetTakeoffAltitudeResponse& b) { a.Swap(&b); } + inline void Swap(GetTakeoffAltitudeResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetTakeoffAltitudeResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetTakeoffAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetTakeoffAltitudeResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GetTakeoffAltitudeResponse& from) { GetTakeoffAltitudeResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetTakeoffAltitudeResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GetTakeoffAltitudeResponse"; } + + protected: + explicit GetTakeoffAltitudeResponse(::google::protobuf::Arena* arena); + GetTakeoffAltitudeResponse(::google::protobuf::Arena* arena, const GetTakeoffAltitudeResponse& from); + GetTakeoffAltitudeResponse(::google::protobuf::Arena* arena, GetTakeoffAltitudeResponse&& from) noexcept + : GetTakeoffAltitudeResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + kAltitudeFieldNumber = 2, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // float altitude = 2; + void clear_altitude() ; + float altitude() const; + void set_altitude(float value); + + private: + float _internal_altitude() const; + void _internal_set_altitude(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetTakeoffAltitudeResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetTakeoffAltitudeResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + float altitude_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GetReturnToLaunchAltitudeResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) */ -{ -public: - inline GetReturnToLaunchAltitudeResponse() : GetReturnToLaunchAltitudeResponse(nullptr) {} - ~GetReturnToLaunchAltitudeResponse() PROTOBUF_FINAL; +class GetReturnToLaunchAltitudeResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) */ { + public: + inline GetReturnToLaunchAltitudeResponse() : GetReturnToLaunchAltitudeResponse(nullptr) {} + ~GetReturnToLaunchAltitudeResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetReturnToLaunchAltitudeResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetReturnToLaunchAltitudeResponse)); - } + void operator delete(GetReturnToLaunchAltitudeResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetReturnToLaunchAltitudeResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GetReturnToLaunchAltitudeResponse(::google::protobuf::internal::ConstantInitialized); - - inline GetReturnToLaunchAltitudeResponse(const GetReturnToLaunchAltitudeResponse& from) : - GetReturnToLaunchAltitudeResponse(nullptr, from) - {} - inline GetReturnToLaunchAltitudeResponse(GetReturnToLaunchAltitudeResponse&& from) noexcept : - GetReturnToLaunchAltitudeResponse(nullptr, std::move(from)) - {} - inline GetReturnToLaunchAltitudeResponse& - operator=(const GetReturnToLaunchAltitudeResponse& from) - { - CopyFrom(from); - return *this; - } - inline GetReturnToLaunchAltitudeResponse& - operator=(GetReturnToLaunchAltitudeResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetReturnToLaunchAltitudeResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const GetReturnToLaunchAltitudeResponse* internal_default_instance() - { - return reinterpret_cast( - &_GetReturnToLaunchAltitudeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 41; - friend void swap(GetReturnToLaunchAltitudeResponse& a, GetReturnToLaunchAltitudeResponse& b) - { - a.Swap(&b); - } - inline void Swap(GetReturnToLaunchAltitudeResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetReturnToLaunchAltitudeResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetReturnToLaunchAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct( - arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetReturnToLaunchAltitudeResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetReturnToLaunchAltitudeResponse& from) - { - GetReturnToLaunchAltitudeResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetReturnToLaunchAltitudeResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse"; - } - -protected: - explicit GetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena); - GetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena, const GetReturnToLaunchAltitudeResponse& from); - GetReturnToLaunchAltitudeResponse( - ::google::protobuf::Arena* arena, GetReturnToLaunchAltitudeResponse&& from) noexcept : - GetReturnToLaunchAltitudeResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - kRelativeAltitudeMFieldNumber = 2, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // float relative_altitude_m = 2; - void clear_relative_altitude_m(); - float relative_altitude_m() const; - void set_relative_altitude_m(float value); - -private: - float _internal_relative_altitude_m() const; - void _internal_set_relative_altitude_m(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetReturnToLaunchAltitudeResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - float relative_altitude_m_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GetReturnToLaunchAltitudeResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline GetReturnToLaunchAltitudeResponse(const GetReturnToLaunchAltitudeResponse& from) : GetReturnToLaunchAltitudeResponse(nullptr, from) {} + inline GetReturnToLaunchAltitudeResponse(GetReturnToLaunchAltitudeResponse&& from) noexcept + : GetReturnToLaunchAltitudeResponse(nullptr, std::move(from)) {} + inline GetReturnToLaunchAltitudeResponse& operator=(const GetReturnToLaunchAltitudeResponse& from) { + CopyFrom(from); + return *this; + } + inline GetReturnToLaunchAltitudeResponse& operator=(GetReturnToLaunchAltitudeResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetReturnToLaunchAltitudeResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetReturnToLaunchAltitudeResponse* internal_default_instance() { + return reinterpret_cast( + &_GetReturnToLaunchAltitudeResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 41; + friend void swap(GetReturnToLaunchAltitudeResponse& a, GetReturnToLaunchAltitudeResponse& b) { a.Swap(&b); } + inline void Swap(GetReturnToLaunchAltitudeResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetReturnToLaunchAltitudeResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetReturnToLaunchAltitudeResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetReturnToLaunchAltitudeResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GetReturnToLaunchAltitudeResponse& from) { GetReturnToLaunchAltitudeResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetReturnToLaunchAltitudeResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse"; } + + protected: + explicit GetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena); + GetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena, const GetReturnToLaunchAltitudeResponse& from); + GetReturnToLaunchAltitudeResponse(::google::protobuf::Arena* arena, GetReturnToLaunchAltitudeResponse&& from) noexcept + : GetReturnToLaunchAltitudeResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + kRelativeAltitudeMFieldNumber = 2, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // float relative_altitude_m = 2; + void clear_relative_altitude_m() ; + float relative_altitude_m() const; + void set_relative_altitude_m(float value); + + private: + float _internal_relative_altitude_m() const; + void _internal_set_relative_altitude_m(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetReturnToLaunchAltitudeResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + float relative_altitude_m_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class GetMaximumSpeedResponse final : public ::google::protobuf::Message +class GetMaximumSpeedResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.GetMaximumSpeedResponse) */ { -public: - inline GetMaximumSpeedResponse() : GetMaximumSpeedResponse(nullptr) {} - ~GetMaximumSpeedResponse() PROTOBUF_FINAL; + public: + inline GetMaximumSpeedResponse() : GetMaximumSpeedResponse(nullptr) {} + ~GetMaximumSpeedResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetMaximumSpeedResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetMaximumSpeedResponse)); - } + void operator delete(GetMaximumSpeedResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetMaximumSpeedResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GetMaximumSpeedResponse(::google::protobuf::internal::ConstantInitialized); - - inline GetMaximumSpeedResponse(const GetMaximumSpeedResponse& from) : - GetMaximumSpeedResponse(nullptr, from) - {} - inline GetMaximumSpeedResponse(GetMaximumSpeedResponse&& from) noexcept : - GetMaximumSpeedResponse(nullptr, std::move(from)) - {} - inline GetMaximumSpeedResponse& operator=(const GetMaximumSpeedResponse& from) - { - CopyFrom(from); - return *this; - } - inline GetMaximumSpeedResponse& operator=(GetMaximumSpeedResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetMaximumSpeedResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const GetMaximumSpeedResponse* internal_default_instance() - { - return reinterpret_cast( - &_GetMaximumSpeedResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 37; - friend void swap(GetMaximumSpeedResponse& a, GetMaximumSpeedResponse& b) { a.Swap(&b); } - inline void Swap(GetMaximumSpeedResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetMaximumSpeedResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetMaximumSpeedResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetMaximumSpeedResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetMaximumSpeedResponse& from) - { - GetMaximumSpeedResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetMaximumSpeedResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action.GetMaximumSpeedResponse"; - } - -protected: - explicit GetMaximumSpeedResponse(::google::protobuf::Arena* arena); - GetMaximumSpeedResponse(::google::protobuf::Arena* arena, const GetMaximumSpeedResponse& from); - GetMaximumSpeedResponse( - ::google::protobuf::Arena* arena, GetMaximumSpeedResponse&& from) noexcept : - GetMaximumSpeedResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - kSpeedFieldNumber = 2, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // float speed = 2; - void clear_speed(); - float speed() const; - void set_speed(float value); - -private: - float _internal_speed() const; - void _internal_set_speed(float value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetMaximumSpeedResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetMaximumSpeedResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - float speed_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR GetMaximumSpeedResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline GetMaximumSpeedResponse(const GetMaximumSpeedResponse& from) : GetMaximumSpeedResponse(nullptr, from) {} + inline GetMaximumSpeedResponse(GetMaximumSpeedResponse&& from) noexcept + : GetMaximumSpeedResponse(nullptr, std::move(from)) {} + inline GetMaximumSpeedResponse& operator=(const GetMaximumSpeedResponse& from) { + CopyFrom(from); + return *this; + } + inline GetMaximumSpeedResponse& operator=(GetMaximumSpeedResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetMaximumSpeedResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetMaximumSpeedResponse* internal_default_instance() { + return reinterpret_cast( + &_GetMaximumSpeedResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 37; + friend void swap(GetMaximumSpeedResponse& a, GetMaximumSpeedResponse& b) { a.Swap(&b); } + inline void Swap(GetMaximumSpeedResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetMaximumSpeedResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetMaximumSpeedResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetMaximumSpeedResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GetMaximumSpeedResponse& from) { GetMaximumSpeedResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetMaximumSpeedResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.GetMaximumSpeedResponse"; } + + protected: + explicit GetMaximumSpeedResponse(::google::protobuf::Arena* arena); + GetMaximumSpeedResponse(::google::protobuf::Arena* arena, const GetMaximumSpeedResponse& from); + GetMaximumSpeedResponse(::google::protobuf::Arena* arena, GetMaximumSpeedResponse&& from) noexcept + : GetMaximumSpeedResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + kSpeedFieldNumber = 2, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // float speed = 2; + void clear_speed() ; + float speed() const; + void set_speed(float value); + + private: + float _internal_speed() const; + void _internal_set_speed(float value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.GetMaximumSpeedResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetMaximumSpeedResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + float speed_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class DoOrbitResponse final : public ::google::protobuf::Message +class DoOrbitResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.DoOrbitResponse) */ { -public: - inline DoOrbitResponse() : DoOrbitResponse(nullptr) {} - ~DoOrbitResponse() PROTOBUF_FINAL; + public: + inline DoOrbitResponse() : DoOrbitResponse(nullptr) {} + ~DoOrbitResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DoOrbitResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DoOrbitResponse)); - } + void operator delete(DoOrbitResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(DoOrbitResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR DoOrbitResponse(::google::protobuf::internal::ConstantInitialized); - - inline DoOrbitResponse(const DoOrbitResponse& from) : DoOrbitResponse(nullptr, from) {} - inline DoOrbitResponse(DoOrbitResponse&& from) noexcept : - DoOrbitResponse(nullptr, std::move(from)) - {} - inline DoOrbitResponse& operator=(const DoOrbitResponse& from) - { - CopyFrom(from); - return *this; - } - inline DoOrbitResponse& operator=(DoOrbitResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const DoOrbitResponse& default_instance() { return *internal_default_instance(); } - static inline const DoOrbitResponse* internal_default_instance() - { - return reinterpret_cast(&_DoOrbitResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 23; - friend void swap(DoOrbitResponse& a, DoOrbitResponse& b) { a.Swap(&b); } - inline void Swap(DoOrbitResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DoOrbitResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DoOrbitResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DoOrbitResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DoOrbitResponse& from) { DoOrbitResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DoOrbitResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DoOrbitResponse"; } - -protected: - explicit DoOrbitResponse(::google::protobuf::Arena* arena); - DoOrbitResponse(::google::protobuf::Arena* arena, const DoOrbitResponse& from); - DoOrbitResponse(::google::protobuf::Arena* arena, DoOrbitResponse&& from) noexcept : - DoOrbitResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DoOrbitResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const DoOrbitResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR DoOrbitResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline DoOrbitResponse(const DoOrbitResponse& from) : DoOrbitResponse(nullptr, from) {} + inline DoOrbitResponse(DoOrbitResponse&& from) noexcept + : DoOrbitResponse(nullptr, std::move(from)) {} + inline DoOrbitResponse& operator=(const DoOrbitResponse& from) { + CopyFrom(from); + return *this; + } + inline DoOrbitResponse& operator=(DoOrbitResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DoOrbitResponse& default_instance() { + return *internal_default_instance(); + } + static inline const DoOrbitResponse* internal_default_instance() { + return reinterpret_cast( + &_DoOrbitResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 23; + friend void swap(DoOrbitResponse& a, DoOrbitResponse& b) { a.Swap(&b); } + inline void Swap(DoOrbitResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DoOrbitResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DoOrbitResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const DoOrbitResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const DoOrbitResponse& from) { DoOrbitResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(DoOrbitResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DoOrbitResponse"; } + + protected: + explicit DoOrbitResponse(::google::protobuf::Arena* arena); + DoOrbitResponse(::google::protobuf::Arena* arena, const DoOrbitResponse& from); + DoOrbitResponse(::google::protobuf::Arena* arena, DoOrbitResponse&& from) noexcept + : DoOrbitResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DoOrbitResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const DoOrbitResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class DisarmResponse final : public ::google::protobuf::Message +class DisarmResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.DisarmResponse) */ { -public: - inline DisarmResponse() : DisarmResponse(nullptr) {} - ~DisarmResponse() PROTOBUF_FINAL; + public: + inline DisarmResponse() : DisarmResponse(nullptr) {} + ~DisarmResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DisarmResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DisarmResponse)); - } + void operator delete(DisarmResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(DisarmResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR DisarmResponse(::google::protobuf::internal::ConstantInitialized); - - inline DisarmResponse(const DisarmResponse& from) : DisarmResponse(nullptr, from) {} - inline DisarmResponse(DisarmResponse&& from) noexcept : DisarmResponse(nullptr, std::move(from)) - {} - inline DisarmResponse& operator=(const DisarmResponse& from) - { - CopyFrom(from); - return *this; - } - inline DisarmResponse& operator=(DisarmResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const DisarmResponse& default_instance() { return *internal_default_instance(); } - static inline const DisarmResponse* internal_default_instance() - { - return reinterpret_cast(&_DisarmResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 5; - friend void swap(DisarmResponse& a, DisarmResponse& b) { a.Swap(&b); } - inline void Swap(DisarmResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DisarmResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DisarmResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DisarmResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DisarmResponse& from) { DisarmResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DisarmResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DisarmResponse"; } - -protected: - explicit DisarmResponse(::google::protobuf::Arena* arena); - DisarmResponse(::google::protobuf::Arena* arena, const DisarmResponse& from); - DisarmResponse(::google::protobuf::Arena* arena, DisarmResponse&& from) noexcept : - DisarmResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DisarmResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const DisarmResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR DisarmResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline DisarmResponse(const DisarmResponse& from) : DisarmResponse(nullptr, from) {} + inline DisarmResponse(DisarmResponse&& from) noexcept + : DisarmResponse(nullptr, std::move(from)) {} + inline DisarmResponse& operator=(const DisarmResponse& from) { + CopyFrom(from); + return *this; + } + inline DisarmResponse& operator=(DisarmResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const DisarmResponse& default_instance() { + return *internal_default_instance(); + } + static inline const DisarmResponse* internal_default_instance() { + return reinterpret_cast( + &_DisarmResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(DisarmResponse& a, DisarmResponse& b) { a.Swap(&b); } + inline void Swap(DisarmResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(DisarmResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + DisarmResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const DisarmResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const DisarmResponse& from) { DisarmResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(DisarmResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.DisarmResponse"; } + + protected: + explicit DisarmResponse(::google::protobuf::Arena* arena); + DisarmResponse(::google::protobuf::Arena* arena, const DisarmResponse& from); + DisarmResponse(::google::protobuf::Arena* arena, DisarmResponse&& from) noexcept + : DisarmResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.DisarmResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const DisarmResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ArmResponse final : public ::google::protobuf::Message +class ArmResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ArmResponse) */ { -public: - inline ArmResponse() : ArmResponse(nullptr) {} - ~ArmResponse() PROTOBUF_FINAL; + public: + inline ArmResponse() : ArmResponse(nullptr) {} + ~ArmResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmResponse)); - } + void operator delete(ArmResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ArmResponse(::google::protobuf::internal::ConstantInitialized); - - inline ArmResponse(const ArmResponse& from) : ArmResponse(nullptr, from) {} - inline ArmResponse(ArmResponse&& from) noexcept : ArmResponse(nullptr, std::move(from)) {} - inline ArmResponse& operator=(const ArmResponse& from) - { - CopyFrom(from); - return *this; - } - inline ArmResponse& operator=(ArmResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmResponse& default_instance() { return *internal_default_instance(); } - static inline const ArmResponse* internal_default_instance() - { - return reinterpret_cast(&_ArmResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(ArmResponse& a, ArmResponse& b) { a.Swap(&b); } - inline void Swap(ArmResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArmResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ArmResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ArmResponse& from) { ArmResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ArmResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmResponse"; } - -protected: - explicit ArmResponse(::google::protobuf::Arena* arena); - ArmResponse(::google::protobuf::Arena* arena, const ArmResponse& from); - ArmResponse(::google::protobuf::Arena* arena, ArmResponse&& from) noexcept : ArmResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ArmResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmResponse(const ArmResponse& from) : ArmResponse(nullptr, from) {} + inline ArmResponse(ArmResponse&& from) noexcept + : ArmResponse(nullptr, std::move(from)) {} + inline ArmResponse& operator=(const ArmResponse& from) { + CopyFrom(from); + return *this; + } + inline ArmResponse& operator=(ArmResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ArmResponse* internal_default_instance() { + return reinterpret_cast( + &_ArmResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(ArmResponse& a, ArmResponse& b) { a.Swap(&b); } + inline void Swap(ArmResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ArmResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ArmResponse& from) { ArmResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ArmResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmResponse"; } + + protected: + explicit ArmResponse(::google::protobuf::Arena* arena); + ArmResponse(::google::protobuf::Arena* arena, const ArmResponse& from); + ArmResponse(::google::protobuf::Arena* arena, ArmResponse&& from) noexcept + : ArmResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // ------------------------------------------------------------------- -class ArmForceResponse final : public ::google::protobuf::Message +class ArmForceResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action.ArmForceResponse) */ { -public: - inline ArmForceResponse() : ArmForceResponse(nullptr) {} - ~ArmForceResponse() PROTOBUF_FINAL; + public: + inline ArmForceResponse() : ArmForceResponse(nullptr) {} + ~ArmForceResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmForceResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmForceResponse)); - } + void operator delete(ArmForceResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmForceResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ArmForceResponse(::google::protobuf::internal::ConstantInitialized); - - inline ArmForceResponse(const ArmForceResponse& from) : ArmForceResponse(nullptr, from) {} - inline ArmForceResponse(ArmForceResponse&& from) noexcept : - ArmForceResponse(nullptr, std::move(from)) - {} - inline ArmForceResponse& operator=(const ArmForceResponse& from) - { - CopyFrom(from); - return *this; - } - inline ArmForceResponse& operator=(ArmForceResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmForceResponse& default_instance() { return *internal_default_instance(); } - static inline const ArmForceResponse* internal_default_instance() - { - return reinterpret_cast(&_ArmForceResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(ArmForceResponse& a, ArmForceResponse& b) { a.Swap(&b); } - inline void Swap(ArmForceResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmForceResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArmForceResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ArmForceResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ArmForceResponse& from) { ArmForceResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ArmForceResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmForceResponse"; } - -protected: - explicit ArmForceResponse(::google::protobuf::Arena* arena); - ArmForceResponse(::google::protobuf::Arena* arena, const ArmForceResponse& from); - ArmForceResponse(::google::protobuf::Arena* arena, ArmForceResponse&& from) noexcept : - ArmForceResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionResultFieldNumber = 1, - }; - // .mavsdk.rpc.action.ActionResult action_result = 1; - bool has_action_result() const; - void clear_action_result(); - const ::mavsdk::rpc::action::ActionResult& action_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); - ::mavsdk::rpc::action::ActionResult* mutable_action_result(); - void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); - ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); - -private: - const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; - ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmForceResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmForceResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action::ActionResult* action_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_2faction_2eproto; + template + explicit PROTOBUF_CONSTEXPR ArmForceResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmForceResponse(const ArmForceResponse& from) : ArmForceResponse(nullptr, from) {} + inline ArmForceResponse(ArmForceResponse&& from) noexcept + : ArmForceResponse(nullptr, std::move(from)) {} + inline ArmForceResponse& operator=(const ArmForceResponse& from) { + CopyFrom(from); + return *this; + } + inline ArmForceResponse& operator=(ArmForceResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmForceResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ArmForceResponse* internal_default_instance() { + return reinterpret_cast( + &_ArmForceResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(ArmForceResponse& a, ArmForceResponse& b) { a.Swap(&b); } + inline void Swap(ArmForceResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmForceResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmForceResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ArmForceResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ArmForceResponse& from) { ArmForceResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ArmForceResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action.ArmForceResponse"; } + + protected: + explicit ArmForceResponse(::google::protobuf::Arena* arena); + ArmForceResponse(::google::protobuf::Arena* arena, const ArmForceResponse& from); + ArmForceResponse(::google::protobuf::Arena* arena, ArmForceResponse&& from) noexcept + : ArmForceResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionResultFieldNumber = 1, + }; + // .mavsdk.rpc.action.ActionResult action_result = 1; + bool has_action_result() const; + void clear_action_result() ; + const ::mavsdk::rpc::action::ActionResult& action_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action::ActionResult* release_action_result(); + ::mavsdk::rpc::action::ActionResult* mutable_action_result(); + void set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + void unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value); + ::mavsdk::rpc::action::ActionResult* unsafe_arena_release_action_result(); + + private: + const ::mavsdk::rpc::action::ActionResult& _internal_action_result() const; + ::mavsdk::rpc::action::ActionResult* _internal_mutable_action_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action.ArmForceResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmForceResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action::ActionResult* action_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_2faction_2eproto; }; // =================================================================== + + + // =================================================================== + #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ +#endif // __GNUC__ // ------------------------------------------------------------------- // ArmRequest @@ -9497,118 +8906,99 @@ class ArmForceResponse final : public ::google::protobuf::Message // ArmResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool ArmResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void ArmResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool ArmResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void ArmResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& ArmResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& ArmResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ArmResponse.action_result) + return _internal_action_result(); +} +inline void ArmResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& ArmResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -ArmResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ArmResponse.action_result) - return _internal_action_result(); -} -inline void -ArmResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ArmResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* ArmResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* ArmResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ArmResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* ArmResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* ArmResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ArmResponse.action_result) + return _msg; +} +inline void ArmResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ArmResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* ArmResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* ArmResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ArmResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* ArmResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -ArmResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ArmResponse.action_result) - return _msg; -} -inline void ArmResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ArmResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ArmResponse.action_result) } // ------------------------------------------------------------------- @@ -9620,119 +9010,99 @@ inline void ArmResponse::set_allocated_action_result(::mavsdk::rpc::action::Acti // ArmForceResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool ArmForceResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void ArmForceResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool ArmForceResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void ArmForceResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& ArmForceResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& ArmForceResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ArmForceResponse.action_result) + return _internal_action_result(); +} +inline void ArmForceResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& ArmForceResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -ArmForceResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ArmForceResponse.action_result) - return _internal_action_result(); -} -inline void ArmForceResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ArmForceResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* ArmForceResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ArmForceResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* ArmForceResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* ArmForceResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ArmForceResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* ArmForceResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* ArmForceResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ArmForceResponse.action_result) + return _msg; +} +inline void ArmForceResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* ArmForceResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ArmForceResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* ArmForceResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -ArmForceResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ArmForceResponse.action_result) - return _msg; -} -inline void -ArmForceResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ArmForceResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ArmForceResponse.action_result) } // ------------------------------------------------------------------- @@ -9744,118 +9114,99 @@ ArmForceResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResul // DisarmResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool DisarmResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void DisarmResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool DisarmResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void DisarmResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& DisarmResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& DisarmResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DisarmResponse.action_result) + return _internal_action_result(); +} +inline void DisarmResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& DisarmResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -DisarmResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DisarmResponse.action_result) - return _internal_action_result(); -} -inline void -DisarmResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.DisarmResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* DisarmResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.DisarmResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* DisarmResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* DisarmResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.DisarmResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* DisarmResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* DisarmResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.DisarmResponse.action_result) + return _msg; +} +inline void DisarmResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* DisarmResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.DisarmResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* DisarmResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -DisarmResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.DisarmResponse.action_result) - return _msg; -} -inline void DisarmResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.DisarmResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.DisarmResponse.action_result) } // ------------------------------------------------------------------- @@ -9867,118 +9218,99 @@ inline void DisarmResponse::set_allocated_action_result(::mavsdk::rpc::action::A // TakeoffResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool TakeoffResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void TakeoffResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool TakeoffResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void TakeoffResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& TakeoffResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& TakeoffResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TakeoffResponse.action_result) + return _internal_action_result(); +} +inline void TakeoffResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& TakeoffResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -TakeoffResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TakeoffResponse.action_result) - return _internal_action_result(); -} -inline void TakeoffResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TakeoffResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* TakeoffResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TakeoffResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* TakeoffResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* TakeoffResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TakeoffResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* TakeoffResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* TakeoffResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TakeoffResponse.action_result) + return _msg; +} +inline void TakeoffResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* TakeoffResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TakeoffResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* TakeoffResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -TakeoffResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TakeoffResponse.action_result) - return _msg; -} -inline void TakeoffResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TakeoffResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TakeoffResponse.action_result) } // ------------------------------------------------------------------- @@ -9990,118 +9322,99 @@ inline void TakeoffResponse::set_allocated_action_result(::mavsdk::rpc::action:: // LandResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool LandResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void LandResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool LandResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void LandResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& LandResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& LandResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.LandResponse.action_result) + return _internal_action_result(); +} +inline void LandResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& LandResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -LandResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.LandResponse.action_result) - return _internal_action_result(); -} -inline void -LandResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.LandResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* LandResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.LandResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* LandResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* LandResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.LandResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* LandResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* LandResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.LandResponse.action_result) + return _msg; +} +inline void LandResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* LandResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.LandResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* LandResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -LandResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.LandResponse.action_result) - return _msg; -} -inline void LandResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.LandResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.LandResponse.action_result) } // ------------------------------------------------------------------- @@ -10113,118 +9426,99 @@ inline void LandResponse::set_allocated_action_result(::mavsdk::rpc::action::Act // RebootResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool RebootResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void RebootResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool RebootResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void RebootResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& RebootResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& RebootResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.RebootResponse.action_result) + return _internal_action_result(); +} +inline void RebootResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& RebootResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -RebootResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.RebootResponse.action_result) - return _internal_action_result(); -} -inline void -RebootResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.RebootResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* RebootResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* RebootResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.RebootResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* RebootResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* RebootResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.RebootResponse.action_result) + return _msg; +} +inline void RebootResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.RebootResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* RebootResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* RebootResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.RebootResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* RebootResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -RebootResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.RebootResponse.action_result) - return _msg; -} -inline void RebootResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.RebootResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.RebootResponse.action_result) } // ------------------------------------------------------------------- @@ -10236,119 +9530,99 @@ inline void RebootResponse::set_allocated_action_result(::mavsdk::rpc::action::A // ShutdownResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool ShutdownResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void ShutdownResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool ShutdownResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void ShutdownResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& ShutdownResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& ShutdownResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ShutdownResponse.action_result) + return _internal_action_result(); +} +inline void ShutdownResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& ShutdownResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -ShutdownResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ShutdownResponse.action_result) - return _internal_action_result(); -} -inline void ShutdownResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ShutdownResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* ShutdownResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* ShutdownResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ShutdownResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* ShutdownResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* ShutdownResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ShutdownResponse.action_result) + return _msg; +} +inline void ShutdownResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ShutdownResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* ShutdownResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* ShutdownResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ShutdownResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* ShutdownResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -ShutdownResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ShutdownResponse.action_result) - return _msg; -} -inline void -ShutdownResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ShutdownResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ShutdownResponse.action_result) } // ------------------------------------------------------------------- @@ -10360,119 +9634,99 @@ ShutdownResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResul // TerminateResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool TerminateResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void TerminateResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool TerminateResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void TerminateResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& TerminateResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& TerminateResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TerminateResponse.action_result) + return _internal_action_result(); +} +inline void TerminateResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& TerminateResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -TerminateResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TerminateResponse.action_result) - return _internal_action_result(); -} -inline void TerminateResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TerminateResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* TerminateResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TerminateResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* TerminateResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* TerminateResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TerminateResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* TerminateResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* TerminateResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TerminateResponse.action_result) + return _msg; +} +inline void TerminateResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* TerminateResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TerminateResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* TerminateResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -TerminateResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TerminateResponse.action_result) - return _msg; -} -inline void -TerminateResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TerminateResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TerminateResponse.action_result) } // ------------------------------------------------------------------- @@ -10484,118 +9738,99 @@ TerminateResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResu // KillResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool KillResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void KillResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool KillResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void KillResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& KillResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& KillResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.KillResponse.action_result) + return _internal_action_result(); +} +inline void KillResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& KillResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -KillResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.KillResponse.action_result) - return _internal_action_result(); -} -inline void -KillResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.KillResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* KillResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.KillResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* KillResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* KillResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.KillResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* KillResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* KillResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.KillResponse.action_result) + return _msg; +} +inline void KillResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* KillResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.KillResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* KillResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -KillResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.KillResponse.action_result) - return _msg; -} -inline void KillResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.KillResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.KillResponse.action_result) } // ------------------------------------------------------------------- @@ -10607,122 +9842,99 @@ inline void KillResponse::set_allocated_action_result(::mavsdk::rpc::action::Act // ReturnToLaunchResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool ReturnToLaunchResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void ReturnToLaunchResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool ReturnToLaunchResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void ReturnToLaunchResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& ReturnToLaunchResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& ReturnToLaunchResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) + return _internal_action_result(); +} +inline void ReturnToLaunchResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -ReturnToLaunchResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -ReturnToLaunchResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) - return _internal_action_result(); -} -inline void ReturnToLaunchResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* ReturnToLaunchResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* ReturnToLaunchResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* ReturnToLaunchResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* ReturnToLaunchResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* ReturnToLaunchResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) + return _msg; +} +inline void ReturnToLaunchResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -ReturnToLaunchResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -ReturnToLaunchResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -ReturnToLaunchResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) - return _msg; -} -inline void -ReturnToLaunchResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ReturnToLaunchResponse.action_result) } // ------------------------------------------------------------------- @@ -10730,111 +9942,91 @@ ReturnToLaunchResponse::set_allocated_action_result(::mavsdk::rpc::action::Actio // GotoLocationRequest // double latitude_deg = 1; -inline void GotoLocationRequest::clear_latitude_deg() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.latitude_deg_ = 0; +inline void GotoLocationRequest::clear_latitude_deg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.latitude_deg_ = 0; } -inline double GotoLocationRequest::latitude_deg() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.latitude_deg) - return _internal_latitude_deg(); +inline double GotoLocationRequest::latitude_deg() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.latitude_deg) + return _internal_latitude_deg(); } -inline void GotoLocationRequest::set_latitude_deg(double value) -{ - _internal_set_latitude_deg(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.latitude_deg) +inline void GotoLocationRequest::set_latitude_deg(double value) { + _internal_set_latitude_deg(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.latitude_deg) } -inline double GotoLocationRequest::_internal_latitude_deg() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.latitude_deg_; +inline double GotoLocationRequest::_internal_latitude_deg() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.latitude_deg_; } -inline void GotoLocationRequest::_internal_set_latitude_deg(double value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.latitude_deg_ = value; +inline void GotoLocationRequest::_internal_set_latitude_deg(double value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.latitude_deg_ = value; } // double longitude_deg = 2; -inline void GotoLocationRequest::clear_longitude_deg() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.longitude_deg_ = 0; +inline void GotoLocationRequest::clear_longitude_deg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.longitude_deg_ = 0; } -inline double GotoLocationRequest::longitude_deg() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.longitude_deg) - return _internal_longitude_deg(); +inline double GotoLocationRequest::longitude_deg() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.longitude_deg) + return _internal_longitude_deg(); } -inline void GotoLocationRequest::set_longitude_deg(double value) -{ - _internal_set_longitude_deg(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.longitude_deg) +inline void GotoLocationRequest::set_longitude_deg(double value) { + _internal_set_longitude_deg(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.longitude_deg) } -inline double GotoLocationRequest::_internal_longitude_deg() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.longitude_deg_; +inline double GotoLocationRequest::_internal_longitude_deg() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.longitude_deg_; } -inline void GotoLocationRequest::_internal_set_longitude_deg(double value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.longitude_deg_ = value; +inline void GotoLocationRequest::_internal_set_longitude_deg(double value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.longitude_deg_ = value; } // float absolute_altitude_m = 3; -inline void GotoLocationRequest::clear_absolute_altitude_m() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.absolute_altitude_m_ = 0; +inline void GotoLocationRequest::clear_absolute_altitude_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.absolute_altitude_m_ = 0; } -inline float GotoLocationRequest::absolute_altitude_m() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.absolute_altitude_m) - return _internal_absolute_altitude_m(); +inline float GotoLocationRequest::absolute_altitude_m() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.absolute_altitude_m) + return _internal_absolute_altitude_m(); } -inline void GotoLocationRequest::set_absolute_altitude_m(float value) -{ - _internal_set_absolute_altitude_m(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.absolute_altitude_m) +inline void GotoLocationRequest::set_absolute_altitude_m(float value) { + _internal_set_absolute_altitude_m(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.absolute_altitude_m) } -inline float GotoLocationRequest::_internal_absolute_altitude_m() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.absolute_altitude_m_; +inline float GotoLocationRequest::_internal_absolute_altitude_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.absolute_altitude_m_; } -inline void GotoLocationRequest::_internal_set_absolute_altitude_m(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.absolute_altitude_m_ = value; +inline void GotoLocationRequest::_internal_set_absolute_altitude_m(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.absolute_altitude_m_ = value; } // float yaw_deg = 4; -inline void GotoLocationRequest::clear_yaw_deg() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.yaw_deg_ = 0; +inline void GotoLocationRequest::clear_yaw_deg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.yaw_deg_ = 0; } -inline float GotoLocationRequest::yaw_deg() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.yaw_deg) - return _internal_yaw_deg(); +inline float GotoLocationRequest::yaw_deg() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationRequest.yaw_deg) + return _internal_yaw_deg(); } -inline void GotoLocationRequest::set_yaw_deg(float value) -{ - _internal_set_yaw_deg(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.yaw_deg) +inline void GotoLocationRequest::set_yaw_deg(float value) { + _internal_set_yaw_deg(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GotoLocationRequest.yaw_deg) } -inline float GotoLocationRequest::_internal_yaw_deg() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.yaw_deg_; +inline float GotoLocationRequest::_internal_yaw_deg() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.yaw_deg_; } -inline void GotoLocationRequest::_internal_set_yaw_deg(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.yaw_deg_ = value; +inline void GotoLocationRequest::_internal_set_yaw_deg(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.yaw_deg_ = value; } // ------------------------------------------------------------------- @@ -10842,121 +10034,99 @@ inline void GotoLocationRequest::_internal_set_yaw_deg(float value) // GotoLocationResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool GotoLocationResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void GotoLocationResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool GotoLocationResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void GotoLocationResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& GotoLocationResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& GotoLocationResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationResponse.action_result) + return _internal_action_result(); +} +inline void GotoLocationResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -GotoLocationResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -GotoLocationResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GotoLocationResponse.action_result) - return _internal_action_result(); -} -inline void GotoLocationResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GotoLocationResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* GotoLocationResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* GotoLocationResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GotoLocationResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* GotoLocationResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* GotoLocationResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GotoLocationResponse.action_result) + return _msg; +} +inline void GotoLocationResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GotoLocationResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* GotoLocationResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -GotoLocationResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GotoLocationResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* GotoLocationResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -GotoLocationResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GotoLocationResponse.action_result) - return _msg; -} -inline void -GotoLocationResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GotoLocationResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GotoLocationResponse.action_result) } // ------------------------------------------------------------------- @@ -10964,166 +10134,135 @@ GotoLocationResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionR // DoOrbitRequest // float radius_m = 1; -inline void DoOrbitRequest::clear_radius_m() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.radius_m_ = 0; +inline void DoOrbitRequest::clear_radius_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.radius_m_ = 0; } -inline float DoOrbitRequest::radius_m() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.radius_m) - return _internal_radius_m(); +inline float DoOrbitRequest::radius_m() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.radius_m) + return _internal_radius_m(); } -inline void DoOrbitRequest::set_radius_m(float value) -{ - _internal_set_radius_m(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.radius_m) +inline void DoOrbitRequest::set_radius_m(float value) { + _internal_set_radius_m(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.radius_m) } -inline float DoOrbitRequest::_internal_radius_m() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.radius_m_; +inline float DoOrbitRequest::_internal_radius_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.radius_m_; } -inline void DoOrbitRequest::_internal_set_radius_m(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.radius_m_ = value; +inline void DoOrbitRequest::_internal_set_radius_m(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.radius_m_ = value; } // float velocity_ms = 2; -inline void DoOrbitRequest::clear_velocity_ms() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.velocity_ms_ = 0; +inline void DoOrbitRequest::clear_velocity_ms() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.velocity_ms_ = 0; } -inline float DoOrbitRequest::velocity_ms() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.velocity_ms) - return _internal_velocity_ms(); +inline float DoOrbitRequest::velocity_ms() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.velocity_ms) + return _internal_velocity_ms(); } -inline void DoOrbitRequest::set_velocity_ms(float value) -{ - _internal_set_velocity_ms(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.velocity_ms) +inline void DoOrbitRequest::set_velocity_ms(float value) { + _internal_set_velocity_ms(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.velocity_ms) } -inline float DoOrbitRequest::_internal_velocity_ms() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.velocity_ms_; +inline float DoOrbitRequest::_internal_velocity_ms() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.velocity_ms_; } -inline void DoOrbitRequest::_internal_set_velocity_ms(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.velocity_ms_ = value; +inline void DoOrbitRequest::_internal_set_velocity_ms(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.velocity_ms_ = value; } // .mavsdk.rpc.action.OrbitYawBehavior yaw_behavior = 3; -inline void DoOrbitRequest::clear_yaw_behavior() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.yaw_behavior_ = 0; +inline void DoOrbitRequest::clear_yaw_behavior() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.yaw_behavior_ = 0; } -inline ::mavsdk::rpc::action::OrbitYawBehavior DoOrbitRequest::yaw_behavior() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.yaw_behavior) - return _internal_yaw_behavior(); +inline ::mavsdk::rpc::action::OrbitYawBehavior DoOrbitRequest::yaw_behavior() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.yaw_behavior) + return _internal_yaw_behavior(); } -inline void DoOrbitRequest::set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value) -{ - _internal_set_yaw_behavior(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.yaw_behavior) +inline void DoOrbitRequest::set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value) { + _internal_set_yaw_behavior(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.yaw_behavior) } -inline ::mavsdk::rpc::action::OrbitYawBehavior DoOrbitRequest::_internal_yaw_behavior() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::mavsdk::rpc::action::OrbitYawBehavior>(_impl_.yaw_behavior_); +inline ::mavsdk::rpc::action::OrbitYawBehavior DoOrbitRequest::_internal_yaw_behavior() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::mavsdk::rpc::action::OrbitYawBehavior>(_impl_.yaw_behavior_); } -inline void -DoOrbitRequest::_internal_set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.yaw_behavior_ = value; +inline void DoOrbitRequest::_internal_set_yaw_behavior(::mavsdk::rpc::action::OrbitYawBehavior value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.yaw_behavior_ = value; } // double latitude_deg = 5 [(.mavsdk.options.default_value) = "NaN"]; -inline void DoOrbitRequest::clear_latitude_deg() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.latitude_deg_ = 0; +inline void DoOrbitRequest::clear_latitude_deg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.latitude_deg_ = 0; } -inline double DoOrbitRequest::latitude_deg() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.latitude_deg) - return _internal_latitude_deg(); +inline double DoOrbitRequest::latitude_deg() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.latitude_deg) + return _internal_latitude_deg(); } -inline void DoOrbitRequest::set_latitude_deg(double value) -{ - _internal_set_latitude_deg(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.latitude_deg) +inline void DoOrbitRequest::set_latitude_deg(double value) { + _internal_set_latitude_deg(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.latitude_deg) } -inline double DoOrbitRequest::_internal_latitude_deg() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.latitude_deg_; +inline double DoOrbitRequest::_internal_latitude_deg() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.latitude_deg_; } -inline void DoOrbitRequest::_internal_set_latitude_deg(double value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.latitude_deg_ = value; +inline void DoOrbitRequest::_internal_set_latitude_deg(double value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.latitude_deg_ = value; } // double longitude_deg = 6 [(.mavsdk.options.default_value) = "NaN"]; -inline void DoOrbitRequest::clear_longitude_deg() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.longitude_deg_ = 0; +inline void DoOrbitRequest::clear_longitude_deg() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.longitude_deg_ = 0; } -inline double DoOrbitRequest::longitude_deg() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.longitude_deg) - return _internal_longitude_deg(); +inline double DoOrbitRequest::longitude_deg() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.longitude_deg) + return _internal_longitude_deg(); } -inline void DoOrbitRequest::set_longitude_deg(double value) -{ - _internal_set_longitude_deg(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.longitude_deg) +inline void DoOrbitRequest::set_longitude_deg(double value) { + _internal_set_longitude_deg(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.longitude_deg) } -inline double DoOrbitRequest::_internal_longitude_deg() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.longitude_deg_; +inline double DoOrbitRequest::_internal_longitude_deg() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.longitude_deg_; } -inline void DoOrbitRequest::_internal_set_longitude_deg(double value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.longitude_deg_ = value; +inline void DoOrbitRequest::_internal_set_longitude_deg(double value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.longitude_deg_ = value; } // double absolute_altitude_m = 7 [(.mavsdk.options.default_value) = "NaN"]; -inline void DoOrbitRequest::clear_absolute_altitude_m() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.absolute_altitude_m_ = 0; +inline void DoOrbitRequest::clear_absolute_altitude_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.absolute_altitude_m_ = 0; } -inline double DoOrbitRequest::absolute_altitude_m() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.absolute_altitude_m) - return _internal_absolute_altitude_m(); +inline double DoOrbitRequest::absolute_altitude_m() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitRequest.absolute_altitude_m) + return _internal_absolute_altitude_m(); } -inline void DoOrbitRequest::set_absolute_altitude_m(double value) -{ - _internal_set_absolute_altitude_m(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.absolute_altitude_m) +inline void DoOrbitRequest::set_absolute_altitude_m(double value) { + _internal_set_absolute_altitude_m(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.DoOrbitRequest.absolute_altitude_m) } -inline double DoOrbitRequest::_internal_absolute_altitude_m() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.absolute_altitude_m_; +inline double DoOrbitRequest::_internal_absolute_altitude_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.absolute_altitude_m_; } -inline void DoOrbitRequest::_internal_set_absolute_altitude_m(double value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.absolute_altitude_m_ = value; +inline void DoOrbitRequest::_internal_set_absolute_altitude_m(double value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.absolute_altitude_m_ = value; } // ------------------------------------------------------------------- @@ -11131,118 +10270,99 @@ inline void DoOrbitRequest::_internal_set_absolute_altitude_m(double value) // DoOrbitResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool DoOrbitResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void DoOrbitResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool DoOrbitResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void DoOrbitResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& DoOrbitResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& DoOrbitResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitResponse.action_result) + return _internal_action_result(); +} +inline void DoOrbitResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& DoOrbitResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -DoOrbitResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.DoOrbitResponse.action_result) - return _internal_action_result(); -} -inline void DoOrbitResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.DoOrbitResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* DoOrbitResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* DoOrbitResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.DoOrbitResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* DoOrbitResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* DoOrbitResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.DoOrbitResponse.action_result) + return _msg; +} +inline void DoOrbitResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.DoOrbitResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* DoOrbitResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* DoOrbitResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.DoOrbitResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* DoOrbitResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -DoOrbitResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.DoOrbitResponse.action_result) - return _msg; -} -inline void DoOrbitResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.DoOrbitResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.DoOrbitResponse.action_result) } // ------------------------------------------------------------------- @@ -11254,118 +10374,99 @@ inline void DoOrbitResponse::set_allocated_action_result(::mavsdk::rpc::action:: // HoldResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool HoldResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void HoldResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool HoldResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void HoldResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& HoldResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& HoldResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.HoldResponse.action_result) + return _internal_action_result(); +} +inline void HoldResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& HoldResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -HoldResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.HoldResponse.action_result) - return _internal_action_result(); -} -inline void -HoldResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.HoldResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* HoldResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* HoldResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.HoldResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* HoldResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* HoldResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.HoldResponse.action_result) + return _msg; +} +inline void HoldResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.HoldResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* HoldResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* HoldResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.HoldResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* HoldResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -HoldResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.HoldResponse.action_result) - return _msg; -} -inline void HoldResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.HoldResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.HoldResponse.action_result) } // ------------------------------------------------------------------- @@ -11373,57 +10474,47 @@ inline void HoldResponse::set_allocated_action_result(::mavsdk::rpc::action::Act // SetActuatorRequest // int32 index = 1; -inline void SetActuatorRequest::clear_index() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.index_ = 0; +inline void SetActuatorRequest::clear_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.index_ = 0; } -inline ::int32_t SetActuatorRequest::index() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetActuatorRequest.index) - return _internal_index(); +inline ::int32_t SetActuatorRequest::index() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetActuatorRequest.index) + return _internal_index(); } -inline void SetActuatorRequest::set_index(::int32_t value) -{ - _internal_set_index(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetActuatorRequest.index) +inline void SetActuatorRequest::set_index(::int32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetActuatorRequest.index) } -inline ::int32_t SetActuatorRequest::_internal_index() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.index_; +inline ::int32_t SetActuatorRequest::_internal_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.index_; } -inline void SetActuatorRequest::_internal_set_index(::int32_t value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.index_ = value; +inline void SetActuatorRequest::_internal_set_index(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.index_ = value; } // float value = 2; -inline void SetActuatorRequest::clear_value() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.value_ = 0; +inline void SetActuatorRequest::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = 0; } -inline float SetActuatorRequest::value() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetActuatorRequest.value) - return _internal_value(); +inline float SetActuatorRequest::value() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetActuatorRequest.value) + return _internal_value(); } -inline void SetActuatorRequest::set_value(float value) -{ - _internal_set_value(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetActuatorRequest.value) +inline void SetActuatorRequest::set_value(float value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetActuatorRequest.value) } -inline float SetActuatorRequest::_internal_value() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.value_; +inline float SetActuatorRequest::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_; } -inline void SetActuatorRequest::_internal_set_value(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.value_ = value; +inline void SetActuatorRequest::_internal_set_value(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = value; } // ------------------------------------------------------------------- @@ -11431,121 +10522,99 @@ inline void SetActuatorRequest::_internal_set_value(float value) // SetActuatorResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool SetActuatorResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void SetActuatorResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool SetActuatorResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void SetActuatorResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& SetActuatorResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& SetActuatorResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetActuatorResponse.action_result) + return _internal_action_result(); +} +inline void SetActuatorResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -SetActuatorResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -SetActuatorResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetActuatorResponse.action_result) - return _internal_action_result(); -} -inline void SetActuatorResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetActuatorResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* SetActuatorResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetActuatorResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* SetActuatorResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* SetActuatorResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetActuatorResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* SetActuatorResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* SetActuatorResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetActuatorResponse.action_result) + return _msg; +} +inline void SetActuatorResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -SetActuatorResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetActuatorResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* SetActuatorResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -SetActuatorResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetActuatorResponse.action_result) - return _msg; -} -inline void -SetActuatorResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetActuatorResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetActuatorResponse.action_result) } // ------------------------------------------------------------------- @@ -11557,122 +10626,99 @@ SetActuatorResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionRe // TransitionToFixedwingResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool TransitionToFixedwingResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void TransitionToFixedwingResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool TransitionToFixedwingResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void TransitionToFixedwingResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& TransitionToFixedwingResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& TransitionToFixedwingResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) + return _internal_action_result(); +} +inline void TransitionToFixedwingResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -TransitionToFixedwingResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -TransitionToFixedwingResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) - return _internal_action_result(); -} -inline void TransitionToFixedwingResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToFixedwingResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToFixedwingResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToFixedwingResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToFixedwingResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) + return _msg; +} +inline void TransitionToFixedwingResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* TransitionToFixedwingResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -TransitionToFixedwingResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -TransitionToFixedwingResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -TransitionToFixedwingResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) - return _msg; -} -inline void TransitionToFixedwingResponse::set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TransitionToFixedwingResponse.action_result) } // ------------------------------------------------------------------- @@ -11684,122 +10730,99 @@ inline void TransitionToFixedwingResponse::set_allocated_action_result( // TransitionToMulticopterResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool TransitionToMulticopterResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void TransitionToMulticopterResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool TransitionToMulticopterResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void TransitionToMulticopterResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& TransitionToMulticopterResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& TransitionToMulticopterResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) + return _internal_action_result(); +} +inline void TransitionToMulticopterResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -TransitionToMulticopterResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -TransitionToMulticopterResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) - return _internal_action_result(); -} -inline void TransitionToMulticopterResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToMulticopterResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToMulticopterResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToMulticopterResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* TransitionToMulticopterResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) + return _msg; +} +inline void TransitionToMulticopterResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* TransitionToMulticopterResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -TransitionToMulticopterResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -TransitionToMulticopterResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -TransitionToMulticopterResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) - return _msg; -} -inline void TransitionToMulticopterResponse::set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.TransitionToMulticopterResponse.action_result) } // ------------------------------------------------------------------- @@ -11811,149 +10834,121 @@ inline void TransitionToMulticopterResponse::set_allocated_action_result( // GetTakeoffAltitudeResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool GetTakeoffAltitudeResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void GetTakeoffAltitudeResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool GetTakeoffAltitudeResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void GetTakeoffAltitudeResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& GetTakeoffAltitudeResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& GetTakeoffAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) + return _internal_action_result(); +} +inline void GetTakeoffAltitudeResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -GetTakeoffAltitudeResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -GetTakeoffAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) - return _internal_action_result(); -} -inline void GetTakeoffAltitudeResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* GetTakeoffAltitudeResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* GetTakeoffAltitudeResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* GetTakeoffAltitudeResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* GetTakeoffAltitudeResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* GetTakeoffAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) + return _msg; +} +inline void GetTakeoffAltitudeResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -GetTakeoffAltitudeResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -GetTakeoffAltitudeResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -GetTakeoffAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) - return _msg; -} -inline void -GetTakeoffAltitudeResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GetTakeoffAltitudeResponse.action_result) } // float altitude = 2; -inline void GetTakeoffAltitudeResponse::clear_altitude() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.altitude_ = 0; +inline void GetTakeoffAltitudeResponse::clear_altitude() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.altitude_ = 0; } -inline float GetTakeoffAltitudeResponse::altitude() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetTakeoffAltitudeResponse.altitude) - return _internal_altitude(); +inline float GetTakeoffAltitudeResponse::altitude() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetTakeoffAltitudeResponse.altitude) + return _internal_altitude(); } -inline void GetTakeoffAltitudeResponse::set_altitude(float value) -{ - _internal_set_altitude(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GetTakeoffAltitudeResponse.altitude) +inline void GetTakeoffAltitudeResponse::set_altitude(float value) { + _internal_set_altitude(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GetTakeoffAltitudeResponse.altitude) } -inline float GetTakeoffAltitudeResponse::_internal_altitude() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.altitude_; +inline float GetTakeoffAltitudeResponse::_internal_altitude() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.altitude_; } -inline void GetTakeoffAltitudeResponse::_internal_set_altitude(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.altitude_ = value; +inline void GetTakeoffAltitudeResponse::_internal_set_altitude(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.altitude_ = value; } // ------------------------------------------------------------------- @@ -11961,30 +10956,25 @@ inline void GetTakeoffAltitudeResponse::_internal_set_altitude(float value) // SetTakeoffAltitudeRequest // float altitude = 1; -inline void SetTakeoffAltitudeRequest::clear_altitude() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.altitude_ = 0; +inline void SetTakeoffAltitudeRequest::clear_altitude() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.altitude_ = 0; } -inline float SetTakeoffAltitudeRequest::altitude() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetTakeoffAltitudeRequest.altitude) - return _internal_altitude(); +inline float SetTakeoffAltitudeRequest::altitude() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetTakeoffAltitudeRequest.altitude) + return _internal_altitude(); } -inline void SetTakeoffAltitudeRequest::set_altitude(float value) -{ - _internal_set_altitude(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetTakeoffAltitudeRequest.altitude) +inline void SetTakeoffAltitudeRequest::set_altitude(float value) { + _internal_set_altitude(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetTakeoffAltitudeRequest.altitude) } -inline float SetTakeoffAltitudeRequest::_internal_altitude() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.altitude_; +inline float SetTakeoffAltitudeRequest::_internal_altitude() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.altitude_; } -inline void SetTakeoffAltitudeRequest::_internal_set_altitude(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.altitude_ = value; +inline void SetTakeoffAltitudeRequest::_internal_set_altitude(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.altitude_ = value; } // ------------------------------------------------------------------- @@ -11992,122 +10982,99 @@ inline void SetTakeoffAltitudeRequest::_internal_set_altitude(float value) // SetTakeoffAltitudeResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool SetTakeoffAltitudeResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void SetTakeoffAltitudeResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool SetTakeoffAltitudeResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void SetTakeoffAltitudeResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& SetTakeoffAltitudeResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& SetTakeoffAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) + return _internal_action_result(); +} +inline void SetTakeoffAltitudeResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -SetTakeoffAltitudeResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -SetTakeoffAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) - return _internal_action_result(); -} -inline void SetTakeoffAltitudeResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* SetTakeoffAltitudeResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* SetTakeoffAltitudeResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* SetTakeoffAltitudeResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* SetTakeoffAltitudeResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* SetTakeoffAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) + return _msg; +} +inline void SetTakeoffAltitudeResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -SetTakeoffAltitudeResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -SetTakeoffAltitudeResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -SetTakeoffAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) - return _msg; -} -inline void -SetTakeoffAltitudeResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetTakeoffAltitudeResponse.action_result) } // ------------------------------------------------------------------- @@ -12119,149 +11086,121 @@ SetTakeoffAltitudeResponse::set_allocated_action_result(::mavsdk::rpc::action::A // GetMaximumSpeedResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool GetMaximumSpeedResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void GetMaximumSpeedResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool GetMaximumSpeedResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void GetMaximumSpeedResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& GetMaximumSpeedResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& GetMaximumSpeedResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) + return _internal_action_result(); +} +inline void GetMaximumSpeedResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -GetMaximumSpeedResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -GetMaximumSpeedResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) - return _internal_action_result(); -} -inline void GetMaximumSpeedResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* GetMaximumSpeedResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* GetMaximumSpeedResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* GetMaximumSpeedResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* GetMaximumSpeedResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* GetMaximumSpeedResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) + return _msg; +} +inline void GetMaximumSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -GetMaximumSpeedResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -GetMaximumSpeedResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -GetMaximumSpeedResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) - return _msg; -} -inline void -GetMaximumSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GetMaximumSpeedResponse.action_result) } // float speed = 2; -inline void GetMaximumSpeedResponse::clear_speed() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.speed_ = 0; +inline void GetMaximumSpeedResponse::clear_speed() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.speed_ = 0; } -inline float GetMaximumSpeedResponse::speed() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetMaximumSpeedResponse.speed) - return _internal_speed(); +inline float GetMaximumSpeedResponse::speed() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetMaximumSpeedResponse.speed) + return _internal_speed(); } -inline void GetMaximumSpeedResponse::set_speed(float value) -{ - _internal_set_speed(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GetMaximumSpeedResponse.speed) +inline void GetMaximumSpeedResponse::set_speed(float value) { + _internal_set_speed(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GetMaximumSpeedResponse.speed) } -inline float GetMaximumSpeedResponse::_internal_speed() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.speed_; +inline float GetMaximumSpeedResponse::_internal_speed() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.speed_; } -inline void GetMaximumSpeedResponse::_internal_set_speed(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.speed_ = value; +inline void GetMaximumSpeedResponse::_internal_set_speed(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.speed_ = value; } // ------------------------------------------------------------------- @@ -12269,30 +11208,25 @@ inline void GetMaximumSpeedResponse::_internal_set_speed(float value) // SetMaximumSpeedRequest // float speed = 1; -inline void SetMaximumSpeedRequest::clear_speed() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.speed_ = 0; +inline void SetMaximumSpeedRequest::clear_speed() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.speed_ = 0; } -inline float SetMaximumSpeedRequest::speed() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetMaximumSpeedRequest.speed) - return _internal_speed(); +inline float SetMaximumSpeedRequest::speed() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetMaximumSpeedRequest.speed) + return _internal_speed(); } -inline void SetMaximumSpeedRequest::set_speed(float value) -{ - _internal_set_speed(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetMaximumSpeedRequest.speed) +inline void SetMaximumSpeedRequest::set_speed(float value) { + _internal_set_speed(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetMaximumSpeedRequest.speed) } -inline float SetMaximumSpeedRequest::_internal_speed() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.speed_; +inline float SetMaximumSpeedRequest::_internal_speed() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.speed_; } -inline void SetMaximumSpeedRequest::_internal_set_speed(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.speed_ = value; +inline void SetMaximumSpeedRequest::_internal_set_speed(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.speed_ = value; } // ------------------------------------------------------------------- @@ -12300,122 +11234,99 @@ inline void SetMaximumSpeedRequest::_internal_set_speed(float value) // SetMaximumSpeedResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool SetMaximumSpeedResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void SetMaximumSpeedResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool SetMaximumSpeedResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void SetMaximumSpeedResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& SetMaximumSpeedResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& SetMaximumSpeedResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) + return _internal_action_result(); +} +inline void SetMaximumSpeedResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -SetMaximumSpeedResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -SetMaximumSpeedResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) - return _internal_action_result(); -} -inline void SetMaximumSpeedResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* SetMaximumSpeedResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* SetMaximumSpeedResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* SetMaximumSpeedResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* SetMaximumSpeedResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) + return _msg; +} +inline void SetMaximumSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* SetMaximumSpeedResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -SetMaximumSpeedResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -SetMaximumSpeedResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -SetMaximumSpeedResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) - return _msg; -} -inline void -SetMaximumSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetMaximumSpeedResponse.action_result) } // ------------------------------------------------------------------- @@ -12427,150 +11338,121 @@ SetMaximumSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::Acti // GetReturnToLaunchAltitudeResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool GetReturnToLaunchAltitudeResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void GetReturnToLaunchAltitudeResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool GetReturnToLaunchAltitudeResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void GetReturnToLaunchAltitudeResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& GetReturnToLaunchAltitudeResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& GetReturnToLaunchAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) + return _internal_action_result(); +} +inline void GetReturnToLaunchAltitudeResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -GetReturnToLaunchAltitudeResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -GetReturnToLaunchAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) - return _internal_action_result(); -} -inline void GetReturnToLaunchAltitudeResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* GetReturnToLaunchAltitudeResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* GetReturnToLaunchAltitudeResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* GetReturnToLaunchAltitudeResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* GetReturnToLaunchAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) + return _msg; +} +inline void GetReturnToLaunchAltitudeResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* -GetReturnToLaunchAltitudeResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -GetReturnToLaunchAltitudeResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -GetReturnToLaunchAltitudeResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -GetReturnToLaunchAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) - return _msg; -} -inline void GetReturnToLaunchAltitudeResponse::set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.action_result) } // float relative_altitude_m = 2; -inline void GetReturnToLaunchAltitudeResponse::clear_relative_altitude_m() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.relative_altitude_m_ = 0; +inline void GetReturnToLaunchAltitudeResponse::clear_relative_altitude_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_altitude_m_ = 0; } -inline float GetReturnToLaunchAltitudeResponse::relative_altitude_m() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.relative_altitude_m) - return _internal_relative_altitude_m(); +inline float GetReturnToLaunchAltitudeResponse::relative_altitude_m() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.relative_altitude_m) + return _internal_relative_altitude_m(); } -inline void GetReturnToLaunchAltitudeResponse::set_relative_altitude_m(float value) -{ - _internal_set_relative_altitude_m(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.relative_altitude_m) +inline void GetReturnToLaunchAltitudeResponse::set_relative_altitude_m(float value) { + _internal_set_relative_altitude_m(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.GetReturnToLaunchAltitudeResponse.relative_altitude_m) } -inline float GetReturnToLaunchAltitudeResponse::_internal_relative_altitude_m() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.relative_altitude_m_; +inline float GetReturnToLaunchAltitudeResponse::_internal_relative_altitude_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.relative_altitude_m_; } -inline void GetReturnToLaunchAltitudeResponse::_internal_set_relative_altitude_m(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.relative_altitude_m_ = value; +inline void GetReturnToLaunchAltitudeResponse::_internal_set_relative_altitude_m(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_altitude_m_ = value; } // ------------------------------------------------------------------- @@ -12578,30 +11460,25 @@ inline void GetReturnToLaunchAltitudeResponse::_internal_set_relative_altitude_m // SetReturnToLaunchAltitudeRequest // float relative_altitude_m = 1; -inline void SetReturnToLaunchAltitudeRequest::clear_relative_altitude_m() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.relative_altitude_m_ = 0; +inline void SetReturnToLaunchAltitudeRequest::clear_relative_altitude_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_altitude_m_ = 0; } -inline float SetReturnToLaunchAltitudeRequest::relative_altitude_m() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest.relative_altitude_m) - return _internal_relative_altitude_m(); +inline float SetReturnToLaunchAltitudeRequest::relative_altitude_m() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest.relative_altitude_m) + return _internal_relative_altitude_m(); } -inline void SetReturnToLaunchAltitudeRequest::set_relative_altitude_m(float value) -{ - _internal_set_relative_altitude_m(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest.relative_altitude_m) +inline void SetReturnToLaunchAltitudeRequest::set_relative_altitude_m(float value) { + _internal_set_relative_altitude_m(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetReturnToLaunchAltitudeRequest.relative_altitude_m) } -inline float SetReturnToLaunchAltitudeRequest::_internal_relative_altitude_m() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.relative_altitude_m_; +inline float SetReturnToLaunchAltitudeRequest::_internal_relative_altitude_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.relative_altitude_m_; } -inline void SetReturnToLaunchAltitudeRequest::_internal_set_relative_altitude_m(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.relative_altitude_m_ = value; +inline void SetReturnToLaunchAltitudeRequest::_internal_set_relative_altitude_m(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.relative_altitude_m_ = value; } // ------------------------------------------------------------------- @@ -12609,123 +11486,99 @@ inline void SetReturnToLaunchAltitudeRequest::_internal_set_relative_altitude_m( // SetReturnToLaunchAltitudeResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool SetReturnToLaunchAltitudeResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void SetReturnToLaunchAltitudeResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool SetReturnToLaunchAltitudeResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void SetReturnToLaunchAltitudeResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& SetReturnToLaunchAltitudeResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& SetReturnToLaunchAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) + return _internal_action_result(); +} +inline void SetReturnToLaunchAltitudeResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -SetReturnToLaunchAltitudeResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -SetReturnToLaunchAltitudeResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) - return _internal_action_result(); -} -inline void SetReturnToLaunchAltitudeResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* SetReturnToLaunchAltitudeResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* SetReturnToLaunchAltitudeResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* SetReturnToLaunchAltitudeResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* SetReturnToLaunchAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) + return _msg; +} +inline void SetReturnToLaunchAltitudeResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* -SetReturnToLaunchAltitudeResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -SetReturnToLaunchAltitudeResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -SetReturnToLaunchAltitudeResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -SetReturnToLaunchAltitudeResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) - return _msg; -} -inline void SetReturnToLaunchAltitudeResponse::set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetReturnToLaunchAltitudeResponse.action_result) } // ------------------------------------------------------------------- @@ -12733,30 +11586,25 @@ inline void SetReturnToLaunchAltitudeResponse::set_allocated_action_result( // SetCurrentSpeedRequest // float speed_m_s = 1; -inline void SetCurrentSpeedRequest::clear_speed_m_s() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.speed_m_s_ = 0; +inline void SetCurrentSpeedRequest::clear_speed_m_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.speed_m_s_ = 0; } -inline float SetCurrentSpeedRequest::speed_m_s() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetCurrentSpeedRequest.speed_m_s) - return _internal_speed_m_s(); +inline float SetCurrentSpeedRequest::speed_m_s() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetCurrentSpeedRequest.speed_m_s) + return _internal_speed_m_s(); } -inline void SetCurrentSpeedRequest::set_speed_m_s(float value) -{ - _internal_set_speed_m_s(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetCurrentSpeedRequest.speed_m_s) +inline void SetCurrentSpeedRequest::set_speed_m_s(float value) { + _internal_set_speed_m_s(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.SetCurrentSpeedRequest.speed_m_s) } -inline float SetCurrentSpeedRequest::_internal_speed_m_s() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.speed_m_s_; +inline float SetCurrentSpeedRequest::_internal_speed_m_s() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.speed_m_s_; } -inline void SetCurrentSpeedRequest::_internal_set_speed_m_s(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.speed_m_s_ = value; +inline void SetCurrentSpeedRequest::_internal_set_speed_m_s(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.speed_m_s_ = value; } // ------------------------------------------------------------------- @@ -12764,122 +11612,99 @@ inline void SetCurrentSpeedRequest::_internal_set_speed_m_s(float value) // SetCurrentSpeedResponse // .mavsdk.rpc.action.ActionResult action_result = 1; -inline bool SetCurrentSpeedResponse::has_action_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); - return value; -} -inline void SetCurrentSpeedResponse::clear_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ != nullptr) - _impl_.action_result_->Clear(); +inline bool SetCurrentSpeedResponse::has_action_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_result_ != nullptr); + return value; +} +inline void SetCurrentSpeedResponse::clear_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ != nullptr) _impl_.action_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action::ActionResult& SetCurrentSpeedResponse::_internal_action_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action::_ActionResult_default_instance_); +} +inline const ::mavsdk::rpc::action::ActionResult& SetCurrentSpeedResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) + return _internal_action_result(); +} +inline void SetCurrentSpeedResponse::unsafe_arena_set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); + } + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action::ActionResult& -SetCurrentSpeedResponse::_internal_action_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action::ActionResult* p = _impl_.action_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action::_ActionResult_default_instance_); -} -inline const ::mavsdk::rpc::action::ActionResult& -SetCurrentSpeedResponse::action_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) - return _internal_action_result(); -} -inline void SetCurrentSpeedResponse::unsafe_arena_set_allocated_action_result( - ::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) +} +inline ::mavsdk::rpc::action::ActionResult* SetCurrentSpeedResponse::release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; + _impl_.action_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_result_); - } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) -} -inline ::mavsdk::rpc::action::ActionResult* SetCurrentSpeedResponse::release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* released = _impl_.action_result_; - _impl_.action_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action::ActionResult* SetCurrentSpeedResponse::unsafe_arena_release_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; + _impl_.action_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action::ActionResult* SetCurrentSpeedResponse::_internal_mutable_action_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>(GetArena()); + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); + } + return _impl_.action_result_; +} +inline ::mavsdk::rpc::action::ActionResult* SetCurrentSpeedResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) + return _msg; +} +inline void SetCurrentSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action::ActionResult* -SetCurrentSpeedResponse::unsafe_arena_release_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action::ActionResult* temp = _impl_.action_result_; - _impl_.action_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action::ActionResult* -SetCurrentSpeedResponse::_internal_mutable_action_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_result_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action::ActionResult>( - GetArena()); - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(p); - } - return _impl_.action_result_; -} -inline ::mavsdk::rpc::action::ActionResult* -SetCurrentSpeedResponse::mutable_action_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action::ActionResult* _msg = _internal_mutable_action_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) - return _msg; -} -inline void -SetCurrentSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::ActionResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) + _impl_.action_result_ = reinterpret_cast<::mavsdk::rpc::action::ActionResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.SetCurrentSpeedResponse.action_result) } // ------------------------------------------------------------------- @@ -12887,117 +11712,106 @@ SetCurrentSpeedResponse::set_allocated_action_result(::mavsdk::rpc::action::Acti // ActionResult // .mavsdk.rpc.action.ActionResult.Result result = 1; -inline void ActionResult::clear_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; +inline void ActionResult::clear_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = 0; } -inline ::mavsdk::rpc::action::ActionResult_Result ActionResult::result() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ActionResult.result) - return _internal_result(); +inline ::mavsdk::rpc::action::ActionResult_Result ActionResult::result() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ActionResult.result) + return _internal_result(); } -inline void ActionResult::set_result(::mavsdk::rpc::action::ActionResult_Result value) -{ - _internal_set_result(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.ActionResult.result) +inline void ActionResult::set_result(::mavsdk::rpc::action::ActionResult_Result value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.ActionResult.result) } -inline ::mavsdk::rpc::action::ActionResult_Result ActionResult::_internal_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::mavsdk::rpc::action::ActionResult_Result>(_impl_.result_); +inline ::mavsdk::rpc::action::ActionResult_Result ActionResult::_internal_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::mavsdk::rpc::action::ActionResult_Result>(_impl_.result_); } -inline void ActionResult::_internal_set_result(::mavsdk::rpc::action::ActionResult_Result value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; +inline void ActionResult::_internal_set_result(::mavsdk::rpc::action::ActionResult_Result value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = value; } // string result_str = 2; -inline void ActionResult::clear_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.ClearToEmpty(); -} -inline const std::string& ActionResult::result_str() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ActionResult.result_str) - return _internal_result_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE void ActionResult::set_result_str(Arg_&& arg, Args_... args) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action.ActionResult.result_str) -} -inline std::string* ActionResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - std::string* _s = _internal_mutable_result_str(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ActionResult.result_str) - return _s; -} -inline const std::string& ActionResult::_internal_result_str() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.result_str_.Get(); -} -inline void ActionResult::_internal_set_result_str(const std::string& value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(value, GetArena()); -} -inline std::string* ActionResult::_internal_mutable_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.result_str_.Mutable(GetArena()); -} -inline std::string* ActionResult::release_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ActionResult.result_str) - return _impl_.result_str_.Release(); -} -inline void ActionResult::set_allocated_result_str(std::string* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && - _impl_.result_str_.IsDefault()) { - _impl_.result_str_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ActionResult.result_str) +inline void ActionResult::clear_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.ClearToEmpty(); +} +inline const std::string& ActionResult::result_str() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action.ActionResult.result_str) + return _internal_result_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ActionResult::set_result_str(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action.ActionResult.result_str) +} +inline std::string* ActionResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_result_str(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action.ActionResult.result_str) + return _s; +} +inline const std::string& ActionResult::_internal_result_str() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.result_str_.Get(); +} +inline void ActionResult::_internal_set_result_str(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(value, GetArena()); +} +inline std::string* ActionResult::_internal_mutable_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.result_str_.Mutable( GetArena()); +} +inline std::string* ActionResult::release_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action.ActionResult.result_str) + return _impl_.result_str_.Release(); +} +inline void ActionResult::set_allocated_result_str(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.result_str_.IsDefault()) { + _impl_.result_str_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action.ActionResult.result_str) } #ifdef __GNUC__ #pragma GCC diagnostic pop -#endif // __GNUC__ +#endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) -} // namespace action -} // namespace rpc -} // namespace mavsdk +} // namespace action +} // namespace rpc +} // namespace mavsdk + namespace google { namespace protobuf { -template<> struct is_proto_enum<::mavsdk::rpc::action::ActionResult_Result> : std::true_type {}; -template<> -inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::action::ActionResult_Result>() -{ - return ::mavsdk::rpc::action::ActionResult_Result_descriptor(); +template <> +struct is_proto_enum<::mavsdk::rpc::action::ActionResult_Result> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::action::ActionResult_Result>() { + return ::mavsdk::rpc::action::ActionResult_Result_descriptor(); } -template<> struct is_proto_enum<::mavsdk::rpc::action::OrbitYawBehavior> : std::true_type {}; -template<> inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::action::OrbitYawBehavior>() -{ - return ::mavsdk::rpc::action::OrbitYawBehavior_descriptor(); +template <> +struct is_proto_enum<::mavsdk::rpc::action::OrbitYawBehavior> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::action::OrbitYawBehavior>() { + return ::mavsdk::rpc::action::OrbitYawBehavior_descriptor(); } -} // namespace protobuf -} // namespace google +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" -#endif // action_2faction_2eproto_2epb_2eh +#endif // action_2faction_2eproto_2epb_2eh diff --git a/src/mavsdk_server/src/generated/action_server/action_server.pb.cc b/src/mavsdk_server/src/generated/action_server/action_server.pb.cc index 23e8881d4..96dc00704 100644 --- a/src/mavsdk_server/src/generated/action_server/action_server.pb.cc +++ b/src/mavsdk_server/src/generated/action_server/action_server.pb.cc @@ -27,1119 +27,948 @@ namespace _fl = ::google::protobuf::internal::field_layout; namespace mavsdk { namespace rpc { namespace action_server { -template + template PROTOBUF_CONSTEXPR SubscribeTerminateRequest::SubscribeTerminateRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeTerminateRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeTerminateRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeTerminateRequestDefaultTypeInternal() {} - union { - SubscribeTerminateRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeTerminateRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeTerminateRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeTerminateRequestDefaultTypeInternal() {} + union { + SubscribeTerminateRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeTerminateRequestDefaultTypeInternal _SubscribeTerminateRequest_default_instance_; -template +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeTerminateRequestDefaultTypeInternal _SubscribeTerminateRequest_default_instance_; + template PROTOBUF_CONSTEXPR SubscribeTakeoffRequest::SubscribeTakeoffRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeTakeoffRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeTakeoffRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeTakeoffRequestDefaultTypeInternal() {} - union { - SubscribeTakeoffRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeTakeoffRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeTakeoffRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeTakeoffRequestDefaultTypeInternal() {} + union { + SubscribeTakeoffRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeTakeoffRequestDefaultTypeInternal _SubscribeTakeoffRequest_default_instance_; -template +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeTakeoffRequestDefaultTypeInternal _SubscribeTakeoffRequest_default_instance_; + template PROTOBUF_CONSTEXPR SubscribeShutdownRequest::SubscribeShutdownRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeShutdownRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeShutdownRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeShutdownRequestDefaultTypeInternal() {} - union { - SubscribeShutdownRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeShutdownRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeShutdownRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeShutdownRequestDefaultTypeInternal() {} + union { + SubscribeShutdownRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeShutdownRequestDefaultTypeInternal _SubscribeShutdownRequest_default_instance_; -template +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeShutdownRequestDefaultTypeInternal _SubscribeShutdownRequest_default_instance_; + template PROTOBUF_CONSTEXPR SubscribeRebootRequest::SubscribeRebootRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeRebootRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeRebootRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeRebootRequestDefaultTypeInternal() {} - union { - SubscribeRebootRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeRebootRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeRebootRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeRebootRequestDefaultTypeInternal() {} + union { + SubscribeRebootRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeRebootRequestDefaultTypeInternal _SubscribeRebootRequest_default_instance_; -template +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeRebootRequestDefaultTypeInternal _SubscribeRebootRequest_default_instance_; + template PROTOBUF_CONSTEXPR SubscribeLandRequest::SubscribeLandRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeLandRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeLandRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeLandRequestDefaultTypeInternal() {} - union { - SubscribeLandRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeLandRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeLandRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeLandRequestDefaultTypeInternal() {} + union { + SubscribeLandRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeLandRequestDefaultTypeInternal _SubscribeLandRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -SubscribeFlightModeChangeRequest::SubscribeFlightModeChangeRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeFlightModeChangeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeFlightModeChangeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeFlightModeChangeRequestDefaultTypeInternal() {} - union { - SubscribeFlightModeChangeRequest _instance; - }; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeLandRequestDefaultTypeInternal _SubscribeLandRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeFlightModeChangeRequest::SubscribeFlightModeChangeRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeFlightModeChangeRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeFlightModeChangeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeFlightModeChangeRequestDefaultTypeInternal() {} + union { + SubscribeFlightModeChangeRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeFlightModeChangeRequestDefaultTypeInternal - _SubscribeFlightModeChangeRequest_default_instance_; -template +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeFlightModeChangeRequestDefaultTypeInternal _SubscribeFlightModeChangeRequest_default_instance_; + template PROTOBUF_CONSTEXPR SubscribeArmDisarmRequest::SubscribeArmDisarmRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeArmDisarmRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeArmDisarmRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeArmDisarmRequestDefaultTypeInternal() {} - union { - SubscribeArmDisarmRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeArmDisarmRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeArmDisarmRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeArmDisarmRequestDefaultTypeInternal() {} + union { + SubscribeArmDisarmRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeArmDisarmRequestDefaultTypeInternal _SubscribeArmDisarmRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeArmDisarmRequestDefaultTypeInternal _SubscribeArmDisarmRequest_default_instance_; -inline constexpr SetDisarmableRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - disarmable_{false}, - force_disarmable_{false}, - _cached_size_{0} -{} +inline constexpr SetDisarmableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : disarmable_{false}, + force_disarmable_{false}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SetDisarmableRequest::SetDisarmableRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetDisarmableRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetDisarmableRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetDisarmableRequestDefaultTypeInternal() {} - union { - SetDisarmableRequest _instance; - }; + PROTOBUF_CONSTEXPR SetDisarmableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetDisarmableRequestDefaultTypeInternal() {} + union { + SetDisarmableRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetDisarmableRequestDefaultTypeInternal _SetDisarmableRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetDisarmableRequestDefaultTypeInternal _SetDisarmableRequest_default_instance_; -inline constexpr SetArmableRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - armable_{false}, - force_armable_{false}, - _cached_size_{0} -{} +inline constexpr SetArmableRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : armable_{false}, + force_armable_{false}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SetArmableRequest::SetArmableRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetArmableRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetArmableRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetArmableRequestDefaultTypeInternal() {} - union { - SetArmableRequest _instance; - }; + PROTOBUF_CONSTEXPR SetArmableRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetArmableRequestDefaultTypeInternal() {} + union { + SetArmableRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetArmableRequestDefaultTypeInternal _SetArmableRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetArmableRequestDefaultTypeInternal _SetArmableRequest_default_instance_; -inline constexpr SetAllowTakeoffRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - allow_takeoff_{false}, - _cached_size_{0} -{} +inline constexpr SetAllowTakeoffRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : allow_takeoff_{false}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SetAllowTakeoffRequest::SetAllowTakeoffRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetAllowTakeoffRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetAllowTakeoffRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetAllowTakeoffRequestDefaultTypeInternal() {} - union { - SetAllowTakeoffRequest _instance; - }; + PROTOBUF_CONSTEXPR SetAllowTakeoffRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetAllowTakeoffRequestDefaultTypeInternal() {} + union { + SetAllowTakeoffRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetAllowTakeoffRequestDefaultTypeInternal _SetAllowTakeoffRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -GetAllowableFlightModesRequest::GetAllowableFlightModesRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct GetAllowableFlightModesRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetAllowableFlightModesRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetAllowableFlightModesRequestDefaultTypeInternal() {} - union { - GetAllowableFlightModesRequest _instance; - }; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAllowTakeoffRequestDefaultTypeInternal _SetAllowTakeoffRequest_default_instance_; + template +PROTOBUF_CONSTEXPR GetAllowableFlightModesRequest::GetAllowableFlightModesRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct GetAllowableFlightModesRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR GetAllowableFlightModesRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetAllowableFlightModesRequestDefaultTypeInternal() {} + union { + GetAllowableFlightModesRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetAllowableFlightModesRequestDefaultTypeInternal - _GetAllowableFlightModesRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetAllowableFlightModesRequestDefaultTypeInternal _GetAllowableFlightModesRequest_default_instance_; -inline constexpr ArmDisarm::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - arm_{false}, - force_{false}, - _cached_size_{0} -{} +inline constexpr ArmDisarm::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : arm_{false}, + force_{false}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR ArmDisarm::ArmDisarm(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ArmDisarmDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmDisarmDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~ArmDisarmDefaultTypeInternal() {} - union { - ArmDisarm _instance; - }; + PROTOBUF_CONSTEXPR ArmDisarmDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmDisarmDefaultTypeInternal() {} + union { + ArmDisarm _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmDisarmDefaultTypeInternal _ArmDisarm_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmDisarmDefaultTypeInternal _ArmDisarm_default_instance_; -inline constexpr AllowableFlightModes::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - can_auto_mode_{false}, - can_guided_mode_{false}, - can_stabilize_mode_{false}, - _cached_size_{0} -{} +inline constexpr AllowableFlightModes::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : can_auto_mode_{false}, + can_guided_mode_{false}, + can_stabilize_mode_{false}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR AllowableFlightModes::AllowableFlightModes(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct AllowableFlightModesDefaultTypeInternal { - PROTOBUF_CONSTEXPR AllowableFlightModesDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~AllowableFlightModesDefaultTypeInternal() {} - union { - AllowableFlightModes _instance; - }; + PROTOBUF_CONSTEXPR AllowableFlightModesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AllowableFlightModesDefaultTypeInternal() {} + union { + AllowableFlightModes _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - AllowableFlightModesDefaultTypeInternal _AllowableFlightModes_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AllowableFlightModesDefaultTypeInternal _AllowableFlightModes_default_instance_; -inline constexpr ActionServerResult::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - result_str_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - result_{static_cast<::mavsdk::rpc::action_server::ActionServerResult_Result>(0)}, - _cached_size_{0} -{} +inline constexpr ActionServerResult::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : result_str_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + result_{static_cast< ::mavsdk::rpc::action_server::ActionServerResult_Result >(0)}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR ActionServerResult::ActionServerResult(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ActionServerResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR ActionServerResultDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ActionServerResultDefaultTypeInternal() {} - union { - ActionServerResult _instance; - }; + PROTOBUF_CONSTEXPR ActionServerResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ActionServerResultDefaultTypeInternal() {} + union { + ActionServerResult _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ActionServerResultDefaultTypeInternal _ActionServerResult_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ActionServerResultDefaultTypeInternal _ActionServerResult_default_instance_; -inline constexpr TerminateResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr}, - terminate_{false} -{} +inline constexpr TerminateResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr}, + terminate_{false} {} -template +template PROTOBUF_CONSTEXPR TerminateResponse::TerminateResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TerminateResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TerminateResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TerminateResponseDefaultTypeInternal() {} - union { - TerminateResponse _instance; - }; + PROTOBUF_CONSTEXPR TerminateResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TerminateResponseDefaultTypeInternal() {} + union { + TerminateResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TerminateResponseDefaultTypeInternal _TerminateResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminateResponseDefaultTypeInternal _TerminateResponse_default_instance_; -inline constexpr TakeoffResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr}, - takeoff_{false} -{} +inline constexpr TakeoffResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr}, + takeoff_{false} {} -template +template PROTOBUF_CONSTEXPR TakeoffResponse::TakeoffResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TakeoffResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TakeoffResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TakeoffResponseDefaultTypeInternal() {} - union { - TakeoffResponse _instance; - }; + PROTOBUF_CONSTEXPR TakeoffResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TakeoffResponseDefaultTypeInternal() {} + union { + TakeoffResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TakeoffResponseDefaultTypeInternal _TakeoffResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TakeoffResponseDefaultTypeInternal _TakeoffResponse_default_instance_; -inline constexpr ShutdownResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr}, - shutdown_{false} -{} +inline constexpr ShutdownResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr}, + shutdown_{false} {} -template +template PROTOBUF_CONSTEXPR ShutdownResponse::ShutdownResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ShutdownResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ShutdownResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ShutdownResponseDefaultTypeInternal() {} - union { - ShutdownResponse _instance; - }; + PROTOBUF_CONSTEXPR ShutdownResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ShutdownResponseDefaultTypeInternal() {} + union { + ShutdownResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ShutdownResponseDefaultTypeInternal _ShutdownResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShutdownResponseDefaultTypeInternal _ShutdownResponse_default_instance_; -inline constexpr SetDisarmableResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr} -{} +inline constexpr SetDisarmableResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetDisarmableResponse::SetDisarmableResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetDisarmableResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetDisarmableResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetDisarmableResponseDefaultTypeInternal() {} - union { - SetDisarmableResponse _instance; - }; + PROTOBUF_CONSTEXPR SetDisarmableResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetDisarmableResponseDefaultTypeInternal() {} + union { + SetDisarmableResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetDisarmableResponseDefaultTypeInternal _SetDisarmableResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetDisarmableResponseDefaultTypeInternal _SetDisarmableResponse_default_instance_; -inline constexpr SetArmableResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr} -{} +inline constexpr SetArmableResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetArmableResponse::SetArmableResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetArmableResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetArmableResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetArmableResponseDefaultTypeInternal() {} - union { - SetArmableResponse _instance; - }; + PROTOBUF_CONSTEXPR SetArmableResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetArmableResponseDefaultTypeInternal() {} + union { + SetArmableResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetArmableResponseDefaultTypeInternal _SetArmableResponse_default_instance_; - -inline constexpr SetAllowableFlightModesResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - _cached_size_{0}, - action_server_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - SetAllowableFlightModesResponse::SetAllowableFlightModesResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetArmableResponseDefaultTypeInternal _SetArmableResponse_default_instance_; + +inline constexpr SetAllowableFlightModesResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SetAllowableFlightModesResponse::SetAllowableFlightModesResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetAllowableFlightModesResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetAllowableFlightModesResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetAllowableFlightModesResponseDefaultTypeInternal() {} - union { - SetAllowableFlightModesResponse _instance; - }; + PROTOBUF_CONSTEXPR SetAllowableFlightModesResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetAllowableFlightModesResponseDefaultTypeInternal() {} + union { + SetAllowableFlightModesResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetAllowableFlightModesResponseDefaultTypeInternal - _SetAllowableFlightModesResponse_default_instance_; - -inline constexpr SetAllowableFlightModesRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - _cached_size_{0}, - flight_modes_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - SetAllowableFlightModesRequest::SetAllowableFlightModesRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAllowableFlightModesResponseDefaultTypeInternal _SetAllowableFlightModesResponse_default_instance_; + +inline constexpr SetAllowableFlightModesRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + flight_modes_{nullptr} {} + +template +PROTOBUF_CONSTEXPR SetAllowableFlightModesRequest::SetAllowableFlightModesRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetAllowableFlightModesRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetAllowableFlightModesRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetAllowableFlightModesRequestDefaultTypeInternal() {} - union { - SetAllowableFlightModesRequest _instance; - }; + PROTOBUF_CONSTEXPR SetAllowableFlightModesRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetAllowableFlightModesRequestDefaultTypeInternal() {} + union { + SetAllowableFlightModesRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetAllowableFlightModesRequestDefaultTypeInternal - _SetAllowableFlightModesRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAllowableFlightModesRequestDefaultTypeInternal _SetAllowableFlightModesRequest_default_instance_; -inline constexpr SetAllowTakeoffResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr} -{} +inline constexpr SetAllowTakeoffResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetAllowTakeoffResponse::SetAllowTakeoffResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetAllowTakeoffResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetAllowTakeoffResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetAllowTakeoffResponseDefaultTypeInternal() {} - union { - SetAllowTakeoffResponse _instance; - }; + PROTOBUF_CONSTEXPR SetAllowTakeoffResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetAllowTakeoffResponseDefaultTypeInternal() {} + union { + SetAllowTakeoffResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetAllowTakeoffResponseDefaultTypeInternal _SetAllowTakeoffResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAllowTakeoffResponseDefaultTypeInternal _SetAllowTakeoffResponse_default_instance_; -inline constexpr RebootResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr}, - reboot_{false} -{} +inline constexpr RebootResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr}, + reboot_{false} {} -template +template PROTOBUF_CONSTEXPR RebootResponse::RebootResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct RebootResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR RebootResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~RebootResponseDefaultTypeInternal() {} - union { - RebootResponse _instance; - }; + PROTOBUF_CONSTEXPR RebootResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RebootResponseDefaultTypeInternal() {} + union { + RebootResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - RebootResponseDefaultTypeInternal _RebootResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RebootResponseDefaultTypeInternal _RebootResponse_default_instance_; -inline constexpr LandResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr}, - land_{false} -{} +inline constexpr LandResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr}, + land_{false} {} -template +template PROTOBUF_CONSTEXPR LandResponse::LandResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct LandResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR LandResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~LandResponseDefaultTypeInternal() {} - union { - LandResponse _instance; - }; + PROTOBUF_CONSTEXPR LandResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~LandResponseDefaultTypeInternal() {} + union { + LandResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - LandResponseDefaultTypeInternal _LandResponse_default_instance_; - -inline constexpr GetAllowableFlightModesResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - _cached_size_{0}, - flight_modes_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - GetAllowableFlightModesResponse::GetAllowableFlightModesResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LandResponseDefaultTypeInternal _LandResponse_default_instance_; + +inline constexpr GetAllowableFlightModesResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + flight_modes_{nullptr} {} + +template +PROTOBUF_CONSTEXPR GetAllowableFlightModesResponse::GetAllowableFlightModesResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GetAllowableFlightModesResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetAllowableFlightModesResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetAllowableFlightModesResponseDefaultTypeInternal() {} - union { - GetAllowableFlightModesResponse _instance; - }; + PROTOBUF_CONSTEXPR GetAllowableFlightModesResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetAllowableFlightModesResponseDefaultTypeInternal() {} + union { + GetAllowableFlightModesResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetAllowableFlightModesResponseDefaultTypeInternal - _GetAllowableFlightModesResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetAllowableFlightModesResponseDefaultTypeInternal _GetAllowableFlightModesResponse_default_instance_; -inline constexpr FlightModeChangeResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr}, - flight_mode_{static_cast<::mavsdk::rpc::action_server::FlightMode>(0)} -{} +inline constexpr FlightModeChangeResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr}, + flight_mode_{static_cast< ::mavsdk::rpc::action_server::FlightMode >(0)} {} -template +template PROTOBUF_CONSTEXPR FlightModeChangeResponse::FlightModeChangeResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FlightModeChangeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR FlightModeChangeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FlightModeChangeResponseDefaultTypeInternal() {} - union { - FlightModeChangeResponse _instance; - }; + PROTOBUF_CONSTEXPR FlightModeChangeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FlightModeChangeResponseDefaultTypeInternal() {} + union { + FlightModeChangeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FlightModeChangeResponseDefaultTypeInternal _FlightModeChangeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FlightModeChangeResponseDefaultTypeInternal _FlightModeChangeResponse_default_instance_; -inline constexpr ArmDisarmResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - action_server_result_{nullptr}, - arm_{nullptr} -{} +inline constexpr ArmDisarmResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + action_server_result_{nullptr}, + arm_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ArmDisarmResponse::ArmDisarmResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ArmDisarmResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmDisarmResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ArmDisarmResponseDefaultTypeInternal() {} - union { - ArmDisarmResponse _instance; - }; + PROTOBUF_CONSTEXPR ArmDisarmResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmDisarmResponseDefaultTypeInternal() {} + union { + ArmDisarmResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmDisarmResponseDefaultTypeInternal _ArmDisarmResponse_default_instance_; -} // namespace action_server -} // namespace rpc -} // namespace mavsdk -static const ::_pb::EnumDescriptor* - file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto[2]; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmDisarmResponseDefaultTypeInternal _ArmDisarmResponse_default_instance_; +} // namespace action_server +} // namespace rpc +} // namespace mavsdk +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto[2]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_action_5fserver_2faction_5fserver_2eproto = nullptr; -const ::uint32_t TableStruct_action_5fserver_2faction_5fserver_2eproto::offsets - [] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowTakeoffRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowTakeoffRequest, _impl_.allow_takeoff_), - ~0u, // no _has_bits_ +const ::uint32_t + TableStruct_action_5fserver_2faction_5fserver_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowTakeoffRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowTakeoffRequest, _impl_.allow_takeoff_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetArmableRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetArmableRequest, _impl_.armable_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetArmableRequest, _impl_.force_armable_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetDisarmableRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetDisarmableRequest, _impl_.disarmable_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetDisarmableRequest, _impl_.force_disarmable_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowableFlightModesRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowableFlightModesRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowableFlightModesRequest, _impl_.flight_modes_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetArmableRequest, _impl_.force_armable_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetDisarmableRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetDisarmableRequest, _impl_.disarmable_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetDisarmableRequest, _impl_.force_disarmable_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowableFlightModesRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowableFlightModesRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowableFlightModesRequest, _impl_.flight_modes_), 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::GetAllowableFlightModesRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SubscribeArmDisarmRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SubscribeFlightModeChangeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SubscribeTakeoffRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SubscribeLandRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SubscribeRebootRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SubscribeShutdownRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SubscribeTerminateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::GetAllowableFlightModesRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SubscribeArmDisarmRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SubscribeFlightModeChangeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SubscribeTakeoffRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SubscribeLandRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SubscribeRebootRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SubscribeShutdownRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SubscribeTerminateRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ArmDisarmResponse, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ArmDisarmResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::ArmDisarmResponse, _impl_.action_server_result_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ArmDisarmResponse, _impl_.action_server_result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ArmDisarmResponse, _impl_.arm_), 0, 1, - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::FlightModeChangeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::FlightModeChangeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::FlightModeChangeResponse, _impl_.action_server_result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::FlightModeChangeResponse, _impl_.flight_mode_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::FlightModeChangeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::FlightModeChangeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::FlightModeChangeResponse, _impl_.action_server_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::FlightModeChangeResponse, _impl_.flight_mode_), 0, ~0u, PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TakeoffResponse, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TakeoffResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::TakeoffResponse, _impl_.action_server_result_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TakeoffResponse, _impl_.action_server_result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TakeoffResponse, _impl_.takeoff_), 0, ~0u, PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::LandResponse, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::LandResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::LandResponse, _impl_.action_server_result_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::LandResponse, _impl_.action_server_result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::LandResponse, _impl_.land_), 0, ~0u, PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::RebootResponse, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::RebootResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::RebootResponse, _impl_.action_server_result_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::RebootResponse, _impl_.action_server_result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::RebootResponse, _impl_.reboot_), 0, ~0u, PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ShutdownResponse, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ShutdownResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::ShutdownResponse, _impl_.action_server_result_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ShutdownResponse, _impl_.action_server_result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ShutdownResponse, _impl_.shutdown_), 0, ~0u, PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TerminateResponse, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TerminateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::TerminateResponse, _impl_.action_server_result_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TerminateResponse, _impl_.action_server_result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::TerminateResponse, _impl_.terminate_), 0, ~0u, PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetArmableResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetArmableResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetArmableResponse, _impl_.action_server_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetArmableResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetArmableResponse, _impl_.action_server_result_), 0, - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetDisarmableResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetDisarmableResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetDisarmableResponse, _impl_.action_server_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetDisarmableResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetDisarmableResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetDisarmableResponse, _impl_.action_server_result_), 0, - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowableFlightModesResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowableFlightModesResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowableFlightModesResponse, - _impl_.action_server_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowableFlightModesResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowableFlightModesResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowableFlightModesResponse, _impl_.action_server_result_), 0, - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowTakeoffResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowTakeoffResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::SetAllowTakeoffResponse, _impl_.action_server_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowTakeoffResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowTakeoffResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::SetAllowTakeoffResponse, _impl_.action_server_result_), 0, - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::GetAllowableFlightModesResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::GetAllowableFlightModesResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::GetAllowableFlightModesResponse, _impl_.flight_modes_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::GetAllowableFlightModesResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::GetAllowableFlightModesResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::GetAllowableFlightModesResponse, _impl_.flight_modes_), 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::AllowableFlightModes, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::AllowableFlightModes, _impl_.can_auto_mode_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::AllowableFlightModes, _impl_.can_guided_mode_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::AllowableFlightModes, _impl_.can_stabilize_mode_), - ~0u, // no _has_bits_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::AllowableFlightModes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::AllowableFlightModes, _impl_.can_auto_mode_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::AllowableFlightModes, _impl_.can_guided_mode_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::AllowableFlightModes, _impl_.can_stabilize_mode_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ArmDisarm, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ArmDisarm, _impl_.arm_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ArmDisarm, _impl_.force_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::action_server::ActionServerResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ActionServerResult, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ActionServerResult, _impl_.result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::action_server::ActionServerResult, _impl_.result_str_), }; -static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::mavsdk::rpc::action_server::SetAllowTakeoffRequest)}, - {9, -1, -1, sizeof(::mavsdk::rpc::action_server::SetArmableRequest)}, - {19, -1, -1, sizeof(::mavsdk::rpc::action_server::SetDisarmableRequest)}, - {29, 38, -1, sizeof(::mavsdk::rpc::action_server::SetAllowableFlightModesRequest)}, - {39, -1, -1, sizeof(::mavsdk::rpc::action_server::GetAllowableFlightModesRequest)}, - {47, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeArmDisarmRequest)}, - {55, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeFlightModeChangeRequest)}, - {63, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeTakeoffRequest)}, - {71, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeLandRequest)}, - {79, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeRebootRequest)}, - {87, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeShutdownRequest)}, - {95, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeTerminateRequest)}, - {103, 113, -1, sizeof(::mavsdk::rpc::action_server::ArmDisarmResponse)}, - {115, 125, -1, sizeof(::mavsdk::rpc::action_server::FlightModeChangeResponse)}, - {127, 137, -1, sizeof(::mavsdk::rpc::action_server::TakeoffResponse)}, - {139, 149, -1, sizeof(::mavsdk::rpc::action_server::LandResponse)}, - {151, 161, -1, sizeof(::mavsdk::rpc::action_server::RebootResponse)}, - {163, 173, -1, sizeof(::mavsdk::rpc::action_server::ShutdownResponse)}, - {175, 185, -1, sizeof(::mavsdk::rpc::action_server::TerminateResponse)}, - {187, 196, -1, sizeof(::mavsdk::rpc::action_server::SetArmableResponse)}, - {197, 206, -1, sizeof(::mavsdk::rpc::action_server::SetDisarmableResponse)}, - {207, 216, -1, sizeof(::mavsdk::rpc::action_server::SetAllowableFlightModesResponse)}, - {217, 226, -1, sizeof(::mavsdk::rpc::action_server::SetAllowTakeoffResponse)}, - {227, 236, -1, sizeof(::mavsdk::rpc::action_server::GetAllowableFlightModesResponse)}, - {237, -1, -1, sizeof(::mavsdk::rpc::action_server::AllowableFlightModes)}, - {248, -1, -1, sizeof(::mavsdk::rpc::action_server::ArmDisarm)}, - {258, -1, -1, sizeof(::mavsdk::rpc::action_server::ActionServerResult)}, +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::mavsdk::rpc::action_server::SetAllowTakeoffRequest)}, + {9, -1, -1, sizeof(::mavsdk::rpc::action_server::SetArmableRequest)}, + {19, -1, -1, sizeof(::mavsdk::rpc::action_server::SetDisarmableRequest)}, + {29, 38, -1, sizeof(::mavsdk::rpc::action_server::SetAllowableFlightModesRequest)}, + {39, -1, -1, sizeof(::mavsdk::rpc::action_server::GetAllowableFlightModesRequest)}, + {47, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeArmDisarmRequest)}, + {55, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeFlightModeChangeRequest)}, + {63, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeTakeoffRequest)}, + {71, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeLandRequest)}, + {79, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeRebootRequest)}, + {87, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeShutdownRequest)}, + {95, -1, -1, sizeof(::mavsdk::rpc::action_server::SubscribeTerminateRequest)}, + {103, 113, -1, sizeof(::mavsdk::rpc::action_server::ArmDisarmResponse)}, + {115, 125, -1, sizeof(::mavsdk::rpc::action_server::FlightModeChangeResponse)}, + {127, 137, -1, sizeof(::mavsdk::rpc::action_server::TakeoffResponse)}, + {139, 149, -1, sizeof(::mavsdk::rpc::action_server::LandResponse)}, + {151, 161, -1, sizeof(::mavsdk::rpc::action_server::RebootResponse)}, + {163, 173, -1, sizeof(::mavsdk::rpc::action_server::ShutdownResponse)}, + {175, 185, -1, sizeof(::mavsdk::rpc::action_server::TerminateResponse)}, + {187, 196, -1, sizeof(::mavsdk::rpc::action_server::SetArmableResponse)}, + {197, 206, -1, sizeof(::mavsdk::rpc::action_server::SetDisarmableResponse)}, + {207, 216, -1, sizeof(::mavsdk::rpc::action_server::SetAllowableFlightModesResponse)}, + {217, 226, -1, sizeof(::mavsdk::rpc::action_server::SetAllowTakeoffResponse)}, + {227, 236, -1, sizeof(::mavsdk::rpc::action_server::GetAllowableFlightModesResponse)}, + {237, -1, -1, sizeof(::mavsdk::rpc::action_server::AllowableFlightModes)}, + {248, -1, -1, sizeof(::mavsdk::rpc::action_server::ArmDisarm)}, + {258, -1, -1, sizeof(::mavsdk::rpc::action_server::ActionServerResult)}, }; static const ::_pb::Message* const file_default_instances[] = { &::mavsdk::rpc::action_server::_SetAllowTakeoffRequest_default_instance_._instance, @@ -1170,164 +999,160 @@ static const ::_pb::Message* const file_default_instances[] = { &::mavsdk::rpc::action_server::_ArmDisarm_default_instance_._instance, &::mavsdk::rpc::action_server::_ActionServerResult_default_instance_._instance, }; -const char descriptor_table_protodef_action_5fserver_2faction_5fserver_2eproto - [] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - "\n!action_server/action_server.proto\022\030mav" - "sdk.rpc.action_server\032\024mavsdk_options.pr" - "oto\"/\n\026SetAllowTakeoffRequest\022\025\n\rallow_t" - "akeoff\030\001 \001(\010\";\n\021SetArmableRequest\022\017\n\007arm" - "able\030\001 \001(\010\022\025\n\rforce_armable\030\002 \001(\010\"D\n\024Set" - "DisarmableRequest\022\022\n\ndisarmable\030\001 \001(\010\022\030\n" - "\020force_disarmable\030\002 \001(\010\"f\n\036SetAllowableF" - "lightModesRequest\022D\n\014flight_modes\030\001 \001(\0132" - "..mavsdk.rpc.action_server.AllowableFlig" - "htModes\" \n\036GetAllowableFlightModesReques" - "t\"\033\n\031SubscribeArmDisarmRequest\"\"\n Subscr" - "ibeFlightModeChangeRequest\"\031\n\027SubscribeT" - "akeoffRequest\"\026\n\024SubscribeLandRequest\"\030\n" - "\026SubscribeRebootRequest\"\032\n\030SubscribeShut" - "downRequest\"\033\n\031SubscribeTerminateRequest" - "\"\221\001\n\021ArmDisarmResponse\022J\n\024action_server_" - "result\030\001 \001(\0132,.mavsdk.rpc.action_server." - "ActionServerResult\0220\n\003arm\030\002 \001(\0132#.mavsdk" - ".rpc.action_server.ArmDisarm\"\241\001\n\030FlightM" - "odeChangeResponse\022J\n\024action_server_resul" - "t\030\001 \001(\0132,.mavsdk.rpc.action_server.Actio" - "nServerResult\0229\n\013flight_mode\030\002 \001(\0162$.mav" - "sdk.rpc.action_server.FlightMode\"n\n\017Take" - "offResponse\022J\n\024action_server_result\030\001 \001(" - "\0132,.mavsdk.rpc.action_server.ActionServe" - "rResult\022\017\n\007takeoff\030\002 \001(\010\"h\n\014LandResponse" - "\022J\n\024action_server_result\030\001 \001(\0132,.mavsdk." - "rpc.action_server.ActionServerResult\022\014\n\004" - "land\030\002 \001(\010\"l\n\016RebootResponse\022J\n\024action_s" - "erver_result\030\001 \001(\0132,.mavsdk.rpc.action_s" - "erver.ActionServerResult\022\016\n\006reboot\030\002 \001(\010" - "\"p\n\020ShutdownResponse\022J\n\024action_server_re" - "sult\030\001 \001(\0132,.mavsdk.rpc.action_server.Ac" - "tionServerResult\022\020\n\010shutdown\030\002 \001(\010\"r\n\021Te" - "rminateResponse\022J\n\024action_server_result\030" - "\001 \001(\0132,.mavsdk.rpc.action_server.ActionS" - "erverResult\022\021\n\tterminate\030\002 \001(\010\"`\n\022SetArm" - "ableResponse\022J\n\024action_server_result\030\001 \001" - "(\0132,.mavsdk.rpc.action_server.ActionServ" - "erResult\"c\n\025SetDisarmableResponse\022J\n\024act" - "ion_server_result\030\001 \001(\0132,.mavsdk.rpc.act" - "ion_server.ActionServerResult\"m\n\037SetAllo" - "wableFlightModesResponse\022J\n\024action_serve" - "r_result\030\001 \001(\0132,.mavsdk.rpc.action_serve" - "r.ActionServerResult\"e\n\027SetAllowTakeoffR" - "esponse\022J\n\024action_server_result\030\001 \001(\0132,." - "mavsdk.rpc.action_server.ActionServerRes" - "ult\"g\n\037GetAllowableFlightModesResponse\022D" - "\n\014flight_modes\030\001 \001(\0132..mavsdk.rpc.action" - "_server.AllowableFlightModes\"b\n\024Allowabl" - "eFlightModes\022\025\n\rcan_auto_mode\030\001 \001(\010\022\027\n\017c" - "an_guided_mode\030\002 \001(\010\022\032\n\022can_stabilize_mo" - "de\030\003 \001(\010\"\'\n\tArmDisarm\022\013\n\003arm\030\001 \001(\010\022\r\n\005fo" - "rce\030\002 \001(\010\"\351\003\n\022ActionServerResult\022C\n\006resu" - "lt\030\001 \001(\01623.mavsdk.rpc.action_server.Acti" - "onServerResult.Result\022\022\n\nresult_str\030\002 \001(" - "\t\"\371\002\n\006Result\022\022\n\016RESULT_UNKNOWN\020\000\022\022\n\016RESU" - "LT_SUCCESS\020\001\022\024\n\020RESULT_NO_SYSTEM\020\002\022\033\n\027RE" - "SULT_CONNECTION_ERROR\020\003\022\017\n\013RESULT_BUSY\020\004" - "\022\031\n\025RESULT_COMMAND_DENIED\020\005\022.\n*RESULT_CO" - "MMAND_DENIED_LANDED_STATE_UNKNOWN\020\006\022$\n R" - "ESULT_COMMAND_DENIED_NOT_LANDED\020\007\022\022\n\016RES" - "ULT_TIMEOUT\020\010\022*\n&RESULT_VTOL_TRANSITION_" - "SUPPORT_UNKNOWN\020\t\022%\n!RESULT_NO_VTOL_TRAN" - "SITION_SUPPORT\020\n\022\032\n\026RESULT_PARAMETER_ERR" - "OR\020\013\022\017\n\013RESULT_NEXT\020\014*\353\002\n\nFlightMode\022\027\n\023" - "FLIGHT_MODE_UNKNOWN\020\000\022\025\n\021FLIGHT_MODE_REA" - "DY\020\001\022\027\n\023FLIGHT_MODE_TAKEOFF\020\002\022\024\n\020FLIGHT_" - "MODE_HOLD\020\003\022\027\n\023FLIGHT_MODE_MISSION\020\004\022 \n\034" - "FLIGHT_MODE_RETURN_TO_LAUNCH\020\005\022\024\n\020FLIGHT" - "_MODE_LAND\020\006\022\030\n\024FLIGHT_MODE_OFFBOARD\020\007\022\031" - "\n\025FLIGHT_MODE_FOLLOW_ME\020\010\022\026\n\022FLIGHT_MODE" - "_MANUAL\020\t\022\026\n\022FLIGHT_MODE_ALTCTL\020\n\022\026\n\022FLI" - "GHT_MODE_POSCTL\020\013\022\024\n\020FLIGHT_MODE_ACRO\020\014\022" - "\032\n\026FLIGHT_MODE_STABILIZED\020\r2\235\014\n\023ActionSe" - "rverService\022~\n\022SubscribeArmDisarm\0223.mavs" - "dk.rpc.action_server.SubscribeArmDisarmR" - "equest\032+.mavsdk.rpc.action_server.ArmDis" - "armResponse\"\004\200\265\030\0000\001\022\223\001\n\031SubscribeFlightM" - "odeChange\022:.mavsdk.rpc.action_server.Sub" - "scribeFlightModeChangeRequest\0322.mavsdk.r" - "pc.action_server.FlightModeChangeRespons" - "e\"\004\200\265\030\0000\001\022x\n\020SubscribeTakeoff\0221.mavsdk.r" - "pc.action_server.SubscribeTakeoffRequest" - "\032).mavsdk.rpc.action_server.TakeoffRespo" - "nse\"\004\200\265\030\0000\001\022o\n\rSubscribeLand\022..mavsdk.rp" - "c.action_server.SubscribeLandRequest\032&.m" - "avsdk.rpc.action_server.LandResponse\"\004\200\265" - "\030\0000\001\022u\n\017SubscribeReboot\0220.mavsdk.rpc.act" - "ion_server.SubscribeRebootRequest\032(.mavs" - "dk.rpc.action_server.RebootResponse\"\004\200\265\030" - "\0000\001\022{\n\021SubscribeShutdown\0222.mavsdk.rpc.ac" - "tion_server.SubscribeShutdownRequest\032*.m" - "avsdk.rpc.action_server.ShutdownResponse" - "\"\004\200\265\030\0000\001\022~\n\022SubscribeTerminate\0223.mavsdk." - "rpc.action_server.SubscribeTerminateRequ" - "est\032+.mavsdk.rpc.action_server.Terminate" - "Response\"\004\200\265\030\0000\001\022|\n\017SetAllowTakeoff\0220.ma" - "vsdk.rpc.action_server.SetAllowTakeoffRe" - "quest\0321.mavsdk.rpc.action_server.SetAllo" - "wTakeoffResponse\"\004\200\265\030\001\022m\n\nSetArmable\022+.m" - "avsdk.rpc.action_server.SetArmableReques" - "t\032,.mavsdk.rpc.action_server.SetArmableR" - "esponse\"\004\200\265\030\001\022v\n\rSetDisarmable\022..mavsdk." - "rpc.action_server.SetDisarmableRequest\032/" - ".mavsdk.rpc.action_server.SetDisarmableR" - "esponse\"\004\200\265\030\001\022\224\001\n\027SetAllowableFlightMode" - "s\0228.mavsdk.rpc.action_server.SetAllowabl" - "eFlightModesRequest\0329.mavsdk.rpc.action_" - "server.SetAllowableFlightModesResponse\"\004" - "\200\265\030\001\022\224\001\n\027GetAllowableFlightModes\0228.mavsd" - "k.rpc.action_server.GetAllowableFlightMo" - "desRequest\0329.mavsdk.rpc.action_server.Ge" - "tAllowableFlightModesResponse\"\004\200\265\030\001B,\n\027i" - "o.mavsdk.action_serverB\021ActionServerProt" - "ob\006proto3"}; -static const ::_pbi::DescriptorTable* const - descriptor_table_action_5fserver_2faction_5fserver_2eproto_deps[1] = { +const char descriptor_table_protodef_action_5fserver_2faction_5fserver_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n!action_server/action_server.proto\022\030mav" + "sdk.rpc.action_server\032\024mavsdk_options.pr" + "oto\"/\n\026SetAllowTakeoffRequest\022\025\n\rallow_t" + "akeoff\030\001 \001(\010\";\n\021SetArmableRequest\022\017\n\007arm" + "able\030\001 \001(\010\022\025\n\rforce_armable\030\002 \001(\010\"D\n\024Set" + "DisarmableRequest\022\022\n\ndisarmable\030\001 \001(\010\022\030\n" + "\020force_disarmable\030\002 \001(\010\"f\n\036SetAllowableF" + "lightModesRequest\022D\n\014flight_modes\030\001 \001(\0132" + "..mavsdk.rpc.action_server.AllowableFlig" + "htModes\" \n\036GetAllowableFlightModesReques" + "t\"\033\n\031SubscribeArmDisarmRequest\"\"\n Subscr" + "ibeFlightModeChangeRequest\"\031\n\027SubscribeT" + "akeoffRequest\"\026\n\024SubscribeLandRequest\"\030\n" + "\026SubscribeRebootRequest\"\032\n\030SubscribeShut" + "downRequest\"\033\n\031SubscribeTerminateRequest" + "\"\221\001\n\021ArmDisarmResponse\022J\n\024action_server_" + "result\030\001 \001(\0132,.mavsdk.rpc.action_server." + "ActionServerResult\0220\n\003arm\030\002 \001(\0132#.mavsdk" + ".rpc.action_server.ArmDisarm\"\241\001\n\030FlightM" + "odeChangeResponse\022J\n\024action_server_resul" + "t\030\001 \001(\0132,.mavsdk.rpc.action_server.Actio" + "nServerResult\0229\n\013flight_mode\030\002 \001(\0162$.mav" + "sdk.rpc.action_server.FlightMode\"n\n\017Take" + "offResponse\022J\n\024action_server_result\030\001 \001(" + "\0132,.mavsdk.rpc.action_server.ActionServe" + "rResult\022\017\n\007takeoff\030\002 \001(\010\"h\n\014LandResponse" + "\022J\n\024action_server_result\030\001 \001(\0132,.mavsdk." + "rpc.action_server.ActionServerResult\022\014\n\004" + "land\030\002 \001(\010\"l\n\016RebootResponse\022J\n\024action_s" + "erver_result\030\001 \001(\0132,.mavsdk.rpc.action_s" + "erver.ActionServerResult\022\016\n\006reboot\030\002 \001(\010" + "\"p\n\020ShutdownResponse\022J\n\024action_server_re" + "sult\030\001 \001(\0132,.mavsdk.rpc.action_server.Ac" + "tionServerResult\022\020\n\010shutdown\030\002 \001(\010\"r\n\021Te" + "rminateResponse\022J\n\024action_server_result\030" + "\001 \001(\0132,.mavsdk.rpc.action_server.ActionS" + "erverResult\022\021\n\tterminate\030\002 \001(\010\"`\n\022SetArm" + "ableResponse\022J\n\024action_server_result\030\001 \001" + "(\0132,.mavsdk.rpc.action_server.ActionServ" + "erResult\"c\n\025SetDisarmableResponse\022J\n\024act" + "ion_server_result\030\001 \001(\0132,.mavsdk.rpc.act" + "ion_server.ActionServerResult\"m\n\037SetAllo" + "wableFlightModesResponse\022J\n\024action_serve" + "r_result\030\001 \001(\0132,.mavsdk.rpc.action_serve" + "r.ActionServerResult\"e\n\027SetAllowTakeoffR" + "esponse\022J\n\024action_server_result\030\001 \001(\0132,." + "mavsdk.rpc.action_server.ActionServerRes" + "ult\"g\n\037GetAllowableFlightModesResponse\022D" + "\n\014flight_modes\030\001 \001(\0132..mavsdk.rpc.action" + "_server.AllowableFlightModes\"b\n\024Allowabl" + "eFlightModes\022\025\n\rcan_auto_mode\030\001 \001(\010\022\027\n\017c" + "an_guided_mode\030\002 \001(\010\022\032\n\022can_stabilize_mo" + "de\030\003 \001(\010\"\'\n\tArmDisarm\022\013\n\003arm\030\001 \001(\010\022\r\n\005fo" + "rce\030\002 \001(\010\"\351\003\n\022ActionServerResult\022C\n\006resu" + "lt\030\001 \001(\01623.mavsdk.rpc.action_server.Acti" + "onServerResult.Result\022\022\n\nresult_str\030\002 \001(" + "\t\"\371\002\n\006Result\022\022\n\016RESULT_UNKNOWN\020\000\022\022\n\016RESU" + "LT_SUCCESS\020\001\022\024\n\020RESULT_NO_SYSTEM\020\002\022\033\n\027RE" + "SULT_CONNECTION_ERROR\020\003\022\017\n\013RESULT_BUSY\020\004" + "\022\031\n\025RESULT_COMMAND_DENIED\020\005\022.\n*RESULT_CO" + "MMAND_DENIED_LANDED_STATE_UNKNOWN\020\006\022$\n R" + "ESULT_COMMAND_DENIED_NOT_LANDED\020\007\022\022\n\016RES" + "ULT_TIMEOUT\020\010\022*\n&RESULT_VTOL_TRANSITION_" + "SUPPORT_UNKNOWN\020\t\022%\n!RESULT_NO_VTOL_TRAN" + "SITION_SUPPORT\020\n\022\032\n\026RESULT_PARAMETER_ERR" + "OR\020\013\022\017\n\013RESULT_NEXT\020\014*\353\002\n\nFlightMode\022\027\n\023" + "FLIGHT_MODE_UNKNOWN\020\000\022\025\n\021FLIGHT_MODE_REA" + "DY\020\001\022\027\n\023FLIGHT_MODE_TAKEOFF\020\002\022\024\n\020FLIGHT_" + "MODE_HOLD\020\003\022\027\n\023FLIGHT_MODE_MISSION\020\004\022 \n\034" + "FLIGHT_MODE_RETURN_TO_LAUNCH\020\005\022\024\n\020FLIGHT" + "_MODE_LAND\020\006\022\030\n\024FLIGHT_MODE_OFFBOARD\020\007\022\031" + "\n\025FLIGHT_MODE_FOLLOW_ME\020\010\022\026\n\022FLIGHT_MODE" + "_MANUAL\020\t\022\026\n\022FLIGHT_MODE_ALTCTL\020\n\022\026\n\022FLI" + "GHT_MODE_POSCTL\020\013\022\024\n\020FLIGHT_MODE_ACRO\020\014\022" + "\032\n\026FLIGHT_MODE_STABILIZED\020\r2\235\014\n\023ActionSe" + "rverService\022~\n\022SubscribeArmDisarm\0223.mavs" + "dk.rpc.action_server.SubscribeArmDisarmR" + "equest\032+.mavsdk.rpc.action_server.ArmDis" + "armResponse\"\004\200\265\030\0000\001\022\223\001\n\031SubscribeFlightM" + "odeChange\022:.mavsdk.rpc.action_server.Sub" + "scribeFlightModeChangeRequest\0322.mavsdk.r" + "pc.action_server.FlightModeChangeRespons" + "e\"\004\200\265\030\0000\001\022x\n\020SubscribeTakeoff\0221.mavsdk.r" + "pc.action_server.SubscribeTakeoffRequest" + "\032).mavsdk.rpc.action_server.TakeoffRespo" + "nse\"\004\200\265\030\0000\001\022o\n\rSubscribeLand\022..mavsdk.rp" + "c.action_server.SubscribeLandRequest\032&.m" + "avsdk.rpc.action_server.LandResponse\"\004\200\265" + "\030\0000\001\022u\n\017SubscribeReboot\0220.mavsdk.rpc.act" + "ion_server.SubscribeRebootRequest\032(.mavs" + "dk.rpc.action_server.RebootResponse\"\004\200\265\030" + "\0000\001\022{\n\021SubscribeShutdown\0222.mavsdk.rpc.ac" + "tion_server.SubscribeShutdownRequest\032*.m" + "avsdk.rpc.action_server.ShutdownResponse" + "\"\004\200\265\030\0000\001\022~\n\022SubscribeTerminate\0223.mavsdk." + "rpc.action_server.SubscribeTerminateRequ" + "est\032+.mavsdk.rpc.action_server.Terminate" + "Response\"\004\200\265\030\0000\001\022|\n\017SetAllowTakeoff\0220.ma" + "vsdk.rpc.action_server.SetAllowTakeoffRe" + "quest\0321.mavsdk.rpc.action_server.SetAllo" + "wTakeoffResponse\"\004\200\265\030\001\022m\n\nSetArmable\022+.m" + "avsdk.rpc.action_server.SetArmableReques" + "t\032,.mavsdk.rpc.action_server.SetArmableR" + "esponse\"\004\200\265\030\001\022v\n\rSetDisarmable\022..mavsdk." + "rpc.action_server.SetDisarmableRequest\032/" + ".mavsdk.rpc.action_server.SetDisarmableR" + "esponse\"\004\200\265\030\001\022\224\001\n\027SetAllowableFlightMode" + "s\0228.mavsdk.rpc.action_server.SetAllowabl" + "eFlightModesRequest\0329.mavsdk.rpc.action_" + "server.SetAllowableFlightModesResponse\"\004" + "\200\265\030\001\022\224\001\n\027GetAllowableFlightModes\0228.mavsd" + "k.rpc.action_server.GetAllowableFlightMo" + "desRequest\0329.mavsdk.rpc.action_server.Ge" + "tAllowableFlightModesResponse\"\004\200\265\030\001B,\n\027i" + "o.mavsdk.action_serverB\021ActionServerProt" + "ob\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_action_5fserver_2faction_5fserver_2eproto_deps[1] = + { &::descriptor_table_mavsdk_5foptions_2eproto, }; static ::absl::once_flag descriptor_table_action_5fserver_2faction_5fserver_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable - descriptor_table_action_5fserver_2faction_5fserver_2eproto = { - false, - false, - 4609, - descriptor_table_protodef_action_5fserver_2faction_5fserver_2eproto, - "action_server/action_server.proto", - &descriptor_table_action_5fserver_2faction_5fserver_2eproto_once, - descriptor_table_action_5fserver_2faction_5fserver_2eproto_deps, - 1, - 27, - schemas, - file_default_instances, - TableStruct_action_5fserver_2faction_5fserver_2eproto::offsets, - file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto, - file_level_service_descriptors_action_5fserver_2faction_5fserver_2eproto, +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_action_5fserver_2faction_5fserver_2eproto = { + false, + false, + 4609, + descriptor_table_protodef_action_5fserver_2faction_5fserver_2eproto, + "action_server/action_server.proto", + &descriptor_table_action_5fserver_2faction_5fserver_2eproto_once, + descriptor_table_action_5fserver_2faction_5fserver_2eproto_deps, + 1, + 27, + schemas, + file_default_instances, + TableStruct_action_5fserver_2faction_5fserver_2eproto::offsets, + file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto, + file_level_service_descriptors_action_5fserver_2faction_5fserver_2eproto, }; namespace mavsdk { namespace rpc { namespace action_server { -const ::google::protobuf::EnumDescriptor* ActionServerResult_Result_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors( - &descriptor_table_action_5fserver_2faction_5fserver_2eproto); - return file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto[0]; +const ::google::protobuf::EnumDescriptor* ActionServerResult_Result_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_action_5fserver_2faction_5fserver_2eproto); + return file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto[0]; } PROTOBUF_CONSTINIT const uint32_t ActionServerResult_Result_internal_data_[] = { - 851968u, - 0u, -}; -bool ActionServerResult_Result_IsValid(int value) -{ - return 0 <= value && value <= 12; + 851968u, 0u, }; +bool ActionServerResult_Result_IsValid(int value) { + return 0 <= value && value <= 12; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ActionServerResult_Result ActionServerResult::RESULT_UNKNOWN; constexpr ActionServerResult_Result ActionServerResult::RESULT_SUCCESS; @@ -1346,79 +1171,64 @@ constexpr ActionServerResult_Result ActionServerResult::Result_MIN; constexpr ActionServerResult_Result ActionServerResult::Result_MAX; constexpr int ActionServerResult::Result_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* FlightMode_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors( - &descriptor_table_action_5fserver_2faction_5fserver_2eproto); - return file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto[1]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* FlightMode_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_action_5fserver_2faction_5fserver_2eproto); + return file_level_enum_descriptors_action_5fserver_2faction_5fserver_2eproto[1]; } PROTOBUF_CONSTINIT const uint32_t FlightMode_internal_data_[] = { - 917504u, - 0u, -}; -bool FlightMode_IsValid(int value) -{ - return 0 <= value && value <= 13; + 917504u, 0u, }; +bool FlightMode_IsValid(int value) { + return 0 <= value && value <= 13; } // =================================================================== class SetAllowTakeoffRequest::_Internal { -public: + public: }; SetAllowTakeoffRequest::SetAllowTakeoffRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowTakeoffRequest) } SetAllowTakeoffRequest::SetAllowTakeoffRequest( - ::google::protobuf::Arena* arena, const SetAllowTakeoffRequest& from) : - SetAllowTakeoffRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetAllowTakeoffRequest& from) + : SetAllowTakeoffRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetAllowTakeoffRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetAllowTakeoffRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.allow_takeoff_ = {}; -} -SetAllowTakeoffRequest::~SetAllowTakeoffRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowTakeoffRequest) - SharedDtor(*this); -} -inline void SetAllowTakeoffRequest::SharedDtor(MessageLite& self) -{ - SetAllowTakeoffRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -SetAllowTakeoffRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetAllowTakeoffRequest(arena); -} -constexpr auto SetAllowTakeoffRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetAllowTakeoffRequest), alignof(SetAllowTakeoffRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetAllowTakeoffRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.allow_takeoff_ = {}; +} +SetAllowTakeoffRequest::~SetAllowTakeoffRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + SharedDtor(*this); +} +inline void SetAllowTakeoffRequest::SharedDtor(MessageLite& self) { + SetAllowTakeoffRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* SetAllowTakeoffRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetAllowTakeoffRequest(arena); +} +constexpr auto SetAllowTakeoffRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetAllowTakeoffRequest), + alignof(SetAllowTakeoffRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1426,238 +1236,210 @@ const ::google::protobuf::internal::ClassDataFull SetAllowTakeoffRequest::_class ::google::protobuf::internal::ClassData{ &_SetAllowTakeoffRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetAllowTakeoffRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetAllowTakeoffRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetAllowTakeoffRequest::ByteSizeLong, - &SetAllowTakeoffRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetAllowTakeoffRequest::ByteSizeLong, + &SetAllowTakeoffRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetAllowTakeoffRequest, _impl_._cached_size_), false, }, &SetAllowTakeoffRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetAllowTakeoffRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - SetAllowTakeoffRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetAllowTakeoffRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool allow_takeoff = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(SetAllowTakeoffRequest, _impl_.allow_takeoff_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetAllowTakeoffRequest, _impl_.allow_takeoff_)}}, - }}, - {{65535, 65535}}, - {{ - // bool allow_takeoff = 1; - {PROTOBUF_FIELD_OFFSET(SetAllowTakeoffRequest, _impl_.allow_takeoff_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetAllowTakeoffRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.allow_takeoff_ = false; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetAllowTakeoffRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetAllowTakeoffRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetAllowTakeoffRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetAllowTakeoffRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* SetAllowTakeoffRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SetAllowTakeoffRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetAllowTakeoffRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // bool allow_takeoff = 1; - if (this_._internal_allow_takeoff() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_allow_takeoff(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetAllowTakeoffRequest, _impl_.allow_takeoff_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool allow_takeoff = 1; + {PROTOBUF_FIELD_OFFSET(SetAllowTakeoffRequest, _impl_.allow_takeoff_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowTakeoffRequest) - return target; -} +PROTOBUF_NOINLINE void SetAllowTakeoffRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.allow_takeoff_ = false; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetAllowTakeoffRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetAllowTakeoffRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetAllowTakeoffRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetAllowTakeoffRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool allow_takeoff = 1; + if (this_._internal_allow_takeoff() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_allow_takeoff(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetAllowTakeoffRequest::ByteSizeLong(const MessageLite& base) -{ - const SetAllowTakeoffRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetAllowTakeoffRequest::ByteSizeLong() const -{ - const SetAllowTakeoffRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) - ::size_t total_size = 0; + ::size_t SetAllowTakeoffRequest::ByteSizeLong(const MessageLite& base) { + const SetAllowTakeoffRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetAllowTakeoffRequest::ByteSizeLong() const { + const SetAllowTakeoffRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // bool allow_takeoff = 1; - if (this_._internal_allow_takeoff() != 0) { - total_size += 2; + { + // bool allow_takeoff = 1; + if (this_._internal_allow_takeoff() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetAllowTakeoffRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetAllowTakeoffRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_allow_takeoff() != 0) { - _this->_impl_.allow_takeoff_ = from._impl_.allow_takeoff_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_allow_takeoff() != 0) { + _this->_impl_.allow_takeoff_ = from._impl_.allow_takeoff_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetAllowTakeoffRequest::CopyFrom(const SetAllowTakeoffRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetAllowTakeoffRequest::CopyFrom(const SetAllowTakeoffRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetAllowTakeoffRequest::InternalSwap(SetAllowTakeoffRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.allow_takeoff_, other->_impl_.allow_takeoff_); + +void SetAllowTakeoffRequest::InternalSwap(SetAllowTakeoffRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.allow_takeoff_, other->_impl_.allow_takeoff_); } -::google::protobuf::Metadata SetAllowTakeoffRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetAllowTakeoffRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetArmableRequest::_Internal { -public: + public: }; SetArmableRequest::SetArmableRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetArmableRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetArmableRequest) } SetArmableRequest::SetArmableRequest( - ::google::protobuf::Arena* arena, const SetArmableRequest& from) : - SetArmableRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetArmableRequest& from) + : SetArmableRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetArmableRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetArmableRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, armable_), - 0, - offsetof(Impl_, force_armable_) - offsetof(Impl_, armable_) + - sizeof(Impl_::force_armable_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetArmableRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, armable_), + 0, + offsetof(Impl_, force_armable_) - + offsetof(Impl_, armable_) + + sizeof(Impl_::force_armable_)); } -SetArmableRequest::~SetArmableRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetArmableRequest) - SharedDtor(*this); +SetArmableRequest::~SetArmableRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetArmableRequest) + SharedDtor(*this); } -inline void SetArmableRequest::SharedDtor(MessageLite& self) -{ - SetArmableRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void SetArmableRequest::SharedDtor(MessageLite& self) { + SetArmableRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* -SetArmableRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetArmableRequest(arena); +inline void* SetArmableRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetArmableRequest(arena); } -constexpr auto SetArmableRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetArmableRequest), alignof(SetArmableRequest)); +constexpr auto SetArmableRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetArmableRequest), + alignof(SetArmableRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1665,272 +1447,238 @@ const ::google::protobuf::internal::ClassDataFull SetArmableRequest::_class_data ::google::protobuf::internal::ClassData{ &_SetArmableRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetArmableRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetArmableRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetArmableRequest::ByteSizeLong, - &SetArmableRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetArmableRequest::ByteSizeLong, + &SetArmableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_._cached_size_), false, }, &SetArmableRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetArmableRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 0, 2> - SetArmableRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetArmableRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool force_armable = 2; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(SetArmableRequest, _impl_.force_armable_), - 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.force_armable_)}}, - // bool armable = 1; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.armable_)}}, - }}, - {{65535, 65535}}, - {{ - // bool armable = 1; - {PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.armable_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool force_armable = 2; - {PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.force_armable_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetArmableRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetArmableRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.armable_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.force_armable_) - - reinterpret_cast(&_impl_.armable_)) + - sizeof(_impl_.force_armable_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetArmableRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetArmableRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetArmableRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetArmableRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetArmableRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* SetArmableRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> SetArmableRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetArmableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool force_armable = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.force_armable_)}}, // bool armable = 1; - if (this_._internal_armable() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_armable(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.armable_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool armable = 1; + {PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.armable_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool force_armable = 2; - if (this_._internal_force_armable() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_force_armable(), target); - } + {PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.force_armable_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetArmableRequest) - return target; -} +PROTOBUF_NOINLINE void SetArmableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetArmableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.armable_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.force_armable_) - + reinterpret_cast(&_impl_.armable_)) + sizeof(_impl_.force_armable_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetArmableRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetArmableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetArmableRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetArmableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetArmableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool armable = 1; + if (this_._internal_armable() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_armable(), target); + } + + // bool force_armable = 2; + if (this_._internal_force_armable() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_force_armable(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetArmableRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetArmableRequest::ByteSizeLong(const MessageLite& base) -{ - const SetArmableRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetArmableRequest::ByteSizeLong() const -{ - const SetArmableRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetArmableRequest) - ::size_t total_size = 0; + ::size_t SetArmableRequest::ByteSizeLong(const MessageLite& base) { + const SetArmableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetArmableRequest::ByteSizeLong() const { + const SetArmableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetArmableRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // bool armable = 1; - if (this_._internal_armable() != 0) { - total_size += 2; - } - // bool force_armable = 2; - if (this_._internal_force_armable() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // bool armable = 1; + if (this_._internal_armable() != 0) { + total_size += 2; + } + // bool force_armable = 2; + if (this_._internal_force_armable() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetArmableRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetArmableRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetArmableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetArmableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_armable() != 0) { - _this->_impl_.armable_ = from._impl_.armable_; - } - if (from._internal_force_armable() != 0) { - _this->_impl_.force_armable_ = from._impl_.force_armable_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_armable() != 0) { + _this->_impl_.armable_ = from._impl_.armable_; + } + if (from._internal_force_armable() != 0) { + _this->_impl_.force_armable_ = from._impl_.force_armable_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetArmableRequest::CopyFrom(const SetArmableRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetArmableRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetArmableRequest::CopyFrom(const SetArmableRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetArmableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetArmableRequest::InternalSwap(SetArmableRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.force_armable_) + - sizeof(SetArmableRequest::_impl_.force_armable_) - - PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.armable_)>( - reinterpret_cast(&_impl_.armable_), - reinterpret_cast(&other->_impl_.armable_)); + +void SetArmableRequest::InternalSwap(SetArmableRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.force_armable_) + + sizeof(SetArmableRequest::_impl_.force_armable_) + - PROTOBUF_FIELD_OFFSET(SetArmableRequest, _impl_.armable_)>( + reinterpret_cast(&_impl_.armable_), + reinterpret_cast(&other->_impl_.armable_)); } -::google::protobuf::Metadata SetArmableRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetArmableRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetDisarmableRequest::_Internal { -public: + public: }; SetDisarmableRequest::SetDisarmableRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetDisarmableRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetDisarmableRequest) } SetDisarmableRequest::SetDisarmableRequest( - ::google::protobuf::Arena* arena, const SetDisarmableRequest& from) : - SetDisarmableRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SetDisarmableRequest& from) + : SetDisarmableRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetDisarmableRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetDisarmableRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, disarmable_), - 0, - offsetof(Impl_, force_disarmable_) - offsetof(Impl_, disarmable_) + - sizeof(Impl_::force_disarmable_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetDisarmableRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, disarmable_), + 0, + offsetof(Impl_, force_disarmable_) - + offsetof(Impl_, disarmable_) + + sizeof(Impl_::force_disarmable_)); } -SetDisarmableRequest::~SetDisarmableRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetDisarmableRequest) - SharedDtor(*this); +SetDisarmableRequest::~SetDisarmableRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetDisarmableRequest) + SharedDtor(*this); } -inline void SetDisarmableRequest::SharedDtor(MessageLite& self) -{ - SetDisarmableRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void SetDisarmableRequest::SharedDtor(MessageLite& self) { + SetDisarmableRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* -SetDisarmableRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetDisarmableRequest(arena); +inline void* SetDisarmableRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetDisarmableRequest(arena); } -constexpr auto SetDisarmableRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetDisarmableRequest), alignof(SetDisarmableRequest)); +constexpr auto SetDisarmableRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetDisarmableRequest), + alignof(SetDisarmableRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1938,301 +1686,259 @@ const ::google::protobuf::internal::ClassDataFull SetDisarmableRequest::_class_d ::google::protobuf::internal::ClassData{ &_SetDisarmableRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetDisarmableRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetDisarmableRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetDisarmableRequest::ByteSizeLong, - &SetDisarmableRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetDisarmableRequest::ByteSizeLong, + &SetDisarmableRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_._cached_size_), false, }, &SetDisarmableRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetDisarmableRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 0, 2> - SetDisarmableRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetDisarmableRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool force_disarmable = 2; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(SetDisarmableRequest, _impl_.force_disarmable_), - 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.force_disarmable_)}}, - // bool disarmable = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(SetDisarmableRequest, _impl_.disarmable_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.disarmable_)}}, - }}, - {{65535, 65535}}, - {{ - // bool disarmable = 1; - {PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.disarmable_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool force_disarmable = 2; - {PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.force_disarmable_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetDisarmableRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetDisarmableRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.disarmable_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.force_disarmable_) - - reinterpret_cast(&_impl_.disarmable_)) + - sizeof(_impl_.force_disarmable_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetDisarmableRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetDisarmableRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetDisarmableRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetDisarmableRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetDisarmableRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* SetDisarmableRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> SetDisarmableRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetDisarmableRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool force_disarmable = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.force_disarmable_)}}, // bool disarmable = 1; - if (this_._internal_disarmable() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_disarmable(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.disarmable_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool disarmable = 1; + {PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.disarmable_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool force_disarmable = 2; - if (this_._internal_force_disarmable() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_force_disarmable(), target); - } + {PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.force_disarmable_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetDisarmableRequest) - return target; -} +PROTOBUF_NOINLINE void SetDisarmableRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetDisarmableRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.disarmable_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.force_disarmable_) - + reinterpret_cast(&_impl_.disarmable_)) + sizeof(_impl_.force_disarmable_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetDisarmableRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetDisarmableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetDisarmableRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetDisarmableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetDisarmableRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool disarmable = 1; + if (this_._internal_disarmable() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_disarmable(), target); + } + + // bool force_disarmable = 2; + if (this_._internal_force_disarmable() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_force_disarmable(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetDisarmableRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetDisarmableRequest::ByteSizeLong(const MessageLite& base) -{ - const SetDisarmableRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetDisarmableRequest::ByteSizeLong() const -{ - const SetDisarmableRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetDisarmableRequest) - ::size_t total_size = 0; + ::size_t SetDisarmableRequest::ByteSizeLong(const MessageLite& base) { + const SetDisarmableRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetDisarmableRequest::ByteSizeLong() const { + const SetDisarmableRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetDisarmableRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // bool disarmable = 1; - if (this_._internal_disarmable() != 0) { - total_size += 2; - } - // bool force_disarmable = 2; - if (this_._internal_force_disarmable() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // bool disarmable = 1; + if (this_._internal_disarmable() != 0) { + total_size += 2; + } + // bool force_disarmable = 2; + if (this_._internal_force_disarmable() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetDisarmableRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetDisarmableRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetDisarmableRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetDisarmableRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_disarmable() != 0) { - _this->_impl_.disarmable_ = from._impl_.disarmable_; - } - if (from._internal_force_disarmable() != 0) { - _this->_impl_.force_disarmable_ = from._impl_.force_disarmable_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_disarmable() != 0) { + _this->_impl_.disarmable_ = from._impl_.disarmable_; + } + if (from._internal_force_disarmable() != 0) { + _this->_impl_.force_disarmable_ = from._impl_.force_disarmable_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetDisarmableRequest::CopyFrom(const SetDisarmableRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetDisarmableRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetDisarmableRequest::CopyFrom(const SetDisarmableRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetDisarmableRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetDisarmableRequest::InternalSwap(SetDisarmableRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.force_disarmable_) + - sizeof(SetDisarmableRequest::_impl_.force_disarmable_) - - PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.disarmable_)>( - reinterpret_cast(&_impl_.disarmable_), - reinterpret_cast(&other->_impl_.disarmable_)); + +void SetDisarmableRequest::InternalSwap(SetDisarmableRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.force_disarmable_) + + sizeof(SetDisarmableRequest::_impl_.force_disarmable_) + - PROTOBUF_FIELD_OFFSET(SetDisarmableRequest, _impl_.disarmable_)>( + reinterpret_cast(&_impl_.disarmable_), + reinterpret_cast(&other->_impl_.disarmable_)); } -::google::protobuf::Metadata SetDisarmableRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetDisarmableRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetAllowableFlightModesRequest::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_._has_bits_); }; SetAllowableFlightModesRequest::SetAllowableFlightModesRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) } inline PROTOBUF_NDEBUG_INLINE SetAllowableFlightModesRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::SetAllowableFlightModesRequest& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::SetAllowableFlightModesRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetAllowableFlightModesRequest::SetAllowableFlightModesRequest( - ::google::protobuf::Arena* arena, const SetAllowableFlightModesRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetAllowableFlightModesRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.flight_modes_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::AllowableFlightModes>( - arena, *from._impl_.flight_modes_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + ::google::protobuf::Arena* arena, + const SetAllowableFlightModesRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetAllowableFlightModesRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.flight_modes_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::AllowableFlightModes>( + arena, *from._impl_.flight_modes_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) } inline PROTOBUF_NDEBUG_INLINE SetAllowableFlightModesRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetAllowableFlightModesRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.flight_modes_ = {}; -} -SetAllowableFlightModesRequest::~SetAllowableFlightModesRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - SharedDtor(*this); -} -inline void SetAllowableFlightModesRequest::SharedDtor(MessageLite& self) -{ - SetAllowableFlightModesRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.flight_modes_; - this_._impl_.~Impl_(); -} - -inline void* SetAllowableFlightModesRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetAllowableFlightModesRequest(arena); -} -constexpr auto SetAllowableFlightModesRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetAllowableFlightModesRequest), alignof(SetAllowableFlightModesRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetAllowableFlightModesRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.flight_modes_ = {}; +} +SetAllowableFlightModesRequest::~SetAllowableFlightModesRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + SharedDtor(*this); +} +inline void SetAllowableFlightModesRequest::SharedDtor(MessageLite& self) { + SetAllowableFlightModesRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.flight_modes_; + this_._impl_.~Impl_(); +} + +inline void* SetAllowableFlightModesRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetAllowableFlightModesRequest(arena); +} +constexpr auto SetAllowableFlightModesRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetAllowableFlightModesRequest), + alignof(SetAllowableFlightModesRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2240,249 +1946,213 @@ const ::google::protobuf::internal::ClassDataFull SetAllowableFlightModesRequest ::google::protobuf::internal::ClassData{ &_SetAllowableFlightModesRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetAllowableFlightModesRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetAllowableFlightModesRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetAllowableFlightModesRequest::ByteSizeLong, - &SetAllowableFlightModesRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetAllowableFlightModesRequest::ByteSizeLong, + &SetAllowableFlightModesRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_._cached_size_), false, }, &SetAllowableFlightModesRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetAllowableFlightModesRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetAllowableFlightModesRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetAllowableFlightModesRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_.flight_modes_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - {PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_.flight_modes_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::AllowableFlightModes>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetAllowableFlightModesRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.flight_modes_ != nullptr); - _impl_.flight_modes_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetAllowableFlightModesRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetAllowableFlightModesRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetAllowableFlightModesRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetAllowableFlightModesRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* SetAllowableFlightModesRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetAllowableFlightModesRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetAllowableFlightModesRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.flight_modes_, - this_._impl_.flight_modes_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_.flight_modes_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + {PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesRequest, _impl_.flight_modes_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::AllowableFlightModes>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - return target; -} +PROTOBUF_NOINLINE void SetAllowableFlightModesRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.flight_modes_ != nullptr); + _impl_.flight_modes_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetAllowableFlightModesRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetAllowableFlightModesRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetAllowableFlightModesRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetAllowableFlightModesRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.flight_modes_, this_._impl_.flight_modes_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetAllowableFlightModesRequest::ByteSizeLong(const MessageLite& base) -{ - const SetAllowableFlightModesRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetAllowableFlightModesRequest::ByteSizeLong() const -{ - const SetAllowableFlightModesRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - ::size_t total_size = 0; + ::size_t SetAllowableFlightModesRequest::ByteSizeLong(const MessageLite& base) { + const SetAllowableFlightModesRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetAllowableFlightModesRequest::ByteSizeLong() const { + const SetAllowableFlightModesRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.flight_modes_); + { + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.flight_modes_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetAllowableFlightModesRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.flight_modes_ != nullptr); - if (_this->_impl_.flight_modes_ == nullptr) { - _this->_impl_.flight_modes_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::AllowableFlightModes>( - arena, *from._impl_.flight_modes_); - } else { - _this->_impl_.flight_modes_->MergeFrom(*from._impl_.flight_modes_); - } +void SetAllowableFlightModesRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.flight_modes_ != nullptr); + if (_this->_impl_.flight_modes_ == nullptr) { + _this->_impl_.flight_modes_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::AllowableFlightModes>(arena, *from._impl_.flight_modes_); + } else { + _this->_impl_.flight_modes_->MergeFrom(*from._impl_.flight_modes_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetAllowableFlightModesRequest::CopyFrom(const SetAllowableFlightModesRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetAllowableFlightModesRequest::CopyFrom(const SetAllowableFlightModesRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetAllowableFlightModesRequest::InternalSwap( - SetAllowableFlightModesRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.flight_modes_, other->_impl_.flight_modes_); + +void SetAllowableFlightModesRequest::InternalSwap(SetAllowableFlightModesRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.flight_modes_, other->_impl_.flight_modes_); } -::google::protobuf::Metadata SetAllowableFlightModesRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetAllowableFlightModesRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetAllowableFlightModesRequest::_Internal { -public: + public: }; GetAllowableFlightModesRequest::GetAllowableFlightModesRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) } GetAllowableFlightModesRequest::GetAllowableFlightModesRequest( - ::google::protobuf::Arena* arena, const GetAllowableFlightModesRequest& from) + ::google::protobuf::Arena* arena, + const GetAllowableFlightModesRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetAllowableFlightModesRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetAllowableFlightModesRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) } -inline void* GetAllowableFlightModesRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetAllowableFlightModesRequest(arena); +inline void* GetAllowableFlightModesRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetAllowableFlightModesRequest(arena); } -constexpr auto GetAllowableFlightModesRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetAllowableFlightModesRequest), alignof(GetAllowableFlightModesRequest)); +constexpr auto GetAllowableFlightModesRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetAllowableFlightModesRequest), + alignof(GetAllowableFlightModesRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2490,108 +2160,102 @@ const ::google::protobuf::internal::ClassDataFull GetAllowableFlightModesRequest ::google::protobuf::internal::ClassData{ &_GetAllowableFlightModesRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetAllowableFlightModesRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetAllowableFlightModesRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - GetAllowableFlightModesRequest>(), - &GetAllowableFlightModesRequest::ByteSizeLong, - &GetAllowableFlightModesRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetAllowableFlightModesRequest::ByteSizeLong, + &GetAllowableFlightModesRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesRequest, _impl_._cached_size_), false, }, &GetAllowableFlightModesRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetAllowableFlightModesRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetAllowableFlightModesRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::GetAllowableFlightModesRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* GetAllowableFlightModesRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - GetAllowableFlightModesRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::GetAllowableFlightModesRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata GetAllowableFlightModesRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata GetAllowableFlightModesRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeArmDisarmRequest::_Internal { -public: + public: }; SubscribeArmDisarmRequest::SubscribeArmDisarmRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) } SubscribeArmDisarmRequest::SubscribeArmDisarmRequest( - ::google::protobuf::Arena* arena, const SubscribeArmDisarmRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeArmDisarmRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeArmDisarmRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeArmDisarmRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) } -inline void* -SubscribeArmDisarmRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeArmDisarmRequest(arena); +inline void* SubscribeArmDisarmRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeArmDisarmRequest(arena); } -constexpr auto SubscribeArmDisarmRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeArmDisarmRequest), alignof(SubscribeArmDisarmRequest)); +constexpr auto SubscribeArmDisarmRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeArmDisarmRequest), + alignof(SubscribeArmDisarmRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2599,107 +2263,102 @@ const ::google::protobuf::internal::ClassDataFull SubscribeArmDisarmRequest::_cl ::google::protobuf::internal::ClassData{ &_SubscribeArmDisarmRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeArmDisarmRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeArmDisarmRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeArmDisarmRequest::ByteSizeLong, - &SubscribeArmDisarmRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeArmDisarmRequest::ByteSizeLong, + &SubscribeArmDisarmRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeArmDisarmRequest, _impl_._cached_size_), false, }, &SubscribeArmDisarmRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeArmDisarmRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeArmDisarmRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SubscribeArmDisarmRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* SubscribeArmDisarmRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeArmDisarmRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SubscribeArmDisarmRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeArmDisarmRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeArmDisarmRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeFlightModeChangeRequest::_Internal { -public: + public: }; SubscribeFlightModeChangeRequest::SubscribeFlightModeChangeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) } SubscribeFlightModeChangeRequest::SubscribeFlightModeChangeRequest( - ::google::protobuf::Arena* arena, const SubscribeFlightModeChangeRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeFlightModeChangeRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeFlightModeChangeRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeFlightModeChangeRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) } -inline void* SubscribeFlightModeChangeRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeFlightModeChangeRequest(arena); +inline void* SubscribeFlightModeChangeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeFlightModeChangeRequest(arena); } -constexpr auto SubscribeFlightModeChangeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeFlightModeChangeRequest), alignof(SubscribeFlightModeChangeRequest)); +constexpr auto SubscribeFlightModeChangeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeFlightModeChangeRequest), + alignof(SubscribeFlightModeChangeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2707,110 +2366,102 @@ const ::google::protobuf::internal::ClassDataFull SubscribeFlightModeChangeReque ::google::protobuf::internal::ClassData{ &_SubscribeFlightModeChangeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeFlightModeChangeRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - SubscribeFlightModeChangeRequest>(), + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeFlightModeChangeRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeFlightModeChangeRequest>(), - &SubscribeFlightModeChangeRequest::ByteSizeLong, - &SubscribeFlightModeChangeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeFlightModeChangeRequest::ByteSizeLong, + &SubscribeFlightModeChangeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeFlightModeChangeRequest, _impl_._cached_size_), false, }, &SubscribeFlightModeChangeRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeFlightModeChangeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeFlightModeChangeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SubscribeFlightModeChangeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* -SubscribeFlightModeChangeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeFlightModeChangeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SubscribeFlightModeChangeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeFlightModeChangeRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeFlightModeChangeRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeTakeoffRequest::_Internal { -public: + public: }; SubscribeTakeoffRequest::SubscribeTakeoffRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeTakeoffRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeTakeoffRequest) } SubscribeTakeoffRequest::SubscribeTakeoffRequest( - ::google::protobuf::Arena* arena, const SubscribeTakeoffRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeTakeoffRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeTakeoffRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeTakeoffRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeTakeoffRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeTakeoffRequest) } -inline void* -SubscribeTakeoffRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeTakeoffRequest(arena); +inline void* SubscribeTakeoffRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeTakeoffRequest(arena); } -constexpr auto SubscribeTakeoffRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeTakeoffRequest), alignof(SubscribeTakeoffRequest)); +constexpr auto SubscribeTakeoffRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeTakeoffRequest), + alignof(SubscribeTakeoffRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2818,107 +2469,102 @@ const ::google::protobuf::internal::ClassDataFull SubscribeTakeoffRequest::_clas ::google::protobuf::internal::ClassData{ &_SubscribeTakeoffRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeTakeoffRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeTakeoffRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeTakeoffRequest::ByteSizeLong, - &SubscribeTakeoffRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeTakeoffRequest::ByteSizeLong, + &SubscribeTakeoffRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeTakeoffRequest, _impl_._cached_size_), false, }, &SubscribeTakeoffRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeTakeoffRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeTakeoffRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SubscribeTakeoffRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* SubscribeTakeoffRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeTakeoffRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SubscribeTakeoffRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeTakeoffRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeTakeoffRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeLandRequest::_Internal { -public: + public: }; SubscribeLandRequest::SubscribeLandRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeLandRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeLandRequest) } SubscribeLandRequest::SubscribeLandRequest( - ::google::protobuf::Arena* arena, const SubscribeLandRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeLandRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeLandRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeLandRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeLandRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeLandRequest) } -inline void* -SubscribeLandRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeLandRequest(arena); +inline void* SubscribeLandRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeLandRequest(arena); } -constexpr auto SubscribeLandRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeLandRequest), alignof(SubscribeLandRequest)); +constexpr auto SubscribeLandRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeLandRequest), + alignof(SubscribeLandRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2926,107 +2572,102 @@ const ::google::protobuf::internal::ClassDataFull SubscribeLandRequest::_class_d ::google::protobuf::internal::ClassData{ &_SubscribeLandRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeLandRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeLandRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeLandRequest::ByteSizeLong, - &SubscribeLandRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeLandRequest::ByteSizeLong, + &SubscribeLandRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeLandRequest, _impl_._cached_size_), false, }, &SubscribeLandRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeLandRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeLandRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SubscribeLandRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* SubscribeLandRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeLandRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SubscribeLandRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeLandRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeLandRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeRebootRequest::_Internal { -public: + public: }; SubscribeRebootRequest::SubscribeRebootRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeRebootRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeRebootRequest) } SubscribeRebootRequest::SubscribeRebootRequest( - ::google::protobuf::Arena* arena, const SubscribeRebootRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeRebootRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeRebootRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeRebootRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeRebootRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeRebootRequest) } -inline void* -SubscribeRebootRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeRebootRequest(arena); +inline void* SubscribeRebootRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeRebootRequest(arena); } -constexpr auto SubscribeRebootRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeRebootRequest), alignof(SubscribeRebootRequest)); +constexpr auto SubscribeRebootRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeRebootRequest), + alignof(SubscribeRebootRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3034,107 +2675,102 @@ const ::google::protobuf::internal::ClassDataFull SubscribeRebootRequest::_class ::google::protobuf::internal::ClassData{ &_SubscribeRebootRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeRebootRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeRebootRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeRebootRequest::ByteSizeLong, - &SubscribeRebootRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeRebootRequest::ByteSizeLong, + &SubscribeRebootRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeRebootRequest, _impl_._cached_size_), false, }, &SubscribeRebootRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeRebootRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeRebootRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SubscribeRebootRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* SubscribeRebootRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeRebootRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SubscribeRebootRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeRebootRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeRebootRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeShutdownRequest::_Internal { -public: + public: }; SubscribeShutdownRequest::SubscribeShutdownRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeShutdownRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeShutdownRequest) } SubscribeShutdownRequest::SubscribeShutdownRequest( - ::google::protobuf::Arena* arena, const SubscribeShutdownRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeShutdownRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeShutdownRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeShutdownRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeShutdownRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeShutdownRequest) } -inline void* -SubscribeShutdownRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeShutdownRequest(arena); +inline void* SubscribeShutdownRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeShutdownRequest(arena); } -constexpr auto SubscribeShutdownRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeShutdownRequest), alignof(SubscribeShutdownRequest)); +constexpr auto SubscribeShutdownRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeShutdownRequest), + alignof(SubscribeShutdownRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3142,107 +2778,102 @@ const ::google::protobuf::internal::ClassDataFull SubscribeShutdownRequest::_cla ::google::protobuf::internal::ClassData{ &_SubscribeShutdownRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeShutdownRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeShutdownRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeShutdownRequest::ByteSizeLong, - &SubscribeShutdownRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeShutdownRequest::ByteSizeLong, + &SubscribeShutdownRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeShutdownRequest, _impl_._cached_size_), false, }, &SubscribeShutdownRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeShutdownRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeShutdownRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SubscribeShutdownRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* SubscribeShutdownRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeShutdownRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SubscribeShutdownRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeShutdownRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeShutdownRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeTerminateRequest::_Internal { -public: + public: }; SubscribeTerminateRequest::SubscribeTerminateRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeTerminateRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SubscribeTerminateRequest) } SubscribeTerminateRequest::SubscribeTerminateRequest( - ::google::protobuf::Arena* arena, const SubscribeTerminateRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeTerminateRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeTerminateRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeTerminateRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeTerminateRequest) + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SubscribeTerminateRequest) } -inline void* -SubscribeTerminateRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeTerminateRequest(arena); +inline void* SubscribeTerminateRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeTerminateRequest(arena); } -constexpr auto SubscribeTerminateRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeTerminateRequest), alignof(SubscribeTerminateRequest)); +constexpr auto SubscribeTerminateRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeTerminateRequest), + alignof(SubscribeTerminateRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3250,159 +2881,147 @@ const ::google::protobuf::internal::ClassDataFull SubscribeTerminateRequest::_cl ::google::protobuf::internal::ClassData{ &_SubscribeTerminateRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeTerminateRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeTerminateRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeTerminateRequest::ByteSizeLong, - &SubscribeTerminateRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeTerminateRequest::ByteSizeLong, + &SubscribeTerminateRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeTerminateRequest, _impl_._cached_size_), false, }, &SubscribeTerminateRequest::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeTerminateRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeTerminateRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SubscribeTerminateRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* SubscribeTerminateRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeTerminateRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SubscribeTerminateRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeTerminateRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeTerminateRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ArmDisarmResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_._has_bits_); }; ArmDisarmResponse::ArmDisarmResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ArmDisarmResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ArmDisarmResponse) } inline PROTOBUF_NDEBUG_INLINE ArmDisarmResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::ArmDisarmResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::ArmDisarmResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} ArmDisarmResponse::ArmDisarmResponse( - ::google::protobuf::Arena* arena, const ArmDisarmResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ArmDisarmResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - _impl_.arm_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ArmDisarm>( - arena, *from._impl_.arm_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.ArmDisarmResponse) + ::google::protobuf::Arena* arena, + const ArmDisarmResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ArmDisarmResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + _impl_.arm_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ArmDisarm>( + arena, *from._impl_.arm_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.ArmDisarmResponse) } inline PROTOBUF_NDEBUG_INLINE ArmDisarmResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ArmDisarmResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_server_result_), - 0, - offsetof(Impl_, arm_) - offsetof(Impl_, action_server_result_) + sizeof(Impl_::arm_)); -} -ArmDisarmResponse::~ArmDisarmResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ArmDisarmResponse) - SharedDtor(*this); -} -inline void ArmDisarmResponse::SharedDtor(MessageLite& self) -{ - ArmDisarmResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - delete this_._impl_.arm_; - this_._impl_.~Impl_(); -} - -inline void* -ArmDisarmResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmDisarmResponse(arena); -} -constexpr auto ArmDisarmResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ArmDisarmResponse), alignof(ArmDisarmResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ArmDisarmResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_server_result_), + 0, + offsetof(Impl_, arm_) - + offsetof(Impl_, action_server_result_) + + sizeof(Impl_::arm_)); +} +ArmDisarmResponse::~ArmDisarmResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ArmDisarmResponse) + SharedDtor(*this); +} +inline void ArmDisarmResponse::SharedDtor(MessageLite& self) { + ArmDisarmResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + delete this_._impl_.arm_; + this_._impl_.~Impl_(); +} + +inline void* ArmDisarmResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmDisarmResponse(arena); +} +constexpr auto ArmDisarmResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ArmDisarmResponse), + alignof(ArmDisarmResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3410,334 +3029,297 @@ const ::google::protobuf::internal::ClassDataFull ArmDisarmResponse::_class_data ::google::protobuf::internal::ClassData{ &_ArmDisarmResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmDisarmResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmDisarmResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ArmDisarmResponse::ByteSizeLong, - &ArmDisarmResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ArmDisarmResponse::ByteSizeLong, + &ArmDisarmResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_._cached_size_), false, }, &ArmDisarmResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* ArmDisarmResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - ArmDisarmResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::ArmDisarmResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.ArmDisarm arm = 2; - {::_pbi::TcParser::FastMtS1, - {18, 1, 1, PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.arm_)}}, - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.action_server.ArmDisarm arm = 2; - {PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.arm_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ArmDisarm>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ArmDisarmResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ArmDisarmResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.arm_ != nullptr); - _impl_.arm_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ArmDisarmResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ArmDisarmResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ArmDisarmResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ArmDisarmResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ArmDisarmResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* ArmDisarmResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> ArmDisarmResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ArmDisarmResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.action_server.ArmDisarm arm = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.arm_)}}, // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.action_server.ArmDisarm arm = 2; + {PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.arm_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ArmDisarm>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ArmDisarmResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ArmDisarmResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); } - - // .mavsdk.rpc.action_server.ArmDisarm arm = 2; if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.arm_, this_._impl_.arm_->GetCachedSize(), target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); + ABSL_DCHECK(_impl_.arm_ != nullptr); + _impl_.arm_->Clear(); } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ArmDisarmResponse) - return target; -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ArmDisarmResponse::ByteSizeLong(const MessageLite& base) -{ - const ArmDisarmResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ArmDisarmResponse::ByteSizeLong() const -{ - const ArmDisarmResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ArmDisarmResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); - } - // .mavsdk.rpc.action_server.ArmDisarm arm = 2; - if (cached_has_bits & 0x00000002u) { - total_size += - 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.arm_); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ArmDisarmResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ArmDisarmResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ArmDisarmResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ArmDisarmResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ArmDisarmResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.action_server.ArmDisarm arm = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.arm_, this_._impl_.arm_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ArmDisarmResponse) + return target; } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ArmDisarmResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ArmDisarmResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.arm_ != nullptr); - if (_this->_impl_.arm_ == nullptr) { - _this->_impl_.arm_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ArmDisarm>(arena, *from._impl_.arm_); - } else { - _this->_impl_.arm_->MergeFrom(*from._impl_.arm_); + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ArmDisarmResponse::ByteSizeLong(const MessageLite& base) { + const ArmDisarmResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ArmDisarmResponse::ByteSizeLong() const { + const ArmDisarmResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ArmDisarmResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + // .mavsdk.rpc.action_server.ArmDisarm arm = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.arm_); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void ArmDisarmResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ArmDisarmResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.arm_ != nullptr); + if (_this->_impl_.arm_ == nullptr) { + _this->_impl_.arm_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ArmDisarm>(arena, *from._impl_.arm_); + } else { + _this->_impl_.arm_->MergeFrom(*from._impl_.arm_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ArmDisarmResponse::CopyFrom(const ArmDisarmResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ArmDisarmResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ArmDisarmResponse::CopyFrom(const ArmDisarmResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ArmDisarmResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ArmDisarmResponse::InternalSwap(ArmDisarmResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.arm_) + - sizeof(ArmDisarmResponse::_impl_.arm_) - - PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.action_server_result_)>( - reinterpret_cast(&_impl_.action_server_result_), - reinterpret_cast(&other->_impl_.action_server_result_)); + +void ArmDisarmResponse::InternalSwap(ArmDisarmResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.arm_) + + sizeof(ArmDisarmResponse::_impl_.arm_) + - PROTOBUF_FIELD_OFFSET(ArmDisarmResponse, _impl_.action_server_result_)>( + reinterpret_cast(&_impl_.action_server_result_), + reinterpret_cast(&other->_impl_.action_server_result_)); } -::google::protobuf::Metadata ArmDisarmResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ArmDisarmResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FlightModeChangeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_._has_bits_); }; FlightModeChangeResponse::FlightModeChangeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.FlightModeChangeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.FlightModeChangeResponse) } inline PROTOBUF_NDEBUG_INLINE FlightModeChangeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::FlightModeChangeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::FlightModeChangeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} FlightModeChangeResponse::FlightModeChangeResponse( - ::google::protobuf::Arena* arena, const FlightModeChangeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FlightModeChangeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - _impl_.flight_mode_ = from._impl_.flight_mode_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.FlightModeChangeResponse) + ::google::protobuf::Arena* arena, + const FlightModeChangeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FlightModeChangeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + _impl_.flight_mode_ = from._impl_.flight_mode_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.FlightModeChangeResponse) } inline PROTOBUF_NDEBUG_INLINE FlightModeChangeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FlightModeChangeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_server_result_), - 0, - offsetof(Impl_, flight_mode_) - offsetof(Impl_, action_server_result_) + - sizeof(Impl_::flight_mode_)); -} -FlightModeChangeResponse::~FlightModeChangeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.FlightModeChangeResponse) - SharedDtor(*this); -} -inline void FlightModeChangeResponse::SharedDtor(MessageLite& self) -{ - FlightModeChangeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* -FlightModeChangeResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FlightModeChangeResponse(arena); -} -constexpr auto FlightModeChangeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FlightModeChangeResponse), alignof(FlightModeChangeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FlightModeChangeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_server_result_), + 0, + offsetof(Impl_, flight_mode_) - + offsetof(Impl_, action_server_result_) + + sizeof(Impl_::flight_mode_)); +} +FlightModeChangeResponse::~FlightModeChangeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.FlightModeChangeResponse) + SharedDtor(*this); +} +inline void FlightModeChangeResponse::SharedDtor(MessageLite& self) { + FlightModeChangeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* FlightModeChangeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FlightModeChangeResponse(arena); +} +constexpr auto FlightModeChangeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FlightModeChangeResponse), + alignof(FlightModeChangeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3745,326 +3327,285 @@ const ::google::protobuf::internal::ClassDataFull FlightModeChangeResponse::_cla ::google::protobuf::internal::ClassData{ &_FlightModeChangeResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FlightModeChangeResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FlightModeChangeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FlightModeChangeResponse::ByteSizeLong, - &FlightModeChangeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FlightModeChangeResponse::ByteSizeLong, + &FlightModeChangeResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_._cached_size_), false, }, &FlightModeChangeResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* FlightModeChangeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - FlightModeChangeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::FlightModeChangeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(FlightModeChangeResponse, _impl_.flight_mode_), - 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.flight_mode_)}}, - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; - {PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.flight_mode_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void FlightModeChangeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.FlightModeChangeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_.flight_mode_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FlightModeChangeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FlightModeChangeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FlightModeChangeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FlightModeChangeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.FlightModeChangeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* FlightModeChangeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> FlightModeChangeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::FlightModeChangeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FlightModeChangeResponse, _impl_.flight_mode_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.flight_mode_)}}, // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; - if (this_._internal_flight_mode() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(2, this_._internal_flight_mode(), target); - } + {PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.flight_mode_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.FlightModeChangeResponse) - return target; -} +PROTOBUF_NOINLINE void FlightModeChangeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.FlightModeChangeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_.flight_mode_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FlightModeChangeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FlightModeChangeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FlightModeChangeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FlightModeChangeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.FlightModeChangeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; + if (this_._internal_flight_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_flight_mode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.FlightModeChangeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FlightModeChangeResponse::ByteSizeLong(const MessageLite& base) -{ - const FlightModeChangeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FlightModeChangeResponse::ByteSizeLong() const -{ - const FlightModeChangeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.FlightModeChangeResponse) - ::size_t total_size = 0; + ::size_t FlightModeChangeResponse::ByteSizeLong(const MessageLite& base) { + const FlightModeChangeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FlightModeChangeResponse::ByteSizeLong() const { + const FlightModeChangeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.FlightModeChangeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); - } - } - { - // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; - if (this_._internal_flight_mode() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_flight_mode()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + { + // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; + if (this_._internal_flight_mode() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_flight_mode()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void FlightModeChangeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.FlightModeChangeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void FlightModeChangeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.FlightModeChangeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - if (from._internal_flight_mode() != 0) { - _this->_impl_.flight_mode_ = from._impl_.flight_mode_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + if (from._internal_flight_mode() != 0) { + _this->_impl_.flight_mode_ = from._impl_.flight_mode_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FlightModeChangeResponse::CopyFrom(const FlightModeChangeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.FlightModeChangeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FlightModeChangeResponse::CopyFrom(const FlightModeChangeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.FlightModeChangeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FlightModeChangeResponse::InternalSwap(FlightModeChangeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.flight_mode_) + - sizeof(FlightModeChangeResponse::_impl_.flight_mode_) - - PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.action_server_result_)>( - reinterpret_cast(&_impl_.action_server_result_), - reinterpret_cast(&other->_impl_.action_server_result_)); + +void FlightModeChangeResponse::InternalSwap(FlightModeChangeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.flight_mode_) + + sizeof(FlightModeChangeResponse::_impl_.flight_mode_) + - PROTOBUF_FIELD_OFFSET(FlightModeChangeResponse, _impl_.action_server_result_)>( + reinterpret_cast(&_impl_.action_server_result_), + reinterpret_cast(&other->_impl_.action_server_result_)); } -::google::protobuf::Metadata FlightModeChangeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FlightModeChangeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TakeoffResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_); }; TakeoffResponse::TakeoffResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.TakeoffResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.TakeoffResponse) } inline PROTOBUF_NDEBUG_INLINE TakeoffResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::TakeoffResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +TakeoffResponse::TakeoffResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::TakeoffResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -TakeoffResponse::TakeoffResponse(::google::protobuf::Arena* arena, const TakeoffResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TakeoffResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - _impl_.takeoff_ = from._impl_.takeoff_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.TakeoffResponse) + const TakeoffResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TakeoffResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + _impl_.takeoff_ = from._impl_.takeoff_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.TakeoffResponse) } inline PROTOBUF_NDEBUG_INLINE TakeoffResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TakeoffResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_server_result_), - 0, - offsetof(Impl_, takeoff_) - offsetof(Impl_, action_server_result_) + - sizeof(Impl_::takeoff_)); -} -TakeoffResponse::~TakeoffResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.TakeoffResponse) - SharedDtor(*this); -} -inline void TakeoffResponse::SharedDtor(MessageLite& self) -{ - TakeoffResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* -TakeoffResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TakeoffResponse(arena); -} -constexpr auto TakeoffResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TakeoffResponse), alignof(TakeoffResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TakeoffResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_server_result_), + 0, + offsetof(Impl_, takeoff_) - + offsetof(Impl_, action_server_result_) + + sizeof(Impl_::takeoff_)); +} +TakeoffResponse::~TakeoffResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.TakeoffResponse) + SharedDtor(*this); +} +inline void TakeoffResponse::SharedDtor(MessageLite& self) { + TakeoffResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* TakeoffResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TakeoffResponse(arena); +} +constexpr auto TakeoffResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TakeoffResponse), + alignof(TakeoffResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4072,319 +3613,284 @@ const ::google::protobuf::internal::ClassDataFull TakeoffResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_TakeoffResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TakeoffResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TakeoffResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TakeoffResponse::ByteSizeLong, - &TakeoffResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TakeoffResponse::ByteSizeLong, + &TakeoffResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._cached_size_), false, }, &TakeoffResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* TakeoffResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - TakeoffResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::TakeoffResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool takeoff = 2; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.takeoff_)}}, - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // bool takeoff = 2; - {PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.takeoff_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TakeoffResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.TakeoffResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_.takeoff_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TakeoffResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TakeoffResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TakeoffResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TakeoffResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.TakeoffResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* TakeoffResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> TakeoffResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::TakeoffResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool takeoff = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.takeoff_)}}, // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // bool takeoff = 2; - if (this_._internal_takeoff() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_takeoff(), target); - } + {PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.takeoff_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.TakeoffResponse) - return target; -} +PROTOBUF_NOINLINE void TakeoffResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.TakeoffResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_.takeoff_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TakeoffResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TakeoffResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TakeoffResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TakeoffResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.TakeoffResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + // bool takeoff = 2; + if (this_._internal_takeoff() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_takeoff(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.TakeoffResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TakeoffResponse::ByteSizeLong(const MessageLite& base) -{ - const TakeoffResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TakeoffResponse::ByteSizeLong() const -{ - const TakeoffResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.TakeoffResponse) - ::size_t total_size = 0; + ::size_t TakeoffResponse::ByteSizeLong(const MessageLite& base) { + const TakeoffResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TakeoffResponse::ByteSizeLong() const { + const TakeoffResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.TakeoffResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); - } - } - { - // bool takeoff = 2; - if (this_._internal_takeoff() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + { + // bool takeoff = 2; + if (this_._internal_takeoff() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TakeoffResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.TakeoffResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void TakeoffResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.TakeoffResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - if (from._internal_takeoff() != 0) { - _this->_impl_.takeoff_ = from._impl_.takeoff_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + if (from._internal_takeoff() != 0) { + _this->_impl_.takeoff_ = from._impl_.takeoff_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TakeoffResponse::CopyFrom(const TakeoffResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.TakeoffResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TakeoffResponse::CopyFrom(const TakeoffResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.TakeoffResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TakeoffResponse::InternalSwap(TakeoffResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.takeoff_) + - sizeof(TakeoffResponse::_impl_.takeoff_) - - PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_server_result_)>( - reinterpret_cast(&_impl_.action_server_result_), - reinterpret_cast(&other->_impl_.action_server_result_)); + +void TakeoffResponse::InternalSwap(TakeoffResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.takeoff_) + + sizeof(TakeoffResponse::_impl_.takeoff_) + - PROTOBUF_FIELD_OFFSET(TakeoffResponse, _impl_.action_server_result_)>( + reinterpret_cast(&_impl_.action_server_result_), + reinterpret_cast(&other->_impl_.action_server_result_)); } -::google::protobuf::Metadata TakeoffResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TakeoffResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class LandResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_); }; LandResponse::LandResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.LandResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.LandResponse) } inline PROTOBUF_NDEBUG_INLINE LandResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::LandResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +LandResponse::LandResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::LandResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -LandResponse::LandResponse(::google::protobuf::Arena* arena, const LandResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - LandResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - _impl_.land_ = from._impl_.land_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.LandResponse) + const LandResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + LandResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + _impl_.land_ = from._impl_.land_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.LandResponse) } inline PROTOBUF_NDEBUG_INLINE LandResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void LandResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_server_result_), - 0, - offsetof(Impl_, land_) - offsetof(Impl_, action_server_result_) + sizeof(Impl_::land_)); -} -LandResponse::~LandResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.LandResponse) - SharedDtor(*this); -} -inline void LandResponse::SharedDtor(MessageLite& self) -{ - LandResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* LandResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) LandResponse(arena); -} -constexpr auto LandResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(LandResponse), alignof(LandResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void LandResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_server_result_), + 0, + offsetof(Impl_, land_) - + offsetof(Impl_, action_server_result_) + + sizeof(Impl_::land_)); +} +LandResponse::~LandResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.LandResponse) + SharedDtor(*this); +} +inline void LandResponse::SharedDtor(MessageLite& self) { + LandResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* LandResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) LandResponse(arena); +} +constexpr auto LandResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LandResponse), + alignof(LandResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4392,317 +3898,284 @@ const ::google::protobuf::internal::ClassDataFull LandResponse::_class_data_ = { ::google::protobuf::internal::ClassData{ &_LandResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &LandResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &LandResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &LandResponse::ByteSizeLong, - &LandResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &LandResponse::ByteSizeLong, + &LandResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._cached_size_), false, }, &LandResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* LandResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - LandResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::LandResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool land = 2; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.land_)}}, - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // bool land = 2; - {PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.land_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void LandResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.LandResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_.land_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* LandResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const LandResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* LandResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const LandResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.LandResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* LandResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> LandResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(LandResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::LandResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool land = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.land_)}}, // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // bool land = 2; - if (this_._internal_land() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_land(), target); - } + {PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.land_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.LandResponse) - return target; -} +PROTOBUF_NOINLINE void LandResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.LandResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_.land_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* LandResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const LandResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* LandResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const LandResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.LandResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + // bool land = 2; + if (this_._internal_land() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_land(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.LandResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t LandResponse::ByteSizeLong(const MessageLite& base) -{ - const LandResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t LandResponse::ByteSizeLong() const -{ - const LandResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.LandResponse) - ::size_t total_size = 0; + ::size_t LandResponse::ByteSizeLong(const MessageLite& base) { + const LandResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t LandResponse::ByteSizeLong() const { + const LandResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.LandResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); - } - } - { - // bool land = 2; - if (this_._internal_land() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + { + // bool land = 2; + if (this_._internal_land() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void LandResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.LandResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void LandResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.LandResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - if (from._internal_land() != 0) { - _this->_impl_.land_ = from._impl_.land_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + if (from._internal_land() != 0) { + _this->_impl_.land_ = from._impl_.land_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void LandResponse::CopyFrom(const LandResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.LandResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void LandResponse::CopyFrom(const LandResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.LandResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void LandResponse::InternalSwap(LandResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.land_) + sizeof(LandResponse::_impl_.land_) - - PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_server_result_)>( - reinterpret_cast(&_impl_.action_server_result_), - reinterpret_cast(&other->_impl_.action_server_result_)); + +void LandResponse::InternalSwap(LandResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.land_) + + sizeof(LandResponse::_impl_.land_) + - PROTOBUF_FIELD_OFFSET(LandResponse, _impl_.action_server_result_)>( + reinterpret_cast(&_impl_.action_server_result_), + reinterpret_cast(&other->_impl_.action_server_result_)); } -::google::protobuf::Metadata LandResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata LandResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class RebootResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_); }; RebootResponse::RebootResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.RebootResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.RebootResponse) } inline PROTOBUF_NDEBUG_INLINE RebootResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::RebootResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +RebootResponse::RebootResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::RebootResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -RebootResponse::RebootResponse(::google::protobuf::Arena* arena, const RebootResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - RebootResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - _impl_.reboot_ = from._impl_.reboot_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.RebootResponse) + const RebootResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RebootResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + _impl_.reboot_ = from._impl_.reboot_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.RebootResponse) } inline PROTOBUF_NDEBUG_INLINE RebootResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void RebootResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_server_result_), - 0, - offsetof(Impl_, reboot_) - offsetof(Impl_, action_server_result_) + sizeof(Impl_::reboot_)); -} -RebootResponse::~RebootResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.RebootResponse) - SharedDtor(*this); -} -inline void RebootResponse::SharedDtor(MessageLite& self) -{ - RebootResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* RebootResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) RebootResponse(arena); -} -constexpr auto RebootResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(RebootResponse), alignof(RebootResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RebootResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_server_result_), + 0, + offsetof(Impl_, reboot_) - + offsetof(Impl_, action_server_result_) + + sizeof(Impl_::reboot_)); +} +RebootResponse::~RebootResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.RebootResponse) + SharedDtor(*this); +} +inline void RebootResponse::SharedDtor(MessageLite& self) { + RebootResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* RebootResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RebootResponse(arena); +} +constexpr auto RebootResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RebootResponse), + alignof(RebootResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4710,321 +4183,284 @@ const ::google::protobuf::internal::ClassDataFull RebootResponse::_class_data_ = ::google::protobuf::internal::ClassData{ &_RebootResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &RebootResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &RebootResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &RebootResponse::ByteSizeLong, - &RebootResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &RebootResponse::ByteSizeLong, + &RebootResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._cached_size_), false, }, &RebootResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* RebootResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - RebootResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::RebootResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool reboot = 2; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.reboot_)}}, - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // bool reboot = 2; - {PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.reboot_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void RebootResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.RebootResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_.reboot_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* RebootResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const RebootResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* RebootResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const RebootResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.RebootResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* RebootResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> RebootResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::RebootResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool reboot = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.reboot_)}}, // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // bool reboot = 2; - if (this_._internal_reboot() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_reboot(), target); - } + {PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.reboot_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.RebootResponse) - return target; -} +PROTOBUF_NOINLINE void RebootResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.RebootResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_.reboot_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* RebootResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RebootResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RebootResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RebootResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.RebootResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + // bool reboot = 2; + if (this_._internal_reboot() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_reboot(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.RebootResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t RebootResponse::ByteSizeLong(const MessageLite& base) -{ - const RebootResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t RebootResponse::ByteSizeLong() const -{ - const RebootResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.RebootResponse) - ::size_t total_size = 0; + ::size_t RebootResponse::ByteSizeLong(const MessageLite& base) { + const RebootResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RebootResponse::ByteSizeLong() const { + const RebootResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.RebootResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); - } - } - { - // bool reboot = 2; - if (this_._internal_reboot() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + { + // bool reboot = 2; + if (this_._internal_reboot() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void RebootResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.RebootResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void RebootResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.RebootResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - if (from._internal_reboot() != 0) { - _this->_impl_.reboot_ = from._impl_.reboot_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + if (from._internal_reboot() != 0) { + _this->_impl_.reboot_ = from._impl_.reboot_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void RebootResponse::CopyFrom(const RebootResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.RebootResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void RebootResponse::CopyFrom(const RebootResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.RebootResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void RebootResponse::InternalSwap(RebootResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.reboot_) + - sizeof(RebootResponse::_impl_.reboot_) - - PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_server_result_)>( - reinterpret_cast(&_impl_.action_server_result_), - reinterpret_cast(&other->_impl_.action_server_result_)); + +void RebootResponse::InternalSwap(RebootResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.reboot_) + + sizeof(RebootResponse::_impl_.reboot_) + - PROTOBUF_FIELD_OFFSET(RebootResponse, _impl_.action_server_result_)>( + reinterpret_cast(&_impl_.action_server_result_), + reinterpret_cast(&other->_impl_.action_server_result_)); } -::google::protobuf::Metadata RebootResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata RebootResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ShutdownResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_); }; ShutdownResponse::ShutdownResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ShutdownResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ShutdownResponse) } inline PROTOBUF_NDEBUG_INLINE ShutdownResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::ShutdownResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ShutdownResponse::ShutdownResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::ShutdownResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -ShutdownResponse::ShutdownResponse(::google::protobuf::Arena* arena, const ShutdownResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ShutdownResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - _impl_.shutdown_ = from._impl_.shutdown_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.ShutdownResponse) + const ShutdownResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ShutdownResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + _impl_.shutdown_ = from._impl_.shutdown_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.ShutdownResponse) } inline PROTOBUF_NDEBUG_INLINE ShutdownResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ShutdownResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_server_result_), - 0, - offsetof(Impl_, shutdown_) - offsetof(Impl_, action_server_result_) + - sizeof(Impl_::shutdown_)); -} -ShutdownResponse::~ShutdownResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ShutdownResponse) - SharedDtor(*this); -} -inline void ShutdownResponse::SharedDtor(MessageLite& self) -{ - ShutdownResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* -ShutdownResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ShutdownResponse(arena); -} -constexpr auto ShutdownResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ShutdownResponse), alignof(ShutdownResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ShutdownResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_server_result_), + 0, + offsetof(Impl_, shutdown_) - + offsetof(Impl_, action_server_result_) + + sizeof(Impl_::shutdown_)); +} +ShutdownResponse::~ShutdownResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ShutdownResponse) + SharedDtor(*this); +} +inline void ShutdownResponse::SharedDtor(MessageLite& self) { + ShutdownResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* ShutdownResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ShutdownResponse(arena); +} +constexpr auto ShutdownResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ShutdownResponse), + alignof(ShutdownResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5032,322 +4468,284 @@ const ::google::protobuf::internal::ClassDataFull ShutdownResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_ShutdownResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ShutdownResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ShutdownResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ShutdownResponse::ByteSizeLong, - &ShutdownResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ShutdownResponse::ByteSizeLong, + &ShutdownResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._cached_size_), false, }, &ShutdownResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* ShutdownResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - ShutdownResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::ShutdownResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool shutdown = 2; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.shutdown_)}}, - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // bool shutdown = 2; - {PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.shutdown_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ShutdownResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ShutdownResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_.shutdown_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ShutdownResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ShutdownResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ShutdownResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ShutdownResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ShutdownResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* ShutdownResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> ShutdownResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ShutdownResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool shutdown = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.shutdown_)}}, // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // bool shutdown = 2; - if (this_._internal_shutdown() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_shutdown(), target); - } + {PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.shutdown_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ShutdownResponse) - return target; -} +PROTOBUF_NOINLINE void ShutdownResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ShutdownResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_.shutdown_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ShutdownResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ShutdownResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ShutdownResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ShutdownResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ShutdownResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + // bool shutdown = 2; + if (this_._internal_shutdown() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_shutdown(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ShutdownResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ShutdownResponse::ByteSizeLong(const MessageLite& base) -{ - const ShutdownResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ShutdownResponse::ByteSizeLong() const -{ - const ShutdownResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ShutdownResponse) - ::size_t total_size = 0; + ::size_t ShutdownResponse::ByteSizeLong(const MessageLite& base) { + const ShutdownResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ShutdownResponse::ByteSizeLong() const { + const ShutdownResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ShutdownResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); - } - } - { - // bool shutdown = 2; - if (this_._internal_shutdown() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + { + // bool shutdown = 2; + if (this_._internal_shutdown() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ShutdownResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ShutdownResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void ShutdownResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ShutdownResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - if (from._internal_shutdown() != 0) { - _this->_impl_.shutdown_ = from._impl_.shutdown_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + if (from._internal_shutdown() != 0) { + _this->_impl_.shutdown_ = from._impl_.shutdown_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ShutdownResponse::CopyFrom(const ShutdownResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ShutdownResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ShutdownResponse::CopyFrom(const ShutdownResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ShutdownResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ShutdownResponse::InternalSwap(ShutdownResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.shutdown_) + - sizeof(ShutdownResponse::_impl_.shutdown_) - - PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_server_result_)>( - reinterpret_cast(&_impl_.action_server_result_), - reinterpret_cast(&other->_impl_.action_server_result_)); + +void ShutdownResponse::InternalSwap(ShutdownResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.shutdown_) + + sizeof(ShutdownResponse::_impl_.shutdown_) + - PROTOBUF_FIELD_OFFSET(ShutdownResponse, _impl_.action_server_result_)>( + reinterpret_cast(&_impl_.action_server_result_), + reinterpret_cast(&other->_impl_.action_server_result_)); } -::google::protobuf::Metadata ShutdownResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ShutdownResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TerminateResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_); }; TerminateResponse::TerminateResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.TerminateResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.TerminateResponse) } inline PROTOBUF_NDEBUG_INLINE TerminateResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::TerminateResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::TerminateResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TerminateResponse::TerminateResponse( - ::google::protobuf::Arena* arena, const TerminateResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TerminateResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - _impl_.terminate_ = from._impl_.terminate_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.TerminateResponse) + ::google::protobuf::Arena* arena, + const TerminateResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TerminateResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + _impl_.terminate_ = from._impl_.terminate_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.TerminateResponse) } inline PROTOBUF_NDEBUG_INLINE TerminateResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TerminateResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, action_server_result_), - 0, - offsetof(Impl_, terminate_) - offsetof(Impl_, action_server_result_) + - sizeof(Impl_::terminate_)); -} -TerminateResponse::~TerminateResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.TerminateResponse) - SharedDtor(*this); -} -inline void TerminateResponse::SharedDtor(MessageLite& self) -{ - TerminateResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* -TerminateResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TerminateResponse(arena); -} -constexpr auto TerminateResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TerminateResponse), alignof(TerminateResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TerminateResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, action_server_result_), + 0, + offsetof(Impl_, terminate_) - + offsetof(Impl_, action_server_result_) + + sizeof(Impl_::terminate_)); +} +TerminateResponse::~TerminateResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.TerminateResponse) + SharedDtor(*this); +} +inline void TerminateResponse::SharedDtor(MessageLite& self) { + TerminateResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* TerminateResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TerminateResponse(arena); +} +constexpr auto TerminateResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TerminateResponse), + alignof(TerminateResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5355,317 +4753,278 @@ const ::google::protobuf::internal::ClassDataFull TerminateResponse::_class_data ::google::protobuf::internal::ClassData{ &_TerminateResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TerminateResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TerminateResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TerminateResponse::ByteSizeLong, - &TerminateResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TerminateResponse::ByteSizeLong, + &TerminateResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._cached_size_), false, }, &TerminateResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* TerminateResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> - TerminateResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::TerminateResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool terminate = 2; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.terminate_)}}, - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // bool terminate = 2; - {PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.terminate_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TerminateResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.TerminateResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_.terminate_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TerminateResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TerminateResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TerminateResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TerminateResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.TerminateResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* TerminateResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> TerminateResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::TerminateResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool terminate = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.terminate_)}}, // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // bool terminate = 2; - if (this_._internal_terminate() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_terminate(), target); - } + {PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.terminate_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.TerminateResponse) - return target; -} +PROTOBUF_NOINLINE void TerminateResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.TerminateResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_.terminate_ = false; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TerminateResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TerminateResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TerminateResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TerminateResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.TerminateResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + // bool terminate = 2; + if (this_._internal_terminate() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_terminate(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.TerminateResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TerminateResponse::ByteSizeLong(const MessageLite& base) -{ - const TerminateResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TerminateResponse::ByteSizeLong() const -{ - const TerminateResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.TerminateResponse) - ::size_t total_size = 0; + ::size_t TerminateResponse::ByteSizeLong(const MessageLite& base) { + const TerminateResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TerminateResponse::ByteSizeLong() const { + const TerminateResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.TerminateResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); - } - } - { - // bool terminate = 2; - if (this_._internal_terminate() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + { + // bool terminate = 2; + if (this_._internal_terminate() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void TerminateResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.TerminateResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } - } - if (from._internal_terminate() != 0) { - _this->_impl_.terminate_ = from._impl_.terminate_; +void TerminateResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.TerminateResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + if (from._internal_terminate() != 0) { + _this->_impl_.terminate_ = from._impl_.terminate_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TerminateResponse::CopyFrom(const TerminateResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.TerminateResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TerminateResponse::CopyFrom(const TerminateResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.TerminateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TerminateResponse::InternalSwap(TerminateResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.terminate_) + - sizeof(TerminateResponse::_impl_.terminate_) - - PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_server_result_)>( - reinterpret_cast(&_impl_.action_server_result_), - reinterpret_cast(&other->_impl_.action_server_result_)); + +void TerminateResponse::InternalSwap(TerminateResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.terminate_) + + sizeof(TerminateResponse::_impl_.terminate_) + - PROTOBUF_FIELD_OFFSET(TerminateResponse, _impl_.action_server_result_)>( + reinterpret_cast(&_impl_.action_server_result_), + reinterpret_cast(&other->_impl_.action_server_result_)); } -::google::protobuf::Metadata TerminateResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TerminateResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetArmableResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_._has_bits_); }; SetArmableResponse::SetArmableResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetArmableResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetArmableResponse) } inline PROTOBUF_NDEBUG_INLINE SetArmableResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::SetArmableResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::SetArmableResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetArmableResponse::SetArmableResponse( - ::google::protobuf::Arena* arena, const SetArmableResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetArmableResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetArmableResponse) + ::google::protobuf::Arena* arena, + const SetArmableResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetArmableResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetArmableResponse) } inline PROTOBUF_NDEBUG_INLINE SetArmableResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetArmableResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_server_result_ = {}; -} -SetArmableResponse::~SetArmableResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetArmableResponse) - SharedDtor(*this); -} -inline void SetArmableResponse::SharedDtor(MessageLite& self) -{ - SetArmableResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetArmableResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetArmableResponse(arena); -} -constexpr auto SetArmableResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetArmableResponse), alignof(SetArmableResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetArmableResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_server_result_ = {}; +} +SetArmableResponse::~SetArmableResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetArmableResponse) + SharedDtor(*this); +} +inline void SetArmableResponse::SharedDtor(MessageLite& self) { + SetArmableResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* SetArmableResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetArmableResponse(arena); +} +constexpr auto SetArmableResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetArmableResponse), + alignof(SetArmableResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5673,286 +5032,249 @@ const ::google::protobuf::internal::ClassDataFull SetArmableResponse::_class_dat ::google::protobuf::internal::ClassData{ &_SetArmableResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetArmableResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetArmableResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetArmableResponse::ByteSizeLong, - &SetArmableResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetArmableResponse::ByteSizeLong, + &SetArmableResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_._cached_size_), false, }, &SetArmableResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetArmableResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetArmableResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetArmableResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetArmableResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetArmableResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetArmableResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetArmableResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetArmableResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetArmableResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetArmableResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* SetArmableResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetArmableResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetArmableResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(SetArmableResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetArmableResponse) - return target; -} +PROTOBUF_NOINLINE void SetArmableResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetArmableResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetArmableResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetArmableResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetArmableResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetArmableResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetArmableResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetArmableResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetArmableResponse::ByteSizeLong(const MessageLite& base) -{ - const SetArmableResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetArmableResponse::ByteSizeLong() const -{ - const SetArmableResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetArmableResponse) - ::size_t total_size = 0; + ::size_t SetArmableResponse::ByteSizeLong(const MessageLite& base) { + const SetArmableResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetArmableResponse::ByteSizeLong() const { + const SetArmableResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetArmableResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetArmableResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetArmableResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void SetArmableResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetArmableResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetArmableResponse::CopyFrom(const SetArmableResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetArmableResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetArmableResponse::CopyFrom(const SetArmableResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetArmableResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetArmableResponse::InternalSwap(SetArmableResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_server_result_, other->_impl_.action_server_result_); + +void SetArmableResponse::InternalSwap(SetArmableResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_server_result_, other->_impl_.action_server_result_); } -::google::protobuf::Metadata SetArmableResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetArmableResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetDisarmableResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_._has_bits_); }; SetDisarmableResponse::SetDisarmableResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetDisarmableResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetDisarmableResponse) } inline PROTOBUF_NDEBUG_INLINE SetDisarmableResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::SetDisarmableResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::SetDisarmableResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetDisarmableResponse::SetDisarmableResponse( - ::google::protobuf::Arena* arena, const SetDisarmableResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetDisarmableResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetDisarmableResponse) + ::google::protobuf::Arena* arena, + const SetDisarmableResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetDisarmableResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetDisarmableResponse) } inline PROTOBUF_NDEBUG_INLINE SetDisarmableResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetDisarmableResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_server_result_ = {}; -} -SetDisarmableResponse::~SetDisarmableResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetDisarmableResponse) - SharedDtor(*this); -} -inline void SetDisarmableResponse::SharedDtor(MessageLite& self) -{ - SetDisarmableResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetDisarmableResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetDisarmableResponse(arena); -} -constexpr auto SetDisarmableResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetDisarmableResponse), alignof(SetDisarmableResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetDisarmableResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_server_result_ = {}; +} +SetDisarmableResponse::~SetDisarmableResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetDisarmableResponse) + SharedDtor(*this); +} +inline void SetDisarmableResponse::SharedDtor(MessageLite& self) { + SetDisarmableResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* SetDisarmableResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetDisarmableResponse(arena); +} +constexpr auto SetDisarmableResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetDisarmableResponse), + alignof(SetDisarmableResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5960,289 +5282,249 @@ const ::google::protobuf::internal::ClassDataFull SetDisarmableResponse::_class_ ::google::protobuf::internal::ClassData{ &_SetDisarmableResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetDisarmableResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetDisarmableResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetDisarmableResponse::ByteSizeLong, - &SetDisarmableResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetDisarmableResponse::ByteSizeLong, + &SetDisarmableResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_._cached_size_), false, }, &SetDisarmableResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetDisarmableResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetDisarmableResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetDisarmableResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetDisarmableResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetDisarmableResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetDisarmableResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetDisarmableResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetDisarmableResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetDisarmableResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetDisarmableResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* SetDisarmableResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetDisarmableResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetDisarmableResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(SetDisarmableResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetDisarmableResponse) - return target; -} +PROTOBUF_NOINLINE void SetDisarmableResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetDisarmableResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetDisarmableResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetDisarmableResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetDisarmableResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetDisarmableResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetDisarmableResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetDisarmableResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetDisarmableResponse::ByteSizeLong(const MessageLite& base) -{ - const SetDisarmableResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetDisarmableResponse::ByteSizeLong() const -{ - const SetDisarmableResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetDisarmableResponse) - ::size_t total_size = 0; + ::size_t SetDisarmableResponse::ByteSizeLong(const MessageLite& base) { + const SetDisarmableResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetDisarmableResponse::ByteSizeLong() const { + const SetDisarmableResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetDisarmableResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetDisarmableResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetDisarmableResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void SetDisarmableResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetDisarmableResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetDisarmableResponse::CopyFrom(const SetDisarmableResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetDisarmableResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetDisarmableResponse::CopyFrom(const SetDisarmableResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetDisarmableResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetDisarmableResponse::InternalSwap(SetDisarmableResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_server_result_, other->_impl_.action_server_result_); + +void SetDisarmableResponse::InternalSwap(SetDisarmableResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_server_result_, other->_impl_.action_server_result_); } -::google::protobuf::Metadata SetDisarmableResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetDisarmableResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetAllowableFlightModesResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_._has_bits_); }; SetAllowableFlightModesResponse::SetAllowableFlightModesResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) } inline PROTOBUF_NDEBUG_INLINE SetAllowableFlightModesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::SetAllowableFlightModesResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::SetAllowableFlightModesResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetAllowableFlightModesResponse::SetAllowableFlightModesResponse( - ::google::protobuf::Arena* arena, const SetAllowableFlightModesResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetAllowableFlightModesResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + ::google::protobuf::Arena* arena, + const SetAllowableFlightModesResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetAllowableFlightModesResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) } inline PROTOBUF_NDEBUG_INLINE SetAllowableFlightModesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetAllowableFlightModesResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_server_result_ = {}; -} -SetAllowableFlightModesResponse::~SetAllowableFlightModesResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - SharedDtor(*this); -} -inline void SetAllowableFlightModesResponse::SharedDtor(MessageLite& self) -{ - SetAllowableFlightModesResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* SetAllowableFlightModesResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetAllowableFlightModesResponse(arena); -} -constexpr auto SetAllowableFlightModesResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetAllowableFlightModesResponse), alignof(SetAllowableFlightModesResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetAllowableFlightModesResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_server_result_ = {}; +} +SetAllowableFlightModesResponse::~SetAllowableFlightModesResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + SharedDtor(*this); +} +inline void SetAllowableFlightModesResponse::SharedDtor(MessageLite& self) { + SetAllowableFlightModesResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* SetAllowableFlightModesResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetAllowableFlightModesResponse(arena); +} +constexpr auto SetAllowableFlightModesResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetAllowableFlightModesResponse), + alignof(SetAllowableFlightModesResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6250,293 +5532,249 @@ const ::google::protobuf::internal::ClassDataFull SetAllowableFlightModesRespons ::google::protobuf::internal::ClassData{ &_SetAllowableFlightModesResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetAllowableFlightModesResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetAllowableFlightModesResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetAllowableFlightModesResponse::ByteSizeLong, - &SetAllowableFlightModesResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetAllowableFlightModesResponse::ByteSizeLong, + &SetAllowableFlightModesResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_._cached_size_), false, }, &SetAllowableFlightModesResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetAllowableFlightModesResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetAllowableFlightModesResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetAllowableFlightModesResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET( - SetAllowableFlightModesResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetAllowableFlightModesResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetAllowableFlightModesResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetAllowableFlightModesResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetAllowableFlightModesResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetAllowableFlightModesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* SetAllowableFlightModesResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetAllowableFlightModesResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetAllowableFlightModesResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(SetAllowableFlightModesResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - return target; -} +PROTOBUF_NOINLINE void SetAllowableFlightModesResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetAllowableFlightModesResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetAllowableFlightModesResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetAllowableFlightModesResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetAllowableFlightModesResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetAllowableFlightModesResponse::ByteSizeLong(const MessageLite& base) -{ - const SetAllowableFlightModesResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetAllowableFlightModesResponse::ByteSizeLong() const -{ - const SetAllowableFlightModesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - ::size_t total_size = 0; + ::size_t SetAllowableFlightModesResponse::ByteSizeLong(const MessageLite& base) { + const SetAllowableFlightModesResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetAllowableFlightModesResponse::ByteSizeLong() const { + const SetAllowableFlightModesResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetAllowableFlightModesResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void SetAllowableFlightModesResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetAllowableFlightModesResponse::CopyFrom(const SetAllowableFlightModesResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetAllowableFlightModesResponse::CopyFrom(const SetAllowableFlightModesResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetAllowableFlightModesResponse::InternalSwap( - SetAllowableFlightModesResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_server_result_, other->_impl_.action_server_result_); + +void SetAllowableFlightModesResponse::InternalSwap(SetAllowableFlightModesResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_server_result_, other->_impl_.action_server_result_); } -::google::protobuf::Metadata SetAllowableFlightModesResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetAllowableFlightModesResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetAllowTakeoffResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_._has_bits_); }; SetAllowTakeoffResponse::SetAllowTakeoffResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.SetAllowTakeoffResponse) } inline PROTOBUF_NDEBUG_INLINE SetAllowTakeoffResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::SetAllowTakeoffResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::SetAllowTakeoffResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetAllowTakeoffResponse::SetAllowTakeoffResponse( - ::google::protobuf::Arena* arena, const SetAllowTakeoffResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetAllowTakeoffResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + ::google::protobuf::Arena* arena, + const SetAllowTakeoffResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetAllowTakeoffResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.action_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>( + arena, *from._impl_.action_server_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.SetAllowTakeoffResponse) } inline PROTOBUF_NDEBUG_INLINE SetAllowTakeoffResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetAllowTakeoffResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.action_server_result_ = {}; -} -SetAllowTakeoffResponse::~SetAllowTakeoffResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowTakeoffResponse) - SharedDtor(*this); -} -inline void SetAllowTakeoffResponse::SharedDtor(MessageLite& self) -{ - SetAllowTakeoffResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.action_server_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetAllowTakeoffResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetAllowTakeoffResponse(arena); -} -constexpr auto SetAllowTakeoffResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetAllowTakeoffResponse), alignof(SetAllowTakeoffResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetAllowTakeoffResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.action_server_result_ = {}; +} +SetAllowTakeoffResponse::~SetAllowTakeoffResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + SharedDtor(*this); +} +inline void SetAllowTakeoffResponse::SharedDtor(MessageLite& self) { + SetAllowTakeoffResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.action_server_result_; + this_._impl_.~Impl_(); +} + +inline void* SetAllowTakeoffResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetAllowTakeoffResponse(arena); +} +constexpr auto SetAllowTakeoffResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetAllowTakeoffResponse), + alignof(SetAllowTakeoffResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6544,289 +5782,249 @@ const ::google::protobuf::internal::ClassDataFull SetAllowTakeoffResponse::_clas ::google::protobuf::internal::ClassData{ &_SetAllowTakeoffResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetAllowTakeoffResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetAllowTakeoffResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetAllowTakeoffResponse::ByteSizeLong, - &SetAllowTakeoffResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetAllowTakeoffResponse::ByteSizeLong, + &SetAllowTakeoffResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_._cached_size_), false, }, &SetAllowTakeoffResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* SetAllowTakeoffResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetAllowTakeoffResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::SetAllowTakeoffResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_.action_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - {PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_.action_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetAllowTakeoffResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.action_server_result_ != nullptr); - _impl_.action_server_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetAllowTakeoffResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetAllowTakeoffResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetAllowTakeoffResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetAllowTakeoffResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* SetAllowTakeoffResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetAllowTakeoffResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::SetAllowTakeoffResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.action_server_result_, - this_._impl_.action_server_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_.action_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + {PROTOBUF_FIELD_OFFSET(SetAllowTakeoffResponse, _impl_.action_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowTakeoffResponse) - return target; -} +PROTOBUF_NOINLINE void SetAllowTakeoffResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.action_server_result_ != nullptr); + _impl_.action_server_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetAllowTakeoffResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetAllowTakeoffResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetAllowTakeoffResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetAllowTakeoffResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.action_server_result_, this_._impl_.action_server_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetAllowTakeoffResponse::ByteSizeLong(const MessageLite& base) -{ - const SetAllowTakeoffResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetAllowTakeoffResponse::ByteSizeLong() const -{ - const SetAllowTakeoffResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) - ::size_t total_size = 0; + ::size_t SetAllowTakeoffResponse::ByteSizeLong(const MessageLite& base) { + const SetAllowTakeoffResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetAllowTakeoffResponse::ByteSizeLong() const { + const SetAllowTakeoffResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.action_server_result_); + { + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.action_server_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetAllowTakeoffResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); - if (_this->_impl_.action_server_result_ == nullptr) { - _this->_impl_.action_server_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>( - arena, *from._impl_.action_server_result_); - } else { - _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); - } +void SetAllowTakeoffResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.action_server_result_ != nullptr); + if (_this->_impl_.action_server_result_ == nullptr) { + _this->_impl_.action_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::ActionServerResult>(arena, *from._impl_.action_server_result_); + } else { + _this->_impl_.action_server_result_->MergeFrom(*from._impl_.action_server_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetAllowTakeoffResponse::CopyFrom(const SetAllowTakeoffResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetAllowTakeoffResponse::CopyFrom(const SetAllowTakeoffResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetAllowTakeoffResponse::InternalSwap(SetAllowTakeoffResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.action_server_result_, other->_impl_.action_server_result_); + +void SetAllowTakeoffResponse::InternalSwap(SetAllowTakeoffResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.action_server_result_, other->_impl_.action_server_result_); } -::google::protobuf::Metadata SetAllowTakeoffResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetAllowTakeoffResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetAllowableFlightModesResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_._has_bits_); }; GetAllowableFlightModesResponse::GetAllowableFlightModesResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) } inline PROTOBUF_NDEBUG_INLINE GetAllowableFlightModesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::GetAllowableFlightModesResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::GetAllowableFlightModesResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} GetAllowableFlightModesResponse::GetAllowableFlightModesResponse( - ::google::protobuf::Arena* arena, const GetAllowableFlightModesResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetAllowableFlightModesResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.flight_modes_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::AllowableFlightModes>( - arena, *from._impl_.flight_modes_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + ::google::protobuf::Arena* arena, + const GetAllowableFlightModesResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetAllowableFlightModesResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.flight_modes_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::AllowableFlightModes>( + arena, *from._impl_.flight_modes_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) } inline PROTOBUF_NDEBUG_INLINE GetAllowableFlightModesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GetAllowableFlightModesResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.flight_modes_ = {}; -} -GetAllowableFlightModesResponse::~GetAllowableFlightModesResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - SharedDtor(*this); -} -inline void GetAllowableFlightModesResponse::SharedDtor(MessageLite& self) -{ - GetAllowableFlightModesResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.flight_modes_; - this_._impl_.~Impl_(); -} - -inline void* GetAllowableFlightModesResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetAllowableFlightModesResponse(arena); -} -constexpr auto GetAllowableFlightModesResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetAllowableFlightModesResponse), alignof(GetAllowableFlightModesResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GetAllowableFlightModesResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.flight_modes_ = {}; +} +GetAllowableFlightModesResponse::~GetAllowableFlightModesResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + SharedDtor(*this); +} +inline void GetAllowableFlightModesResponse::SharedDtor(MessageLite& self) { + GetAllowableFlightModesResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.flight_modes_; + this_._impl_.~Impl_(); +} + +inline void* GetAllowableFlightModesResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetAllowableFlightModesResponse(arena); +} +constexpr auto GetAllowableFlightModesResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetAllowableFlightModesResponse), + alignof(GetAllowableFlightModesResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6834,265 +6032,228 @@ const ::google::protobuf::internal::ClassDataFull GetAllowableFlightModesRespons ::google::protobuf::internal::ClassData{ &_GetAllowableFlightModesResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetAllowableFlightModesResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetAllowableFlightModesResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GetAllowableFlightModesResponse::ByteSizeLong, - &GetAllowableFlightModesResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &GetAllowableFlightModesResponse::ByteSizeLong, + &GetAllowableFlightModesResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_._cached_size_), false, }, &GetAllowableFlightModesResponse::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* GetAllowableFlightModesResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - GetAllowableFlightModesResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::GetAllowableFlightModesResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_.flight_modes_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - {PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_.flight_modes_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::AllowableFlightModes>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void GetAllowableFlightModesResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.flight_modes_ != nullptr); - _impl_.flight_modes_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GetAllowableFlightModesResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GetAllowableFlightModesResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GetAllowableFlightModesResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GetAllowableFlightModesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* GetAllowableFlightModesResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetAllowableFlightModesResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::GetAllowableFlightModesResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.flight_modes_, - this_._impl_.flight_modes_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_.flight_modes_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + {PROTOBUF_FIELD_OFFSET(GetAllowableFlightModesResponse, _impl_.flight_modes_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::AllowableFlightModes>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - return target; -} +PROTOBUF_NOINLINE void GetAllowableFlightModesResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.flight_modes_ != nullptr); + _impl_.flight_modes_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetAllowableFlightModesResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetAllowableFlightModesResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetAllowableFlightModesResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetAllowableFlightModesResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.flight_modes_, this_._impl_.flight_modes_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GetAllowableFlightModesResponse::ByteSizeLong(const MessageLite& base) -{ - const GetAllowableFlightModesResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GetAllowableFlightModesResponse::ByteSizeLong() const -{ - const GetAllowableFlightModesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - ::size_t total_size = 0; + ::size_t GetAllowableFlightModesResponse::ByteSizeLong(const MessageLite& base) { + const GetAllowableFlightModesResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetAllowableFlightModesResponse::ByteSizeLong() const { + const GetAllowableFlightModesResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.flight_modes_); + { + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.flight_modes_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void GetAllowableFlightModesResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.flight_modes_ != nullptr); - if (_this->_impl_.flight_modes_ == nullptr) { - _this->_impl_.flight_modes_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::action_server::AllowableFlightModes>( - arena, *from._impl_.flight_modes_); - } else { - _this->_impl_.flight_modes_->MergeFrom(*from._impl_.flight_modes_); - } +void GetAllowableFlightModesResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.flight_modes_ != nullptr); + if (_this->_impl_.flight_modes_ == nullptr) { + _this->_impl_.flight_modes_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::action_server::AllowableFlightModes>(arena, *from._impl_.flight_modes_); + } else { + _this->_impl_.flight_modes_->MergeFrom(*from._impl_.flight_modes_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void GetAllowableFlightModesResponse::CopyFrom(const GetAllowableFlightModesResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void GetAllowableFlightModesResponse::CopyFrom(const GetAllowableFlightModesResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void GetAllowableFlightModesResponse::InternalSwap( - GetAllowableFlightModesResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.flight_modes_, other->_impl_.flight_modes_); + +void GetAllowableFlightModesResponse::InternalSwap(GetAllowableFlightModesResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.flight_modes_, other->_impl_.flight_modes_); } -::google::protobuf::Metadata GetAllowableFlightModesResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata GetAllowableFlightModesResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class AllowableFlightModes::_Internal { -public: + public: }; AllowableFlightModes::AllowableFlightModes(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.AllowableFlightModes) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.AllowableFlightModes) } AllowableFlightModes::AllowableFlightModes( - ::google::protobuf::Arena* arena, const AllowableFlightModes& from) : - AllowableFlightModes(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const AllowableFlightModes& from) + : AllowableFlightModes(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE AllowableFlightModes::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void AllowableFlightModes::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, can_auto_mode_), - 0, - offsetof(Impl_, can_stabilize_mode_) - offsetof(Impl_, can_auto_mode_) + - sizeof(Impl_::can_stabilize_mode_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void AllowableFlightModes::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, can_auto_mode_), + 0, + offsetof(Impl_, can_stabilize_mode_) - + offsetof(Impl_, can_auto_mode_) + + sizeof(Impl_::can_stabilize_mode_)); } -AllowableFlightModes::~AllowableFlightModes() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.AllowableFlightModes) - SharedDtor(*this); +AllowableFlightModes::~AllowableFlightModes() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.AllowableFlightModes) + SharedDtor(*this); } -inline void AllowableFlightModes::SharedDtor(MessageLite& self) -{ - AllowableFlightModes& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void AllowableFlightModes::SharedDtor(MessageLite& self) { + AllowableFlightModes& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* -AllowableFlightModes::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) AllowableFlightModes(arena); +inline void* AllowableFlightModes::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AllowableFlightModes(arena); } -constexpr auto AllowableFlightModes::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(AllowableFlightModes), alignof(AllowableFlightModes)); +constexpr auto AllowableFlightModes::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AllowableFlightModes), + alignof(AllowableFlightModes)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7100,297 +6261,259 @@ const ::google::protobuf::internal::ClassDataFull AllowableFlightModes::_class_d ::google::protobuf::internal::ClassData{ &_AllowableFlightModes_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &AllowableFlightModes::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &AllowableFlightModes::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &AllowableFlightModes::ByteSizeLong, - &AllowableFlightModes::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &AllowableFlightModes::ByteSizeLong, + &AllowableFlightModes::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_._cached_size_), false, }, &AllowableFlightModes::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* AllowableFlightModes::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 0, 0, 2> - AllowableFlightModes::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 3, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::AllowableFlightModes>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // bool can_auto_mode = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(AllowableFlightModes, _impl_.can_auto_mode_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_auto_mode_)}}, - // bool can_guided_mode = 2; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(AllowableFlightModes, _impl_.can_guided_mode_), - 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_guided_mode_)}}, - // bool can_stabilize_mode = 3; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(AllowableFlightModes, _impl_.can_stabilize_mode_), - 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_stabilize_mode_)}}, - }}, - {{65535, 65535}}, - {{ - // bool can_auto_mode = 1; - {PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_auto_mode_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool can_guided_mode = 2; - {PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_guided_mode_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool can_stabilize_mode = 3; - {PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_stabilize_mode_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void AllowableFlightModes::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.AllowableFlightModes) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.can_auto_mode_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.can_stabilize_mode_) - - reinterpret_cast(&_impl_.can_auto_mode_)) + - sizeof(_impl_.can_stabilize_mode_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* AllowableFlightModes::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const AllowableFlightModes& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* AllowableFlightModes::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const AllowableFlightModes& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.AllowableFlightModes) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* AllowableFlightModes::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> AllowableFlightModes::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::AllowableFlightModes>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // bool can_auto_mode = 1; - if (this_._internal_can_auto_mode() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_can_auto_mode(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_auto_mode_)}}, // bool can_guided_mode = 2; - if (this_._internal_can_guided_mode() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_can_guided_mode(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_guided_mode_)}}, // bool can_stabilize_mode = 3; - if (this_._internal_can_stabilize_mode() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 3, this_._internal_can_stabilize_mode(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_stabilize_mode_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool can_auto_mode = 1; + {PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_auto_mode_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // bool can_guided_mode = 2; + {PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_guided_mode_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // bool can_stabilize_mode = 3; + {PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_stabilize_mode_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.AllowableFlightModes) - return target; -} +PROTOBUF_NOINLINE void AllowableFlightModes::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.AllowableFlightModes) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.can_auto_mode_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.can_stabilize_mode_) - + reinterpret_cast(&_impl_.can_auto_mode_)) + sizeof(_impl_.can_stabilize_mode_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* AllowableFlightModes::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AllowableFlightModes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AllowableFlightModes::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AllowableFlightModes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.AllowableFlightModes) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool can_auto_mode = 1; + if (this_._internal_can_auto_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_can_auto_mode(), target); + } + + // bool can_guided_mode = 2; + if (this_._internal_can_guided_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_can_guided_mode(), target); + } + + // bool can_stabilize_mode = 3; + if (this_._internal_can_stabilize_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this_._internal_can_stabilize_mode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.AllowableFlightModes) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t AllowableFlightModes::ByteSizeLong(const MessageLite& base) -{ - const AllowableFlightModes& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t AllowableFlightModes::ByteSizeLong() const -{ - const AllowableFlightModes& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.AllowableFlightModes) - ::size_t total_size = 0; + ::size_t AllowableFlightModes::ByteSizeLong(const MessageLite& base) { + const AllowableFlightModes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AllowableFlightModes::ByteSizeLong() const { + const AllowableFlightModes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.AllowableFlightModes) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // bool can_auto_mode = 1; - if (this_._internal_can_auto_mode() != 0) { - total_size += 2; - } - // bool can_guided_mode = 2; - if (this_._internal_can_guided_mode() != 0) { - total_size += 2; - } - // bool can_stabilize_mode = 3; - if (this_._internal_can_stabilize_mode() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // bool can_auto_mode = 1; + if (this_._internal_can_auto_mode() != 0) { + total_size += 2; + } + // bool can_guided_mode = 2; + if (this_._internal_can_guided_mode() != 0) { + total_size += 2; + } + // bool can_stabilize_mode = 3; + if (this_._internal_can_stabilize_mode() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void AllowableFlightModes::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.AllowableFlightModes) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void AllowableFlightModes::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.AllowableFlightModes) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_can_auto_mode() != 0) { - _this->_impl_.can_auto_mode_ = from._impl_.can_auto_mode_; - } - if (from._internal_can_guided_mode() != 0) { - _this->_impl_.can_guided_mode_ = from._impl_.can_guided_mode_; - } - if (from._internal_can_stabilize_mode() != 0) { - _this->_impl_.can_stabilize_mode_ = from._impl_.can_stabilize_mode_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_can_auto_mode() != 0) { + _this->_impl_.can_auto_mode_ = from._impl_.can_auto_mode_; + } + if (from._internal_can_guided_mode() != 0) { + _this->_impl_.can_guided_mode_ = from._impl_.can_guided_mode_; + } + if (from._internal_can_stabilize_mode() != 0) { + _this->_impl_.can_stabilize_mode_ = from._impl_.can_stabilize_mode_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void AllowableFlightModes::CopyFrom(const AllowableFlightModes& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.AllowableFlightModes) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void AllowableFlightModes::CopyFrom(const AllowableFlightModes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.AllowableFlightModes) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void AllowableFlightModes::InternalSwap(AllowableFlightModes* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_stabilize_mode_) + - sizeof(AllowableFlightModes::_impl_.can_stabilize_mode_) - - PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_auto_mode_)>( - reinterpret_cast(&_impl_.can_auto_mode_), - reinterpret_cast(&other->_impl_.can_auto_mode_)); + +void AllowableFlightModes::InternalSwap(AllowableFlightModes* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_stabilize_mode_) + + sizeof(AllowableFlightModes::_impl_.can_stabilize_mode_) + - PROTOBUF_FIELD_OFFSET(AllowableFlightModes, _impl_.can_auto_mode_)>( + reinterpret_cast(&_impl_.can_auto_mode_), + reinterpret_cast(&other->_impl_.can_auto_mode_)); } -::google::protobuf::Metadata AllowableFlightModes::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata AllowableFlightModes::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ArmDisarm::_Internal { -public: + public: }; ArmDisarm::ArmDisarm(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ArmDisarm) -} -ArmDisarm::ArmDisarm(::google::protobuf::Arena* arena, const ArmDisarm& from) : ArmDisarm(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ArmDisarm) +} +ArmDisarm::ArmDisarm( + ::google::protobuf::Arena* arena, const ArmDisarm& from) + : ArmDisarm(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE ArmDisarm::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ArmDisarm::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, arm_), - 0, - offsetof(Impl_, force_) - offsetof(Impl_, arm_) + sizeof(Impl_::force_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ArmDisarm::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, arm_), + 0, + offsetof(Impl_, force_) - + offsetof(Impl_, arm_) + + sizeof(Impl_::force_)); } -ArmDisarm::~ArmDisarm() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ArmDisarm) - SharedDtor(*this); +ArmDisarm::~ArmDisarm() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ArmDisarm) + SharedDtor(*this); } -inline void ArmDisarm::SharedDtor(MessageLite& self) -{ - ArmDisarm& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void ArmDisarm::SharedDtor(MessageLite& self) { + ArmDisarm& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* ArmDisarm::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmDisarm(arena); +inline void* ArmDisarm::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmDisarm(arena); } -constexpr auto ArmDisarm::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ArmDisarm), alignof(ArmDisarm)); +constexpr auto ArmDisarm::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ArmDisarm), + alignof(ArmDisarm)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7398,283 +6521,253 @@ const ::google::protobuf::internal::ClassDataFull ArmDisarm::_class_data_ = { ::google::protobuf::internal::ClassData{ &_ArmDisarm_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmDisarm::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmDisarm::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ArmDisarm::ByteSizeLong, - &ArmDisarm::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ArmDisarm::ByteSizeLong, + &ArmDisarm::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_._cached_size_), false, }, &ArmDisarm::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* ArmDisarm::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 0, 2> - ArmDisarm::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ArmDisarm>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // bool force = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.force_)}}, - // bool arm = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.arm_)}}, - }}, - {{65535, 65535}}, - {{ - // bool arm = 1; - {PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.arm_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool force = 2; - {PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.force_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void ArmDisarm::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ArmDisarm) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.arm_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.force_) - reinterpret_cast(&_impl_.arm_)) + - sizeof(_impl_.force_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ArmDisarm::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ArmDisarm& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ArmDisarm::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ArmDisarm& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ArmDisarm) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* ArmDisarm::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> ArmDisarm::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ArmDisarm>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bool force = 2; + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.force_)}}, // bool arm = 1; - if (this_._internal_arm() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_arm(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.arm_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool arm = 1; + {PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.arm_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // bool force = 2; - if (this_._internal_force() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this_._internal_force(), target); - } + {PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.force_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ArmDisarm) - return target; -} +PROTOBUF_NOINLINE void ArmDisarm::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ArmDisarm) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.arm_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.force_) - + reinterpret_cast(&_impl_.arm_)) + sizeof(_impl_.force_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ArmDisarm::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ArmDisarm& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ArmDisarm::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ArmDisarm& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ArmDisarm) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool arm = 1; + if (this_._internal_arm() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_arm(), target); + } + + // bool force = 2; + if (this_._internal_force() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_force(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ArmDisarm) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ArmDisarm::ByteSizeLong(const MessageLite& base) -{ - const ArmDisarm& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ArmDisarm::ByteSizeLong() const -{ - const ArmDisarm& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ArmDisarm) - ::size_t total_size = 0; + ::size_t ArmDisarm::ByteSizeLong(const MessageLite& base) { + const ArmDisarm& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ArmDisarm::ByteSizeLong() const { + const ArmDisarm& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ArmDisarm) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // bool arm = 1; - if (this_._internal_arm() != 0) { - total_size += 2; - } - // bool force = 2; - if (this_._internal_force() != 0) { - total_size += 2; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // bool arm = 1; + if (this_._internal_arm() != 0) { + total_size += 2; + } + // bool force = 2; + if (this_._internal_force() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ArmDisarm::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ArmDisarm) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ArmDisarm::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ArmDisarm) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_arm() != 0) { - _this->_impl_.arm_ = from._impl_.arm_; - } - if (from._internal_force() != 0) { - _this->_impl_.force_ = from._impl_.force_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_arm() != 0) { + _this->_impl_.arm_ = from._impl_.arm_; + } + if (from._internal_force() != 0) { + _this->_impl_.force_ = from._impl_.force_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ArmDisarm::CopyFrom(const ArmDisarm& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ArmDisarm) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ArmDisarm::CopyFrom(const ArmDisarm& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ArmDisarm) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ArmDisarm::InternalSwap(ArmDisarm* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.force_) + sizeof(ArmDisarm::_impl_.force_) - - PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.arm_)>( - reinterpret_cast(&_impl_.arm_), reinterpret_cast(&other->_impl_.arm_)); + +void ArmDisarm::InternalSwap(ArmDisarm* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.force_) + + sizeof(ArmDisarm::_impl_.force_) + - PROTOBUF_FIELD_OFFSET(ArmDisarm, _impl_.arm_)>( + reinterpret_cast(&_impl_.arm_), + reinterpret_cast(&other->_impl_.arm_)); } -::google::protobuf::Metadata ArmDisarm::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ArmDisarm::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ActionServerResult::_Internal { -public: + public: }; ActionServerResult::ActionServerResult(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ActionServerResult) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.action_server.ActionServerResult) } inline PROTOBUF_NDEBUG_INLINE ActionServerResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::action_server::ActionServerResult& from_msg) : - result_str_(arena, from.result_str_), - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::action_server::ActionServerResult& from_msg) + : result_str_(arena, from.result_str_), + _cached_size_{0} {} ActionServerResult::ActionServerResult( - ::google::protobuf::Arena* arena, const ActionServerResult& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ActionServerResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.ActionServerResult) + ::google::protobuf::Arena* arena, + const ActionServerResult& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ActionServerResult* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.result_ = from._impl_.result_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.action_server.ActionServerResult) } inline PROTOBUF_NDEBUG_INLINE ActionServerResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - result_str_(arena), - _cached_size_{0} -{} - -inline void ActionServerResult::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -ActionServerResult::~ActionServerResult() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ActionServerResult) - SharedDtor(*this); -} -inline void ActionServerResult::SharedDtor(MessageLite& self) -{ - ActionServerResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.result_str_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* -ActionServerResult::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ActionServerResult(arena); -} -constexpr auto ActionServerResult::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(ActionServerResult), alignof(ActionServerResult)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : result_str_(arena), + _cached_size_{0} {} + +inline void ActionServerResult::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.result_ = {}; +} +ActionServerResult::~ActionServerResult() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.action_server.ActionServerResult) + SharedDtor(*this); +} +inline void ActionServerResult::SharedDtor(MessageLite& self) { + ActionServerResult& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.result_str_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ActionServerResult::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ActionServerResult(arena); +} +constexpr auto ActionServerResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ActionServerResult), + alignof(ActionServerResult)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7682,219 +6775,200 @@ const ::google::protobuf::internal::ClassDataFull ActionServerResult::_class_dat ::google::protobuf::internal::ClassData{ &_ActionServerResult_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ActionServerResult::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ActionServerResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ActionServerResult::ByteSizeLong, - &ActionServerResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ActionServerResult::ByteSizeLong, + &ActionServerResult::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_._cached_size_), false, }, &ActionServerResult::kDescriptorMethods, &descriptor_table_action_5fserver_2faction_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* ActionServerResult::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 62, 2> - ActionServerResult::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::action_server::ActionServerResult>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // string result_str = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_str_)}}, - // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(ActionServerResult, _impl_.result_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; - {PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string result_str = 2; - {PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_str_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{"\53\0\12\0\0\0\0\0" - "mavsdk.rpc.action_server.ActionServerResult" - "result_str"}}, - }; - -PROTOBUF_NOINLINE void ActionServerResult::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ActionServerResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.result_str_.ClearToEmpty(); - _impl_.result_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ActionServerResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ActionServerResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ActionServerResult::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ActionServerResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ActionServerResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* ActionServerResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 62, 2> ActionServerResult::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::action_server::ActionServerResult>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string result_str = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_str_)}}, // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_result(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ActionServerResult, _impl_.result_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; + {PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // string result_str = 2; - if (!this_._internal_result_str().empty()) { - const std::string& _s = this_._internal_result_str(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.action_server.ActionServerResult.result_str"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } + {PROTOBUF_FIELD_OFFSET(ActionServerResult, _impl_.result_str_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\53\0\12\0\0\0\0\0" + "mavsdk.rpc.action_server.ActionServerResult" + "result_str" + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ActionServerResult) - return target; -} +PROTOBUF_NOINLINE void ActionServerResult::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.action_server.ActionServerResult) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.result_str_.ClearToEmpty(); + _impl_.result_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ActionServerResult::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ActionServerResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ActionServerResult::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ActionServerResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.action_server.ActionServerResult) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + const std::string& _s = this_._internal_result_str(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.action_server.ActionServerResult.result_str"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.action_server.ActionServerResult) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ActionServerResult::ByteSizeLong(const MessageLite& base) -{ - const ActionServerResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ActionServerResult::ByteSizeLong() const -{ - const ActionServerResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ActionServerResult) - ::size_t total_size = 0; + ::size_t ActionServerResult::ByteSizeLong(const MessageLite& base) { + const ActionServerResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ActionServerResult::ByteSizeLong() const { + const ActionServerResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.action_server.ActionServerResult) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string result_str = 2; - if (!this_._internal_result_str().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_result_str()); - } - // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_result_str()); + } + // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; + if (this_._internal_result() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ActionServerResult::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ActionServerResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ActionServerResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.action_server.ActionServerResult) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (!from._internal_result_str().empty()) { - _this->_internal_set_result_str(from._internal_result_str()); - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (!from._internal_result_str().empty()) { + _this->_internal_set_result_str(from._internal_result_str()); + } + if (from._internal_result() != 0) { + _this->_impl_.result_ = from._impl_.result_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ActionServerResult::CopyFrom(const ActionServerResult& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ActionServerResult) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ActionServerResult::CopyFrom(const ActionServerResult& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.action_server.ActionServerResult) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ActionServerResult::InternalSwap(ActionServerResult* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); - swap(_impl_.result_, other->_impl_.result_); + +void ActionServerResult::InternalSwap(ActionServerResult* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); + swap(_impl_.result_, other->_impl_.result_); } -::google::protobuf::Metadata ActionServerResult::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ActionServerResult::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // @@protoc_insertion_point(namespace_scope) -} // namespace action_server -} // namespace rpc -} // namespace mavsdk +} // namespace action_server +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init2_ PROTOBUF_UNUSED = - (::_pbi::AddDescriptors(&descriptor_table_action_5fserver_2faction_5fserver_2eproto), - ::std::false_type{}); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_action_5fserver_2faction_5fserver_2eproto), + ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/mavsdk_server/src/generated/action_server/action_server.pb.h b/src/mavsdk_server/src/generated/action_server/action_server.pb.h index b3c73dc70..dceada58a 100644 --- a/src/mavsdk_server/src/generated/action_server/action_server.pb.h +++ b/src/mavsdk_server/src/generated/action_server/action_server.pb.h @@ -27,8 +27,8 @@ #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/message_lite.h" -#include "google/protobuf/repeated_field.h" // IWYU pragma: export -#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "mavsdk_options.pb.h" @@ -42,14 +42,15 @@ namespace google { namespace protobuf { namespace internal { -template::absl::string_view GetAnyMessageName(); -} // namespace internal -} // namespace protobuf -} // namespace google +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_action_5fserver_2faction_5fserver_2eproto { - static const ::uint32_t offsets[]; + static const ::uint32_t offsets[]; }; extern const ::google::protobuf::internal::DescriptorTable descriptor_table_action_5fserver_2faction_5fserver_2eproto; @@ -73,12 +74,10 @@ struct FlightModeChangeResponseDefaultTypeInternal; extern FlightModeChangeResponseDefaultTypeInternal _FlightModeChangeResponse_default_instance_; class GetAllowableFlightModesRequest; struct GetAllowableFlightModesRequestDefaultTypeInternal; -extern GetAllowableFlightModesRequestDefaultTypeInternal - _GetAllowableFlightModesRequest_default_instance_; +extern GetAllowableFlightModesRequestDefaultTypeInternal _GetAllowableFlightModesRequest_default_instance_; class GetAllowableFlightModesResponse; struct GetAllowableFlightModesResponseDefaultTypeInternal; -extern GetAllowableFlightModesResponseDefaultTypeInternal - _GetAllowableFlightModesResponse_default_instance_; +extern GetAllowableFlightModesResponseDefaultTypeInternal _GetAllowableFlightModesResponse_default_instance_; class LandResponse; struct LandResponseDefaultTypeInternal; extern LandResponseDefaultTypeInternal _LandResponse_default_instance_; @@ -93,12 +92,10 @@ struct SetAllowTakeoffResponseDefaultTypeInternal; extern SetAllowTakeoffResponseDefaultTypeInternal _SetAllowTakeoffResponse_default_instance_; class SetAllowableFlightModesRequest; struct SetAllowableFlightModesRequestDefaultTypeInternal; -extern SetAllowableFlightModesRequestDefaultTypeInternal - _SetAllowableFlightModesRequest_default_instance_; +extern SetAllowableFlightModesRequestDefaultTypeInternal _SetAllowableFlightModesRequest_default_instance_; class SetAllowableFlightModesResponse; struct SetAllowableFlightModesResponseDefaultTypeInternal; -extern SetAllowableFlightModesResponseDefaultTypeInternal - _SetAllowableFlightModesResponse_default_instance_; +extern SetAllowableFlightModesResponseDefaultTypeInternal _SetAllowableFlightModesResponse_default_instance_; class SetArmableRequest; struct SetArmableRequestDefaultTypeInternal; extern SetArmableRequestDefaultTypeInternal _SetArmableRequest_default_instance_; @@ -119,8 +116,7 @@ struct SubscribeArmDisarmRequestDefaultTypeInternal; extern SubscribeArmDisarmRequestDefaultTypeInternal _SubscribeArmDisarmRequest_default_instance_; class SubscribeFlightModeChangeRequest; struct SubscribeFlightModeChangeRequestDefaultTypeInternal; -extern SubscribeFlightModeChangeRequestDefaultTypeInternal - _SubscribeFlightModeChangeRequest_default_instance_; +extern SubscribeFlightModeChangeRequestDefaultTypeInternal _SubscribeFlightModeChangeRequest_default_instance_; class SubscribeLandRequest; struct SubscribeLandRequestDefaultTypeInternal; extern SubscribeLandRequestDefaultTypeInternal _SubscribeLandRequest_default_instance_; @@ -142,79 +138,80 @@ extern TakeoffResponseDefaultTypeInternal _TakeoffResponse_default_instance_; class TerminateResponse; struct TerminateResponseDefaultTypeInternal; extern TerminateResponseDefaultTypeInternal _TerminateResponse_default_instance_; -} // namespace action_server -} // namespace rpc -} // namespace mavsdk +} // namespace action_server +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google namespace mavsdk { namespace rpc { namespace action_server { enum ActionServerResult_Result : int { - ActionServerResult_Result_RESULT_UNKNOWN = 0, - ActionServerResult_Result_RESULT_SUCCESS = 1, - ActionServerResult_Result_RESULT_NO_SYSTEM = 2, - ActionServerResult_Result_RESULT_CONNECTION_ERROR = 3, - ActionServerResult_Result_RESULT_BUSY = 4, - ActionServerResult_Result_RESULT_COMMAND_DENIED = 5, - ActionServerResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = 6, - ActionServerResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED = 7, - ActionServerResult_Result_RESULT_TIMEOUT = 8, - ActionServerResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = 9, - ActionServerResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT = 10, - ActionServerResult_Result_RESULT_PARAMETER_ERROR = 11, - ActionServerResult_Result_RESULT_NEXT = 12, - ActionServerResult_Result_ActionServerResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - ActionServerResult_Result_ActionServerResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ActionServerResult_Result_RESULT_UNKNOWN = 0, + ActionServerResult_Result_RESULT_SUCCESS = 1, + ActionServerResult_Result_RESULT_NO_SYSTEM = 2, + ActionServerResult_Result_RESULT_CONNECTION_ERROR = 3, + ActionServerResult_Result_RESULT_BUSY = 4, + ActionServerResult_Result_RESULT_COMMAND_DENIED = 5, + ActionServerResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = 6, + ActionServerResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED = 7, + ActionServerResult_Result_RESULT_TIMEOUT = 8, + ActionServerResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = 9, + ActionServerResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT = 10, + ActionServerResult_Result_RESULT_PARAMETER_ERROR = 11, + ActionServerResult_Result_RESULT_NEXT = 12, + ActionServerResult_Result_ActionServerResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ActionServerResult_Result_ActionServerResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), }; bool ActionServerResult_Result_IsValid(int value); extern const uint32_t ActionServerResult_Result_internal_data_[]; -constexpr ActionServerResult_Result ActionServerResult_Result_Result_MIN = - static_cast(0); -constexpr ActionServerResult_Result ActionServerResult_Result_Result_MAX = - static_cast(12); +constexpr ActionServerResult_Result ActionServerResult_Result_Result_MIN = static_cast(0); +constexpr ActionServerResult_Result ActionServerResult_Result_Result_MAX = static_cast(12); constexpr int ActionServerResult_Result_Result_ARRAYSIZE = 12 + 1; -const ::google::protobuf::EnumDescriptor* ActionServerResult_Result_descriptor(); -template const std::string& ActionServerResult_Result_Name(T value) -{ - static_assert( - std::is_same::value || std::is_integral::value, - "Incorrect type passed to Result_Name()."); - return ActionServerResult_Result_Name(static_cast(value)); -} -template<> inline const std::string& ActionServerResult_Result_Name(ActionServerResult_Result value) -{ - return ::google::protobuf::internal:: - NameOfDenseEnum(static_cast(value)); -} -inline bool -ActionServerResult_Result_Parse(absl::string_view name, ActionServerResult_Result* value) -{ - return ::google::protobuf::internal::ParseNamedEnum( - ActionServerResult_Result_descriptor(), name, value); +const ::google::protobuf::EnumDescriptor* +ActionServerResult_Result_descriptor(); +template +const std::string& ActionServerResult_Result_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to Result_Name()."); + return ActionServerResult_Result_Name(static_cast(value)); +} +template <> +inline const std::string& ActionServerResult_Result_Name(ActionServerResult_Result value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ActionServerResult_Result_Parse(absl::string_view name, ActionServerResult_Result* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ActionServerResult_Result_descriptor(), name, value); } enum FlightMode : int { - FLIGHT_MODE_UNKNOWN = 0, - FLIGHT_MODE_READY = 1, - FLIGHT_MODE_TAKEOFF = 2, - FLIGHT_MODE_HOLD = 3, - FLIGHT_MODE_MISSION = 4, - FLIGHT_MODE_RETURN_TO_LAUNCH = 5, - FLIGHT_MODE_LAND = 6, - FLIGHT_MODE_OFFBOARD = 7, - FLIGHT_MODE_FOLLOW_ME = 8, - FLIGHT_MODE_MANUAL = 9, - FLIGHT_MODE_ALTCTL = 10, - FLIGHT_MODE_POSCTL = 11, - FLIGHT_MODE_ACRO = 12, - FLIGHT_MODE_STABILIZED = 13, - FlightMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(), - FlightMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max(), + FLIGHT_MODE_UNKNOWN = 0, + FLIGHT_MODE_READY = 1, + FLIGHT_MODE_TAKEOFF = 2, + FLIGHT_MODE_HOLD = 3, + FLIGHT_MODE_MISSION = 4, + FLIGHT_MODE_RETURN_TO_LAUNCH = 5, + FLIGHT_MODE_LAND = 6, + FLIGHT_MODE_OFFBOARD = 7, + FLIGHT_MODE_FOLLOW_ME = 8, + FLIGHT_MODE_MANUAL = 9, + FLIGHT_MODE_ALTCTL = 10, + FLIGHT_MODE_POSCTL = 11, + FLIGHT_MODE_ACRO = 12, + FLIGHT_MODE_STABILIZED = 13, + FlightMode_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + FlightMode_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), }; bool FlightMode_IsValid(int value); @@ -222,5614 +219,5138 @@ extern const uint32_t FlightMode_internal_data_[]; constexpr FlightMode FlightMode_MIN = static_cast(0); constexpr FlightMode FlightMode_MAX = static_cast(13); constexpr int FlightMode_ARRAYSIZE = 13 + 1; -const ::google::protobuf::EnumDescriptor* FlightMode_descriptor(); -template const std::string& FlightMode_Name(T value) -{ - static_assert( - std::is_same::value || std::is_integral::value, - "Incorrect type passed to FlightMode_Name()."); - return FlightMode_Name(static_cast(value)); -} -template<> inline const std::string& FlightMode_Name(FlightMode value) -{ - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool FlightMode_Parse(absl::string_view name, FlightMode* value) -{ - return ::google::protobuf::internal::ParseNamedEnum( - FlightMode_descriptor(), name, value); +const ::google::protobuf::EnumDescriptor* +FlightMode_descriptor(); +template +const std::string& FlightMode_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to FlightMode_Name()."); + return FlightMode_Name(static_cast(value)); +} +template <> +inline const std::string& FlightMode_Name(FlightMode value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool FlightMode_Parse(absl::string_view name, FlightMode* value) { + return ::google::protobuf::internal::ParseNamedEnum( + FlightMode_descriptor(), name, value); } // =================================================================== + // ------------------------------------------------------------------- -class SubscribeTerminateRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeTerminateRequest) */ -{ -public: - inline SubscribeTerminateRequest() : SubscribeTerminateRequest(nullptr) {} +class SubscribeTerminateRequest final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeTerminateRequest) */ { + public: + inline SubscribeTerminateRequest() : SubscribeTerminateRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeTerminateRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeTerminateRequest)); - } + void operator delete(SubscribeTerminateRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeTerminateRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeTerminateRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeTerminateRequest(const SubscribeTerminateRequest& from) : - SubscribeTerminateRequest(nullptr, from) - {} - inline SubscribeTerminateRequest(SubscribeTerminateRequest&& from) noexcept : - SubscribeTerminateRequest(nullptr, std::move(from)) - {} - inline SubscribeTerminateRequest& operator=(const SubscribeTerminateRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeTerminateRequest& operator=(SubscribeTerminateRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeTerminateRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeTerminateRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeTerminateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 11; - friend void swap(SubscribeTerminateRequest& a, SubscribeTerminateRequest& b) { a.Swap(&b); } - inline void Swap(SubscribeTerminateRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeTerminateRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeTerminateRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeTerminateRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeTerminateRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeTerminateRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SubscribeTerminateRequest"; - } - -protected: - explicit SubscribeTerminateRequest(::google::protobuf::Arena* arena); - SubscribeTerminateRequest( - ::google::protobuf::Arena* arena, const SubscribeTerminateRequest& from); - SubscribeTerminateRequest( - ::google::protobuf::Arena* arena, SubscribeTerminateRequest&& from) noexcept : - SubscribeTerminateRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeTerminateRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeTerminateRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeTerminateRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeTerminateRequest(const SubscribeTerminateRequest& from) : SubscribeTerminateRequest(nullptr, from) {} + inline SubscribeTerminateRequest(SubscribeTerminateRequest&& from) noexcept + : SubscribeTerminateRequest(nullptr, std::move(from)) {} + inline SubscribeTerminateRequest& operator=(const SubscribeTerminateRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeTerminateRequest& operator=(SubscribeTerminateRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeTerminateRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeTerminateRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeTerminateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(SubscribeTerminateRequest& a, SubscribeTerminateRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeTerminateRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeTerminateRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeTerminateRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeTerminateRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeTerminateRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SubscribeTerminateRequest"; } + + protected: + explicit SubscribeTerminateRequest(::google::protobuf::Arena* arena); + SubscribeTerminateRequest(::google::protobuf::Arena* arena, const SubscribeTerminateRequest& from); + SubscribeTerminateRequest(::google::protobuf::Arena* arena, SubscribeTerminateRequest&& from) noexcept + : SubscribeTerminateRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeTerminateRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeTerminateRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SubscribeTakeoffRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class SubscribeTakeoffRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeTakeoffRequest) */ { -public: - inline SubscribeTakeoffRequest() : SubscribeTakeoffRequest(nullptr) {} + public: + inline SubscribeTakeoffRequest() : SubscribeTakeoffRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeTakeoffRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeTakeoffRequest)); - } + void operator delete(SubscribeTakeoffRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeTakeoffRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeTakeoffRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeTakeoffRequest(const SubscribeTakeoffRequest& from) : - SubscribeTakeoffRequest(nullptr, from) - {} - inline SubscribeTakeoffRequest(SubscribeTakeoffRequest&& from) noexcept : - SubscribeTakeoffRequest(nullptr, std::move(from)) - {} - inline SubscribeTakeoffRequest& operator=(const SubscribeTakeoffRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeTakeoffRequest& operator=(SubscribeTakeoffRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeTakeoffRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeTakeoffRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeTakeoffRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 7; - friend void swap(SubscribeTakeoffRequest& a, SubscribeTakeoffRequest& b) { a.Swap(&b); } - inline void Swap(SubscribeTakeoffRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeTakeoffRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeTakeoffRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeTakeoffRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeTakeoffRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeTakeoffRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SubscribeTakeoffRequest"; - } - -protected: - explicit SubscribeTakeoffRequest(::google::protobuf::Arena* arena); - SubscribeTakeoffRequest(::google::protobuf::Arena* arena, const SubscribeTakeoffRequest& from); - SubscribeTakeoffRequest( - ::google::protobuf::Arena* arena, SubscribeTakeoffRequest&& from) noexcept : - SubscribeTakeoffRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeTakeoffRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeTakeoffRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeTakeoffRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeTakeoffRequest(const SubscribeTakeoffRequest& from) : SubscribeTakeoffRequest(nullptr, from) {} + inline SubscribeTakeoffRequest(SubscribeTakeoffRequest&& from) noexcept + : SubscribeTakeoffRequest(nullptr, std::move(from)) {} + inline SubscribeTakeoffRequest& operator=(const SubscribeTakeoffRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeTakeoffRequest& operator=(SubscribeTakeoffRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeTakeoffRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeTakeoffRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeTakeoffRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(SubscribeTakeoffRequest& a, SubscribeTakeoffRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeTakeoffRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeTakeoffRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeTakeoffRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeTakeoffRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeTakeoffRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SubscribeTakeoffRequest"; } + + protected: + explicit SubscribeTakeoffRequest(::google::protobuf::Arena* arena); + SubscribeTakeoffRequest(::google::protobuf::Arena* arena, const SubscribeTakeoffRequest& from); + SubscribeTakeoffRequest(::google::protobuf::Arena* arena, SubscribeTakeoffRequest&& from) noexcept + : SubscribeTakeoffRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeTakeoffRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeTakeoffRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SubscribeShutdownRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class SubscribeShutdownRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeShutdownRequest) */ { -public: - inline SubscribeShutdownRequest() : SubscribeShutdownRequest(nullptr) {} + public: + inline SubscribeShutdownRequest() : SubscribeShutdownRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeShutdownRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeShutdownRequest)); - } + void operator delete(SubscribeShutdownRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeShutdownRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeShutdownRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeShutdownRequest(const SubscribeShutdownRequest& from) : - SubscribeShutdownRequest(nullptr, from) - {} - inline SubscribeShutdownRequest(SubscribeShutdownRequest&& from) noexcept : - SubscribeShutdownRequest(nullptr, std::move(from)) - {} - inline SubscribeShutdownRequest& operator=(const SubscribeShutdownRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeShutdownRequest& operator=(SubscribeShutdownRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeShutdownRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeShutdownRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeShutdownRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 10; - friend void swap(SubscribeShutdownRequest& a, SubscribeShutdownRequest& b) { a.Swap(&b); } - inline void Swap(SubscribeShutdownRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeShutdownRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeShutdownRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeShutdownRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeShutdownRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeShutdownRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SubscribeShutdownRequest"; - } - -protected: - explicit SubscribeShutdownRequest(::google::protobuf::Arena* arena); - SubscribeShutdownRequest( - ::google::protobuf::Arena* arena, const SubscribeShutdownRequest& from); - SubscribeShutdownRequest( - ::google::protobuf::Arena* arena, SubscribeShutdownRequest&& from) noexcept : - SubscribeShutdownRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeShutdownRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeShutdownRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeShutdownRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeShutdownRequest(const SubscribeShutdownRequest& from) : SubscribeShutdownRequest(nullptr, from) {} + inline SubscribeShutdownRequest(SubscribeShutdownRequest&& from) noexcept + : SubscribeShutdownRequest(nullptr, std::move(from)) {} + inline SubscribeShutdownRequest& operator=(const SubscribeShutdownRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeShutdownRequest& operator=(SubscribeShutdownRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeShutdownRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeShutdownRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeShutdownRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(SubscribeShutdownRequest& a, SubscribeShutdownRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeShutdownRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeShutdownRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeShutdownRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeShutdownRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeShutdownRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SubscribeShutdownRequest"; } + + protected: + explicit SubscribeShutdownRequest(::google::protobuf::Arena* arena); + SubscribeShutdownRequest(::google::protobuf::Arena* arena, const SubscribeShutdownRequest& from); + SubscribeShutdownRequest(::google::protobuf::Arena* arena, SubscribeShutdownRequest&& from) noexcept + : SubscribeShutdownRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeShutdownRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeShutdownRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SubscribeRebootRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class SubscribeRebootRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeRebootRequest) */ { -public: - inline SubscribeRebootRequest() : SubscribeRebootRequest(nullptr) {} + public: + inline SubscribeRebootRequest() : SubscribeRebootRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeRebootRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeRebootRequest)); - } + void operator delete(SubscribeRebootRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeRebootRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeRebootRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeRebootRequest(const SubscribeRebootRequest& from) : - SubscribeRebootRequest(nullptr, from) - {} - inline SubscribeRebootRequest(SubscribeRebootRequest&& from) noexcept : - SubscribeRebootRequest(nullptr, std::move(from)) - {} - inline SubscribeRebootRequest& operator=(const SubscribeRebootRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeRebootRequest& operator=(SubscribeRebootRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeRebootRequest& default_instance() { return *internal_default_instance(); } - static inline const SubscribeRebootRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeRebootRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 9; - friend void swap(SubscribeRebootRequest& a, SubscribeRebootRequest& b) { a.Swap(&b); } - inline void Swap(SubscribeRebootRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeRebootRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeRebootRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeRebootRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeRebootRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeRebootRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SubscribeRebootRequest"; - } - -protected: - explicit SubscribeRebootRequest(::google::protobuf::Arena* arena); - SubscribeRebootRequest(::google::protobuf::Arena* arena, const SubscribeRebootRequest& from); - SubscribeRebootRequest(::google::protobuf::Arena* arena, SubscribeRebootRequest&& from) noexcept - : - SubscribeRebootRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeRebootRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeRebootRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeRebootRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeRebootRequest(const SubscribeRebootRequest& from) : SubscribeRebootRequest(nullptr, from) {} + inline SubscribeRebootRequest(SubscribeRebootRequest&& from) noexcept + : SubscribeRebootRequest(nullptr, std::move(from)) {} + inline SubscribeRebootRequest& operator=(const SubscribeRebootRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeRebootRequest& operator=(SubscribeRebootRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeRebootRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeRebootRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeRebootRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(SubscribeRebootRequest& a, SubscribeRebootRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeRebootRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeRebootRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeRebootRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeRebootRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeRebootRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SubscribeRebootRequest"; } + + protected: + explicit SubscribeRebootRequest(::google::protobuf::Arena* arena); + SubscribeRebootRequest(::google::protobuf::Arena* arena, const SubscribeRebootRequest& from); + SubscribeRebootRequest(::google::protobuf::Arena* arena, SubscribeRebootRequest&& from) noexcept + : SubscribeRebootRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeRebootRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeRebootRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SubscribeLandRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class SubscribeLandRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeLandRequest) */ { -public: - inline SubscribeLandRequest() : SubscribeLandRequest(nullptr) {} + public: + inline SubscribeLandRequest() : SubscribeLandRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeLandRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeLandRequest)); - } + void operator delete(SubscribeLandRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeLandRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeLandRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeLandRequest(const SubscribeLandRequest& from) : - SubscribeLandRequest(nullptr, from) - {} - inline SubscribeLandRequest(SubscribeLandRequest&& from) noexcept : - SubscribeLandRequest(nullptr, std::move(from)) - {} - inline SubscribeLandRequest& operator=(const SubscribeLandRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeLandRequest& operator=(SubscribeLandRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeLandRequest& default_instance() { return *internal_default_instance(); } - static inline const SubscribeLandRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeLandRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 8; - friend void swap(SubscribeLandRequest& a, SubscribeLandRequest& b) { a.Swap(&b); } - inline void Swap(SubscribeLandRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeLandRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeLandRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct( - arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeLandRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeLandRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SubscribeLandRequest"; - } - -protected: - explicit SubscribeLandRequest(::google::protobuf::Arena* arena); - SubscribeLandRequest(::google::protobuf::Arena* arena, const SubscribeLandRequest& from); - SubscribeLandRequest(::google::protobuf::Arena* arena, SubscribeLandRequest&& from) noexcept : - SubscribeLandRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeLandRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeLandRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeLandRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeLandRequest(const SubscribeLandRequest& from) : SubscribeLandRequest(nullptr, from) {} + inline SubscribeLandRequest(SubscribeLandRequest&& from) noexcept + : SubscribeLandRequest(nullptr, std::move(from)) {} + inline SubscribeLandRequest& operator=(const SubscribeLandRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeLandRequest& operator=(SubscribeLandRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeLandRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeLandRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeLandRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(SubscribeLandRequest& a, SubscribeLandRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeLandRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeLandRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeLandRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeLandRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeLandRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SubscribeLandRequest"; } + + protected: + explicit SubscribeLandRequest(::google::protobuf::Arena* arena); + SubscribeLandRequest(::google::protobuf::Arena* arena, const SubscribeLandRequest& from); + SubscribeLandRequest(::google::protobuf::Arena* arena, SubscribeLandRequest&& from) noexcept + : SubscribeLandRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeLandRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeLandRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SubscribeFlightModeChangeRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) - */ -{ -public: - inline SubscribeFlightModeChangeRequest() : SubscribeFlightModeChangeRequest(nullptr) {} +class SubscribeFlightModeChangeRequest final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) */ { + public: + inline SubscribeFlightModeChangeRequest() : SubscribeFlightModeChangeRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeFlightModeChangeRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeFlightModeChangeRequest)); - } + void operator delete(SubscribeFlightModeChangeRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeFlightModeChangeRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeFlightModeChangeRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeFlightModeChangeRequest(const SubscribeFlightModeChangeRequest& from) : - SubscribeFlightModeChangeRequest(nullptr, from) - {} - inline SubscribeFlightModeChangeRequest(SubscribeFlightModeChangeRequest&& from) noexcept : - SubscribeFlightModeChangeRequest(nullptr, std::move(from)) - {} - inline SubscribeFlightModeChangeRequest& operator=(const SubscribeFlightModeChangeRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeFlightModeChangeRequest& - operator=(SubscribeFlightModeChangeRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeFlightModeChangeRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeFlightModeChangeRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeFlightModeChangeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 6; - friend void swap(SubscribeFlightModeChangeRequest& a, SubscribeFlightModeChangeRequest& b) - { - a.Swap(&b); - } - inline void Swap(SubscribeFlightModeChangeRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeFlightModeChangeRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeFlightModeChangeRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeFlightModeChangeRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeFlightModeChangeRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeFlightModeChangeRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest"; - } - -protected: - explicit SubscribeFlightModeChangeRequest(::google::protobuf::Arena* arena); - SubscribeFlightModeChangeRequest( - ::google::protobuf::Arena* arena, const SubscribeFlightModeChangeRequest& from); - SubscribeFlightModeChangeRequest( - ::google::protobuf::Arena* arena, SubscribeFlightModeChangeRequest&& from) noexcept : - SubscribeFlightModeChangeRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeFlightModeChangeRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeFlightModeChangeRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeFlightModeChangeRequest(const SubscribeFlightModeChangeRequest& from) : SubscribeFlightModeChangeRequest(nullptr, from) {} + inline SubscribeFlightModeChangeRequest(SubscribeFlightModeChangeRequest&& from) noexcept + : SubscribeFlightModeChangeRequest(nullptr, std::move(from)) {} + inline SubscribeFlightModeChangeRequest& operator=(const SubscribeFlightModeChangeRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeFlightModeChangeRequest& operator=(SubscribeFlightModeChangeRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeFlightModeChangeRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeFlightModeChangeRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeFlightModeChangeRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(SubscribeFlightModeChangeRequest& a, SubscribeFlightModeChangeRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeFlightModeChangeRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeFlightModeChangeRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeFlightModeChangeRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeFlightModeChangeRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeFlightModeChangeRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest"; } + + protected: + explicit SubscribeFlightModeChangeRequest(::google::protobuf::Arena* arena); + SubscribeFlightModeChangeRequest(::google::protobuf::Arena* arena, const SubscribeFlightModeChangeRequest& from); + SubscribeFlightModeChangeRequest(::google::protobuf::Arena* arena, SubscribeFlightModeChangeRequest&& from) noexcept + : SubscribeFlightModeChangeRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeFlightModeChangeRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeFlightModeChangeRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SubscribeArmDisarmRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) */ -{ -public: - inline SubscribeArmDisarmRequest() : SubscribeArmDisarmRequest(nullptr) {} +class SubscribeArmDisarmRequest final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) */ { + public: + inline SubscribeArmDisarmRequest() : SubscribeArmDisarmRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeArmDisarmRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeArmDisarmRequest)); - } + void operator delete(SubscribeArmDisarmRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeArmDisarmRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeArmDisarmRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeArmDisarmRequest(const SubscribeArmDisarmRequest& from) : - SubscribeArmDisarmRequest(nullptr, from) - {} - inline SubscribeArmDisarmRequest(SubscribeArmDisarmRequest&& from) noexcept : - SubscribeArmDisarmRequest(nullptr, std::move(from)) - {} - inline SubscribeArmDisarmRequest& operator=(const SubscribeArmDisarmRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeArmDisarmRequest& operator=(SubscribeArmDisarmRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeArmDisarmRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeArmDisarmRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeArmDisarmRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 5; - friend void swap(SubscribeArmDisarmRequest& a, SubscribeArmDisarmRequest& b) { a.Swap(&b); } - inline void Swap(SubscribeArmDisarmRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeArmDisarmRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeArmDisarmRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeArmDisarmRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeArmDisarmRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeArmDisarmRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SubscribeArmDisarmRequest"; - } - -protected: - explicit SubscribeArmDisarmRequest(::google::protobuf::Arena* arena); - SubscribeArmDisarmRequest( - ::google::protobuf::Arena* arena, const SubscribeArmDisarmRequest& from); - SubscribeArmDisarmRequest( - ::google::protobuf::Arena* arena, SubscribeArmDisarmRequest&& from) noexcept : - SubscribeArmDisarmRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeArmDisarmRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeArmDisarmRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeArmDisarmRequest(const SubscribeArmDisarmRequest& from) : SubscribeArmDisarmRequest(nullptr, from) {} + inline SubscribeArmDisarmRequest(SubscribeArmDisarmRequest&& from) noexcept + : SubscribeArmDisarmRequest(nullptr, std::move(from)) {} + inline SubscribeArmDisarmRequest& operator=(const SubscribeArmDisarmRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeArmDisarmRequest& operator=(SubscribeArmDisarmRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeArmDisarmRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeArmDisarmRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeArmDisarmRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(SubscribeArmDisarmRequest& a, SubscribeArmDisarmRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeArmDisarmRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeArmDisarmRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeArmDisarmRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeArmDisarmRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeArmDisarmRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SubscribeArmDisarmRequest"; } + + protected: + explicit SubscribeArmDisarmRequest(::google::protobuf::Arena* arena); + SubscribeArmDisarmRequest(::google::protobuf::Arena* arena, const SubscribeArmDisarmRequest& from); + SubscribeArmDisarmRequest(::google::protobuf::Arena* arena, SubscribeArmDisarmRequest&& from) noexcept + : SubscribeArmDisarmRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SubscribeArmDisarmRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeArmDisarmRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SetDisarmableRequest final : public ::google::protobuf::Message +class SetDisarmableRequest final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetDisarmableRequest) */ { -public: - inline SetDisarmableRequest() : SetDisarmableRequest(nullptr) {} - ~SetDisarmableRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetDisarmableRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDisarmableRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - SetDisarmableRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetDisarmableRequest(const SetDisarmableRequest& from) : - SetDisarmableRequest(nullptr, from) - {} - inline SetDisarmableRequest(SetDisarmableRequest&& from) noexcept : - SetDisarmableRequest(nullptr, std::move(from)) - {} - inline SetDisarmableRequest& operator=(const SetDisarmableRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetDisarmableRequest& operator=(SetDisarmableRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetDisarmableRequest& default_instance() { return *internal_default_instance(); } - static inline const SetDisarmableRequest* internal_default_instance() - { - return reinterpret_cast( - &_SetDisarmableRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(SetDisarmableRequest& a, SetDisarmableRequest& b) { a.Swap(&b); } - inline void Swap(SetDisarmableRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetDisarmableRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetDisarmableRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetDisarmableRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetDisarmableRequest& from) - { - SetDisarmableRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetDisarmableRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetDisarmableRequest"; - } - -protected: - explicit SetDisarmableRequest(::google::protobuf::Arena* arena); - SetDisarmableRequest(::google::protobuf::Arena* arena, const SetDisarmableRequest& from); - SetDisarmableRequest(::google::protobuf::Arena* arena, SetDisarmableRequest&& from) noexcept : - SetDisarmableRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kDisarmableFieldNumber = 1, - kForceDisarmableFieldNumber = 2, - }; - // bool disarmable = 1; - void clear_disarmable(); - bool disarmable() const; - void set_disarmable(bool value); - -private: - bool _internal_disarmable() const; - void _internal_set_disarmable(bool value); - -public: - // bool force_disarmable = 2; - void clear_force_disarmable(); - bool force_disarmable() const; - void set_force_disarmable(bool value); - -private: - bool _internal_force_disarmable() const; - void _internal_set_force_disarmable(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetDisarmableRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetDisarmableRequest& from_msg); - bool disarmable_; - bool force_disarmable_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class SetArmableRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetArmableRequest) */ { -public: - inline SetArmableRequest() : SetArmableRequest(nullptr) {} - ~SetArmableRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetArmableRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetArmableRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - SetArmableRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetArmableRequest(const SetArmableRequest& from) : SetArmableRequest(nullptr, from) {} - inline SetArmableRequest(SetArmableRequest&& from) noexcept : - SetArmableRequest(nullptr, std::move(from)) - {} - inline SetArmableRequest& operator=(const SetArmableRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetArmableRequest& operator=(SetArmableRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetArmableRequest& default_instance() { return *internal_default_instance(); } - static inline const SetArmableRequest* internal_default_instance() - { - return reinterpret_cast(&_SetArmableRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(SetArmableRequest& a, SetArmableRequest& b) { a.Swap(&b); } - inline void Swap(SetArmableRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetArmableRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetArmableRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetArmableRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetArmableRequest& from) { SetArmableRequest::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetArmableRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetArmableRequest"; - } - -protected: - explicit SetArmableRequest(::google::protobuf::Arena* arena); - SetArmableRequest(::google::protobuf::Arena* arena, const SetArmableRequest& from); - SetArmableRequest(::google::protobuf::Arena* arena, SetArmableRequest&& from) noexcept : - SetArmableRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kArmableFieldNumber = 1, - kForceArmableFieldNumber = 2, - }; - // bool armable = 1; - void clear_armable(); - bool armable() const; - void set_armable(bool value); - -private: - bool _internal_armable() const; - void _internal_set_armable(bool value); - -public: - // bool force_armable = 2; - void clear_force_armable(); - bool force_armable() const; - void set_force_armable(bool value); - -private: - bool _internal_force_armable() const; - void _internal_set_force_armable(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetArmableRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetArmableRequest& from_msg); - bool armable_; - bool force_armable_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class SetAllowTakeoffRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowTakeoffRequest) */ { -public: - inline SetAllowTakeoffRequest() : SetAllowTakeoffRequest(nullptr) {} - ~SetAllowTakeoffRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAllowTakeoffRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowTakeoffRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - SetAllowTakeoffRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetAllowTakeoffRequest(const SetAllowTakeoffRequest& from) : - SetAllowTakeoffRequest(nullptr, from) - {} - inline SetAllowTakeoffRequest(SetAllowTakeoffRequest&& from) noexcept : - SetAllowTakeoffRequest(nullptr, std::move(from)) - {} - inline SetAllowTakeoffRequest& operator=(const SetAllowTakeoffRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetAllowTakeoffRequest& operator=(SetAllowTakeoffRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetAllowTakeoffRequest& default_instance() { return *internal_default_instance(); } - static inline const SetAllowTakeoffRequest* internal_default_instance() - { - return reinterpret_cast( - &_SetAllowTakeoffRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(SetAllowTakeoffRequest& a, SetAllowTakeoffRequest& b) { a.Swap(&b); } - inline void Swap(SetAllowTakeoffRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetAllowTakeoffRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetAllowTakeoffRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetAllowTakeoffRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetAllowTakeoffRequest& from) - { - SetAllowTakeoffRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetAllowTakeoffRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetAllowTakeoffRequest"; - } - -protected: - explicit SetAllowTakeoffRequest(::google::protobuf::Arena* arena); - SetAllowTakeoffRequest(::google::protobuf::Arena* arena, const SetAllowTakeoffRequest& from); - SetAllowTakeoffRequest(::google::protobuf::Arena* arena, SetAllowTakeoffRequest&& from) noexcept - : - SetAllowTakeoffRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kAllowTakeoffFieldNumber = 1, - }; - // bool allow_takeoff = 1; - void clear_allow_takeoff(); - bool allow_takeoff() const; - void set_allow_takeoff(bool value); - -private: - bool _internal_allow_takeoff() const; - void _internal_set_allow_takeoff(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowTakeoffRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetAllowTakeoffRequest& from_msg); - bool allow_takeoff_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class GetAllowableFlightModesRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) - */ -{ -public: - inline GetAllowableFlightModesRequest() : GetAllowableFlightModesRequest(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetAllowableFlightModesRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetAllowableFlightModesRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - GetAllowableFlightModesRequest(::google::protobuf::internal::ConstantInitialized); - - inline GetAllowableFlightModesRequest(const GetAllowableFlightModesRequest& from) : - GetAllowableFlightModesRequest(nullptr, from) - {} - inline GetAllowableFlightModesRequest(GetAllowableFlightModesRequest&& from) noexcept : - GetAllowableFlightModesRequest(nullptr, std::move(from)) - {} - inline GetAllowableFlightModesRequest& operator=(const GetAllowableFlightModesRequest& from) - { - CopyFrom(from); - return *this; - } - inline GetAllowableFlightModesRequest& operator=(GetAllowableFlightModesRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetAllowableFlightModesRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const GetAllowableFlightModesRequest* internal_default_instance() - { - return reinterpret_cast( - &_GetAllowableFlightModesRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 4; - friend void swap(GetAllowableFlightModesRequest& a, GetAllowableFlightModesRequest& b) - { - a.Swap(&b); - } - inline void Swap(GetAllowableFlightModesRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetAllowableFlightModesRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetAllowableFlightModesRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - GetAllowableFlightModesRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetAllowableFlightModesRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetAllowableFlightModesRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.GetAllowableFlightModesRequest"; - } - -protected: - explicit GetAllowableFlightModesRequest(::google::protobuf::Arena* arena); - GetAllowableFlightModesRequest( - ::google::protobuf::Arena* arena, const GetAllowableFlightModesRequest& from); - GetAllowableFlightModesRequest( - ::google::protobuf::Arena* arena, GetAllowableFlightModesRequest&& from) noexcept : - GetAllowableFlightModesRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetAllowableFlightModesRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class ArmDisarm final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.ArmDisarm) */ { -public: - inline ArmDisarm() : ArmDisarm(nullptr) {} - ~ArmDisarm() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmDisarm* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmDisarm)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR ArmDisarm(::google::protobuf::internal::ConstantInitialized); - - inline ArmDisarm(const ArmDisarm& from) : ArmDisarm(nullptr, from) {} - inline ArmDisarm(ArmDisarm&& from) noexcept : ArmDisarm(nullptr, std::move(from)) {} - inline ArmDisarm& operator=(const ArmDisarm& from) - { - CopyFrom(from); - return *this; - } - inline ArmDisarm& operator=(ArmDisarm&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmDisarm& default_instance() { return *internal_default_instance(); } - static inline const ArmDisarm* internal_default_instance() - { - return reinterpret_cast(&_ArmDisarm_default_instance_); - } - static constexpr int kIndexInFileMessages = 25; - friend void swap(ArmDisarm& a, ArmDisarm& b) { a.Swap(&b); } - inline void Swap(ArmDisarm* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmDisarm* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArmDisarm* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ArmDisarm& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ArmDisarm& from) { ArmDisarm::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ArmDisarm* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.ArmDisarm"; } - -protected: - explicit ArmDisarm(::google::protobuf::Arena* arena); - ArmDisarm(::google::protobuf::Arena* arena, const ArmDisarm& from); - ArmDisarm(::google::protobuf::Arena* arena, ArmDisarm&& from) noexcept : ArmDisarm(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kArmFieldNumber = 1, - kForceFieldNumber = 2, - }; - // bool arm = 1; - void clear_arm(); - bool arm() const; - void set_arm(bool value); - -private: - bool _internal_arm() const; - void _internal_set_arm(bool value); - -public: - // bool force = 2; - void clear_force(); - bool force() const; - void set_force(bool value); - -private: - bool _internal_force() const; - void _internal_set_force(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ArmDisarm) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmDisarm& from_msg); - bool arm_; - bool force_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class AllowableFlightModes final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.AllowableFlightModes) */ { -public: - inline AllowableFlightModes() : AllowableFlightModes(nullptr) {} - ~AllowableFlightModes() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(AllowableFlightModes* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(AllowableFlightModes)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - AllowableFlightModes(::google::protobuf::internal::ConstantInitialized); - - inline AllowableFlightModes(const AllowableFlightModes& from) : - AllowableFlightModes(nullptr, from) - {} - inline AllowableFlightModes(AllowableFlightModes&& from) noexcept : - AllowableFlightModes(nullptr, std::move(from)) - {} - inline AllowableFlightModes& operator=(const AllowableFlightModes& from) - { - CopyFrom(from); - return *this; - } - inline AllowableFlightModes& operator=(AllowableFlightModes&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const AllowableFlightModes& default_instance() { return *internal_default_instance(); } - static inline const AllowableFlightModes* internal_default_instance() - { - return reinterpret_cast( - &_AllowableFlightModes_default_instance_); - } - static constexpr int kIndexInFileMessages = 24; - friend void swap(AllowableFlightModes& a, AllowableFlightModes& b) { a.Swap(&b); } - inline void Swap(AllowableFlightModes* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AllowableFlightModes* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AllowableFlightModes* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const AllowableFlightModes& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const AllowableFlightModes& from) - { - AllowableFlightModes::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(AllowableFlightModes* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.AllowableFlightModes"; - } - -protected: - explicit AllowableFlightModes(::google::protobuf::Arena* arena); - AllowableFlightModes(::google::protobuf::Arena* arena, const AllowableFlightModes& from); - AllowableFlightModes(::google::protobuf::Arena* arena, AllowableFlightModes&& from) noexcept : - AllowableFlightModes(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCanAutoModeFieldNumber = 1, - kCanGuidedModeFieldNumber = 2, - kCanStabilizeModeFieldNumber = 3, - }; - // bool can_auto_mode = 1; - void clear_can_auto_mode(); - bool can_auto_mode() const; - void set_can_auto_mode(bool value); - -private: - bool _internal_can_auto_mode() const; - void _internal_set_can_auto_mode(bool value); - -public: - // bool can_guided_mode = 2; - void clear_can_guided_mode(); - bool can_guided_mode() const; - void set_can_guided_mode(bool value); - -private: - bool _internal_can_guided_mode() const; - void _internal_set_can_guided_mode(bool value); - -public: - // bool can_stabilize_mode = 3; - void clear_can_stabilize_mode(); - bool can_stabilize_mode() const; - void set_can_stabilize_mode(bool value); - -private: - bool _internal_can_stabilize_mode() const; - void _internal_set_can_stabilize_mode(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.AllowableFlightModes) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<2, 3, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const AllowableFlightModes& from_msg); - bool can_auto_mode_; - bool can_guided_mode_; - bool can_stabilize_mode_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class ActionServerResult final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.ActionServerResult) */ { -public: - inline ActionServerResult() : ActionServerResult(nullptr) {} - ~ActionServerResult() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ActionServerResult* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ActionServerResult)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - ActionServerResult(::google::protobuf::internal::ConstantInitialized); - - inline ActionServerResult(const ActionServerResult& from) : ActionServerResult(nullptr, from) {} - inline ActionServerResult(ActionServerResult&& from) noexcept : - ActionServerResult(nullptr, std::move(from)) - {} - inline ActionServerResult& operator=(const ActionServerResult& from) - { - CopyFrom(from); - return *this; - } - inline ActionServerResult& operator=(ActionServerResult&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ActionServerResult& default_instance() { return *internal_default_instance(); } - static inline const ActionServerResult* internal_default_instance() - { - return reinterpret_cast(&_ActionServerResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 26; - friend void swap(ActionServerResult& a, ActionServerResult& b) { a.Swap(&b); } - inline void Swap(ActionServerResult* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ActionServerResult* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ActionServerResult* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ActionServerResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ActionServerResult& from) { ActionServerResult::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ActionServerResult* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.ActionServerResult"; - } - -protected: - explicit ActionServerResult(::google::protobuf::Arena* arena); - ActionServerResult(::google::protobuf::Arena* arena, const ActionServerResult& from); - ActionServerResult(::google::protobuf::Arena* arena, ActionServerResult&& from) noexcept : - ActionServerResult(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using Result = ActionServerResult_Result; - static constexpr Result RESULT_UNKNOWN = ActionServerResult_Result_RESULT_UNKNOWN; - static constexpr Result RESULT_SUCCESS = ActionServerResult_Result_RESULT_SUCCESS; - static constexpr Result RESULT_NO_SYSTEM = ActionServerResult_Result_RESULT_NO_SYSTEM; - static constexpr Result RESULT_CONNECTION_ERROR = - ActionServerResult_Result_RESULT_CONNECTION_ERROR; - static constexpr Result RESULT_BUSY = ActionServerResult_Result_RESULT_BUSY; - static constexpr Result RESULT_COMMAND_DENIED = ActionServerResult_Result_RESULT_COMMAND_DENIED; - static constexpr Result RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = - ActionServerResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN; - static constexpr Result RESULT_COMMAND_DENIED_NOT_LANDED = - ActionServerResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED; - static constexpr Result RESULT_TIMEOUT = ActionServerResult_Result_RESULT_TIMEOUT; - static constexpr Result RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = - ActionServerResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN; - static constexpr Result RESULT_NO_VTOL_TRANSITION_SUPPORT = - ActionServerResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT; - static constexpr Result RESULT_PARAMETER_ERROR = - ActionServerResult_Result_RESULT_PARAMETER_ERROR; - static constexpr Result RESULT_NEXT = ActionServerResult_Result_RESULT_NEXT; - static inline bool Result_IsValid(int value) - { - return ActionServerResult_Result_IsValid(value); - } - static constexpr Result Result_MIN = ActionServerResult_Result_Result_MIN; - static constexpr Result Result_MAX = ActionServerResult_Result_Result_MAX; - static constexpr int Result_ARRAYSIZE = ActionServerResult_Result_Result_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() - { - return ActionServerResult_Result_descriptor(); - } - template static inline const std::string& Result_Name(T value) - { - return ActionServerResult_Result_Name(value); - } - static inline bool Result_Parse(absl::string_view name, Result* value) - { - return ActionServerResult_Result_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kResultStrFieldNumber = 2, - kResultFieldNumber = 1, - }; - // string result_str = 2; - void clear_result_str(); - const std::string& result_str() const; - template - void set_result_str(Arg_&& arg, Args_... args); - std::string* mutable_result_str(); - PROTOBUF_NODISCARD std::string* release_result_str(); - void set_allocated_result_str(std::string* value); - -private: - const std::string& _internal_result_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str(const std::string& value); - std::string* _internal_mutable_result_str(); - -public: - // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; - void clear_result(); - ::mavsdk::rpc::action_server::ActionServerResult_Result result() const; - void set_result(::mavsdk::rpc::action_server::ActionServerResult_Result value); - -private: - ::mavsdk::rpc::action_server::ActionServerResult_Result _internal_result() const; - void _internal_set_result(::mavsdk::rpc::action_server::ActionServerResult_Result value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ActionServerResult) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 62, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ActionServerResult& from_msg); - ::google::protobuf::internal::ArenaStringPtr result_str_; - int result_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class TerminateResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.TerminateResponse) */ { -public: - inline TerminateResponse() : TerminateResponse(nullptr) {} - ~TerminateResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TerminateResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminateResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - TerminateResponse(::google::protobuf::internal::ConstantInitialized); - - inline TerminateResponse(const TerminateResponse& from) : TerminateResponse(nullptr, from) {} - inline TerminateResponse(TerminateResponse&& from) noexcept : - TerminateResponse(nullptr, std::move(from)) - {} - inline TerminateResponse& operator=(const TerminateResponse& from) - { - CopyFrom(from); - return *this; - } - inline TerminateResponse& operator=(TerminateResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TerminateResponse& default_instance() { return *internal_default_instance(); } - static inline const TerminateResponse* internal_default_instance() - { - return reinterpret_cast(&_TerminateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 18; - friend void swap(TerminateResponse& a, TerminateResponse& b) { a.Swap(&b); } - inline void Swap(TerminateResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TerminateResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TerminateResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const TerminateResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const TerminateResponse& from) { TerminateResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(TerminateResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.TerminateResponse"; - } - -protected: - explicit TerminateResponse(::google::protobuf::Arena* arena); - TerminateResponse(::google::protobuf::Arena* arena, const TerminateResponse& from); - TerminateResponse(::google::protobuf::Arena* arena, TerminateResponse&& from) noexcept : - TerminateResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - kTerminateFieldNumber = 2, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // bool terminate = 2; - void clear_terminate(); - bool terminate() const; - void set_terminate(bool value); - -private: - bool _internal_terminate() const; - void _internal_set_terminate(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.TerminateResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TerminateResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - bool terminate_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class TakeoffResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.TakeoffResponse) */ { -public: - inline TakeoffResponse() : TakeoffResponse(nullptr) {} - ~TakeoffResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(TakeoffResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(TakeoffResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR TakeoffResponse(::google::protobuf::internal::ConstantInitialized); - - inline TakeoffResponse(const TakeoffResponse& from) : TakeoffResponse(nullptr, from) {} - inline TakeoffResponse(TakeoffResponse&& from) noexcept : - TakeoffResponse(nullptr, std::move(from)) - {} - inline TakeoffResponse& operator=(const TakeoffResponse& from) - { - CopyFrom(from); - return *this; - } - inline TakeoffResponse& operator=(TakeoffResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const TakeoffResponse& default_instance() { return *internal_default_instance(); } - static inline const TakeoffResponse* internal_default_instance() - { - return reinterpret_cast(&_TakeoffResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 14; - friend void swap(TakeoffResponse& a, TakeoffResponse& b) { a.Swap(&b); } - inline void Swap(TakeoffResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(TakeoffResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - TakeoffResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const TakeoffResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const TakeoffResponse& from) { TakeoffResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(TakeoffResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.TakeoffResponse"; - } - -protected: - explicit TakeoffResponse(::google::protobuf::Arena* arena); - TakeoffResponse(::google::protobuf::Arena* arena, const TakeoffResponse& from); - TakeoffResponse(::google::protobuf::Arena* arena, TakeoffResponse&& from) noexcept : - TakeoffResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - kTakeoffFieldNumber = 2, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // bool takeoff = 2; - void clear_takeoff(); - bool takeoff() const; - void set_takeoff(bool value); - -private: - bool _internal_takeoff() const; - void _internal_set_takeoff(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.TakeoffResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const TakeoffResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - bool takeoff_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class ShutdownResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.ShutdownResponse) */ { -public: - inline ShutdownResponse() : ShutdownResponse(nullptr) {} - ~ShutdownResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ShutdownResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ShutdownResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR ShutdownResponse(::google::protobuf::internal::ConstantInitialized); - - inline ShutdownResponse(const ShutdownResponse& from) : ShutdownResponse(nullptr, from) {} - inline ShutdownResponse(ShutdownResponse&& from) noexcept : - ShutdownResponse(nullptr, std::move(from)) - {} - inline ShutdownResponse& operator=(const ShutdownResponse& from) - { - CopyFrom(from); - return *this; - } - inline ShutdownResponse& operator=(ShutdownResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ShutdownResponse& default_instance() { return *internal_default_instance(); } - static inline const ShutdownResponse* internal_default_instance() - { - return reinterpret_cast(&_ShutdownResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 17; - friend void swap(ShutdownResponse& a, ShutdownResponse& b) { a.Swap(&b); } - inline void Swap(ShutdownResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ShutdownResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ShutdownResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ShutdownResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ShutdownResponse& from) { ShutdownResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ShutdownResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.ShutdownResponse"; - } - -protected: - explicit ShutdownResponse(::google::protobuf::Arena* arena); - ShutdownResponse(::google::protobuf::Arena* arena, const ShutdownResponse& from); - ShutdownResponse(::google::protobuf::Arena* arena, ShutdownResponse&& from) noexcept : - ShutdownResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - kShutdownFieldNumber = 2, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // bool shutdown = 2; - void clear_shutdown(); - bool shutdown() const; - void set_shutdown(bool value); - -private: - bool _internal_shutdown() const; - void _internal_set_shutdown(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ShutdownResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ShutdownResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - bool shutdown_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class SetDisarmableResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetDisarmableResponse) */ { -public: - inline SetDisarmableResponse() : SetDisarmableResponse(nullptr) {} - ~SetDisarmableResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetDisarmableResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDisarmableResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - SetDisarmableResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetDisarmableResponse(const SetDisarmableResponse& from) : - SetDisarmableResponse(nullptr, from) - {} - inline SetDisarmableResponse(SetDisarmableResponse&& from) noexcept : - SetDisarmableResponse(nullptr, std::move(from)) - {} - inline SetDisarmableResponse& operator=(const SetDisarmableResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetDisarmableResponse& operator=(SetDisarmableResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetDisarmableResponse& default_instance() { return *internal_default_instance(); } - static inline const SetDisarmableResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetDisarmableResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 20; - friend void swap(SetDisarmableResponse& a, SetDisarmableResponse& b) { a.Swap(&b); } - inline void Swap(SetDisarmableResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetDisarmableResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetDisarmableResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetDisarmableResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetDisarmableResponse& from) - { - SetDisarmableResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetDisarmableResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetDisarmableResponse"; - } - -protected: - explicit SetDisarmableResponse(::google::protobuf::Arena* arena); - SetDisarmableResponse(::google::protobuf::Arena* arena, const SetDisarmableResponse& from); - SetDisarmableResponse(::google::protobuf::Arena* arena, SetDisarmableResponse&& from) noexcept : - SetDisarmableResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetDisarmableResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetDisarmableResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class SetArmableResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetArmableResponse) */ { -public: - inline SetArmableResponse() : SetArmableResponse(nullptr) {} - ~SetArmableResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetArmableResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetArmableResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - SetArmableResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetArmableResponse(const SetArmableResponse& from) : SetArmableResponse(nullptr, from) {} - inline SetArmableResponse(SetArmableResponse&& from) noexcept : - SetArmableResponse(nullptr, std::move(from)) - {} - inline SetArmableResponse& operator=(const SetArmableResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetArmableResponse& operator=(SetArmableResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetArmableResponse& default_instance() { return *internal_default_instance(); } - static inline const SetArmableResponse* internal_default_instance() - { - return reinterpret_cast(&_SetArmableResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 19; - friend void swap(SetArmableResponse& a, SetArmableResponse& b) { a.Swap(&b); } - inline void Swap(SetArmableResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetArmableResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetArmableResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetArmableResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetArmableResponse& from) { SetArmableResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetArmableResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetArmableResponse"; - } - -protected: - explicit SetArmableResponse(::google::protobuf::Arena* arena); - SetArmableResponse(::google::protobuf::Arena* arena, const SetArmableResponse& from); - SetArmableResponse(::google::protobuf::Arena* arena, SetArmableResponse&& from) noexcept : - SetArmableResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetArmableResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetArmableResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; -// ------------------------------------------------------------------- - -class SetAllowableFlightModesResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) - */ -{ -public: - inline SetAllowableFlightModesResponse() : SetAllowableFlightModesResponse(nullptr) {} - ~SetAllowableFlightModesResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAllowableFlightModesResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowableFlightModesResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - SetAllowableFlightModesResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetAllowableFlightModesResponse(const SetAllowableFlightModesResponse& from) : - SetAllowableFlightModesResponse(nullptr, from) - {} - inline SetAllowableFlightModesResponse(SetAllowableFlightModesResponse&& from) noexcept : - SetAllowableFlightModesResponse(nullptr, std::move(from)) - {} - inline SetAllowableFlightModesResponse& operator=(const SetAllowableFlightModesResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetAllowableFlightModesResponse& - operator=(SetAllowableFlightModesResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetAllowableFlightModesResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const SetAllowableFlightModesResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetAllowableFlightModesResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 21; - friend void swap(SetAllowableFlightModesResponse& a, SetAllowableFlightModesResponse& b) - { - a.Swap(&b); - } - inline void Swap(SetAllowableFlightModesResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetAllowableFlightModesResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetAllowableFlightModesResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct( - arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetAllowableFlightModesResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetAllowableFlightModesResponse& from) - { - SetAllowableFlightModesResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); + public: + inline SetDisarmableRequest() : SetDisarmableRequest(nullptr) {} + ~SetDisarmableRequest() PROTOBUF_FINAL; -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetAllowableFlightModesResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetAllowableFlightModesResponse"; - } + void operator delete(SetDisarmableRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDisarmableRequest)); + } +#endif -protected: - explicit SetAllowableFlightModesResponse(::google::protobuf::Arena* arena); - SetAllowableFlightModesResponse( - ::google::protobuf::Arena* arena, const SetAllowableFlightModesResponse& from); - SetAllowableFlightModesResponse( - ::google::protobuf::Arena* arena, SetAllowableFlightModesResponse&& from) noexcept : - SetAllowableFlightModesResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetAllowableFlightModesResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SetDisarmableRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetDisarmableRequest(const SetDisarmableRequest& from) : SetDisarmableRequest(nullptr, from) {} + inline SetDisarmableRequest(SetDisarmableRequest&& from) noexcept + : SetDisarmableRequest(nullptr, std::move(from)) {} + inline SetDisarmableRequest& operator=(const SetDisarmableRequest& from) { + CopyFrom(from); + return *this; + } + inline SetDisarmableRequest& operator=(SetDisarmableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetDisarmableRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetDisarmableRequest* internal_default_instance() { + return reinterpret_cast( + &_SetDisarmableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(SetDisarmableRequest& a, SetDisarmableRequest& b) { a.Swap(&b); } + inline void Swap(SetDisarmableRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetDisarmableRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetDisarmableRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetDisarmableRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetDisarmableRequest& from) { SetDisarmableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetDisarmableRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetDisarmableRequest"; } + + protected: + explicit SetDisarmableRequest(::google::protobuf::Arena* arena); + SetDisarmableRequest(::google::protobuf::Arena* arena, const SetDisarmableRequest& from); + SetDisarmableRequest(::google::protobuf::Arena* arena, SetDisarmableRequest&& from) noexcept + : SetDisarmableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kDisarmableFieldNumber = 1, + kForceDisarmableFieldNumber = 2, + }; + // bool disarmable = 1; + void clear_disarmable() ; + bool disarmable() const; + void set_disarmable(bool value); + + private: + bool _internal_disarmable() const; + void _internal_set_disarmable(bool value); + + public: + // bool force_disarmable = 2; + void clear_force_disarmable() ; + bool force_disarmable() const; + void set_force_disarmable(bool value); + + private: + bool _internal_force_disarmable() const; + void _internal_set_force_disarmable(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetDisarmableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetDisarmableRequest& from_msg); + bool disarmable_; + bool force_disarmable_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SetAllowableFlightModesRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) - */ -{ -public: - inline SetAllowableFlightModesRequest() : SetAllowableFlightModesRequest(nullptr) {} - ~SetAllowableFlightModesRequest() PROTOBUF_FINAL; +class SetArmableRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetArmableRequest) */ { + public: + inline SetArmableRequest() : SetArmableRequest(nullptr) {} + ~SetArmableRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAllowableFlightModesRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowableFlightModesRequest)); - } + void operator delete(SetArmableRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetArmableRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetAllowableFlightModesRequest(::google::protobuf::internal::ConstantInitialized); - - inline SetAllowableFlightModesRequest(const SetAllowableFlightModesRequest& from) : - SetAllowableFlightModesRequest(nullptr, from) - {} - inline SetAllowableFlightModesRequest(SetAllowableFlightModesRequest&& from) noexcept : - SetAllowableFlightModesRequest(nullptr, std::move(from)) - {} - inline SetAllowableFlightModesRequest& operator=(const SetAllowableFlightModesRequest& from) - { - CopyFrom(from); - return *this; - } - inline SetAllowableFlightModesRequest& operator=(SetAllowableFlightModesRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } + template + explicit PROTOBUF_CONSTEXPR SetArmableRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetArmableRequest(const SetArmableRequest& from) : SetArmableRequest(nullptr, from) {} + inline SetArmableRequest(SetArmableRequest&& from) noexcept + : SetArmableRequest(nullptr, std::move(from)) {} + inline SetArmableRequest& operator=(const SetArmableRequest& from) { + CopyFrom(from); + return *this; + } + inline SetArmableRequest& operator=(SetArmableRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetArmableRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetArmableRequest* internal_default_instance() { + return reinterpret_cast( + &_SetArmableRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(SetArmableRequest& a, SetArmableRequest& b) { a.Swap(&b); } + inline void Swap(SetArmableRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetArmableRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetArmableRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetArmableRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetArmableRequest& from) { SetArmableRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetArmableRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetArmableRequest"; } + + protected: + explicit SetArmableRequest(::google::protobuf::Arena* arena); + SetArmableRequest(::google::protobuf::Arena* arena, const SetArmableRequest& from); + SetArmableRequest(::google::protobuf::Arena* arena, SetArmableRequest&& from) noexcept + : SetArmableRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kArmableFieldNumber = 1, + kForceArmableFieldNumber = 2, + }; + // bool armable = 1; + void clear_armable() ; + bool armable() const; + void set_armable(bool value); + + private: + bool _internal_armable() const; + void _internal_set_armable(bool value); + + public: + // bool force_armable = 2; + void clear_force_armable() ; + bool force_armable() const; + void set_force_armable(bool value); + + private: + bool _internal_force_armable() const; + void _internal_set_force_armable(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetArmableRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetArmableRequest& from_msg); + bool armable_; + bool force_armable_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetAllowableFlightModesRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SetAllowableFlightModesRequest* internal_default_instance() - { - return reinterpret_cast( - &_SetAllowableFlightModesRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(SetAllowableFlightModesRequest& a, SetAllowableFlightModesRequest& b) - { - a.Swap(&b); - } - inline void Swap(SetAllowableFlightModesRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetAllowableFlightModesRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } +class SetAllowTakeoffRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowTakeoffRequest) */ { + public: + inline SetAllowTakeoffRequest() : SetAllowTakeoffRequest(nullptr) {} + ~SetAllowTakeoffRequest() PROTOBUF_FINAL; - // implements Message ---------------------------------------------- +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetAllowTakeoffRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowTakeoffRequest)); + } +#endif - SetAllowableFlightModesRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetAllowableFlightModesRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetAllowableFlightModesRequest& from) - { - SetAllowableFlightModesRequest::MergeImpl(*this, from); - } + template + explicit PROTOBUF_CONSTEXPR SetAllowTakeoffRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetAllowTakeoffRequest(const SetAllowTakeoffRequest& from) : SetAllowTakeoffRequest(nullptr, from) {} + inline SetAllowTakeoffRequest(SetAllowTakeoffRequest&& from) noexcept + : SetAllowTakeoffRequest(nullptr, std::move(from)) {} + inline SetAllowTakeoffRequest& operator=(const SetAllowTakeoffRequest& from) { + CopyFrom(from); + return *this; + } + inline SetAllowTakeoffRequest& operator=(SetAllowTakeoffRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetAllowTakeoffRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetAllowTakeoffRequest* internal_default_instance() { + return reinterpret_cast( + &_SetAllowTakeoffRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(SetAllowTakeoffRequest& a, SetAllowTakeoffRequest& b) { a.Swap(&b); } + inline void Swap(SetAllowTakeoffRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetAllowTakeoffRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetAllowTakeoffRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetAllowTakeoffRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetAllowTakeoffRequest& from) { SetAllowTakeoffRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetAllowTakeoffRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetAllowTakeoffRequest"; } + + protected: + explicit SetAllowTakeoffRequest(::google::protobuf::Arena* arena); + SetAllowTakeoffRequest(::google::protobuf::Arena* arena, const SetAllowTakeoffRequest& from); + SetAllowTakeoffRequest(::google::protobuf::Arena* arena, SetAllowTakeoffRequest&& from) noexcept + : SetAllowTakeoffRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAllowTakeoffFieldNumber = 1, + }; + // bool allow_takeoff = 1; + void clear_allow_takeoff() ; + bool allow_takeoff() const; + void set_allow_takeoff(bool value); + + private: + bool _internal_allow_takeoff() const; + void _internal_set_allow_takeoff(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowTakeoffRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetAllowTakeoffRequest& from_msg); + bool allow_takeoff_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); +class GetAllowableFlightModesRequest final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) */ { + public: + inline GetAllowableFlightModesRequest() : GetAllowableFlightModesRequest(nullptr) {} -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetAllowableFlightModesRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetAllowableFlightModesRequest"; - } + void operator delete(GetAllowableFlightModesRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetAllowableFlightModesRequest)); + } +#endif -protected: - explicit SetAllowableFlightModesRequest(::google::protobuf::Arena* arena); - SetAllowableFlightModesRequest( - ::google::protobuf::Arena* arena, const SetAllowableFlightModesRequest& from); - SetAllowableFlightModesRequest( - ::google::protobuf::Arena* arena, SetAllowableFlightModesRequest&& from) noexcept : - SetAllowableFlightModesRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kFlightModesFieldNumber = 1, - }; - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - bool has_flight_modes() const; - void clear_flight_modes(); - const ::mavsdk::rpc::action_server::AllowableFlightModes& flight_modes() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::AllowableFlightModes* release_flight_modes(); - ::mavsdk::rpc::action_server::AllowableFlightModes* mutable_flight_modes(); - void set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value); - void unsafe_arena_set_allocated_flight_modes( - ::mavsdk::rpc::action_server::AllowableFlightModes* value); - ::mavsdk::rpc::action_server::AllowableFlightModes* unsafe_arena_release_flight_modes(); - -private: - const ::mavsdk::rpc::action_server::AllowableFlightModes& _internal_flight_modes() const; - ::mavsdk::rpc::action_server::AllowableFlightModes* _internal_mutable_flight_modes(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetAllowableFlightModesRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::AllowableFlightModes* flight_modes_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR GetAllowableFlightModesRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline GetAllowableFlightModesRequest(const GetAllowableFlightModesRequest& from) : GetAllowableFlightModesRequest(nullptr, from) {} + inline GetAllowableFlightModesRequest(GetAllowableFlightModesRequest&& from) noexcept + : GetAllowableFlightModesRequest(nullptr, std::move(from)) {} + inline GetAllowableFlightModesRequest& operator=(const GetAllowableFlightModesRequest& from) { + CopyFrom(from); + return *this; + } + inline GetAllowableFlightModesRequest& operator=(GetAllowableFlightModesRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetAllowableFlightModesRequest& default_instance() { + return *internal_default_instance(); + } + static inline const GetAllowableFlightModesRequest* internal_default_instance() { + return reinterpret_cast( + &_GetAllowableFlightModesRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(GetAllowableFlightModesRequest& a, GetAllowableFlightModesRequest& b) { a.Swap(&b); } + inline void Swap(GetAllowableFlightModesRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetAllowableFlightModesRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetAllowableFlightModesRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const GetAllowableFlightModesRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const GetAllowableFlightModesRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.GetAllowableFlightModesRequest"; } + + protected: + explicit GetAllowableFlightModesRequest(::google::protobuf::Arena* arena); + GetAllowableFlightModesRequest(::google::protobuf::Arena* arena, const GetAllowableFlightModesRequest& from); + GetAllowableFlightModesRequest(::google::protobuf::Arena* arena, GetAllowableFlightModesRequest&& from) noexcept + : GetAllowableFlightModesRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.GetAllowableFlightModesRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetAllowableFlightModesRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class SetAllowTakeoffResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowTakeoffResponse) */ { -public: - inline SetAllowTakeoffResponse() : SetAllowTakeoffResponse(nullptr) {} - ~SetAllowTakeoffResponse() PROTOBUF_FINAL; +class ArmDisarm final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.ArmDisarm) */ { + public: + inline ArmDisarm() : ArmDisarm(nullptr) {} + ~ArmDisarm() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAllowTakeoffResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowTakeoffResponse)); - } + void operator delete(ArmDisarm* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmDisarm)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SetAllowTakeoffResponse(::google::protobuf::internal::ConstantInitialized); - - inline SetAllowTakeoffResponse(const SetAllowTakeoffResponse& from) : - SetAllowTakeoffResponse(nullptr, from) - {} - inline SetAllowTakeoffResponse(SetAllowTakeoffResponse&& from) noexcept : - SetAllowTakeoffResponse(nullptr, std::move(from)) - {} - inline SetAllowTakeoffResponse& operator=(const SetAllowTakeoffResponse& from) - { - CopyFrom(from); - return *this; - } - inline SetAllowTakeoffResponse& operator=(SetAllowTakeoffResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } + template + explicit PROTOBUF_CONSTEXPR ArmDisarm( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmDisarm(const ArmDisarm& from) : ArmDisarm(nullptr, from) {} + inline ArmDisarm(ArmDisarm&& from) noexcept + : ArmDisarm(nullptr, std::move(from)) {} + inline ArmDisarm& operator=(const ArmDisarm& from) { + CopyFrom(from); + return *this; + } + inline ArmDisarm& operator=(ArmDisarm&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmDisarm& default_instance() { + return *internal_default_instance(); + } + static inline const ArmDisarm* internal_default_instance() { + return reinterpret_cast( + &_ArmDisarm_default_instance_); + } + static constexpr int kIndexInFileMessages = 25; + friend void swap(ArmDisarm& a, ArmDisarm& b) { a.Swap(&b); } + inline void Swap(ArmDisarm* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmDisarm* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmDisarm* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ArmDisarm& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ArmDisarm& from) { ArmDisarm::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ArmDisarm* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.ArmDisarm"; } + + protected: + explicit ArmDisarm(::google::protobuf::Arena* arena); + ArmDisarm(::google::protobuf::Arena* arena, const ArmDisarm& from); + ArmDisarm(::google::protobuf::Arena* arena, ArmDisarm&& from) noexcept + : ArmDisarm(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kArmFieldNumber = 1, + kForceFieldNumber = 2, + }; + // bool arm = 1; + void clear_arm() ; + bool arm() const; + void set_arm(bool value); + + private: + bool _internal_arm() const; + void _internal_set_arm(bool value); + + public: + // bool force = 2; + void clear_force() ; + bool force() const; + void set_force(bool value); + + private: + bool _internal_force() const; + void _internal_set_force(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ArmDisarm) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmDisarm& from_msg); + bool arm_; + bool force_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SetAllowTakeoffResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const SetAllowTakeoffResponse* internal_default_instance() - { - return reinterpret_cast( - &_SetAllowTakeoffResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 22; - friend void swap(SetAllowTakeoffResponse& a, SetAllowTakeoffResponse& b) { a.Swap(&b); } - inline void Swap(SetAllowTakeoffResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetAllowTakeoffResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } +class AllowableFlightModes final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.AllowableFlightModes) */ { + public: + inline AllowableFlightModes() : AllowableFlightModes(nullptr) {} + ~AllowableFlightModes() PROTOBUF_FINAL; - // implements Message ---------------------------------------------- +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(AllowableFlightModes* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AllowableFlightModes)); + } +#endif - SetAllowTakeoffResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetAllowTakeoffResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetAllowTakeoffResponse& from) - { - SetAllowTakeoffResponse::MergeImpl(*this, from); - } + template + explicit PROTOBUF_CONSTEXPR AllowableFlightModes( + ::google::protobuf::internal::ConstantInitialized); + + inline AllowableFlightModes(const AllowableFlightModes& from) : AllowableFlightModes(nullptr, from) {} + inline AllowableFlightModes(AllowableFlightModes&& from) noexcept + : AllowableFlightModes(nullptr, std::move(from)) {} + inline AllowableFlightModes& operator=(const AllowableFlightModes& from) { + CopyFrom(from); + return *this; + } + inline AllowableFlightModes& operator=(AllowableFlightModes&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AllowableFlightModes& default_instance() { + return *internal_default_instance(); + } + static inline const AllowableFlightModes* internal_default_instance() { + return reinterpret_cast( + &_AllowableFlightModes_default_instance_); + } + static constexpr int kIndexInFileMessages = 24; + friend void swap(AllowableFlightModes& a, AllowableFlightModes& b) { a.Swap(&b); } + inline void Swap(AllowableFlightModes* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AllowableFlightModes* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AllowableFlightModes* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AllowableFlightModes& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AllowableFlightModes& from) { AllowableFlightModes::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AllowableFlightModes* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.AllowableFlightModes"; } + + protected: + explicit AllowableFlightModes(::google::protobuf::Arena* arena); + AllowableFlightModes(::google::protobuf::Arena* arena, const AllowableFlightModes& from); + AllowableFlightModes(::google::protobuf::Arena* arena, AllowableFlightModes&& from) noexcept + : AllowableFlightModes(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCanAutoModeFieldNumber = 1, + kCanGuidedModeFieldNumber = 2, + kCanStabilizeModeFieldNumber = 3, + }; + // bool can_auto_mode = 1; + void clear_can_auto_mode() ; + bool can_auto_mode() const; + void set_can_auto_mode(bool value); + + private: + bool _internal_can_auto_mode() const; + void _internal_set_can_auto_mode(bool value); + + public: + // bool can_guided_mode = 2; + void clear_can_guided_mode() ; + bool can_guided_mode() const; + void set_can_guided_mode(bool value); + + private: + bool _internal_can_guided_mode() const; + void _internal_set_can_guided_mode(bool value); + + public: + // bool can_stabilize_mode = 3; + void clear_can_stabilize_mode() ; + bool can_stabilize_mode() const; + void set_can_stabilize_mode(bool value); + + private: + bool _internal_can_stabilize_mode() const; + void _internal_set_can_stabilize_mode(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.AllowableFlightModes) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AllowableFlightModes& from_msg); + bool can_auto_mode_; + bool can_guided_mode_; + bool can_stabilize_mode_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); +class ActionServerResult final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.ActionServerResult) */ { + public: + inline ActionServerResult() : ActionServerResult(nullptr) {} + ~ActionServerResult() PROTOBUF_FINAL; -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetAllowTakeoffResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.SetAllowTakeoffResponse"; - } + void operator delete(ActionServerResult* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ActionServerResult)); + } +#endif -protected: - explicit SetAllowTakeoffResponse(::google::protobuf::Arena* arena); - SetAllowTakeoffResponse(::google::protobuf::Arena* arena, const SetAllowTakeoffResponse& from); - SetAllowTakeoffResponse( - ::google::protobuf::Arena* arena, SetAllowTakeoffResponse&& from) noexcept : - SetAllowTakeoffResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowTakeoffResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SetAllowTakeoffResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR ActionServerResult( + ::google::protobuf::internal::ConstantInitialized); + + inline ActionServerResult(const ActionServerResult& from) : ActionServerResult(nullptr, from) {} + inline ActionServerResult(ActionServerResult&& from) noexcept + : ActionServerResult(nullptr, std::move(from)) {} + inline ActionServerResult& operator=(const ActionServerResult& from) { + CopyFrom(from); + return *this; + } + inline ActionServerResult& operator=(ActionServerResult&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ActionServerResult& default_instance() { + return *internal_default_instance(); + } + static inline const ActionServerResult* internal_default_instance() { + return reinterpret_cast( + &_ActionServerResult_default_instance_); + } + static constexpr int kIndexInFileMessages = 26; + friend void swap(ActionServerResult& a, ActionServerResult& b) { a.Swap(&b); } + inline void Swap(ActionServerResult* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ActionServerResult* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ActionServerResult* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ActionServerResult& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ActionServerResult& from) { ActionServerResult::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ActionServerResult* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.ActionServerResult"; } + + protected: + explicit ActionServerResult(::google::protobuf::Arena* arena); + ActionServerResult(::google::protobuf::Arena* arena, const ActionServerResult& from); + ActionServerResult(::google::protobuf::Arena* arena, ActionServerResult&& from) noexcept + : ActionServerResult(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Result = ActionServerResult_Result; + static constexpr Result RESULT_UNKNOWN = ActionServerResult_Result_RESULT_UNKNOWN; + static constexpr Result RESULT_SUCCESS = ActionServerResult_Result_RESULT_SUCCESS; + static constexpr Result RESULT_NO_SYSTEM = ActionServerResult_Result_RESULT_NO_SYSTEM; + static constexpr Result RESULT_CONNECTION_ERROR = ActionServerResult_Result_RESULT_CONNECTION_ERROR; + static constexpr Result RESULT_BUSY = ActionServerResult_Result_RESULT_BUSY; + static constexpr Result RESULT_COMMAND_DENIED = ActionServerResult_Result_RESULT_COMMAND_DENIED; + static constexpr Result RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN = ActionServerResult_Result_RESULT_COMMAND_DENIED_LANDED_STATE_UNKNOWN; + static constexpr Result RESULT_COMMAND_DENIED_NOT_LANDED = ActionServerResult_Result_RESULT_COMMAND_DENIED_NOT_LANDED; + static constexpr Result RESULT_TIMEOUT = ActionServerResult_Result_RESULT_TIMEOUT; + static constexpr Result RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN = ActionServerResult_Result_RESULT_VTOL_TRANSITION_SUPPORT_UNKNOWN; + static constexpr Result RESULT_NO_VTOL_TRANSITION_SUPPORT = ActionServerResult_Result_RESULT_NO_VTOL_TRANSITION_SUPPORT; + static constexpr Result RESULT_PARAMETER_ERROR = ActionServerResult_Result_RESULT_PARAMETER_ERROR; + static constexpr Result RESULT_NEXT = ActionServerResult_Result_RESULT_NEXT; + static inline bool Result_IsValid(int value) { + return ActionServerResult_Result_IsValid(value); + } + static constexpr Result Result_MIN = ActionServerResult_Result_Result_MIN; + static constexpr Result Result_MAX = ActionServerResult_Result_Result_MAX; + static constexpr int Result_ARRAYSIZE = ActionServerResult_Result_Result_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() { + return ActionServerResult_Result_descriptor(); + } + template + static inline const std::string& Result_Name(T value) { + return ActionServerResult_Result_Name(value); + } + static inline bool Result_Parse(absl::string_view name, Result* value) { + return ActionServerResult_Result_Parse(name, value); + } + + // accessors ------------------------------------------------------- + enum : int { + kResultStrFieldNumber = 2, + kResultFieldNumber = 1, + }; + // string result_str = 2; + void clear_result_str() ; + const std::string& result_str() const; + template + void set_result_str(Arg_&& arg, Args_... args); + std::string* mutable_result_str(); + PROTOBUF_NODISCARD std::string* release_result_str(); + void set_allocated_result_str(std::string* value); + + private: + const std::string& _internal_result_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str( + const std::string& value); + std::string* _internal_mutable_result_str(); + + public: + // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; + void clear_result() ; + ::mavsdk::rpc::action_server::ActionServerResult_Result result() const; + void set_result(::mavsdk::rpc::action_server::ActionServerResult_Result value); + + private: + ::mavsdk::rpc::action_server::ActionServerResult_Result _internal_result() const; + void _internal_set_result(::mavsdk::rpc::action_server::ActionServerResult_Result value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ActionServerResult) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 62, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ActionServerResult& from_msg); + ::google::protobuf::internal::ArenaStringPtr result_str_; + int result_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class RebootResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.RebootResponse) */ { -public: - inline RebootResponse() : RebootResponse(nullptr) {} - ~RebootResponse() PROTOBUF_FINAL; +class TerminateResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.TerminateResponse) */ { + public: + inline TerminateResponse() : TerminateResponse(nullptr) {} + ~TerminateResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RebootResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RebootResponse)); - } + void operator delete(TerminateResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminateResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR RebootResponse(::google::protobuf::internal::ConstantInitialized); + template + explicit PROTOBUF_CONSTEXPR TerminateResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline TerminateResponse(const TerminateResponse& from) : TerminateResponse(nullptr, from) {} + inline TerminateResponse(TerminateResponse&& from) noexcept + : TerminateResponse(nullptr, std::move(from)) {} + inline TerminateResponse& operator=(const TerminateResponse& from) { + CopyFrom(from); + return *this; + } + inline TerminateResponse& operator=(TerminateResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TerminateResponse& default_instance() { + return *internal_default_instance(); + } + static inline const TerminateResponse* internal_default_instance() { + return reinterpret_cast( + &_TerminateResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 18; + friend void swap(TerminateResponse& a, TerminateResponse& b) { a.Swap(&b); } + inline void Swap(TerminateResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TerminateResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TerminateResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TerminateResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TerminateResponse& from) { TerminateResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TerminateResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.TerminateResponse"; } + + protected: + explicit TerminateResponse(::google::protobuf::Arena* arena); + TerminateResponse(::google::protobuf::Arena* arena, const TerminateResponse& from); + TerminateResponse(::google::protobuf::Arena* arena, TerminateResponse&& from) noexcept + : TerminateResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + kTerminateFieldNumber = 2, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // bool terminate = 2; + void clear_terminate() ; + bool terminate() const; + void set_terminate(bool value); + + private: + bool _internal_terminate() const; + void _internal_set_terminate(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.TerminateResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TerminateResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + bool terminate_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - inline RebootResponse(const RebootResponse& from) : RebootResponse(nullptr, from) {} - inline RebootResponse(RebootResponse&& from) noexcept : RebootResponse(nullptr, std::move(from)) - {} - inline RebootResponse& operator=(const RebootResponse& from) - { - CopyFrom(from); - return *this; - } - inline RebootResponse& operator=(RebootResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } +class TakeoffResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.TakeoffResponse) */ { + public: + inline TakeoffResponse() : TakeoffResponse(nullptr) {} + ~TakeoffResponse() PROTOBUF_FINAL; - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TakeoffResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TakeoffResponse)); + } +#endif - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const RebootResponse& default_instance() { return *internal_default_instance(); } - static inline const RebootResponse* internal_default_instance() - { - return reinterpret_cast(&_RebootResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 16; - friend void swap(RebootResponse& a, RebootResponse& b) { a.Swap(&b); } - inline void Swap(RebootResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RebootResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } + template + explicit PROTOBUF_CONSTEXPR TakeoffResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline TakeoffResponse(const TakeoffResponse& from) : TakeoffResponse(nullptr, from) {} + inline TakeoffResponse(TakeoffResponse&& from) noexcept + : TakeoffResponse(nullptr, std::move(from)) {} + inline TakeoffResponse& operator=(const TakeoffResponse& from) { + CopyFrom(from); + return *this; + } + inline TakeoffResponse& operator=(TakeoffResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TakeoffResponse& default_instance() { + return *internal_default_instance(); + } + static inline const TakeoffResponse* internal_default_instance() { + return reinterpret_cast( + &_TakeoffResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 14; + friend void swap(TakeoffResponse& a, TakeoffResponse& b) { a.Swap(&b); } + inline void Swap(TakeoffResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TakeoffResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TakeoffResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TakeoffResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TakeoffResponse& from) { TakeoffResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TakeoffResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.TakeoffResponse"; } + + protected: + explicit TakeoffResponse(::google::protobuf::Arena* arena); + TakeoffResponse(::google::protobuf::Arena* arena, const TakeoffResponse& from); + TakeoffResponse(::google::protobuf::Arena* arena, TakeoffResponse&& from) noexcept + : TakeoffResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + kTakeoffFieldNumber = 2, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // bool takeoff = 2; + void clear_takeoff() ; + bool takeoff() const; + void set_takeoff(bool value); + + private: + bool _internal_takeoff() const; + void _internal_set_takeoff(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.TakeoffResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TakeoffResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + bool takeoff_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - // implements Message ---------------------------------------------- +class ShutdownResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.ShutdownResponse) */ { + public: + inline ShutdownResponse() : ShutdownResponse(nullptr) {} + ~ShutdownResponse() PROTOBUF_FINAL; - RebootResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RebootResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RebootResponse& from) { RebootResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(RebootResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.RebootResponse"; - } + void operator delete(ShutdownResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ShutdownResponse)); + } +#endif -protected: - explicit RebootResponse(::google::protobuf::Arena* arena); - RebootResponse(::google::protobuf::Arena* arena, const RebootResponse& from); - RebootResponse(::google::protobuf::Arena* arena, RebootResponse&& from) noexcept : - RebootResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - kRebootFieldNumber = 2, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // bool reboot = 2; - void clear_reboot(); - bool reboot() const; - void set_reboot(bool value); - -private: - bool _internal_reboot() const; - void _internal_set_reboot(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.RebootResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const RebootResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - bool reboot_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR ShutdownResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ShutdownResponse(const ShutdownResponse& from) : ShutdownResponse(nullptr, from) {} + inline ShutdownResponse(ShutdownResponse&& from) noexcept + : ShutdownResponse(nullptr, std::move(from)) {} + inline ShutdownResponse& operator=(const ShutdownResponse& from) { + CopyFrom(from); + return *this; + } + inline ShutdownResponse& operator=(ShutdownResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ShutdownResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ShutdownResponse* internal_default_instance() { + return reinterpret_cast( + &_ShutdownResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 17; + friend void swap(ShutdownResponse& a, ShutdownResponse& b) { a.Swap(&b); } + inline void Swap(ShutdownResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ShutdownResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ShutdownResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ShutdownResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ShutdownResponse& from) { ShutdownResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ShutdownResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.ShutdownResponse"; } + + protected: + explicit ShutdownResponse(::google::protobuf::Arena* arena); + ShutdownResponse(::google::protobuf::Arena* arena, const ShutdownResponse& from); + ShutdownResponse(::google::protobuf::Arena* arena, ShutdownResponse&& from) noexcept + : ShutdownResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + kShutdownFieldNumber = 2, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // bool shutdown = 2; + void clear_shutdown() ; + bool shutdown() const; + void set_shutdown(bool value); + + private: + bool _internal_shutdown() const; + void _internal_set_shutdown(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ShutdownResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ShutdownResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + bool shutdown_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class LandResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.LandResponse) */ { -public: - inline LandResponse() : LandResponse(nullptr) {} - ~LandResponse() PROTOBUF_FINAL; +class SetDisarmableResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetDisarmableResponse) */ { + public: + inline SetDisarmableResponse() : SetDisarmableResponse(nullptr) {} + ~SetDisarmableResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(LandResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(LandResponse)); - } + void operator delete(SetDisarmableResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDisarmableResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR LandResponse(::google::protobuf::internal::ConstantInitialized); + template + explicit PROTOBUF_CONSTEXPR SetDisarmableResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetDisarmableResponse(const SetDisarmableResponse& from) : SetDisarmableResponse(nullptr, from) {} + inline SetDisarmableResponse(SetDisarmableResponse&& from) noexcept + : SetDisarmableResponse(nullptr, std::move(from)) {} + inline SetDisarmableResponse& operator=(const SetDisarmableResponse& from) { + CopyFrom(from); + return *this; + } + inline SetDisarmableResponse& operator=(SetDisarmableResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetDisarmableResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetDisarmableResponse* internal_default_instance() { + return reinterpret_cast( + &_SetDisarmableResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 20; + friend void swap(SetDisarmableResponse& a, SetDisarmableResponse& b) { a.Swap(&b); } + inline void Swap(SetDisarmableResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetDisarmableResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetDisarmableResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetDisarmableResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetDisarmableResponse& from) { SetDisarmableResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetDisarmableResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetDisarmableResponse"; } + + protected: + explicit SetDisarmableResponse(::google::protobuf::Arena* arena); + SetDisarmableResponse(::google::protobuf::Arena* arena, const SetDisarmableResponse& from); + SetDisarmableResponse(::google::protobuf::Arena* arena, SetDisarmableResponse&& from) noexcept + : SetDisarmableResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetDisarmableResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetDisarmableResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - inline LandResponse(const LandResponse& from) : LandResponse(nullptr, from) {} - inline LandResponse(LandResponse&& from) noexcept : LandResponse(nullptr, std::move(from)) {} - inline LandResponse& operator=(const LandResponse& from) - { - CopyFrom(from); - return *this; - } - inline LandResponse& operator=(LandResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } +class SetArmableResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetArmableResponse) */ { + public: + inline SetArmableResponse() : SetArmableResponse(nullptr) {} + ~SetArmableResponse() PROTOBUF_FINAL; - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetArmableResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetArmableResponse)); + } +#endif - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const LandResponse& default_instance() { return *internal_default_instance(); } - static inline const LandResponse* internal_default_instance() - { - return reinterpret_cast(&_LandResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 15; - friend void swap(LandResponse& a, LandResponse& b) { a.Swap(&b); } - inline void Swap(LandResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LandResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } + template + explicit PROTOBUF_CONSTEXPR SetArmableResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetArmableResponse(const SetArmableResponse& from) : SetArmableResponse(nullptr, from) {} + inline SetArmableResponse(SetArmableResponse&& from) noexcept + : SetArmableResponse(nullptr, std::move(from)) {} + inline SetArmableResponse& operator=(const SetArmableResponse& from) { + CopyFrom(from); + return *this; + } + inline SetArmableResponse& operator=(SetArmableResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetArmableResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetArmableResponse* internal_default_instance() { + return reinterpret_cast( + &_SetArmableResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 19; + friend void swap(SetArmableResponse& a, SetArmableResponse& b) { a.Swap(&b); } + inline void Swap(SetArmableResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetArmableResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetArmableResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetArmableResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetArmableResponse& from) { SetArmableResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetArmableResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetArmableResponse"; } + + protected: + explicit SetArmableResponse(::google::protobuf::Arena* arena); + SetArmableResponse(::google::protobuf::Arena* arena, const SetArmableResponse& from); + SetArmableResponse(::google::protobuf::Arena* arena, SetArmableResponse&& from) noexcept + : SetArmableResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetArmableResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetArmableResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - // implements Message ---------------------------------------------- +class SetAllowableFlightModesResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) */ { + public: + inline SetAllowableFlightModesResponse() : SetAllowableFlightModesResponse(nullptr) {} + ~SetAllowableFlightModesResponse() PROTOBUF_FINAL; - LandResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const LandResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const LandResponse& from) { LandResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(LandResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.LandResponse"; } - -protected: - explicit LandResponse(::google::protobuf::Arena* arena); - LandResponse(::google::protobuf::Arena* arena, const LandResponse& from); - LandResponse(::google::protobuf::Arena* arena, LandResponse&& from) noexcept : - LandResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - kLandFieldNumber = 2, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // bool land = 2; - void clear_land(); - bool land() const; - void set_land(bool value); - -private: - bool _internal_land() const; - void _internal_set_land(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.LandResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const LandResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - bool land_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + void operator delete(SetAllowableFlightModesResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowableFlightModesResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SetAllowableFlightModesResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetAllowableFlightModesResponse(const SetAllowableFlightModesResponse& from) : SetAllowableFlightModesResponse(nullptr, from) {} + inline SetAllowableFlightModesResponse(SetAllowableFlightModesResponse&& from) noexcept + : SetAllowableFlightModesResponse(nullptr, std::move(from)) {} + inline SetAllowableFlightModesResponse& operator=(const SetAllowableFlightModesResponse& from) { + CopyFrom(from); + return *this; + } + inline SetAllowableFlightModesResponse& operator=(SetAllowableFlightModesResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetAllowableFlightModesResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetAllowableFlightModesResponse* internal_default_instance() { + return reinterpret_cast( + &_SetAllowableFlightModesResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 21; + friend void swap(SetAllowableFlightModesResponse& a, SetAllowableFlightModesResponse& b) { a.Swap(&b); } + inline void Swap(SetAllowableFlightModesResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetAllowableFlightModesResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetAllowableFlightModesResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetAllowableFlightModesResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetAllowableFlightModesResponse& from) { SetAllowableFlightModesResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetAllowableFlightModesResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetAllowableFlightModesResponse"; } + + protected: + explicit SetAllowableFlightModesResponse(::google::protobuf::Arena* arena); + SetAllowableFlightModesResponse(::google::protobuf::Arena* arena, const SetAllowableFlightModesResponse& from); + SetAllowableFlightModesResponse(::google::protobuf::Arena* arena, SetAllowableFlightModesResponse&& from) noexcept + : SetAllowableFlightModesResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowableFlightModesResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetAllowableFlightModesResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class GetAllowableFlightModesResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) - */ -{ -public: - inline GetAllowableFlightModesResponse() : GetAllowableFlightModesResponse(nullptr) {} - ~GetAllowableFlightModesResponse() PROTOBUF_FINAL; +class SetAllowableFlightModesRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) */ { + public: + inline SetAllowableFlightModesRequest() : SetAllowableFlightModesRequest(nullptr) {} + ~SetAllowableFlightModesRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetAllowableFlightModesResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetAllowableFlightModesResponse)); - } + void operator delete(SetAllowableFlightModesRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowableFlightModesRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - GetAllowableFlightModesResponse(::google::protobuf::internal::ConstantInitialized); - - inline GetAllowableFlightModesResponse(const GetAllowableFlightModesResponse& from) : - GetAllowableFlightModesResponse(nullptr, from) - {} - inline GetAllowableFlightModesResponse(GetAllowableFlightModesResponse&& from) noexcept : - GetAllowableFlightModesResponse(nullptr, std::move(from)) - {} - inline GetAllowableFlightModesResponse& operator=(const GetAllowableFlightModesResponse& from) - { - CopyFrom(from); - return *this; - } - inline GetAllowableFlightModesResponse& - operator=(GetAllowableFlightModesResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } + template + explicit PROTOBUF_CONSTEXPR SetAllowableFlightModesRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SetAllowableFlightModesRequest(const SetAllowableFlightModesRequest& from) : SetAllowableFlightModesRequest(nullptr, from) {} + inline SetAllowableFlightModesRequest(SetAllowableFlightModesRequest&& from) noexcept + : SetAllowableFlightModesRequest(nullptr, std::move(from)) {} + inline SetAllowableFlightModesRequest& operator=(const SetAllowableFlightModesRequest& from) { + CopyFrom(from); + return *this; + } + inline SetAllowableFlightModesRequest& operator=(SetAllowableFlightModesRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetAllowableFlightModesRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SetAllowableFlightModesRequest* internal_default_instance() { + return reinterpret_cast( + &_SetAllowableFlightModesRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(SetAllowableFlightModesRequest& a, SetAllowableFlightModesRequest& b) { a.Swap(&b); } + inline void Swap(SetAllowableFlightModesRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetAllowableFlightModesRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetAllowableFlightModesRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetAllowableFlightModesRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetAllowableFlightModesRequest& from) { SetAllowableFlightModesRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetAllowableFlightModesRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetAllowableFlightModesRequest"; } + + protected: + explicit SetAllowableFlightModesRequest(::google::protobuf::Arena* arena); + SetAllowableFlightModesRequest(::google::protobuf::Arena* arena, const SetAllowableFlightModesRequest& from); + SetAllowableFlightModesRequest(::google::protobuf::Arena* arena, SetAllowableFlightModesRequest&& from) noexcept + : SetAllowableFlightModesRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFlightModesFieldNumber = 1, + }; + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + bool has_flight_modes() const; + void clear_flight_modes() ; + const ::mavsdk::rpc::action_server::AllowableFlightModes& flight_modes() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::AllowableFlightModes* release_flight_modes(); + ::mavsdk::rpc::action_server::AllowableFlightModes* mutable_flight_modes(); + void set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value); + void unsafe_arena_set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value); + ::mavsdk::rpc::action_server::AllowableFlightModes* unsafe_arena_release_flight_modes(); + + private: + const ::mavsdk::rpc::action_server::AllowableFlightModes& _internal_flight_modes() const; + ::mavsdk::rpc::action_server::AllowableFlightModes* _internal_mutable_flight_modes(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowableFlightModesRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetAllowableFlightModesRequest& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::AllowableFlightModes* flight_modes_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const GetAllowableFlightModesResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const GetAllowableFlightModesResponse* internal_default_instance() - { - return reinterpret_cast( - &_GetAllowableFlightModesResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 23; - friend void swap(GetAllowableFlightModesResponse& a, GetAllowableFlightModesResponse& b) - { - a.Swap(&b); - } - inline void Swap(GetAllowableFlightModesResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetAllowableFlightModesResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } +class SetAllowTakeoffResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.SetAllowTakeoffResponse) */ { + public: + inline SetAllowTakeoffResponse() : SetAllowTakeoffResponse(nullptr) {} + ~SetAllowTakeoffResponse() PROTOBUF_FINAL; - // implements Message ---------------------------------------------- +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SetAllowTakeoffResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAllowTakeoffResponse)); + } +#endif - GetAllowableFlightModesResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct( - arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetAllowableFlightModesResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetAllowableFlightModesResponse& from) - { - GetAllowableFlightModesResponse::MergeImpl(*this, from); - } + template + explicit PROTOBUF_CONSTEXPR SetAllowTakeoffResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline SetAllowTakeoffResponse(const SetAllowTakeoffResponse& from) : SetAllowTakeoffResponse(nullptr, from) {} + inline SetAllowTakeoffResponse(SetAllowTakeoffResponse&& from) noexcept + : SetAllowTakeoffResponse(nullptr, std::move(from)) {} + inline SetAllowTakeoffResponse& operator=(const SetAllowTakeoffResponse& from) { + CopyFrom(from); + return *this; + } + inline SetAllowTakeoffResponse& operator=(SetAllowTakeoffResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SetAllowTakeoffResponse& default_instance() { + return *internal_default_instance(); + } + static inline const SetAllowTakeoffResponse* internal_default_instance() { + return reinterpret_cast( + &_SetAllowTakeoffResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 22; + friend void swap(SetAllowTakeoffResponse& a, SetAllowTakeoffResponse& b) { a.Swap(&b); } + inline void Swap(SetAllowTakeoffResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SetAllowTakeoffResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetAllowTakeoffResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SetAllowTakeoffResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SetAllowTakeoffResponse& from) { SetAllowTakeoffResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SetAllowTakeoffResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.SetAllowTakeoffResponse"; } + + protected: + explicit SetAllowTakeoffResponse(::google::protobuf::Arena* arena); + SetAllowTakeoffResponse(::google::protobuf::Arena* arena, const SetAllowTakeoffResponse& from); + SetAllowTakeoffResponse(::google::protobuf::Arena* arena, SetAllowTakeoffResponse&& from) noexcept + : SetAllowTakeoffResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.SetAllowTakeoffResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SetAllowTakeoffResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); +class RebootResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.RebootResponse) */ { + public: + inline RebootResponse() : RebootResponse(nullptr) {} + ~RebootResponse() PROTOBUF_FINAL; -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetAllowableFlightModesResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.GetAllowableFlightModesResponse"; - } + void operator delete(RebootResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RebootResponse)); + } +#endif -protected: - explicit GetAllowableFlightModesResponse(::google::protobuf::Arena* arena); - GetAllowableFlightModesResponse( - ::google::protobuf::Arena* arena, const GetAllowableFlightModesResponse& from); - GetAllowableFlightModesResponse( - ::google::protobuf::Arena* arena, GetAllowableFlightModesResponse&& from) noexcept : - GetAllowableFlightModesResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kFlightModesFieldNumber = 1, - }; - // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; - bool has_flight_modes() const; - void clear_flight_modes(); - const ::mavsdk::rpc::action_server::AllowableFlightModes& flight_modes() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::AllowableFlightModes* release_flight_modes(); - ::mavsdk::rpc::action_server::AllowableFlightModes* mutable_flight_modes(); - void set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value); - void unsafe_arena_set_allocated_flight_modes( - ::mavsdk::rpc::action_server::AllowableFlightModes* value); - ::mavsdk::rpc::action_server::AllowableFlightModes* unsafe_arena_release_flight_modes(); - -private: - const ::mavsdk::rpc::action_server::AllowableFlightModes& _internal_flight_modes() const; - ::mavsdk::rpc::action_server::AllowableFlightModes* _internal_mutable_flight_modes(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const GetAllowableFlightModesResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::AllowableFlightModes* flight_modes_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR RebootResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline RebootResponse(const RebootResponse& from) : RebootResponse(nullptr, from) {} + inline RebootResponse(RebootResponse&& from) noexcept + : RebootResponse(nullptr, std::move(from)) {} + inline RebootResponse& operator=(const RebootResponse& from) { + CopyFrom(from); + return *this; + } + inline RebootResponse& operator=(RebootResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RebootResponse& default_instance() { + return *internal_default_instance(); + } + static inline const RebootResponse* internal_default_instance() { + return reinterpret_cast( + &_RebootResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(RebootResponse& a, RebootResponse& b) { a.Swap(&b); } + inline void Swap(RebootResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RebootResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RebootResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RebootResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RebootResponse& from) { RebootResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RebootResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.RebootResponse"; } + + protected: + explicit RebootResponse(::google::protobuf::Arena* arena); + RebootResponse(::google::protobuf::Arena* arena, const RebootResponse& from); + RebootResponse(::google::protobuf::Arena* arena, RebootResponse&& from) noexcept + : RebootResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + kRebootFieldNumber = 2, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // bool reboot = 2; + void clear_reboot() ; + bool reboot() const; + void set_reboot(bool value); + + private: + bool _internal_reboot() const; + void _internal_set_reboot(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.RebootResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RebootResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + bool reboot_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class FlightModeChangeResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.FlightModeChangeResponse) */ { -public: - inline FlightModeChangeResponse() : FlightModeChangeResponse(nullptr) {} - ~FlightModeChangeResponse() PROTOBUF_FINAL; +class LandResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.LandResponse) */ { + public: + inline LandResponse() : LandResponse(nullptr) {} + ~LandResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(FlightModeChangeResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(FlightModeChangeResponse)); - } + void operator delete(LandResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(LandResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - FlightModeChangeResponse(::google::protobuf::internal::ConstantInitialized); - - inline FlightModeChangeResponse(const FlightModeChangeResponse& from) : - FlightModeChangeResponse(nullptr, from) - {} - inline FlightModeChangeResponse(FlightModeChangeResponse&& from) noexcept : - FlightModeChangeResponse(nullptr, std::move(from)) - {} - inline FlightModeChangeResponse& operator=(const FlightModeChangeResponse& from) - { - CopyFrom(from); - return *this; - } - inline FlightModeChangeResponse& operator=(FlightModeChangeResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } + template + explicit PROTOBUF_CONSTEXPR LandResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline LandResponse(const LandResponse& from) : LandResponse(nullptr, from) {} + inline LandResponse(LandResponse&& from) noexcept + : LandResponse(nullptr, std::move(from)) {} + inline LandResponse& operator=(const LandResponse& from) { + CopyFrom(from); + return *this; + } + inline LandResponse& operator=(LandResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LandResponse& default_instance() { + return *internal_default_instance(); + } + static inline const LandResponse* internal_default_instance() { + return reinterpret_cast( + &_LandResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 15; + friend void swap(LandResponse& a, LandResponse& b) { a.Swap(&b); } + inline void Swap(LandResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LandResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LandResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const LandResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const LandResponse& from) { LandResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(LandResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.LandResponse"; } + + protected: + explicit LandResponse(::google::protobuf::Arena* arena); + LandResponse(::google::protobuf::Arena* arena, const LandResponse& from); + LandResponse(::google::protobuf::Arena* arena, LandResponse&& from) noexcept + : LandResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + kLandFieldNumber = 2, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // bool land = 2; + void clear_land() ; + bool land() const; + void set_land(bool value); + + private: + bool _internal_land() const; + void _internal_set_land(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.LandResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const LandResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + bool land_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const FlightModeChangeResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const FlightModeChangeResponse* internal_default_instance() - { - return reinterpret_cast( - &_FlightModeChangeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 13; - friend void swap(FlightModeChangeResponse& a, FlightModeChangeResponse& b) { a.Swap(&b); } - inline void Swap(FlightModeChangeResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(FlightModeChangeResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } +class GetAllowableFlightModesResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) */ { + public: + inline GetAllowableFlightModesResponse() : GetAllowableFlightModesResponse(nullptr) {} + ~GetAllowableFlightModesResponse() PROTOBUF_FINAL; - // implements Message ---------------------------------------------- +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(GetAllowableFlightModesResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(GetAllowableFlightModesResponse)); + } +#endif - FlightModeChangeResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const FlightModeChangeResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const FlightModeChangeResponse& from) - { - FlightModeChangeResponse::MergeImpl(*this, from); - } + template + explicit PROTOBUF_CONSTEXPR GetAllowableFlightModesResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline GetAllowableFlightModesResponse(const GetAllowableFlightModesResponse& from) : GetAllowableFlightModesResponse(nullptr, from) {} + inline GetAllowableFlightModesResponse(GetAllowableFlightModesResponse&& from) noexcept + : GetAllowableFlightModesResponse(nullptr, std::move(from)) {} + inline GetAllowableFlightModesResponse& operator=(const GetAllowableFlightModesResponse& from) { + CopyFrom(from); + return *this; + } + inline GetAllowableFlightModesResponse& operator=(GetAllowableFlightModesResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GetAllowableFlightModesResponse& default_instance() { + return *internal_default_instance(); + } + static inline const GetAllowableFlightModesResponse* internal_default_instance() { + return reinterpret_cast( + &_GetAllowableFlightModesResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 23; + friend void swap(GetAllowableFlightModesResponse& a, GetAllowableFlightModesResponse& b) { a.Swap(&b); } + inline void Swap(GetAllowableFlightModesResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GetAllowableFlightModesResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GetAllowableFlightModesResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const GetAllowableFlightModesResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const GetAllowableFlightModesResponse& from) { GetAllowableFlightModesResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(GetAllowableFlightModesResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.GetAllowableFlightModesResponse"; } + + protected: + explicit GetAllowableFlightModesResponse(::google::protobuf::Arena* arena); + GetAllowableFlightModesResponse(::google::protobuf::Arena* arena, const GetAllowableFlightModesResponse& from); + GetAllowableFlightModesResponse(::google::protobuf::Arena* arena, GetAllowableFlightModesResponse&& from) noexcept + : GetAllowableFlightModesResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFlightModesFieldNumber = 1, + }; + // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; + bool has_flight_modes() const; + void clear_flight_modes() ; + const ::mavsdk::rpc::action_server::AllowableFlightModes& flight_modes() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::AllowableFlightModes* release_flight_modes(); + ::mavsdk::rpc::action_server::AllowableFlightModes* mutable_flight_modes(); + void set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value); + void unsafe_arena_set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value); + ::mavsdk::rpc::action_server::AllowableFlightModes* unsafe_arena_release_flight_modes(); + + private: + const ::mavsdk::rpc::action_server::AllowableFlightModes& _internal_flight_modes() const; + ::mavsdk::rpc::action_server::AllowableFlightModes* _internal_mutable_flight_modes(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.GetAllowableFlightModesResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const GetAllowableFlightModesResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::AllowableFlightModes* flight_modes_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; +// ------------------------------------------------------------------- -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); +class FlightModeChangeResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.FlightModeChangeResponse) */ { + public: + inline FlightModeChangeResponse() : FlightModeChangeResponse(nullptr) {} + ~FlightModeChangeResponse() PROTOBUF_FINAL; -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(FlightModeChangeResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.FlightModeChangeResponse"; - } + void operator delete(FlightModeChangeResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(FlightModeChangeResponse)); + } +#endif -protected: - explicit FlightModeChangeResponse(::google::protobuf::Arena* arena); - FlightModeChangeResponse( - ::google::protobuf::Arena* arena, const FlightModeChangeResponse& from); - FlightModeChangeResponse( - ::google::protobuf::Arena* arena, FlightModeChangeResponse&& from) noexcept : - FlightModeChangeResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - kFlightModeFieldNumber = 2, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; - void clear_flight_mode(); - ::mavsdk::rpc::action_server::FlightMode flight_mode() const; - void set_flight_mode(::mavsdk::rpc::action_server::FlightMode value); - -private: - ::mavsdk::rpc::action_server::FlightMode _internal_flight_mode() const; - void _internal_set_flight_mode(::mavsdk::rpc::action_server::FlightMode value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.FlightModeChangeResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const FlightModeChangeResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - int flight_mode_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR FlightModeChangeResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline FlightModeChangeResponse(const FlightModeChangeResponse& from) : FlightModeChangeResponse(nullptr, from) {} + inline FlightModeChangeResponse(FlightModeChangeResponse&& from) noexcept + : FlightModeChangeResponse(nullptr, std::move(from)) {} + inline FlightModeChangeResponse& operator=(const FlightModeChangeResponse& from) { + CopyFrom(from); + return *this; + } + inline FlightModeChangeResponse& operator=(FlightModeChangeResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FlightModeChangeResponse& default_instance() { + return *internal_default_instance(); + } + static inline const FlightModeChangeResponse* internal_default_instance() { + return reinterpret_cast( + &_FlightModeChangeResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(FlightModeChangeResponse& a, FlightModeChangeResponse& b) { a.Swap(&b); } + inline void Swap(FlightModeChangeResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FlightModeChangeResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FlightModeChangeResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const FlightModeChangeResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const FlightModeChangeResponse& from) { FlightModeChangeResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(FlightModeChangeResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.FlightModeChangeResponse"; } + + protected: + explicit FlightModeChangeResponse(::google::protobuf::Arena* arena); + FlightModeChangeResponse(::google::protobuf::Arena* arena, const FlightModeChangeResponse& from); + FlightModeChangeResponse(::google::protobuf::Arena* arena, FlightModeChangeResponse&& from) noexcept + : FlightModeChangeResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + kFlightModeFieldNumber = 2, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; + void clear_flight_mode() ; + ::mavsdk::rpc::action_server::FlightMode flight_mode() const; + void set_flight_mode(::mavsdk::rpc::action_server::FlightMode value); + + private: + ::mavsdk::rpc::action_server::FlightMode _internal_flight_mode() const; + void _internal_set_flight_mode(::mavsdk::rpc::action_server::FlightMode value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.FlightModeChangeResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const FlightModeChangeResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + int flight_mode_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; }; // ------------------------------------------------------------------- -class ArmDisarmResponse final : public ::google::protobuf::Message +class ArmDisarmResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.action_server.ArmDisarmResponse) */ { -public: - inline ArmDisarmResponse() : ArmDisarmResponse(nullptr) {} - ~ArmDisarmResponse() PROTOBUF_FINAL; + public: + inline ArmDisarmResponse() : ArmDisarmResponse(nullptr) {} + ~ArmDisarmResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmDisarmResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmDisarmResponse)); - } + void operator delete(ArmDisarmResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmDisarmResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - ArmDisarmResponse(::google::protobuf::internal::ConstantInitialized); - - inline ArmDisarmResponse(const ArmDisarmResponse& from) : ArmDisarmResponse(nullptr, from) {} - inline ArmDisarmResponse(ArmDisarmResponse&& from) noexcept : - ArmDisarmResponse(nullptr, std::move(from)) - {} - inline ArmDisarmResponse& operator=(const ArmDisarmResponse& from) - { - CopyFrom(from); - return *this; - } - inline ArmDisarmResponse& operator=(ArmDisarmResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } + template + explicit PROTOBUF_CONSTEXPR ArmDisarmResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmDisarmResponse(const ArmDisarmResponse& from) : ArmDisarmResponse(nullptr, from) {} + inline ArmDisarmResponse(ArmDisarmResponse&& from) noexcept + : ArmDisarmResponse(nullptr, std::move(from)) {} + inline ArmDisarmResponse& operator=(const ArmDisarmResponse& from) { + CopyFrom(from); + return *this; + } + inline ArmDisarmResponse& operator=(ArmDisarmResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmDisarmResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ArmDisarmResponse* internal_default_instance() { + return reinterpret_cast( + &_ArmDisarmResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(ArmDisarmResponse& a, ArmDisarmResponse& b) { a.Swap(&b); } + inline void Swap(ArmDisarmResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmDisarmResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmDisarmResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ArmDisarmResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ArmDisarmResponse& from) { ArmDisarmResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ArmDisarmResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.action_server.ArmDisarmResponse"; } + + protected: + explicit ArmDisarmResponse(::google::protobuf::Arena* arena); + ArmDisarmResponse(::google::protobuf::Arena* arena, const ArmDisarmResponse& from); + ArmDisarmResponse(::google::protobuf::Arena* arena, ArmDisarmResponse&& from) noexcept + : ArmDisarmResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kActionServerResultFieldNumber = 1, + kArmFieldNumber = 2, + }; + // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; + bool has_action_server_result() const; + void clear_action_server_result() ; + const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* release_action_server_result(); + ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); + void set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + void unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); + ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); + + private: + const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; + ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); + + public: + // .mavsdk.rpc.action_server.ArmDisarm arm = 2; + bool has_arm() const; + void clear_arm() ; + const ::mavsdk::rpc::action_server::ArmDisarm& arm() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ArmDisarm* release_arm(); + ::mavsdk::rpc::action_server::ArmDisarm* mutable_arm(); + void set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value); + void unsafe_arena_set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value); + ::mavsdk::rpc::action_server::ArmDisarm* unsafe_arena_release_arm(); + + private: + const ::mavsdk::rpc::action_server::ArmDisarm& _internal_arm() const; + ::mavsdk::rpc::action_server::ArmDisarm* _internal_mutable_arm(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ArmDisarmResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmDisarmResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; + ::mavsdk::rpc::action_server::ArmDisarm* arm_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; +}; - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmDisarmResponse& default_instance() { return *internal_default_instance(); } - static inline const ArmDisarmResponse* internal_default_instance() - { - return reinterpret_cast(&_ArmDisarmResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 12; - friend void swap(ArmDisarmResponse& a, ArmDisarmResponse& b) { a.Swap(&b); } - inline void Swap(ArmDisarmResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmDisarmResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } +// =================================================================== - // implements Message ---------------------------------------------- - ArmDisarmResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ArmDisarmResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ArmDisarmResponse& from) { ArmDisarmResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ArmDisarmResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.action_server.ArmDisarmResponse"; - } -protected: - explicit ArmDisarmResponse(::google::protobuf::Arena* arena); - ArmDisarmResponse(::google::protobuf::Arena* arena, const ArmDisarmResponse& from); - ArmDisarmResponse(::google::protobuf::Arena* arena, ArmDisarmResponse&& from) noexcept : - ArmDisarmResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kActionServerResultFieldNumber = 1, - kArmFieldNumber = 2, - }; - // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; - bool has_action_server_result() const; - void clear_action_server_result(); - const ::mavsdk::rpc::action_server::ActionServerResult& action_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ActionServerResult* - release_action_server_result(); - ::mavsdk::rpc::action_server::ActionServerResult* mutable_action_server_result(); - void - set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value); - void unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value); - ::mavsdk::rpc::action_server::ActionServerResult* unsafe_arena_release_action_server_result(); - -private: - const ::mavsdk::rpc::action_server::ActionServerResult& _internal_action_server_result() const; - ::mavsdk::rpc::action_server::ActionServerResult* _internal_mutable_action_server_result(); - -public: - // .mavsdk.rpc.action_server.ArmDisarm arm = 2; - bool has_arm() const; - void clear_arm(); - const ::mavsdk::rpc::action_server::ArmDisarm& arm() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::action_server::ArmDisarm* release_arm(); - ::mavsdk::rpc::action_server::ArmDisarm* mutable_arm(); - void set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value); - void unsafe_arena_set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value); - ::mavsdk::rpc::action_server::ArmDisarm* unsafe_arena_release_arm(); - -private: - const ::mavsdk::rpc::action_server::ArmDisarm& _internal_arm() const; - ::mavsdk::rpc::action_server::ArmDisarm* _internal_mutable_arm(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.action_server.ArmDisarmResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 2, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmDisarmResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::action_server::ActionServerResult* action_server_result_; - ::mavsdk::rpc::action_server::ArmDisarm* arm_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_action_5fserver_2faction_5fserver_2eproto; -}; // =================================================================== -// =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ +#endif // __GNUC__ // ------------------------------------------------------------------- // SetAllowTakeoffRequest // bool allow_takeoff = 1; -inline void SetAllowTakeoffRequest::clear_allow_takeoff() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_takeoff_ = false; +inline void SetAllowTakeoffRequest::clear_allow_takeoff() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.allow_takeoff_ = false; } -inline bool SetAllowTakeoffRequest::allow_takeoff() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowTakeoffRequest.allow_takeoff) - return _internal_allow_takeoff(); +inline bool SetAllowTakeoffRequest::allow_takeoff() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowTakeoffRequest.allow_takeoff) + return _internal_allow_takeoff(); } -inline void SetAllowTakeoffRequest::set_allow_takeoff(bool value) -{ - _internal_set_allow_takeoff(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetAllowTakeoffRequest.allow_takeoff) +inline void SetAllowTakeoffRequest::set_allow_takeoff(bool value) { + _internal_set_allow_takeoff(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetAllowTakeoffRequest.allow_takeoff) } -inline bool SetAllowTakeoffRequest::_internal_allow_takeoff() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.allow_takeoff_; +inline bool SetAllowTakeoffRequest::_internal_allow_takeoff() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.allow_takeoff_; } -inline void SetAllowTakeoffRequest::_internal_set_allow_takeoff(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_takeoff_ = value; +inline void SetAllowTakeoffRequest::_internal_set_allow_takeoff(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.allow_takeoff_ = value; } // ------------------------------------------------------------------- @@ -5837,57 +5358,47 @@ inline void SetAllowTakeoffRequest::_internal_set_allow_takeoff(bool value) // SetArmableRequest // bool armable = 1; -inline void SetArmableRequest::clear_armable() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.armable_ = false; +inline void SetArmableRequest::clear_armable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.armable_ = false; } -inline bool SetArmableRequest::armable() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetArmableRequest.armable) - return _internal_armable(); +inline bool SetArmableRequest::armable() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetArmableRequest.armable) + return _internal_armable(); } -inline void SetArmableRequest::set_armable(bool value) -{ - _internal_set_armable(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetArmableRequest.armable) +inline void SetArmableRequest::set_armable(bool value) { + _internal_set_armable(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetArmableRequest.armable) } -inline bool SetArmableRequest::_internal_armable() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.armable_; +inline bool SetArmableRequest::_internal_armable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.armable_; } -inline void SetArmableRequest::_internal_set_armable(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.armable_ = value; +inline void SetArmableRequest::_internal_set_armable(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.armable_ = value; } // bool force_armable = 2; -inline void SetArmableRequest::clear_force_armable() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_armable_ = false; +inline void SetArmableRequest::clear_force_armable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.force_armable_ = false; } -inline bool SetArmableRequest::force_armable() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetArmableRequest.force_armable) - return _internal_force_armable(); +inline bool SetArmableRequest::force_armable() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetArmableRequest.force_armable) + return _internal_force_armable(); } -inline void SetArmableRequest::set_force_armable(bool value) -{ - _internal_set_force_armable(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetArmableRequest.force_armable) +inline void SetArmableRequest::set_force_armable(bool value) { + _internal_set_force_armable(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetArmableRequest.force_armable) } -inline bool SetArmableRequest::_internal_force_armable() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.force_armable_; +inline bool SetArmableRequest::_internal_force_armable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.force_armable_; } -inline void SetArmableRequest::_internal_set_force_armable(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_armable_ = value; +inline void SetArmableRequest::_internal_set_force_armable(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.force_armable_ = value; } // ------------------------------------------------------------------- @@ -5895,57 +5406,47 @@ inline void SetArmableRequest::_internal_set_force_armable(bool value) // SetDisarmableRequest // bool disarmable = 1; -inline void SetDisarmableRequest::clear_disarmable() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.disarmable_ = false; +inline void SetDisarmableRequest::clear_disarmable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.disarmable_ = false; } -inline bool SetDisarmableRequest::disarmable() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetDisarmableRequest.disarmable) - return _internal_disarmable(); +inline bool SetDisarmableRequest::disarmable() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetDisarmableRequest.disarmable) + return _internal_disarmable(); } -inline void SetDisarmableRequest::set_disarmable(bool value) -{ - _internal_set_disarmable(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetDisarmableRequest.disarmable) +inline void SetDisarmableRequest::set_disarmable(bool value) { + _internal_set_disarmable(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetDisarmableRequest.disarmable) } -inline bool SetDisarmableRequest::_internal_disarmable() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.disarmable_; +inline bool SetDisarmableRequest::_internal_disarmable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.disarmable_; } -inline void SetDisarmableRequest::_internal_set_disarmable(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.disarmable_ = value; +inline void SetDisarmableRequest::_internal_set_disarmable(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.disarmable_ = value; } // bool force_disarmable = 2; -inline void SetDisarmableRequest::clear_force_disarmable() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_disarmable_ = false; +inline void SetDisarmableRequest::clear_force_disarmable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.force_disarmable_ = false; } -inline bool SetDisarmableRequest::force_disarmable() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetDisarmableRequest.force_disarmable) - return _internal_force_disarmable(); +inline bool SetDisarmableRequest::force_disarmable() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetDisarmableRequest.force_disarmable) + return _internal_force_disarmable(); } -inline void SetDisarmableRequest::set_force_disarmable(bool value) -{ - _internal_set_force_disarmable(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetDisarmableRequest.force_disarmable) +inline void SetDisarmableRequest::set_force_disarmable(bool value) { + _internal_set_force_disarmable(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.SetDisarmableRequest.force_disarmable) } -inline bool SetDisarmableRequest::_internal_force_disarmable() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.force_disarmable_; +inline bool SetDisarmableRequest::_internal_force_disarmable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.force_disarmable_; } -inline void SetDisarmableRequest::_internal_set_force_disarmable(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_disarmable_ = value; +inline void SetDisarmableRequest::_internal_set_force_disarmable(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.force_disarmable_ = value; } // ------------------------------------------------------------------- @@ -5953,126 +5454,99 @@ inline void SetDisarmableRequest::_internal_set_force_disarmable(bool value) // SetAllowableFlightModesRequest // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; -inline bool SetAllowableFlightModesRequest::has_flight_modes() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.flight_modes_ != nullptr); - return value; -} -inline void SetAllowableFlightModesRequest::clear_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.flight_modes_ != nullptr) - _impl_.flight_modes_->Clear(); +inline bool SetAllowableFlightModesRequest::has_flight_modes() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.flight_modes_ != nullptr); + return value; +} +inline void SetAllowableFlightModesRequest::clear_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.flight_modes_ != nullptr) _impl_.flight_modes_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::AllowableFlightModes& SetAllowableFlightModesRequest::_internal_flight_modes() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::AllowableFlightModes* p = _impl_.flight_modes_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_AllowableFlightModes_default_instance_); +} +inline const ::mavsdk::rpc::action_server::AllowableFlightModes& SetAllowableFlightModesRequest::flight_modes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) + return _internal_flight_modes(); +} +inline void SetAllowableFlightModesRequest::unsafe_arena_set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.flight_modes_); + } + _impl_.flight_modes_ = reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::AllowableFlightModes& -SetAllowableFlightModesRequest::_internal_flight_modes() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::AllowableFlightModes* p = _impl_.flight_modes_; - return p != nullptr ? - *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_AllowableFlightModes_default_instance_); -} -inline const ::mavsdk::rpc::action_server::AllowableFlightModes& -SetAllowableFlightModesRequest::flight_modes() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) - return _internal_flight_modes(); -} -inline void SetAllowableFlightModesRequest::unsafe_arena_set_allocated_flight_modes( - ::mavsdk::rpc::action_server::AllowableFlightModes* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* SetAllowableFlightModesRequest::release_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::AllowableFlightModes* released = _impl_.flight_modes_; + _impl_.flight_modes_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.flight_modes_); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* SetAllowableFlightModesRequest::unsafe_arena_release_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::AllowableFlightModes* temp = _impl_.flight_modes_; + _impl_.flight_modes_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* SetAllowableFlightModesRequest::_internal_mutable_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.flight_modes_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::AllowableFlightModes>(GetArena()); + _impl_.flight_modes_ = reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(p); + } + return _impl_.flight_modes_; +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* SetAllowableFlightModesRequest::mutable_flight_modes() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::AllowableFlightModes* _msg = _internal_mutable_flight_modes(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) + return _msg; +} +inline void SetAllowableFlightModesRequest::set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.flight_modes_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_.flight_modes_ = - reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -SetAllowableFlightModesRequest::release_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::AllowableFlightModes* released = _impl_.flight_modes_; - _impl_.flight_modes_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -SetAllowableFlightModesRequest::unsafe_arena_release_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::AllowableFlightModes* temp = _impl_.flight_modes_; - _impl_.flight_modes_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -SetAllowableFlightModesRequest::_internal_mutable_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.flight_modes_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::AllowableFlightModes>(GetArena()); - _impl_.flight_modes_ = - reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(p); - } - return _impl_.flight_modes_; -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -SetAllowableFlightModesRequest::mutable_flight_modes() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::AllowableFlightModes* _msg = _internal_mutable_flight_modes(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) - return _msg; -} -inline void SetAllowableFlightModesRequest::set_allocated_flight_modes( - ::mavsdk::rpc::action_server::AllowableFlightModes* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.flight_modes_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.flight_modes_ = - reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) + _impl_.flight_modes_ = reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesRequest.flight_modes) } // ------------------------------------------------------------------- @@ -6105,248 +5579,202 @@ inline void SetAllowableFlightModesRequest::set_allocated_flight_modes( // ------------------------------------------------------------------- -// SubscribeTerminateRequest - -// ------------------------------------------------------------------- - -// ArmDisarmResponse - -// .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool ArmDisarmResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void ArmDisarmResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -ArmDisarmResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -ArmDisarmResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) - return _internal_action_server_result(); -} -inline void ArmDisarmResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ArmDisarmResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ArmDisarmResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) +// SubscribeTerminateRequest + +// ------------------------------------------------------------------- + +// ArmDisarmResponse +// .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; +inline bool ArmDisarmResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void ArmDisarmResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& ArmDisarmResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& ArmDisarmResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) + return _internal_action_server_result(); +} +inline void ArmDisarmResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ArmDisarmResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ArmDisarmResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ArmDisarmResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ArmDisarmResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ArmDisarmResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) + return _msg; +} +inline void ArmDisarmResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ArmDisarmResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) - return _msg; -} -inline void ArmDisarmResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.action_server_result) } // .mavsdk.rpc.action_server.ArmDisarm arm = 2; -inline bool ArmDisarmResponse::has_arm() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arm_ != nullptr); - return value; -} -inline void ArmDisarmResponse::clear_arm() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.arm_ != nullptr) - _impl_.arm_->Clear(); +inline bool ArmDisarmResponse::has_arm() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.arm_ != nullptr); + return value; +} +inline void ArmDisarmResponse::clear_arm() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.arm_ != nullptr) _impl_.arm_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::mavsdk::rpc::action_server::ArmDisarm& ArmDisarmResponse::_internal_arm() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ArmDisarm* p = _impl_.arm_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ArmDisarm_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ArmDisarm& ArmDisarmResponse::arm() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarmResponse.arm) + return _internal_arm(); +} +inline void ArmDisarmResponse::unsafe_arena_set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.arm_); + } + _impl_.arm_ = reinterpret_cast<::mavsdk::rpc::action_server::ArmDisarm*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::mavsdk::rpc::action_server::ArmDisarm& ArmDisarmResponse::_internal_arm() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ArmDisarm* p = _impl_.arm_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ArmDisarm_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ArmDisarm& -ArmDisarmResponse::arm() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarmResponse.arm) - return _internal_arm(); -} -inline void -ArmDisarmResponse::unsafe_arena_set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.arm) +} +inline ::mavsdk::rpc::action_server::ArmDisarm* ArmDisarmResponse::release_arm() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::action_server::ArmDisarm* released = _impl_.arm_; + _impl_.arm_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.arm_); - } - _impl_.arm_ = reinterpret_cast<::mavsdk::rpc::action_server::ArmDisarm*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.arm) -} -inline ::mavsdk::rpc::action_server::ArmDisarm* ArmDisarmResponse::release_arm() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::action_server::ArmDisarm* released = _impl_.arm_; - _impl_.arm_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ArmDisarm* ArmDisarmResponse::unsafe_arena_release_arm() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ArmDisarmResponse.arm) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::action_server::ArmDisarm* temp = _impl_.arm_; - _impl_.arm_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ArmDisarm* ArmDisarmResponse::_internal_mutable_arm() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.arm_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ArmDisarm>( - GetArena()); - _impl_.arm_ = reinterpret_cast<::mavsdk::rpc::action_server::ArmDisarm*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ArmDisarm* ArmDisarmResponse::unsafe_arena_release_arm() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ArmDisarmResponse.arm) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::action_server::ArmDisarm* temp = _impl_.arm_; + _impl_.arm_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ArmDisarm* ArmDisarmResponse::_internal_mutable_arm() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.arm_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ArmDisarm>(GetArena()); + _impl_.arm_ = reinterpret_cast<::mavsdk::rpc::action_server::ArmDisarm*>(p); + } + return _impl_.arm_; +} +inline ::mavsdk::rpc::action_server::ArmDisarm* ArmDisarmResponse::mutable_arm() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::mavsdk::rpc::action_server::ArmDisarm* _msg = _internal_mutable_arm(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ArmDisarmResponse.arm) + return _msg; +} +inline void ArmDisarmResponse::set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.arm_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.arm_; -} -inline ::mavsdk::rpc::action_server::ArmDisarm* -ArmDisarmResponse::mutable_arm() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000002u; - ::mavsdk::rpc::action_server::ArmDisarm* _msg = _internal_mutable_arm(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ArmDisarmResponse.arm) - return _msg; -} -inline void ArmDisarmResponse::set_allocated_arm(::mavsdk::rpc::action_server::ArmDisarm* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.arm_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } - _impl_.arm_ = reinterpret_cast<::mavsdk::rpc::action_server::ArmDisarm*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.arm) + _impl_.arm_ = reinterpret_cast<::mavsdk::rpc::action_server::ArmDisarm*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ArmDisarmResponse.arm) } // ------------------------------------------------------------------- @@ -6354,156 +5782,121 @@ inline void ArmDisarmResponse::set_allocated_arm(::mavsdk::rpc::action_server::A // FlightModeChangeResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool FlightModeChangeResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void FlightModeChangeResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool FlightModeChangeResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void FlightModeChangeResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& FlightModeChangeResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& FlightModeChangeResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) + return _internal_action_server_result(); +} +inline void FlightModeChangeResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -FlightModeChangeResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -FlightModeChangeResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) - return _internal_action_server_result(); -} -inline void FlightModeChangeResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* FlightModeChangeResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -FlightModeChangeResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -FlightModeChangeResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -FlightModeChangeResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* FlightModeChangeResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* FlightModeChangeResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* FlightModeChangeResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) + return _msg; +} +inline void FlightModeChangeResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -FlightModeChangeResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) - return _msg; -} -inline void FlightModeChangeResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.FlightModeChangeResponse.action_server_result) } // .mavsdk.rpc.action_server.FlightMode flight_mode = 2; -inline void FlightModeChangeResponse::clear_flight_mode() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flight_mode_ = 0; -} -inline ::mavsdk::rpc::action_server::FlightMode FlightModeChangeResponse::flight_mode() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.FlightModeChangeResponse.flight_mode) - return _internal_flight_mode(); -} -inline void -FlightModeChangeResponse::set_flight_mode(::mavsdk::rpc::action_server::FlightMode value) -{ - _internal_set_flight_mode(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.FlightModeChangeResponse.flight_mode) -} -inline ::mavsdk::rpc::action_server::FlightMode -FlightModeChangeResponse::_internal_flight_mode() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::mavsdk::rpc::action_server::FlightMode>(_impl_.flight_mode_); -} -inline void -FlightModeChangeResponse::_internal_set_flight_mode(::mavsdk::rpc::action_server::FlightMode value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flight_mode_ = value; +inline void FlightModeChangeResponse::clear_flight_mode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flight_mode_ = 0; +} +inline ::mavsdk::rpc::action_server::FlightMode FlightModeChangeResponse::flight_mode() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.FlightModeChangeResponse.flight_mode) + return _internal_flight_mode(); +} +inline void FlightModeChangeResponse::set_flight_mode(::mavsdk::rpc::action_server::FlightMode value) { + _internal_set_flight_mode(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.FlightModeChangeResponse.flight_mode) +} +inline ::mavsdk::rpc::action_server::FlightMode FlightModeChangeResponse::_internal_flight_mode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::mavsdk::rpc::action_server::FlightMode>(_impl_.flight_mode_); +} +inline void FlightModeChangeResponse::_internal_set_flight_mode(::mavsdk::rpc::action_server::FlightMode value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.flight_mode_ = value; } // ------------------------------------------------------------------- @@ -6511,153 +5904,121 @@ FlightModeChangeResponse::_internal_set_flight_mode(::mavsdk::rpc::action_server // TakeoffResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool TakeoffResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void TakeoffResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool TakeoffResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void TakeoffResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& TakeoffResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& TakeoffResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) + return _internal_action_server_result(); +} +inline void TakeoffResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -TakeoffResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -TakeoffResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) - return _internal_action_server_result(); -} -inline void TakeoffResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TakeoffResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TakeoffResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TakeoffResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TakeoffResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) + return _msg; +} +inline void TakeoffResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TakeoffResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TakeoffResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TakeoffResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); - } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TakeoffResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) - return _msg; -} -inline void TakeoffResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.TakeoffResponse.action_server_result) } // bool takeoff = 2; -inline void TakeoffResponse::clear_takeoff() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.takeoff_ = false; +inline void TakeoffResponse::clear_takeoff() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.takeoff_ = false; } -inline bool TakeoffResponse::takeoff() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TakeoffResponse.takeoff) - return _internal_takeoff(); +inline bool TakeoffResponse::takeoff() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TakeoffResponse.takeoff) + return _internal_takeoff(); } -inline void TakeoffResponse::set_takeoff(bool value) -{ - _internal_set_takeoff(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.TakeoffResponse.takeoff) +inline void TakeoffResponse::set_takeoff(bool value) { + _internal_set_takeoff(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.TakeoffResponse.takeoff) } -inline bool TakeoffResponse::_internal_takeoff() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.takeoff_; +inline bool TakeoffResponse::_internal_takeoff() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.takeoff_; } -inline void TakeoffResponse::_internal_set_takeoff(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.takeoff_ = value; +inline void TakeoffResponse::_internal_set_takeoff(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.takeoff_ = value; } // ------------------------------------------------------------------- @@ -6665,153 +6026,121 @@ inline void TakeoffResponse::_internal_set_takeoff(bool value) // LandResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool LandResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void LandResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool LandResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void LandResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& LandResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& LandResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.LandResponse.action_server_result) + return _internal_action_server_result(); +} +inline void LandResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -LandResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -LandResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.LandResponse.action_server_result) - return _internal_action_server_result(); -} -inline void LandResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.LandResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* LandResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.LandResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -LandResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* LandResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.LandResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* LandResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* LandResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.LandResponse.action_server_result) + return _msg; +} +inline void LandResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -LandResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.LandResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -LandResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); - } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -LandResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.LandResponse.action_server_result) - return _msg; -} -inline void LandResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.LandResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.LandResponse.action_server_result) } // bool land = 2; -inline void LandResponse::clear_land() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.land_ = false; +inline void LandResponse::clear_land() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.land_ = false; } -inline bool LandResponse::land() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.LandResponse.land) - return _internal_land(); +inline bool LandResponse::land() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.LandResponse.land) + return _internal_land(); } -inline void LandResponse::set_land(bool value) -{ - _internal_set_land(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.LandResponse.land) +inline void LandResponse::set_land(bool value) { + _internal_set_land(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.LandResponse.land) } -inline bool LandResponse::_internal_land() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.land_; +inline bool LandResponse::_internal_land() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.land_; } -inline void LandResponse::_internal_set_land(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.land_ = value; +inline void LandResponse::_internal_set_land(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.land_ = value; } // ------------------------------------------------------------------- @@ -6819,153 +6148,121 @@ inline void LandResponse::_internal_set_land(bool value) // RebootResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool RebootResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void RebootResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool RebootResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void RebootResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& RebootResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& RebootResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.RebootResponse.action_server_result) + return _internal_action_server_result(); +} +inline void RebootResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -RebootResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -RebootResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.RebootResponse.action_server_result) - return _internal_action_server_result(); -} -inline void RebootResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.RebootResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* RebootResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.RebootResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -RebootResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -RebootResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.RebootResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -RebootResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* RebootResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.RebootResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* RebootResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* RebootResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.RebootResponse.action_server_result) + return _msg; +} +inline void RebootResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -RebootResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.RebootResponse.action_server_result) - return _msg; -} -inline void RebootResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.RebootResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.RebootResponse.action_server_result) } // bool reboot = 2; -inline void RebootResponse::clear_reboot() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reboot_ = false; +inline void RebootResponse::clear_reboot() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reboot_ = false; } -inline bool RebootResponse::reboot() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.RebootResponse.reboot) - return _internal_reboot(); +inline bool RebootResponse::reboot() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.RebootResponse.reboot) + return _internal_reboot(); } -inline void RebootResponse::set_reboot(bool value) -{ - _internal_set_reboot(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.RebootResponse.reboot) +inline void RebootResponse::set_reboot(bool value) { + _internal_set_reboot(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.RebootResponse.reboot) } -inline bool RebootResponse::_internal_reboot() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.reboot_; +inline bool RebootResponse::_internal_reboot() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.reboot_; } -inline void RebootResponse::_internal_set_reboot(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reboot_ = value; +inline void RebootResponse::_internal_set_reboot(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reboot_ = value; } // ------------------------------------------------------------------- @@ -6973,153 +6270,121 @@ inline void RebootResponse::_internal_set_reboot(bool value) // ShutdownResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool ShutdownResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void ShutdownResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool ShutdownResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void ShutdownResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& ShutdownResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& ShutdownResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) + return _internal_action_server_result(); +} +inline void ShutdownResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -ShutdownResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -ShutdownResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) - return _internal_action_server_result(); -} -inline void ShutdownResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ShutdownResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ShutdownResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ShutdownResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ShutdownResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ShutdownResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ShutdownResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* ShutdownResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) + return _msg; +} +inline void ShutdownResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -ShutdownResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) - return _msg; -} -inline void ShutdownResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ShutdownResponse.action_server_result) } // bool shutdown = 2; -inline void ShutdownResponse::clear_shutdown() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.shutdown_ = false; +inline void ShutdownResponse::clear_shutdown() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.shutdown_ = false; } -inline bool ShutdownResponse::shutdown() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ShutdownResponse.shutdown) - return _internal_shutdown(); +inline bool ShutdownResponse::shutdown() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ShutdownResponse.shutdown) + return _internal_shutdown(); } -inline void ShutdownResponse::set_shutdown(bool value) -{ - _internal_set_shutdown(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ShutdownResponse.shutdown) +inline void ShutdownResponse::set_shutdown(bool value) { + _internal_set_shutdown(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ShutdownResponse.shutdown) } -inline bool ShutdownResponse::_internal_shutdown() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.shutdown_; +inline bool ShutdownResponse::_internal_shutdown() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.shutdown_; } -inline void ShutdownResponse::_internal_set_shutdown(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.shutdown_ = value; +inline void ShutdownResponse::_internal_set_shutdown(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.shutdown_ = value; } // ------------------------------------------------------------------- @@ -7127,153 +6392,121 @@ inline void ShutdownResponse::_internal_set_shutdown(bool value) // TerminateResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool TerminateResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void TerminateResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool TerminateResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void TerminateResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& TerminateResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& TerminateResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TerminateResponse.action_server_result) + return _internal_action_server_result(); +} +inline void TerminateResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -TerminateResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -TerminateResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TerminateResponse.action_server_result) - return _internal_action_server_result(); -} -inline void TerminateResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.TerminateResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TerminateResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.TerminateResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TerminateResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TerminateResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.TerminateResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TerminateResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TerminateResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.TerminateResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TerminateResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* TerminateResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.TerminateResponse.action_server_result) + return _msg; +} +inline void TerminateResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -TerminateResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.TerminateResponse.action_server_result) - return _msg; -} -inline void TerminateResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.TerminateResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.TerminateResponse.action_server_result) } // bool terminate = 2; -inline void TerminateResponse::clear_terminate() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.terminate_ = false; +inline void TerminateResponse::clear_terminate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.terminate_ = false; } -inline bool TerminateResponse::terminate() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TerminateResponse.terminate) - return _internal_terminate(); +inline bool TerminateResponse::terminate() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.TerminateResponse.terminate) + return _internal_terminate(); } -inline void TerminateResponse::set_terminate(bool value) -{ - _internal_set_terminate(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.TerminateResponse.terminate) +inline void TerminateResponse::set_terminate(bool value) { + _internal_set_terminate(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.TerminateResponse.terminate) } -inline bool TerminateResponse::_internal_terminate() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.terminate_; +inline bool TerminateResponse::_internal_terminate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.terminate_; } -inline void TerminateResponse::_internal_set_terminate(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.terminate_ = value; +inline void TerminateResponse::_internal_set_terminate(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.terminate_ = value; } // ------------------------------------------------------------------- @@ -7281,126 +6514,99 @@ inline void TerminateResponse::_internal_set_terminate(bool value) // SetArmableResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool SetArmableResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void SetArmableResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool SetArmableResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void SetArmableResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetArmableResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetArmableResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) + return _internal_action_server_result(); +} +inline void SetArmableResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetArmableResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetArmableResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) - return _internal_action_server_result(); -} -inline void SetArmableResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetArmableResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetArmableResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetArmableResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetArmableResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetArmableResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetArmableResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetArmableResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) + return _msg; +} +inline void SetArmableResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetArmableResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) - return _msg; -} -inline void SetArmableResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetArmableResponse.action_server_result) } // ------------------------------------------------------------------- @@ -7408,126 +6614,99 @@ inline void SetArmableResponse::set_allocated_action_server_result( // SetDisarmableResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool SetDisarmableResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void SetDisarmableResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool SetDisarmableResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void SetDisarmableResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetDisarmableResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetDisarmableResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) + return _internal_action_server_result(); +} +inline void SetDisarmableResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetDisarmableResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetDisarmableResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) - return _internal_action_server_result(); -} -inline void SetDisarmableResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetDisarmableResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetDisarmableResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetDisarmableResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetDisarmableResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) + return _msg; +} +inline void SetDisarmableResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetDisarmableResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetDisarmableResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetDisarmableResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); - } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetDisarmableResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) - return _msg; -} -inline void SetDisarmableResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetDisarmableResponse.action_server_result) } // ------------------------------------------------------------------- @@ -7535,126 +6714,99 @@ inline void SetDisarmableResponse::set_allocated_action_server_result( // SetAllowableFlightModesResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool SetAllowableFlightModesResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void SetAllowableFlightModesResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool SetAllowableFlightModesResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void SetAllowableFlightModesResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetAllowableFlightModesResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetAllowableFlightModesResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) + return _internal_action_server_result(); +} +inline void SetAllowableFlightModesResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetAllowableFlightModesResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetAllowableFlightModesResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) - return _internal_action_server_result(); -} -inline void SetAllowableFlightModesResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowableFlightModesResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowableFlightModesResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowableFlightModesResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowableFlightModesResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowableFlightModesResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowableFlightModesResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowableFlightModesResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) + return _msg; +} +inline void SetAllowableFlightModesResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowableFlightModesResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) - return _msg; -} -inline void SetAllowableFlightModesResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetAllowableFlightModesResponse.action_server_result) } // ------------------------------------------------------------------- @@ -7662,126 +6814,99 @@ inline void SetAllowableFlightModesResponse::set_allocated_action_server_result( // SetAllowTakeoffResponse // .mavsdk.rpc.action_server.ActionServerResult action_server_result = 1; -inline bool SetAllowTakeoffResponse::has_action_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); - return value; -} -inline void SetAllowTakeoffResponse::clear_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ != nullptr) - _impl_.action_server_result_->Clear(); +inline bool SetAllowTakeoffResponse::has_action_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.action_server_result_ != nullptr); + return value; +} +inline void SetAllowTakeoffResponse::clear_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ != nullptr) _impl_.action_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetAllowTakeoffResponse::_internal_action_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); +} +inline const ::mavsdk::rpc::action_server::ActionServerResult& SetAllowTakeoffResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) + return _internal_action_server_result(); +} +inline void SetAllowTakeoffResponse::unsafe_arena_set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); + } + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetAllowTakeoffResponse::_internal_action_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::ActionServerResult* p = _impl_.action_server_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_ActionServerResult_default_instance_); -} -inline const ::mavsdk::rpc::action_server::ActionServerResult& -SetAllowTakeoffResponse::action_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) - return _internal_action_server_result(); -} -inline void SetAllowTakeoffResponse::unsafe_arena_set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowTakeoffResponse::release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.action_server_result_); - } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowTakeoffResponse::release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* released = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowTakeoffResponse::unsafe_arena_release_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; - _impl_.action_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowTakeoffResponse::_internal_mutable_action_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.action_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowTakeoffResponse::unsafe_arena_release_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* temp = _impl_.action_server_result_; + _impl_.action_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowTakeoffResponse::_internal_mutable_action_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.action_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::ActionServerResult>(GetArena()); + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(p); + } + return _impl_.action_server_result_; +} +inline ::mavsdk::rpc::action_server::ActionServerResult* SetAllowTakeoffResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::ActionServerResult* _msg = _internal_mutable_action_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) + return _msg; +} +inline void SetAllowTakeoffResponse::set_allocated_action_server_result(::mavsdk::rpc::action_server::ActionServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.action_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.action_server_result_; -} -inline ::mavsdk::rpc::action_server::ActionServerResult* -SetAllowTakeoffResponse::mutable_action_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::ActionServerResult* _msg = - _internal_mutable_action_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) - return _msg; -} -inline void SetAllowTakeoffResponse::set_allocated_action_server_result( - ::mavsdk::rpc::action_server::ActionServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.action_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.action_server_result_ = - reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) + _impl_.action_server_result_ = reinterpret_cast<::mavsdk::rpc::action_server::ActionServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.SetAllowTakeoffResponse.action_server_result) } // ------------------------------------------------------------------- @@ -7789,126 +6914,99 @@ inline void SetAllowTakeoffResponse::set_allocated_action_server_result( // GetAllowableFlightModesResponse // .mavsdk.rpc.action_server.AllowableFlightModes flight_modes = 1; -inline bool GetAllowableFlightModesResponse::has_flight_modes() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.flight_modes_ != nullptr); - return value; -} -inline void GetAllowableFlightModesResponse::clear_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.flight_modes_ != nullptr) - _impl_.flight_modes_->Clear(); +inline bool GetAllowableFlightModesResponse::has_flight_modes() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.flight_modes_ != nullptr); + return value; +} +inline void GetAllowableFlightModesResponse::clear_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.flight_modes_ != nullptr) _impl_.flight_modes_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::action_server::AllowableFlightModes& GetAllowableFlightModesResponse::_internal_flight_modes() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::action_server::AllowableFlightModes* p = _impl_.flight_modes_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::action_server::_AllowableFlightModes_default_instance_); +} +inline const ::mavsdk::rpc::action_server::AllowableFlightModes& GetAllowableFlightModesResponse::flight_modes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) + return _internal_flight_modes(); +} +inline void GetAllowableFlightModesResponse::unsafe_arena_set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.flight_modes_); + } + _impl_.flight_modes_ = reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::action_server::AllowableFlightModes& -GetAllowableFlightModesResponse::_internal_flight_modes() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::action_server::AllowableFlightModes* p = _impl_.flight_modes_; - return p != nullptr ? - *p : - reinterpret_cast( - ::mavsdk::rpc::action_server::_AllowableFlightModes_default_instance_); -} -inline const ::mavsdk::rpc::action_server::AllowableFlightModes& -GetAllowableFlightModesResponse::flight_modes() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) - return _internal_flight_modes(); -} -inline void GetAllowableFlightModesResponse::unsafe_arena_set_allocated_flight_modes( - ::mavsdk::rpc::action_server::AllowableFlightModes* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* GetAllowableFlightModesResponse::release_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::AllowableFlightModes* released = _impl_.flight_modes_; + _impl_.flight_modes_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.flight_modes_); - } - _impl_.flight_modes_ = - reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -GetAllowableFlightModesResponse::release_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::AllowableFlightModes* released = _impl_.flight_modes_; - _impl_.flight_modes_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* GetAllowableFlightModesResponse::unsafe_arena_release_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::action_server::AllowableFlightModes* temp = _impl_.flight_modes_; + _impl_.flight_modes_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* GetAllowableFlightModesResponse::_internal_mutable_flight_modes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.flight_modes_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::action_server::AllowableFlightModes>(GetArena()); + _impl_.flight_modes_ = reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(p); + } + return _impl_.flight_modes_; +} +inline ::mavsdk::rpc::action_server::AllowableFlightModes* GetAllowableFlightModesResponse::mutable_flight_modes() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::action_server::AllowableFlightModes* _msg = _internal_mutable_flight_modes(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) + return _msg; +} +inline void GetAllowableFlightModesResponse::set_allocated_flight_modes(::mavsdk::rpc::action_server::AllowableFlightModes* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.flight_modes_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -GetAllowableFlightModesResponse::unsafe_arena_release_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::action_server::AllowableFlightModes* temp = _impl_.flight_modes_; - _impl_.flight_modes_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -GetAllowableFlightModesResponse::_internal_mutable_flight_modes() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.flight_modes_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::action_server::AllowableFlightModes>(GetArena()); - _impl_.flight_modes_ = - reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(p); - } - return _impl_.flight_modes_; -} -inline ::mavsdk::rpc::action_server::AllowableFlightModes* -GetAllowableFlightModesResponse::mutable_flight_modes() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::action_server::AllowableFlightModes* _msg = _internal_mutable_flight_modes(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) - return _msg; -} -inline void GetAllowableFlightModesResponse::set_allocated_flight_modes( - ::mavsdk::rpc::action_server::AllowableFlightModes* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.flight_modes_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.flight_modes_ = - reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) + _impl_.flight_modes_ = reinterpret_cast<::mavsdk::rpc::action_server::AllowableFlightModes*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.GetAllowableFlightModesResponse.flight_modes) } // ------------------------------------------------------------------- @@ -7916,84 +7014,69 @@ inline void GetAllowableFlightModesResponse::set_allocated_flight_modes( // AllowableFlightModes // bool can_auto_mode = 1; -inline void AllowableFlightModes::clear_can_auto_mode() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.can_auto_mode_ = false; +inline void AllowableFlightModes::clear_can_auto_mode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.can_auto_mode_ = false; } -inline bool AllowableFlightModes::can_auto_mode() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.AllowableFlightModes.can_auto_mode) - return _internal_can_auto_mode(); +inline bool AllowableFlightModes::can_auto_mode() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.AllowableFlightModes.can_auto_mode) + return _internal_can_auto_mode(); } -inline void AllowableFlightModes::set_can_auto_mode(bool value) -{ - _internal_set_can_auto_mode(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.AllowableFlightModes.can_auto_mode) +inline void AllowableFlightModes::set_can_auto_mode(bool value) { + _internal_set_can_auto_mode(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.AllowableFlightModes.can_auto_mode) } -inline bool AllowableFlightModes::_internal_can_auto_mode() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.can_auto_mode_; +inline bool AllowableFlightModes::_internal_can_auto_mode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.can_auto_mode_; } -inline void AllowableFlightModes::_internal_set_can_auto_mode(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.can_auto_mode_ = value; +inline void AllowableFlightModes::_internal_set_can_auto_mode(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.can_auto_mode_ = value; } // bool can_guided_mode = 2; -inline void AllowableFlightModes::clear_can_guided_mode() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.can_guided_mode_ = false; +inline void AllowableFlightModes::clear_can_guided_mode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.can_guided_mode_ = false; } -inline bool AllowableFlightModes::can_guided_mode() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.AllowableFlightModes.can_guided_mode) - return _internal_can_guided_mode(); +inline bool AllowableFlightModes::can_guided_mode() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.AllowableFlightModes.can_guided_mode) + return _internal_can_guided_mode(); } -inline void AllowableFlightModes::set_can_guided_mode(bool value) -{ - _internal_set_can_guided_mode(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.AllowableFlightModes.can_guided_mode) +inline void AllowableFlightModes::set_can_guided_mode(bool value) { + _internal_set_can_guided_mode(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.AllowableFlightModes.can_guided_mode) } -inline bool AllowableFlightModes::_internal_can_guided_mode() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.can_guided_mode_; +inline bool AllowableFlightModes::_internal_can_guided_mode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.can_guided_mode_; } -inline void AllowableFlightModes::_internal_set_can_guided_mode(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.can_guided_mode_ = value; +inline void AllowableFlightModes::_internal_set_can_guided_mode(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.can_guided_mode_ = value; } // bool can_stabilize_mode = 3; -inline void AllowableFlightModes::clear_can_stabilize_mode() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.can_stabilize_mode_ = false; +inline void AllowableFlightModes::clear_can_stabilize_mode() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.can_stabilize_mode_ = false; } -inline bool AllowableFlightModes::can_stabilize_mode() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.AllowableFlightModes.can_stabilize_mode) - return _internal_can_stabilize_mode(); +inline bool AllowableFlightModes::can_stabilize_mode() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.AllowableFlightModes.can_stabilize_mode) + return _internal_can_stabilize_mode(); } -inline void AllowableFlightModes::set_can_stabilize_mode(bool value) -{ - _internal_set_can_stabilize_mode(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.AllowableFlightModes.can_stabilize_mode) +inline void AllowableFlightModes::set_can_stabilize_mode(bool value) { + _internal_set_can_stabilize_mode(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.AllowableFlightModes.can_stabilize_mode) } -inline bool AllowableFlightModes::_internal_can_stabilize_mode() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.can_stabilize_mode_; +inline bool AllowableFlightModes::_internal_can_stabilize_mode() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.can_stabilize_mode_; } -inline void AllowableFlightModes::_internal_set_can_stabilize_mode(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.can_stabilize_mode_ = value; +inline void AllowableFlightModes::_internal_set_can_stabilize_mode(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.can_stabilize_mode_ = value; } // ------------------------------------------------------------------- @@ -8001,57 +7084,47 @@ inline void AllowableFlightModes::_internal_set_can_stabilize_mode(bool value) // ArmDisarm // bool arm = 1; -inline void ArmDisarm::clear_arm() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.arm_ = false; +inline void ArmDisarm::clear_arm() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.arm_ = false; } -inline bool ArmDisarm::arm() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarm.arm) - return _internal_arm(); +inline bool ArmDisarm::arm() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarm.arm) + return _internal_arm(); } -inline void ArmDisarm::set_arm(bool value) -{ - _internal_set_arm(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ArmDisarm.arm) +inline void ArmDisarm::set_arm(bool value) { + _internal_set_arm(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ArmDisarm.arm) } -inline bool ArmDisarm::_internal_arm() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.arm_; +inline bool ArmDisarm::_internal_arm() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.arm_; } -inline void ArmDisarm::_internal_set_arm(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.arm_ = value; +inline void ArmDisarm::_internal_set_arm(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.arm_ = value; } // bool force = 2; -inline void ArmDisarm::clear_force() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = false; +inline void ArmDisarm::clear_force() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.force_ = false; } -inline bool ArmDisarm::force() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarm.force) - return _internal_force(); +inline bool ArmDisarm::force() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ArmDisarm.force) + return _internal_force(); } -inline void ArmDisarm::set_force(bool value) -{ - _internal_set_force(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ArmDisarm.force) +inline void ArmDisarm::set_force(bool value) { + _internal_set_force(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ArmDisarm.force) } -inline bool ArmDisarm::_internal_force() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.force_; +inline bool ArmDisarm::_internal_force() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.force_; } -inline void ArmDisarm::_internal_set_force(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = value; +inline void ArmDisarm::_internal_set_force(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.force_ = value; } // ------------------------------------------------------------------- @@ -8059,123 +7132,106 @@ inline void ArmDisarm::_internal_set_force(bool value) // ActionServerResult // .mavsdk.rpc.action_server.ActionServerResult.Result result = 1; -inline void ActionServerResult::clear_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; -} -inline ::mavsdk::rpc::action_server::ActionServerResult_Result ActionServerResult::result() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ActionServerResult.result) - return _internal_result(); -} -inline void -ActionServerResult::set_result(::mavsdk::rpc::action_server::ActionServerResult_Result value) -{ - _internal_set_result(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ActionServerResult.result) -} -inline ::mavsdk::rpc::action_server::ActionServerResult_Result -ActionServerResult::_internal_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::mavsdk::rpc::action_server::ActionServerResult_Result>(_impl_.result_); -} -inline void ActionServerResult::_internal_set_result( - ::mavsdk::rpc::action_server::ActionServerResult_Result value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; +inline void ActionServerResult::clear_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = 0; +} +inline ::mavsdk::rpc::action_server::ActionServerResult_Result ActionServerResult::result() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ActionServerResult.result) + return _internal_result(); +} +inline void ActionServerResult::set_result(::mavsdk::rpc::action_server::ActionServerResult_Result value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ActionServerResult.result) +} +inline ::mavsdk::rpc::action_server::ActionServerResult_Result ActionServerResult::_internal_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::mavsdk::rpc::action_server::ActionServerResult_Result>(_impl_.result_); +} +inline void ActionServerResult::_internal_set_result(::mavsdk::rpc::action_server::ActionServerResult_Result value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = value; } // string result_str = 2; -inline void ActionServerResult::clear_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.ClearToEmpty(); -} -inline const std::string& ActionServerResult::result_str() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ActionServerResult.result_str) - return _internal_result_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE void ActionServerResult::set_result_str(Arg_&& arg, Args_... args) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ActionServerResult.result_str) -} -inline std::string* ActionServerResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - std::string* _s = _internal_mutable_result_str(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ActionServerResult.result_str) - return _s; -} -inline const std::string& ActionServerResult::_internal_result_str() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.result_str_.Get(); -} -inline void ActionServerResult::_internal_set_result_str(const std::string& value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(value, GetArena()); -} -inline std::string* ActionServerResult::_internal_mutable_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.result_str_.Mutable(GetArena()); -} -inline std::string* ActionServerResult::release_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ActionServerResult.result_str) - return _impl_.result_str_.Release(); -} -inline void ActionServerResult::set_allocated_result_str(std::string* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && - _impl_.result_str_.IsDefault()) { - _impl_.result_str_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ActionServerResult.result_str) +inline void ActionServerResult::clear_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.ClearToEmpty(); +} +inline const std::string& ActionServerResult::result_str() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.action_server.ActionServerResult.result_str) + return _internal_result_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ActionServerResult::set_result_str(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:mavsdk.rpc.action_server.ActionServerResult.result_str) +} +inline std::string* ActionServerResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_result_str(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.action_server.ActionServerResult.result_str) + return _s; +} +inline const std::string& ActionServerResult::_internal_result_str() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.result_str_.Get(); +} +inline void ActionServerResult::_internal_set_result_str(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(value, GetArena()); +} +inline std::string* ActionServerResult::_internal_mutable_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.result_str_.Mutable( GetArena()); +} +inline std::string* ActionServerResult::release_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.action_server.ActionServerResult.result_str) + return _impl_.result_str_.Release(); +} +inline void ActionServerResult::set_allocated_result_str(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.result_str_.IsDefault()) { + _impl_.result_str_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.action_server.ActionServerResult.result_str) } #ifdef __GNUC__ #pragma GCC diagnostic pop -#endif // __GNUC__ +#endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) -} // namespace action_server -} // namespace rpc -} // namespace mavsdk +} // namespace action_server +} // namespace rpc +} // namespace mavsdk + namespace google { namespace protobuf { -template<> +template <> struct is_proto_enum<::mavsdk::rpc::action_server::ActionServerResult_Result> : std::true_type {}; -template<> -inline const EnumDescriptor* -GetEnumDescriptor<::mavsdk::rpc::action_server::ActionServerResult_Result>() -{ - return ::mavsdk::rpc::action_server::ActionServerResult_Result_descriptor(); +template <> +inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::action_server::ActionServerResult_Result>() { + return ::mavsdk::rpc::action_server::ActionServerResult_Result_descriptor(); } -template<> struct is_proto_enum<::mavsdk::rpc::action_server::FlightMode> : std::true_type {}; -template<> -inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::action_server::FlightMode>() -{ - return ::mavsdk::rpc::action_server::FlightMode_descriptor(); +template <> +struct is_proto_enum<::mavsdk::rpc::action_server::FlightMode> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::action_server::FlightMode>() { + return ::mavsdk::rpc::action_server::FlightMode_descriptor(); } -} // namespace protobuf -} // namespace google +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" -#endif // action_5fserver_2faction_5fserver_2eproto_2epb_2eh +#endif // action_5fserver_2faction_5fserver_2eproto_2epb_2eh diff --git a/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.cc b/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.cc index 5e1856cac..3b0ea67d3 100644 --- a/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.cc +++ b/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.cc @@ -27,437 +27,356 @@ namespace _fl = ::google::protobuf::internal::field_layout; namespace mavsdk { namespace rpc { namespace arm_authorizer_server { -template -PROTOBUF_CONSTEXPR -SubscribeArmAuthorizationRequest::SubscribeArmAuthorizationRequest(::_pbi::ConstantInitialized) + template +PROTOBUF_CONSTEXPR SubscribeArmAuthorizationRequest::SubscribeArmAuthorizationRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeArmAuthorizationRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeArmAuthorizationRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeArmAuthorizationRequestDefaultTypeInternal() {} - union { - SubscribeArmAuthorizationRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeArmAuthorizationRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeArmAuthorizationRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeArmAuthorizationRequestDefaultTypeInternal() {} + union { + SubscribeArmAuthorizationRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeArmAuthorizationRequestDefaultTypeInternal - _SubscribeArmAuthorizationRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeArmAuthorizationRequestDefaultTypeInternal _SubscribeArmAuthorizationRequest_default_instance_; -inline constexpr RejectArmAuthorizationRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - temporarily_{false}, - reason_{static_cast<::mavsdk::rpc::arm_authorizer_server::RejectionReason>(0)}, - extra_info_{0}, - _cached_size_{0} -{} +inline constexpr RejectArmAuthorizationRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : temporarily_{false}, + reason_{static_cast< ::mavsdk::rpc::arm_authorizer_server::RejectionReason >(0)}, + extra_info_{0}, + _cached_size_{0} {} -template -PROTOBUF_CONSTEXPR - RejectArmAuthorizationRequest::RejectArmAuthorizationRequest(::_pbi::ConstantInitialized) +template +PROTOBUF_CONSTEXPR RejectArmAuthorizationRequest::RejectArmAuthorizationRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct RejectArmAuthorizationRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR RejectArmAuthorizationRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~RejectArmAuthorizationRequestDefaultTypeInternal() {} - union { - RejectArmAuthorizationRequest _instance; - }; + PROTOBUF_CONSTEXPR RejectArmAuthorizationRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RejectArmAuthorizationRequestDefaultTypeInternal() {} + union { + RejectArmAuthorizationRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - RejectArmAuthorizationRequestDefaultTypeInternal - _RejectArmAuthorizationRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RejectArmAuthorizationRequestDefaultTypeInternal _RejectArmAuthorizationRequest_default_instance_; -inline constexpr ArmAuthorizerServerResult::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - result_str_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - result_{static_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result>(0)}, - _cached_size_{0} -{} +inline constexpr ArmAuthorizerServerResult::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : result_str_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + result_{static_cast< ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result >(0)}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR ArmAuthorizerServerResult::ArmAuthorizerServerResult(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ArmAuthorizerServerResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmAuthorizerServerResultDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ArmAuthorizerServerResultDefaultTypeInternal() {} - union { - ArmAuthorizerServerResult _instance; - }; + PROTOBUF_CONSTEXPR ArmAuthorizerServerResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmAuthorizerServerResultDefaultTypeInternal() {} + union { + ArmAuthorizerServerResult _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmAuthorizerServerResultDefaultTypeInternal _ArmAuthorizerServerResult_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmAuthorizerServerResultDefaultTypeInternal _ArmAuthorizerServerResult_default_instance_; -inline constexpr ArmAuthorizationResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - system_id_{0u}, - _cached_size_{0} -{} +inline constexpr ArmAuthorizationResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : system_id_{0u}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR ArmAuthorizationResponse::ArmAuthorizationResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ArmAuthorizationResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ArmAuthorizationResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ArmAuthorizationResponseDefaultTypeInternal() {} - union { - ArmAuthorizationResponse _instance; - }; + PROTOBUF_CONSTEXPR ArmAuthorizationResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ArmAuthorizationResponseDefaultTypeInternal() {} + union { + ArmAuthorizationResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ArmAuthorizationResponseDefaultTypeInternal _ArmAuthorizationResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArmAuthorizationResponseDefaultTypeInternal _ArmAuthorizationResponse_default_instance_; -inline constexpr AcceptArmAuthorizationRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - valid_time_s_{0}, - _cached_size_{0} -{} +inline constexpr AcceptArmAuthorizationRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : valid_time_s_{0}, + _cached_size_{0} {} -template -PROTOBUF_CONSTEXPR - AcceptArmAuthorizationRequest::AcceptArmAuthorizationRequest(::_pbi::ConstantInitialized) +template +PROTOBUF_CONSTEXPR AcceptArmAuthorizationRequest::AcceptArmAuthorizationRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct AcceptArmAuthorizationRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR AcceptArmAuthorizationRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~AcceptArmAuthorizationRequestDefaultTypeInternal() {} - union { - AcceptArmAuthorizationRequest _instance; - }; + PROTOBUF_CONSTEXPR AcceptArmAuthorizationRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AcceptArmAuthorizationRequestDefaultTypeInternal() {} + union { + AcceptArmAuthorizationRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - AcceptArmAuthorizationRequestDefaultTypeInternal - _AcceptArmAuthorizationRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AcceptArmAuthorizationRequestDefaultTypeInternal _AcceptArmAuthorizationRequest_default_instance_; -inline constexpr RejectArmAuthorizationResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - _cached_size_{0}, - arm_authorizer_server_result_{nullptr} -{} +inline constexpr RejectArmAuthorizationResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + arm_authorizer_server_result_{nullptr} {} -template -PROTOBUF_CONSTEXPR - RejectArmAuthorizationResponse::RejectArmAuthorizationResponse(::_pbi::ConstantInitialized) +template +PROTOBUF_CONSTEXPR RejectArmAuthorizationResponse::RejectArmAuthorizationResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct RejectArmAuthorizationResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR RejectArmAuthorizationResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~RejectArmAuthorizationResponseDefaultTypeInternal() {} - union { - RejectArmAuthorizationResponse _instance; - }; + PROTOBUF_CONSTEXPR RejectArmAuthorizationResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~RejectArmAuthorizationResponseDefaultTypeInternal() {} + union { + RejectArmAuthorizationResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - RejectArmAuthorizationResponseDefaultTypeInternal - _RejectArmAuthorizationResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RejectArmAuthorizationResponseDefaultTypeInternal _RejectArmAuthorizationResponse_default_instance_; -inline constexpr AcceptArmAuthorizationResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - _cached_size_{0}, - arm_authorizer_server_result_{nullptr} -{} +inline constexpr AcceptArmAuthorizationResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + arm_authorizer_server_result_{nullptr} {} -template -PROTOBUF_CONSTEXPR - AcceptArmAuthorizationResponse::AcceptArmAuthorizationResponse(::_pbi::ConstantInitialized) +template +PROTOBUF_CONSTEXPR AcceptArmAuthorizationResponse::AcceptArmAuthorizationResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct AcceptArmAuthorizationResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR AcceptArmAuthorizationResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~AcceptArmAuthorizationResponseDefaultTypeInternal() {} - union { - AcceptArmAuthorizationResponse _instance; - }; + PROTOBUF_CONSTEXPR AcceptArmAuthorizationResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AcceptArmAuthorizationResponseDefaultTypeInternal() {} + union { + AcceptArmAuthorizationResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - AcceptArmAuthorizationResponseDefaultTypeInternal - _AcceptArmAuthorizationResponse_default_instance_; -} // namespace arm_authorizer_server -} // namespace rpc -} // namespace mavsdk -static const ::_pb::EnumDescriptor* - file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto[2]; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AcceptArmAuthorizationResponseDefaultTypeInternal _AcceptArmAuthorizationResponse_default_instance_; +} // namespace arm_authorizer_server +} // namespace rpc +} // namespace mavsdk +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto[2]; static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto = - nullptr; -const ::uint32_t TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto::offsets - [] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::SubscribeArmAuthorizationRequest, - _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse, _impl_.system_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationRequest, - _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationRequest, - _impl_.valid_time_s_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse, - _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse, - _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse, - _impl_.arm_authorizer_server_result_), + file_level_service_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto = nullptr; +const ::uint32_t + TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::SubscribeArmAuthorizationRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse, _impl_.system_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationRequest, _impl_.valid_time_s_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse, _impl_.arm_authorizer_server_result_), 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, - _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, - _impl_.temporarily_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, _impl_.reason_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, - _impl_.extra_info_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse, - _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse, - _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse, - _impl_.arm_authorizer_server_result_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, _impl_.temporarily_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, _impl_.reason_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest, _impl_.extra_info_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse, _impl_.arm_authorizer_server_result_), 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult, _impl_.result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult, _impl_.result_str_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult, _impl_.result_str_), }; -static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::SubscribeArmAuthorizationRequest)}, - {8, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse)}, - {17, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationRequest)}, - {26, 35, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse)}, - {36, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest)}, - {47, 56, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse)}, - {57, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult)}, +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::SubscribeArmAuthorizationRequest)}, + {8, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse)}, + {17, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationRequest)}, + {26, 35, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse)}, + {36, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest)}, + {47, 56, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse)}, + {57, -1, -1, sizeof(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult)}, }; static const ::_pb::Message* const file_default_instances[] = { - &::mavsdk::rpc::arm_authorizer_server::_SubscribeArmAuthorizationRequest_default_instance_ - ._instance, + &::mavsdk::rpc::arm_authorizer_server::_SubscribeArmAuthorizationRequest_default_instance_._instance, &::mavsdk::rpc::arm_authorizer_server::_ArmAuthorizationResponse_default_instance_._instance, - &::mavsdk::rpc::arm_authorizer_server::_AcceptArmAuthorizationRequest_default_instance_ - ._instance, - &::mavsdk::rpc::arm_authorizer_server::_AcceptArmAuthorizationResponse_default_instance_ - ._instance, - &::mavsdk::rpc::arm_authorizer_server::_RejectArmAuthorizationRequest_default_instance_ - ._instance, - &::mavsdk::rpc::arm_authorizer_server::_RejectArmAuthorizationResponse_default_instance_ - ._instance, + &::mavsdk::rpc::arm_authorizer_server::_AcceptArmAuthorizationRequest_default_instance_._instance, + &::mavsdk::rpc::arm_authorizer_server::_AcceptArmAuthorizationResponse_default_instance_._instance, + &::mavsdk::rpc::arm_authorizer_server::_RejectArmAuthorizationRequest_default_instance_._instance, + &::mavsdk::rpc::arm_authorizer_server::_RejectArmAuthorizationResponse_default_instance_._instance, &::mavsdk::rpc::arm_authorizer_server::_ArmAuthorizerServerResult_default_instance_._instance, }; -const char descriptor_table_protodef_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto - [] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - "\n1arm_authorizer_server/arm_authorizer_s" - "erver.proto\022 mavsdk.rpc.arm_authorizer_s" - "erver\032\024mavsdk_options.proto\"\"\n Subscribe" - "ArmAuthorizationRequest\"-\n\030ArmAuthorizat" - "ionResponse\022\021\n\tsystem_id\030\001 \001(\r\"5\n\035Accept" - "ArmAuthorizationRequest\022\024\n\014valid_time_s\030" - "\001 \001(\005\"\203\001\n\036AcceptArmAuthorizationResponse" - "\022a\n\034arm_authorizer_server_result\030\001 \001(\0132;" - ".mavsdk.rpc.arm_authorizer_server.ArmAut" - "horizerServerResult\"\213\001\n\035RejectArmAuthori" - "zationRequest\022\023\n\013temporarily\030\001 \001(\010\022A\n\006re" - "ason\030\002 \001(\01621.mavsdk.rpc.arm_authorizer_s" - "erver.RejectionReason\022\022\n\nextra_info\030\003 \001(" - "\005\"\203\001\n\036RejectArmAuthorizationResponse\022a\n\034" - "arm_authorizer_server_result\030\001 \001(\0132;.mav" - "sdk.rpc.arm_authorizer_server.ArmAuthori" - "zerServerResult\"\310\001\n\031ArmAuthorizerServerR" - "esult\022R\n\006result\030\001 \001(\0162B.mavsdk.rpc.arm_a" - "uthorizer_server.ArmAuthorizerServerResu" - "lt.Result\022\022\n\nresult_str\030\002 \001(\t\"C\n\006Result\022" - "\022\n\016RESULT_UNKNOWN\020\000\022\022\n\016RESULT_SUCCESS\020\001\022" - "\021\n\rRESULT_FAILED\020\002*\327\001\n\017RejectionReason\022\034" - "\n\030REJECTION_REASON_GENERIC\020\000\022\031\n\025REJECTIO" - "N_REASON_NONE\020\001\022%\n!REJECTION_REASON_INVA" - "LID_WAYPOINT\020\002\022\034\n\030REJECTION_REASON_TIMEO" - "UT\020\003\022$\n REJECTION_REASON_AIRSPACE_IN_USE" - "\020\004\022 \n\034REJECTION_REASON_BAD_WEATHER\020\0052\212\004\n" - "\032ArmAuthorizerServerService\022\243\001\n\031Subscrib" - "eArmAuthorization\022B.mavsdk.rpc.arm_autho" - "rizer_server.SubscribeArmAuthorizationRe" - "quest\032:.mavsdk.rpc.arm_authorizer_server" - ".ArmAuthorizationResponse\"\004\200\265\030\0000\001\022\241\001\n\026Ac" - "ceptArmAuthorization\022\?.mavsdk.rpc.arm_au" - "thorizer_server.AcceptArmAuthorizationRe" - "quest\032@.mavsdk.rpc.arm_authorizer_server" - ".AcceptArmAuthorizationResponse\"\004\200\265\030\001\022\241\001" - "\n\026RejectArmAuthorization\022\?.mavsdk.rpc.ar" - "m_authorizer_server.RejectArmAuthorizati" - "onRequest\032@.mavsdk.rpc.arm_authorizer_se" - "rver.RejectArmAuthorizationResponse\"\004\200\265\030" - "\001B4\n\030io.mavsdk.arm_authorizerB\030ArmAuthor" - "izerServerProtob\006proto3"}; -static const ::_pbi::DescriptorTable* const - descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_deps[1] = { +const char descriptor_table_protodef_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n1arm_authorizer_server/arm_authorizer_s" + "erver.proto\022 mavsdk.rpc.arm_authorizer_s" + "erver\032\024mavsdk_options.proto\"\"\n Subscribe" + "ArmAuthorizationRequest\"-\n\030ArmAuthorizat" + "ionResponse\022\021\n\tsystem_id\030\001 \001(\r\"5\n\035Accept" + "ArmAuthorizationRequest\022\024\n\014valid_time_s\030" + "\001 \001(\005\"\203\001\n\036AcceptArmAuthorizationResponse" + "\022a\n\034arm_authorizer_server_result\030\001 \001(\0132;" + ".mavsdk.rpc.arm_authorizer_server.ArmAut" + "horizerServerResult\"\213\001\n\035RejectArmAuthori" + "zationRequest\022\023\n\013temporarily\030\001 \001(\010\022A\n\006re" + "ason\030\002 \001(\01621.mavsdk.rpc.arm_authorizer_s" + "erver.RejectionReason\022\022\n\nextra_info\030\003 \001(" + "\005\"\203\001\n\036RejectArmAuthorizationResponse\022a\n\034" + "arm_authorizer_server_result\030\001 \001(\0132;.mav" + "sdk.rpc.arm_authorizer_server.ArmAuthori" + "zerServerResult\"\310\001\n\031ArmAuthorizerServerR" + "esult\022R\n\006result\030\001 \001(\0162B.mavsdk.rpc.arm_a" + "uthorizer_server.ArmAuthorizerServerResu" + "lt.Result\022\022\n\nresult_str\030\002 \001(\t\"C\n\006Result\022" + "\022\n\016RESULT_UNKNOWN\020\000\022\022\n\016RESULT_SUCCESS\020\001\022" + "\021\n\rRESULT_FAILED\020\002*\327\001\n\017RejectionReason\022\034" + "\n\030REJECTION_REASON_GENERIC\020\000\022\031\n\025REJECTIO" + "N_REASON_NONE\020\001\022%\n!REJECTION_REASON_INVA" + "LID_WAYPOINT\020\002\022\034\n\030REJECTION_REASON_TIMEO" + "UT\020\003\022$\n REJECTION_REASON_AIRSPACE_IN_USE" + "\020\004\022 \n\034REJECTION_REASON_BAD_WEATHER\020\0052\212\004\n" + "\032ArmAuthorizerServerService\022\243\001\n\031Subscrib" + "eArmAuthorization\022B.mavsdk.rpc.arm_autho" + "rizer_server.SubscribeArmAuthorizationRe" + "quest\032:.mavsdk.rpc.arm_authorizer_server" + ".ArmAuthorizationResponse\"\004\200\265\030\0000\001\022\241\001\n\026Ac" + "ceptArmAuthorization\022\?.mavsdk.rpc.arm_au" + "thorizer_server.AcceptArmAuthorizationRe" + "quest\032@.mavsdk.rpc.arm_authorizer_server" + ".AcceptArmAuthorizationResponse\"\004\200\265\030\001\022\241\001" + "\n\026RejectArmAuthorization\022\?.mavsdk.rpc.ar" + "m_authorizer_server.RejectArmAuthorizati" + "onRequest\032@.mavsdk.rpc.arm_authorizer_se" + "rver.RejectArmAuthorizationResponse\"\004\200\265\030" + "\001B4\n\030io.mavsdk.arm_authorizerB\030ArmAuthor" + "izerServerProtob\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_deps[1] = + { &::descriptor_table_mavsdk_5foptions_2eproto, }; -static ::absl::once_flag - descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable - descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto = { - false, - false, - 1663, - descriptor_table_protodef_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - "arm_authorizer_server/arm_authorizer_server.proto", - &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_once, - descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_deps, - 1, - 7, - schemas, - file_default_instances, - TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto::offsets, - file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - file_level_service_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, +static ::absl::once_flag descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto = { + false, + false, + 1663, + descriptor_table_protodef_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, + "arm_authorizer_server/arm_authorizer_server.proto", + &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_once, + descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_deps, + 1, + 7, + schemas, + file_default_instances, + TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto::offsets, + file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, + file_level_service_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, }; namespace mavsdk { namespace rpc { namespace arm_authorizer_server { -const ::google::protobuf::EnumDescriptor* ArmAuthorizerServerResult_Result_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors( - &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto); - return file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto - [0]; +const ::google::protobuf::EnumDescriptor* ArmAuthorizerServerResult_Result_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto); + return file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto[0]; } PROTOBUF_CONSTINIT const uint32_t ArmAuthorizerServerResult_Result_internal_data_[] = { - 196608u, - 0u, -}; -bool ArmAuthorizerServerResult_Result_IsValid(int value) -{ - return 0 <= value && value <= 2; + 196608u, 0u, }; +bool ArmAuthorizerServerResult_Result_IsValid(int value) { + return 0 <= value && value <= 2; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult::RESULT_UNKNOWN; constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult::RESULT_SUCCESS; @@ -466,68 +385,54 @@ constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult::Result_MIN constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult::Result_MAX; constexpr int ArmAuthorizerServerResult::Result_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* RejectionReason_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors( - &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto); - return file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto - [1]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* RejectionReason_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto); + return file_level_enum_descriptors_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto[1]; } PROTOBUF_CONSTINIT const uint32_t RejectionReason_internal_data_[] = { - 393216u, - 0u, -}; -bool RejectionReason_IsValid(int value) -{ - return 0 <= value && value <= 5; + 393216u, 0u, }; +bool RejectionReason_IsValid(int value) { + return 0 <= value && value <= 5; } // =================================================================== class SubscribeArmAuthorizationRequest::_Internal { -public: + public: }; SubscribeArmAuthorizationRequest::SubscribeArmAuthorizationRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) } SubscribeArmAuthorizationRequest::SubscribeArmAuthorizationRequest( - ::google::protobuf::Arena* arena, const SubscribeArmAuthorizationRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeArmAuthorizationRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeArmAuthorizationRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) -} - -inline void* SubscribeArmAuthorizationRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeArmAuthorizationRequest(arena); -} -constexpr auto SubscribeArmAuthorizationRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeArmAuthorizationRequest), alignof(SubscribeArmAuthorizationRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeArmAuthorizationRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) +} + +inline void* SubscribeArmAuthorizationRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeArmAuthorizationRequest(arena); +} +constexpr auto SubscribeArmAuthorizationRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeArmAuthorizationRequest), + alignof(SubscribeArmAuthorizationRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -535,122 +440,112 @@ const ::google::protobuf::internal::ClassDataFull SubscribeArmAuthorizationReque ::google::protobuf::internal::ClassData{ &_SubscribeArmAuthorizationRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeArmAuthorizationRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - SubscribeArmAuthorizationRequest>(), + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeArmAuthorizationRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeArmAuthorizationRequest>(), - &SubscribeArmAuthorizationRequest::ByteSizeLong, - &SubscribeArmAuthorizationRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeArmAuthorizationRequest::ByteSizeLong, + &SubscribeArmAuthorizationRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeArmAuthorizationRequest, _impl_._cached_size_), false, }, &SubscribeArmAuthorizationRequest::kDescriptorMethods, &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* -SubscribeArmAuthorizationRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeArmAuthorizationRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server:: - SubscribeArmAuthorizationRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeArmAuthorizationRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +const ::google::protobuf::internal::ClassData* SubscribeArmAuthorizationRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeArmAuthorizationRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::SubscribeArmAuthorizationRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeArmAuthorizationRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ArmAuthorizationResponse::_Internal { -public: + public: }; ArmAuthorizationResponse::ArmAuthorizationResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) } ArmAuthorizationResponse::ArmAuthorizationResponse( - ::google::protobuf::Arena* arena, const ArmAuthorizationResponse& from) : - ArmAuthorizationResponse(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const ArmAuthorizationResponse& from) + : ArmAuthorizationResponse(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE ArmAuthorizationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ArmAuthorizationResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.system_id_ = {}; -} -ArmAuthorizationResponse::~ArmAuthorizationResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - SharedDtor(*this); -} -inline void ArmAuthorizationResponse::SharedDtor(MessageLite& self) -{ - ArmAuthorizationResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -ArmAuthorizationResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmAuthorizationResponse(arena); -} -constexpr auto ArmAuthorizationResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ArmAuthorizationResponse), alignof(ArmAuthorizationResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ArmAuthorizationResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.system_id_ = {}; +} +ArmAuthorizationResponse::~ArmAuthorizationResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + SharedDtor(*this); +} +inline void ArmAuthorizationResponse::SharedDtor(MessageLite& self) { + ArmAuthorizationResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ArmAuthorizationResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmAuthorizationResponse(arena); +} +constexpr auto ArmAuthorizationResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ArmAuthorizationResponse), + alignof(ArmAuthorizationResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -658,233 +553,206 @@ const ::google::protobuf::internal::ClassDataFull ArmAuthorizationResponse::_cla ::google::protobuf::internal::ClassData{ &_ArmAuthorizationResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmAuthorizationResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmAuthorizationResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ArmAuthorizationResponse::ByteSizeLong, - &ArmAuthorizationResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ArmAuthorizationResponse::ByteSizeLong, + &ArmAuthorizationResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmAuthorizationResponse, _impl_._cached_size_), false, }, &ArmAuthorizationResponse::kDescriptorMethods, &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* ArmAuthorizationResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - ArmAuthorizationResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // uint32 system_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(ArmAuthorizationResponse, _impl_.system_id_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ArmAuthorizationResponse, _impl_.system_id_)}}, - }}, - {{65535, 65535}}, - {{ - // uint32 system_id = 1; - {PROTOBUF_FIELD_OFFSET(ArmAuthorizationResponse, _impl_.system_id_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void ArmAuthorizationResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.system_id_ = 0u; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ArmAuthorizationResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ArmAuthorizationResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ArmAuthorizationResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ArmAuthorizationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* ArmAuthorizationResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> ArmAuthorizationResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizationResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // uint32 system_id = 1; - if (this_._internal_system_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this_._internal_system_id(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ArmAuthorizationResponse, _impl_.system_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ArmAuthorizationResponse, _impl_.system_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 system_id = 1; + {PROTOBUF_FIELD_OFFSET(ArmAuthorizationResponse, _impl_.system_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - return target; +PROTOBUF_NOINLINE void ArmAuthorizationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.system_id_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ArmAuthorizationResponse::ByteSizeLong(const MessageLite& base) -{ - const ArmAuthorizationResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ArmAuthorizationResponse::ByteSizeLong() const -{ - const ArmAuthorizationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint8_t* ArmAuthorizationResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ArmAuthorizationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ArmAuthorizationResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ArmAuthorizationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 system_id = 1; + if (this_._internal_system_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_system_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + return target; + } - { - // uint32 system_id = 1; - if (this_._internal_system_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this_._internal_system_id()); +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ArmAuthorizationResponse::ByteSizeLong(const MessageLite& base) { + const ArmAuthorizationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ArmAuthorizationResponse::ByteSizeLong() const { + const ArmAuthorizationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // uint32 system_id = 1; + if (this_._internal_system_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_system_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ArmAuthorizationResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ArmAuthorizationResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_system_id() != 0) { - _this->_impl_.system_id_ = from._impl_.system_id_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_system_id() != 0) { + _this->_impl_.system_id_ = from._impl_.system_id_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ArmAuthorizationResponse::CopyFrom(const ArmAuthorizationResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ArmAuthorizationResponse::CopyFrom(const ArmAuthorizationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ArmAuthorizationResponse::InternalSwap(ArmAuthorizationResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.system_id_, other->_impl_.system_id_); + +void ArmAuthorizationResponse::InternalSwap(ArmAuthorizationResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.system_id_, other->_impl_.system_id_); } -::google::protobuf::Metadata ArmAuthorizationResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ArmAuthorizationResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class AcceptArmAuthorizationRequest::_Internal { -public: + public: }; AcceptArmAuthorizationRequest::AcceptArmAuthorizationRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) } AcceptArmAuthorizationRequest::AcceptArmAuthorizationRequest( - ::google::protobuf::Arena* arena, const AcceptArmAuthorizationRequest& from) : - AcceptArmAuthorizationRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const AcceptArmAuthorizationRequest& from) + : AcceptArmAuthorizationRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE AcceptArmAuthorizationRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void AcceptArmAuthorizationRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.valid_time_s_ = {}; -} -AcceptArmAuthorizationRequest::~AcceptArmAuthorizationRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - SharedDtor(*this); -} -inline void AcceptArmAuthorizationRequest::SharedDtor(MessageLite& self) -{ - AcceptArmAuthorizationRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* AcceptArmAuthorizationRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) AcceptArmAuthorizationRequest(arena); -} -constexpr auto AcceptArmAuthorizationRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(AcceptArmAuthorizationRequest), alignof(AcceptArmAuthorizationRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void AcceptArmAuthorizationRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.valid_time_s_ = {}; +} +AcceptArmAuthorizationRequest::~AcceptArmAuthorizationRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + SharedDtor(*this); +} +inline void AcceptArmAuthorizationRequest::SharedDtor(MessageLite& self) { + AcceptArmAuthorizationRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* AcceptArmAuthorizationRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AcceptArmAuthorizationRequest(arena); +} +constexpr auto AcceptArmAuthorizationRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AcceptArmAuthorizationRequest), + alignof(AcceptArmAuthorizationRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -892,271 +760,232 @@ const ::google::protobuf::internal::ClassDataFull AcceptArmAuthorizationRequest: ::google::protobuf::internal::ClassData{ &_AcceptArmAuthorizationRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &AcceptArmAuthorizationRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &AcceptArmAuthorizationRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &AcceptArmAuthorizationRequest::ByteSizeLong, - &AcceptArmAuthorizationRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &AcceptArmAuthorizationRequest::ByteSizeLong, + &AcceptArmAuthorizationRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationRequest, _impl_._cached_size_), false, }, &AcceptArmAuthorizationRequest::kDescriptorMethods, &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* AcceptArmAuthorizationRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - AcceptArmAuthorizationRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server:: - AcceptArmAuthorizationRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // int32 valid_time_s = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(AcceptArmAuthorizationRequest, _impl_.valid_time_s_), - 63>(), - {8, - 63, - 0, - PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationRequest, _impl_.valid_time_s_)}}, - }}, - {{65535, 65535}}, - {{ - // int32 valid_time_s = 1; - {PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationRequest, _impl_.valid_time_s_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void AcceptArmAuthorizationRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.valid_time_s_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* AcceptArmAuthorizationRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const AcceptArmAuthorizationRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* AcceptArmAuthorizationRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const AcceptArmAuthorizationRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* AcceptArmAuthorizationRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> AcceptArmAuthorizationRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // int32 valid_time_s = 1; - if (this_._internal_valid_time_s() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( - stream, this_._internal_valid_time_s(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(AcceptArmAuthorizationRequest, _impl_.valid_time_s_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationRequest, _impl_.valid_time_s_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 valid_time_s = 1; + {PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationRequest, _impl_.valid_time_s_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - return target; +PROTOBUF_NOINLINE void AcceptArmAuthorizationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.valid_time_s_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t AcceptArmAuthorizationRequest::ByteSizeLong(const MessageLite& base) -{ - const AcceptArmAuthorizationRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t AcceptArmAuthorizationRequest::ByteSizeLong() const -{ - const AcceptArmAuthorizationRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint8_t* AcceptArmAuthorizationRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AcceptArmAuthorizationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AcceptArmAuthorizationRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AcceptArmAuthorizationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 valid_time_s = 1; + if (this_._internal_valid_time_s() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_valid_time_s(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + return target; + } - { - // int32 valid_time_s = 1; - if (this_._internal_valid_time_s() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_valid_time_s()); +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AcceptArmAuthorizationRequest::ByteSizeLong(const MessageLite& base) { + const AcceptArmAuthorizationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AcceptArmAuthorizationRequest::ByteSizeLong() const { + const AcceptArmAuthorizationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // int32 valid_time_s = 1; + if (this_._internal_valid_time_s() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_valid_time_s()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void AcceptArmAuthorizationRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void AcceptArmAuthorizationRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_valid_time_s() != 0) { - _this->_impl_.valid_time_s_ = from._impl_.valid_time_s_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_valid_time_s() != 0) { + _this->_impl_.valid_time_s_ = from._impl_.valid_time_s_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void AcceptArmAuthorizationRequest::CopyFrom(const AcceptArmAuthorizationRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void AcceptArmAuthorizationRequest::CopyFrom(const AcceptArmAuthorizationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void AcceptArmAuthorizationRequest::InternalSwap( - AcceptArmAuthorizationRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.valid_time_s_, other->_impl_.valid_time_s_); + +void AcceptArmAuthorizationRequest::InternalSwap(AcceptArmAuthorizationRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.valid_time_s_, other->_impl_.valid_time_s_); } -::google::protobuf::Metadata AcceptArmAuthorizationRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata AcceptArmAuthorizationRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class AcceptArmAuthorizationResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationResponse, _impl_._has_bits_); }; AcceptArmAuthorizationResponse::AcceptArmAuthorizationResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) } inline PROTOBUF_NDEBUG_INLINE AcceptArmAuthorizationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} AcceptArmAuthorizationResponse::AcceptArmAuthorizationResponse( - ::google::protobuf::Arena* arena, const AcceptArmAuthorizationResponse& from) + ::google::protobuf::Arena* arena, + const AcceptArmAuthorizationResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - AcceptArmAuthorizationResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.arm_authorizer_server_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>( - arena, *from._impl_.arm_authorizer_server_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + AcceptArmAuthorizationResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.arm_authorizer_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>( + arena, *from._impl_.arm_authorizer_server_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) } inline PROTOBUF_NDEBUG_INLINE AcceptArmAuthorizationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void AcceptArmAuthorizationResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.arm_authorizer_server_result_ = {}; -} -AcceptArmAuthorizationResponse::~AcceptArmAuthorizationResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - SharedDtor(*this); -} -inline void AcceptArmAuthorizationResponse::SharedDtor(MessageLite& self) -{ - AcceptArmAuthorizationResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.arm_authorizer_server_result_; - this_._impl_.~Impl_(); -} - -inline void* AcceptArmAuthorizationResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) AcceptArmAuthorizationResponse(arena); -} -constexpr auto AcceptArmAuthorizationResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(AcceptArmAuthorizationResponse), alignof(AcceptArmAuthorizationResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void AcceptArmAuthorizationResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.arm_authorizer_server_result_ = {}; +} +AcceptArmAuthorizationResponse::~AcceptArmAuthorizationResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + SharedDtor(*this); +} +inline void AcceptArmAuthorizationResponse::SharedDtor(MessageLite& self) { + AcceptArmAuthorizationResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.arm_authorizer_server_result_; + this_._impl_.~Impl_(); +} + +inline void* AcceptArmAuthorizationResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AcceptArmAuthorizationResponse(arena); +} +constexpr auto AcceptArmAuthorizationResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AcceptArmAuthorizationResponse), + alignof(AcceptArmAuthorizationResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1164,272 +993,228 @@ const ::google::protobuf::internal::ClassDataFull AcceptArmAuthorizationResponse ::google::protobuf::internal::ClassData{ &_AcceptArmAuthorizationResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &AcceptArmAuthorizationResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &AcceptArmAuthorizationResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &AcceptArmAuthorizationResponse::ByteSizeLong, - &AcceptArmAuthorizationResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &AcceptArmAuthorizationResponse::ByteSizeLong, + &AcceptArmAuthorizationResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationResponse, _impl_._cached_size_), false, }, &AcceptArmAuthorizationResponse::kDescriptorMethods, &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* AcceptArmAuthorizationResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - AcceptArmAuthorizationResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server:: - AcceptArmAuthorizationResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult - // arm_authorizer_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET( - AcceptArmAuthorizationResponse, _impl_.arm_authorizer_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult - // arm_authorizer_server_result = 1; - {PROTOBUF_FIELD_OFFSET( - AcceptArmAuthorizationResponse, _impl_.arm_authorizer_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void AcceptArmAuthorizationResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.arm_authorizer_server_result_ != nullptr); - _impl_.arm_authorizer_server_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* AcceptArmAuthorizationResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const AcceptArmAuthorizationResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* AcceptArmAuthorizationResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const AcceptArmAuthorizationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* AcceptArmAuthorizationResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> AcceptArmAuthorizationResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::AcceptArmAuthorizationResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.arm_authorizer_server_result_, - this_._impl_.arm_authorizer_server_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationResponse, _impl_.arm_authorizer_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + {PROTOBUF_FIELD_OFFSET(AcceptArmAuthorizationResponse, _impl_.arm_authorizer_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - return target; +PROTOBUF_NOINLINE void AcceptArmAuthorizationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.arm_authorizer_server_result_ != nullptr); + _impl_.arm_authorizer_server_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t AcceptArmAuthorizationResponse::ByteSizeLong(const MessageLite& base) -{ - const AcceptArmAuthorizationResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t AcceptArmAuthorizationResponse::ByteSizeLong() const -{ - const AcceptArmAuthorizationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result - // = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.arm_authorizer_server_result_); + ::uint8_t* AcceptArmAuthorizationResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AcceptArmAuthorizationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AcceptArmAuthorizationResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AcceptArmAuthorizationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.arm_authorizer_server_result_, this_._impl_.arm_authorizer_server_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + return target; } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void AcceptArmAuthorizationResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.arm_authorizer_server_result_ != nullptr); - if (_this->_impl_.arm_authorizer_server_result_ == nullptr) { - _this->_impl_.arm_authorizer_server_result_ = - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>( - arena, *from._impl_.arm_authorizer_server_result_); - } else { - _this->_impl_.arm_authorizer_server_result_->MergeFrom( - *from._impl_.arm_authorizer_server_result_); + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AcceptArmAuthorizationResponse::ByteSizeLong(const MessageLite& base) { + const AcceptArmAuthorizationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AcceptArmAuthorizationResponse::ByteSizeLong() const { + const AcceptArmAuthorizationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.arm_authorizer_server_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void AcceptArmAuthorizationResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.arm_authorizer_server_result_ != nullptr); + if (_this->_impl_.arm_authorizer_server_result_ == nullptr) { + _this->_impl_.arm_authorizer_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(arena, *from._impl_.arm_authorizer_server_result_); + } else { + _this->_impl_.arm_authorizer_server_result_->MergeFrom(*from._impl_.arm_authorizer_server_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void AcceptArmAuthorizationResponse::CopyFrom(const AcceptArmAuthorizationResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void AcceptArmAuthorizationResponse::CopyFrom(const AcceptArmAuthorizationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void AcceptArmAuthorizationResponse::InternalSwap( - AcceptArmAuthorizationResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.arm_authorizer_server_result_, other->_impl_.arm_authorizer_server_result_); + +void AcceptArmAuthorizationResponse::InternalSwap(AcceptArmAuthorizationResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.arm_authorizer_server_result_, other->_impl_.arm_authorizer_server_result_); } -::google::protobuf::Metadata AcceptArmAuthorizationResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata AcceptArmAuthorizationResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class RejectArmAuthorizationRequest::_Internal { -public: + public: }; RejectArmAuthorizationRequest::RejectArmAuthorizationRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) } RejectArmAuthorizationRequest::RejectArmAuthorizationRequest( - ::google::protobuf::Arena* arena, const RejectArmAuthorizationRequest& from) : - RejectArmAuthorizationRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const RejectArmAuthorizationRequest& from) + : RejectArmAuthorizationRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE RejectArmAuthorizationRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void RejectArmAuthorizationRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, temporarily_), - 0, - offsetof(Impl_, extra_info_) - offsetof(Impl_, temporarily_) + sizeof(Impl_::extra_info_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RejectArmAuthorizationRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, temporarily_), + 0, + offsetof(Impl_, extra_info_) - + offsetof(Impl_, temporarily_) + + sizeof(Impl_::extra_info_)); } -RejectArmAuthorizationRequest::~RejectArmAuthorizationRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - SharedDtor(*this); +RejectArmAuthorizationRequest::~RejectArmAuthorizationRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + SharedDtor(*this); } -inline void RejectArmAuthorizationRequest::SharedDtor(MessageLite& self) -{ - RejectArmAuthorizationRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void RejectArmAuthorizationRequest::SharedDtor(MessageLite& self) { + RejectArmAuthorizationRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* RejectArmAuthorizationRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) RejectArmAuthorizationRequest(arena); +inline void* RejectArmAuthorizationRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RejectArmAuthorizationRequest(arena); } -constexpr auto RejectArmAuthorizationRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(RejectArmAuthorizationRequest), alignof(RejectArmAuthorizationRequest)); +constexpr auto RejectArmAuthorizationRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RejectArmAuthorizationRequest), + alignof(RejectArmAuthorizationRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1437,329 +1222,282 @@ const ::google::protobuf::internal::ClassDataFull RejectArmAuthorizationRequest: ::google::protobuf::internal::ClassData{ &_RejectArmAuthorizationRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &RejectArmAuthorizationRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &RejectArmAuthorizationRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &RejectArmAuthorizationRequest::ByteSizeLong, - &RejectArmAuthorizationRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &RejectArmAuthorizationRequest::ByteSizeLong, + &RejectArmAuthorizationRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_._cached_size_), false, }, &RejectArmAuthorizationRequest::kDescriptorMethods, &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* RejectArmAuthorizationRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 0, 0, 2> - RejectArmAuthorizationRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 3, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server:: - RejectArmAuthorizationRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // bool temporarily = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - bool, - offsetof(RejectArmAuthorizationRequest, _impl_.temporarily_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.temporarily_)}}, - // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(RejectArmAuthorizationRequest, _impl_.reason_), - 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.reason_)}}, - // int32 extra_info = 3; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(RejectArmAuthorizationRequest, _impl_.extra_info_), - 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.extra_info_)}}, - }}, - {{65535, 65535}}, - {{ - // bool temporarily = 1; - {PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.temporarily_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; - {PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.reason_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // int32 extra_info = 3; - {PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.extra_info_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void RejectArmAuthorizationRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.temporarily_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.extra_info_) - - reinterpret_cast(&_impl_.temporarily_)) + - sizeof(_impl_.extra_info_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* RejectArmAuthorizationRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const RejectArmAuthorizationRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* RejectArmAuthorizationRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const RejectArmAuthorizationRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* RejectArmAuthorizationRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> RejectArmAuthorizationRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // bool temporarily = 1; - if (this_._internal_temporarily() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_temporarily(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.temporarily_)}}, // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; - if (this_._internal_reason() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(2, this_._internal_reason(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RejectArmAuthorizationRequest, _impl_.reason_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.reason_)}}, // int32 extra_info = 3; - if (this_._internal_extra_info() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( - stream, this_._internal_extra_info(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RejectArmAuthorizationRequest, _impl_.extra_info_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.extra_info_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool temporarily = 1; + {PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.temporarily_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; + {PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.reason_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // int32 extra_info = 3; + {PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.extra_info_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - return target; +PROTOBUF_NOINLINE void RejectArmAuthorizationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.temporarily_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.extra_info_) - + reinterpret_cast(&_impl_.temporarily_)) + sizeof(_impl_.extra_info_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t RejectArmAuthorizationRequest::ByteSizeLong(const MessageLite& base) -{ - const RejectArmAuthorizationRequest& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t RejectArmAuthorizationRequest::ByteSizeLong() const -{ - const RejectArmAuthorizationRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // bool temporarily = 1; - if (this_._internal_temporarily() != 0) { - total_size += 2; + ::uint8_t* RejectArmAuthorizationRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RejectArmAuthorizationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RejectArmAuthorizationRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RejectArmAuthorizationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool temporarily = 1; + if (this_._internal_temporarily() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_temporarily(), target); + } + + // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; + if (this_._internal_reason() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_reason(), target); + } + + // int32 extra_info = 3; + if (this_._internal_extra_info() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<3>( + stream, this_._internal_extra_info(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + return target; } - // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; - if (this_._internal_reason() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_reason()); - } - // int32 extra_info = 3; - if (this_._internal_extra_info() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_extra_info()); + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RejectArmAuthorizationRequest::ByteSizeLong(const MessageLite& base) { + const RejectArmAuthorizationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RejectArmAuthorizationRequest::ByteSizeLong() const { + const RejectArmAuthorizationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // bool temporarily = 1; + if (this_._internal_temporarily() != 0) { + total_size += 2; + } + // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; + if (this_._internal_reason() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_reason()); + } + // int32 extra_info = 3; + if (this_._internal_extra_info() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_extra_info()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void RejectArmAuthorizationRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void RejectArmAuthorizationRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_temporarily() != 0) { - _this->_impl_.temporarily_ = from._impl_.temporarily_; - } - if (from._internal_reason() != 0) { - _this->_impl_.reason_ = from._impl_.reason_; - } - if (from._internal_extra_info() != 0) { - _this->_impl_.extra_info_ = from._impl_.extra_info_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_temporarily() != 0) { + _this->_impl_.temporarily_ = from._impl_.temporarily_; + } + if (from._internal_reason() != 0) { + _this->_impl_.reason_ = from._impl_.reason_; + } + if (from._internal_extra_info() != 0) { + _this->_impl_.extra_info_ = from._impl_.extra_info_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void RejectArmAuthorizationRequest::CopyFrom(const RejectArmAuthorizationRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void RejectArmAuthorizationRequest::CopyFrom(const RejectArmAuthorizationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void RejectArmAuthorizationRequest::InternalSwap( - RejectArmAuthorizationRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.extra_info_) + - sizeof(RejectArmAuthorizationRequest::_impl_.extra_info_) - - PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.temporarily_)>( - reinterpret_cast(&_impl_.temporarily_), - reinterpret_cast(&other->_impl_.temporarily_)); + +void RejectArmAuthorizationRequest::InternalSwap(RejectArmAuthorizationRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.extra_info_) + + sizeof(RejectArmAuthorizationRequest::_impl_.extra_info_) + - PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationRequest, _impl_.temporarily_)>( + reinterpret_cast(&_impl_.temporarily_), + reinterpret_cast(&other->_impl_.temporarily_)); } -::google::protobuf::Metadata RejectArmAuthorizationRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata RejectArmAuthorizationRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class RejectArmAuthorizationResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationResponse, _impl_._has_bits_); }; RejectArmAuthorizationResponse::RejectArmAuthorizationResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) } inline PROTOBUF_NDEBUG_INLINE RejectArmAuthorizationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} RejectArmAuthorizationResponse::RejectArmAuthorizationResponse( - ::google::protobuf::Arena* arena, const RejectArmAuthorizationResponse& from) + ::google::protobuf::Arena* arena, + const RejectArmAuthorizationResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - RejectArmAuthorizationResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.arm_authorizer_server_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>( - arena, *from._impl_.arm_authorizer_server_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + RejectArmAuthorizationResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.arm_authorizer_server_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>( + arena, *from._impl_.arm_authorizer_server_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) } inline PROTOBUF_NDEBUG_INLINE RejectArmAuthorizationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void RejectArmAuthorizationResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.arm_authorizer_server_result_ = {}; -} -RejectArmAuthorizationResponse::~RejectArmAuthorizationResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - SharedDtor(*this); -} -inline void RejectArmAuthorizationResponse::SharedDtor(MessageLite& self) -{ - RejectArmAuthorizationResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.arm_authorizer_server_result_; - this_._impl_.~Impl_(); -} - -inline void* RejectArmAuthorizationResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) RejectArmAuthorizationResponse(arena); -} -constexpr auto RejectArmAuthorizationResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(RejectArmAuthorizationResponse), alignof(RejectArmAuthorizationResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void RejectArmAuthorizationResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.arm_authorizer_server_result_ = {}; +} +RejectArmAuthorizationResponse::~RejectArmAuthorizationResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + SharedDtor(*this); +} +inline void RejectArmAuthorizationResponse::SharedDtor(MessageLite& self) { + RejectArmAuthorizationResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.arm_authorizer_server_result_; + this_._impl_.~Impl_(); +} + +inline void* RejectArmAuthorizationResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) RejectArmAuthorizationResponse(arena); +} +constexpr auto RejectArmAuthorizationResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RejectArmAuthorizationResponse), + alignof(RejectArmAuthorizationResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1767,293 +1505,243 @@ const ::google::protobuf::internal::ClassDataFull RejectArmAuthorizationResponse ::google::protobuf::internal::ClassData{ &_RejectArmAuthorizationResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &RejectArmAuthorizationResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &RejectArmAuthorizationResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &RejectArmAuthorizationResponse::ByteSizeLong, - &RejectArmAuthorizationResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &RejectArmAuthorizationResponse::ByteSizeLong, + &RejectArmAuthorizationResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationResponse, _impl_._cached_size_), false, }, &RejectArmAuthorizationResponse::kDescriptorMethods, &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* RejectArmAuthorizationResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - RejectArmAuthorizationResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server:: - RejectArmAuthorizationResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult - // arm_authorizer_server_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET( - RejectArmAuthorizationResponse, _impl_.arm_authorizer_server_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult - // arm_authorizer_server_result = 1; - {PROTOBUF_FIELD_OFFSET( - RejectArmAuthorizationResponse, _impl_.arm_authorizer_server_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void RejectArmAuthorizationResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.arm_authorizer_server_result_ != nullptr); - _impl_.arm_authorizer_server_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* RejectArmAuthorizationResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const RejectArmAuthorizationResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* RejectArmAuthorizationResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const RejectArmAuthorizationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* RejectArmAuthorizationResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> RejectArmAuthorizationResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::RejectArmAuthorizationResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.arm_authorizer_server_result_, - this_._impl_.arm_authorizer_server_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationResponse, _impl_.arm_authorizer_server_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + {PROTOBUF_FIELD_OFFSET(RejectArmAuthorizationResponse, _impl_.arm_authorizer_server_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - return target; +PROTOBUF_NOINLINE void RejectArmAuthorizationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.arm_authorizer_server_result_ != nullptr); + _impl_.arm_authorizer_server_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t RejectArmAuthorizationResponse::ByteSizeLong(const MessageLite& base) -{ - const RejectArmAuthorizationResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t RejectArmAuthorizationResponse::ByteSizeLong() const -{ - const RejectArmAuthorizationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result - // = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.arm_authorizer_server_result_); + ::uint8_t* RejectArmAuthorizationResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const RejectArmAuthorizationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* RejectArmAuthorizationResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const RejectArmAuthorizationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.arm_authorizer_server_result_, this_._impl_.arm_authorizer_server_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + return target; } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void RejectArmAuthorizationResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.arm_authorizer_server_result_ != nullptr); - if (_this->_impl_.arm_authorizer_server_result_ == nullptr) { - _this->_impl_.arm_authorizer_server_result_ = - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>( - arena, *from._impl_.arm_authorizer_server_result_); - } else { - _this->_impl_.arm_authorizer_server_result_->MergeFrom( - *from._impl_.arm_authorizer_server_result_); + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t RejectArmAuthorizationResponse::ByteSizeLong(const MessageLite& base) { + const RejectArmAuthorizationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t RejectArmAuthorizationResponse::ByteSizeLong() const { + const RejectArmAuthorizationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.arm_authorizer_server_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void RejectArmAuthorizationResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.arm_authorizer_server_result_ != nullptr); + if (_this->_impl_.arm_authorizer_server_result_ == nullptr) { + _this->_impl_.arm_authorizer_server_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(arena, *from._impl_.arm_authorizer_server_result_); + } else { + _this->_impl_.arm_authorizer_server_result_->MergeFrom(*from._impl_.arm_authorizer_server_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void RejectArmAuthorizationResponse::CopyFrom(const RejectArmAuthorizationResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void RejectArmAuthorizationResponse::CopyFrom(const RejectArmAuthorizationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void RejectArmAuthorizationResponse::InternalSwap( - RejectArmAuthorizationResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.arm_authorizer_server_result_, other->_impl_.arm_authorizer_server_result_); + +void RejectArmAuthorizationResponse::InternalSwap(RejectArmAuthorizationResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.arm_authorizer_server_result_, other->_impl_.arm_authorizer_server_result_); } -::google::protobuf::Metadata RejectArmAuthorizationResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata RejectArmAuthorizationResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ArmAuthorizerServerResult::_Internal { -public: + public: }; ArmAuthorizerServerResult::ArmAuthorizerServerResult(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) } inline PROTOBUF_NDEBUG_INLINE ArmAuthorizerServerResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& from_msg) : - result_str_(arena, from.result_str_), - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& from_msg) + : result_str_(arena, from.result_str_), + _cached_size_{0} {} ArmAuthorizerServerResult::ArmAuthorizerServerResult( - ::google::protobuf::Arena* arena, const ArmAuthorizerServerResult& from) + ::google::protobuf::Arena* arena, + const ArmAuthorizerServerResult& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ArmAuthorizerServerResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ArmAuthorizerServerResult* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.result_ = from._impl_.result_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) } inline PROTOBUF_NDEBUG_INLINE ArmAuthorizerServerResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - result_str_(arena), - _cached_size_{0} -{} - -inline void ArmAuthorizerServerResult::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -ArmAuthorizerServerResult::~ArmAuthorizerServerResult() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - SharedDtor(*this); -} -inline void ArmAuthorizerServerResult::SharedDtor(MessageLite& self) -{ - ArmAuthorizerServerResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.result_str_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* -ArmAuthorizerServerResult::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ArmAuthorizerServerResult(arena); -} -constexpr auto ArmAuthorizerServerResult::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(ArmAuthorizerServerResult), alignof(ArmAuthorizerServerResult)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : result_str_(arena), + _cached_size_{0} {} + +inline void ArmAuthorizerServerResult::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.result_ = {}; +} +ArmAuthorizerServerResult::~ArmAuthorizerServerResult() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + SharedDtor(*this); +} +inline void ArmAuthorizerServerResult::SharedDtor(MessageLite& self) { + ArmAuthorizerServerResult& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.result_str_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ArmAuthorizerServerResult::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ArmAuthorizerServerResult(arena); +} +constexpr auto ArmAuthorizerServerResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ArmAuthorizerServerResult), + alignof(ArmAuthorizerServerResult)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2061,220 +1749,200 @@ const ::google::protobuf::internal::ClassDataFull ArmAuthorizerServerResult::_cl ::google::protobuf::internal::ClassData{ &_ArmAuthorizerServerResult_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ArmAuthorizerServerResult::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ArmAuthorizerServerResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ArmAuthorizerServerResult::ByteSizeLong, - &ArmAuthorizerServerResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ArmAuthorizerServerResult::ByteSizeLong, + &ArmAuthorizerServerResult::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_._cached_size_), false, }, &ArmAuthorizerServerResult::kDescriptorMethods, &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* ArmAuthorizerServerResult::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 77, 2> - ArmAuthorizerServerResult::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // string result_str = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_str_)}}, - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(ArmAuthorizerServerResult, _impl_.result_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; - {PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string result_str = 2; - {PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_str_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{"\72\0\12\0\0\0\0\0" - "mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult" - "result_str"}}, - }; - -PROTOBUF_NOINLINE void ArmAuthorizerServerResult::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.result_str_.ClearToEmpty(); - _impl_.result_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ArmAuthorizerServerResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ArmAuthorizerServerResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ArmAuthorizerServerResult::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ArmAuthorizerServerResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* ArmAuthorizerServerResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 77, 2> ArmAuthorizerServerResult::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string result_str = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_str_)}}, // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_result(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ArmAuthorizerServerResult, _impl_.result_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; + {PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // string result_str = 2; - if (!this_._internal_result_str().empty()) { - const std::string& _s = this_._internal_result_str(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } + {PROTOBUF_FIELD_OFFSET(ArmAuthorizerServerResult, _impl_.result_str_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\72\0\12\0\0\0\0\0" + "mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult" + "result_str" + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - return target; +PROTOBUF_NOINLINE void ArmAuthorizerServerResult::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.result_str_.ClearToEmpty(); + _impl_.result_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ArmAuthorizerServerResult::ByteSizeLong(const MessageLite& base) -{ - const ArmAuthorizerServerResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ArmAuthorizerServerResult::ByteSizeLong() const -{ - const ArmAuthorizerServerResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string result_str = 2; - if (!this_._internal_result_str().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_result_str()); + ::uint8_t* ArmAuthorizerServerResult::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ArmAuthorizerServerResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ArmAuthorizerServerResult::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ArmAuthorizerServerResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + const std::string& _s = this_._internal_result_str(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + return target; } - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ArmAuthorizerServerResult::ByteSizeLong(const MessageLite& base) { + const ArmAuthorizerServerResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ArmAuthorizerServerResult::ByteSizeLong() const { + const ArmAuthorizerServerResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_result_str()); + } + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; + if (this_._internal_result() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ArmAuthorizerServerResult::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ArmAuthorizerServerResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (!from._internal_result_str().empty()) { - _this->_internal_set_result_str(from._internal_result_str()); - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (!from._internal_result_str().empty()) { + _this->_internal_set_result_str(from._internal_result_str()); + } + if (from._internal_result() != 0) { + _this->_impl_.result_ = from._impl_.result_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ArmAuthorizerServerResult::CopyFrom(const ArmAuthorizerServerResult& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ArmAuthorizerServerResult::CopyFrom(const ArmAuthorizerServerResult& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ArmAuthorizerServerResult::InternalSwap(ArmAuthorizerServerResult* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); - swap(_impl_.result_, other->_impl_.result_); + +void ArmAuthorizerServerResult::InternalSwap(ArmAuthorizerServerResult* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); + swap(_impl_.result_, other->_impl_.result_); } -::google::protobuf::Metadata ArmAuthorizerServerResult::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ArmAuthorizerServerResult::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // @@protoc_insertion_point(namespace_scope) -} // namespace arm_authorizer_server -} // namespace rpc -} // namespace mavsdk +} // namespace arm_authorizer_server +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init2_ PROTOBUF_UNUSED = - (::_pbi::AddDescriptors( - &descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto), - ::std::false_type{}); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto), + ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.h b/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.h index 9bf5aeb71..12c5cf6f5 100644 --- a/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.h +++ b/src/mavsdk_server/src/generated/arm_authorizer_server/arm_authorizer_server.pb.h @@ -27,8 +27,8 @@ #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/message_lite.h" -#include "google/protobuf/repeated_field.h" // IWYU pragma: export -#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "mavsdk_options.pb.h" @@ -42,14 +42,15 @@ namespace google { namespace protobuf { namespace internal { -template::absl::string_view GetAnyMessageName(); -} // namespace internal -} // namespace protobuf -} // namespace google +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto { - static const ::uint32_t offsets[]; + static const ::uint32_t offsets[]; }; extern const ::google::protobuf::internal::DescriptorTable descriptor_table_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; @@ -58,12 +59,10 @@ namespace rpc { namespace arm_authorizer_server { class AcceptArmAuthorizationRequest; struct AcceptArmAuthorizationRequestDefaultTypeInternal; -extern AcceptArmAuthorizationRequestDefaultTypeInternal - _AcceptArmAuthorizationRequest_default_instance_; +extern AcceptArmAuthorizationRequestDefaultTypeInternal _AcceptArmAuthorizationRequest_default_instance_; class AcceptArmAuthorizationResponse; struct AcceptArmAuthorizationResponseDefaultTypeInternal; -extern AcceptArmAuthorizationResponseDefaultTypeInternal - _AcceptArmAuthorizationResponse_default_instance_; +extern AcceptArmAuthorizationResponseDefaultTypeInternal _AcceptArmAuthorizationResponse_default_instance_; class ArmAuthorizationResponse; struct ArmAuthorizationResponseDefaultTypeInternal; extern ArmAuthorizationResponseDefaultTypeInternal _ArmAuthorizationResponse_default_instance_; @@ -72,74 +71,69 @@ struct ArmAuthorizerServerResultDefaultTypeInternal; extern ArmAuthorizerServerResultDefaultTypeInternal _ArmAuthorizerServerResult_default_instance_; class RejectArmAuthorizationRequest; struct RejectArmAuthorizationRequestDefaultTypeInternal; -extern RejectArmAuthorizationRequestDefaultTypeInternal - _RejectArmAuthorizationRequest_default_instance_; +extern RejectArmAuthorizationRequestDefaultTypeInternal _RejectArmAuthorizationRequest_default_instance_; class RejectArmAuthorizationResponse; struct RejectArmAuthorizationResponseDefaultTypeInternal; -extern RejectArmAuthorizationResponseDefaultTypeInternal - _RejectArmAuthorizationResponse_default_instance_; +extern RejectArmAuthorizationResponseDefaultTypeInternal _RejectArmAuthorizationResponse_default_instance_; class SubscribeArmAuthorizationRequest; struct SubscribeArmAuthorizationRequestDefaultTypeInternal; -extern SubscribeArmAuthorizationRequestDefaultTypeInternal - _SubscribeArmAuthorizationRequest_default_instance_; -} // namespace arm_authorizer_server -} // namespace rpc -} // namespace mavsdk +extern SubscribeArmAuthorizationRequestDefaultTypeInternal _SubscribeArmAuthorizationRequest_default_instance_; +} // namespace arm_authorizer_server +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google namespace mavsdk { namespace rpc { namespace arm_authorizer_server { enum ArmAuthorizerServerResult_Result : int { - ArmAuthorizerServerResult_Result_RESULT_UNKNOWN = 0, - ArmAuthorizerServerResult_Result_RESULT_SUCCESS = 1, - ArmAuthorizerServerResult_Result_RESULT_FAILED = 2, - ArmAuthorizerServerResult_Result_ArmAuthorizerServerResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - ArmAuthorizerServerResult_Result_ArmAuthorizerServerResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + ArmAuthorizerServerResult_Result_RESULT_UNKNOWN = 0, + ArmAuthorizerServerResult_Result_RESULT_SUCCESS = 1, + ArmAuthorizerServerResult_Result_RESULT_FAILED = 2, + ArmAuthorizerServerResult_Result_ArmAuthorizerServerResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + ArmAuthorizerServerResult_Result_ArmAuthorizerServerResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), }; bool ArmAuthorizerServerResult_Result_IsValid(int value); extern const uint32_t ArmAuthorizerServerResult_Result_internal_data_[]; -constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult_Result_Result_MIN = - static_cast(0); -constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult_Result_Result_MAX = - static_cast(2); +constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult_Result_Result_MIN = static_cast(0); +constexpr ArmAuthorizerServerResult_Result ArmAuthorizerServerResult_Result_Result_MAX = static_cast(2); constexpr int ArmAuthorizerServerResult_Result_Result_ARRAYSIZE = 2 + 1; -const ::google::protobuf::EnumDescriptor* ArmAuthorizerServerResult_Result_descriptor(); -template const std::string& ArmAuthorizerServerResult_Result_Name(T value) -{ - static_assert( - std::is_same::value || std::is_integral::value, - "Incorrect type passed to Result_Name()."); - return ArmAuthorizerServerResult_Result_Name( - static_cast(value)); -} -template<> -inline const std::string& -ArmAuthorizerServerResult_Result_Name(ArmAuthorizerServerResult_Result value) -{ - return ::google::protobuf::internal:: - NameOfDenseEnum(static_cast(value)); -} -inline bool ArmAuthorizerServerResult_Result_Parse( - absl::string_view name, ArmAuthorizerServerResult_Result* value) -{ - return ::google::protobuf::internal::ParseNamedEnum( - ArmAuthorizerServerResult_Result_descriptor(), name, value); +const ::google::protobuf::EnumDescriptor* +ArmAuthorizerServerResult_Result_descriptor(); +template +const std::string& ArmAuthorizerServerResult_Result_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to Result_Name()."); + return ArmAuthorizerServerResult_Result_Name(static_cast(value)); +} +template <> +inline const std::string& ArmAuthorizerServerResult_Result_Name(ArmAuthorizerServerResult_Result value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool ArmAuthorizerServerResult_Result_Parse(absl::string_view name, ArmAuthorizerServerResult_Result* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ArmAuthorizerServerResult_Result_descriptor(), name, value); } enum RejectionReason : int { - REJECTION_REASON_GENERIC = 0, - REJECTION_REASON_NONE = 1, - REJECTION_REASON_INVALID_WAYPOINT = 2, - REJECTION_REASON_TIMEOUT = 3, - REJECTION_REASON_AIRSPACE_IN_USE = 4, - REJECTION_REASON_BAD_WEATHER = 5, - RejectionReason_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(), - RejectionReason_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max(), + REJECTION_REASON_GENERIC = 0, + REJECTION_REASON_NONE = 1, + REJECTION_REASON_INVALID_WAYPOINT = 2, + REJECTION_REASON_TIMEOUT = 3, + REJECTION_REASON_AIRSPACE_IN_USE = 4, + REJECTION_REASON_BAD_WEATHER = 5, + RejectionReason_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + RejectionReason_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), }; bool RejectionReason_IsValid(int value); @@ -147,1599 +141,1408 @@ extern const uint32_t RejectionReason_internal_data_[]; constexpr RejectionReason RejectionReason_MIN = static_cast(0); constexpr RejectionReason RejectionReason_MAX = static_cast(5); constexpr int RejectionReason_ARRAYSIZE = 5 + 1; -const ::google::protobuf::EnumDescriptor* RejectionReason_descriptor(); -template const std::string& RejectionReason_Name(T value) -{ - static_assert( - std::is_same::value || std::is_integral::value, - "Incorrect type passed to RejectionReason_Name()."); - return RejectionReason_Name(static_cast(value)); -} -template<> inline const std::string& RejectionReason_Name(RejectionReason value) -{ - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool RejectionReason_Parse(absl::string_view name, RejectionReason* value) -{ - return ::google::protobuf::internal::ParseNamedEnum( - RejectionReason_descriptor(), name, value); +const ::google::protobuf::EnumDescriptor* +RejectionReason_descriptor(); +template +const std::string& RejectionReason_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to RejectionReason_Name()."); + return RejectionReason_Name(static_cast(value)); +} +template <> +inline const std::string& RejectionReason_Name(RejectionReason value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool RejectionReason_Parse(absl::string_view name, RejectionReason* value) { + return ::google::protobuf::internal::ParseNamedEnum( + RejectionReason_descriptor(), name, value); } // =================================================================== + // ------------------------------------------------------------------- -class SubscribeArmAuthorizationRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) - */ -{ -public: - inline SubscribeArmAuthorizationRequest() : SubscribeArmAuthorizationRequest(nullptr) {} +class SubscribeArmAuthorizationRequest final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) */ { + public: + inline SubscribeArmAuthorizationRequest() : SubscribeArmAuthorizationRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeArmAuthorizationRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeArmAuthorizationRequest)); - } + void operator delete(SubscribeArmAuthorizationRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeArmAuthorizationRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeArmAuthorizationRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeArmAuthorizationRequest(const SubscribeArmAuthorizationRequest& from) : - SubscribeArmAuthorizationRequest(nullptr, from) - {} - inline SubscribeArmAuthorizationRequest(SubscribeArmAuthorizationRequest&& from) noexcept : - SubscribeArmAuthorizationRequest(nullptr, std::move(from)) - {} - inline SubscribeArmAuthorizationRequest& operator=(const SubscribeArmAuthorizationRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeArmAuthorizationRequest& - operator=(SubscribeArmAuthorizationRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeArmAuthorizationRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeArmAuthorizationRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeArmAuthorizationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(SubscribeArmAuthorizationRequest& a, SubscribeArmAuthorizationRequest& b) - { - a.Swap(&b); - } - inline void Swap(SubscribeArmAuthorizationRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeArmAuthorizationRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeArmAuthorizationRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeArmAuthorizationRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeArmAuthorizationRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeArmAuthorizationRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest"; - } - -protected: - explicit SubscribeArmAuthorizationRequest(::google::protobuf::Arena* arena); - SubscribeArmAuthorizationRequest( - ::google::protobuf::Arena* arena, const SubscribeArmAuthorizationRequest& from); - SubscribeArmAuthorizationRequest( - ::google::protobuf::Arena* arena, SubscribeArmAuthorizationRequest&& from) noexcept : - SubscribeArmAuthorizationRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeArmAuthorizationRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeArmAuthorizationRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeArmAuthorizationRequest(const SubscribeArmAuthorizationRequest& from) : SubscribeArmAuthorizationRequest(nullptr, from) {} + inline SubscribeArmAuthorizationRequest(SubscribeArmAuthorizationRequest&& from) noexcept + : SubscribeArmAuthorizationRequest(nullptr, std::move(from)) {} + inline SubscribeArmAuthorizationRequest& operator=(const SubscribeArmAuthorizationRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeArmAuthorizationRequest& operator=(SubscribeArmAuthorizationRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeArmAuthorizationRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeArmAuthorizationRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeArmAuthorizationRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(SubscribeArmAuthorizationRequest& a, SubscribeArmAuthorizationRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeArmAuthorizationRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeArmAuthorizationRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeArmAuthorizationRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeArmAuthorizationRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeArmAuthorizationRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest"; } + + protected: + explicit SubscribeArmAuthorizationRequest(::google::protobuf::Arena* arena); + SubscribeArmAuthorizationRequest(::google::protobuf::Arena* arena, const SubscribeArmAuthorizationRequest& from); + SubscribeArmAuthorizationRequest(::google::protobuf::Arena* arena, SubscribeArmAuthorizationRequest&& from) noexcept + : SubscribeArmAuthorizationRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.SubscribeArmAuthorizationRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeArmAuthorizationRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; }; // ------------------------------------------------------------------- -class RejectArmAuthorizationRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) - */ -{ -public: - inline RejectArmAuthorizationRequest() : RejectArmAuthorizationRequest(nullptr) {} - ~RejectArmAuthorizationRequest() PROTOBUF_FINAL; +class RejectArmAuthorizationRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) */ { + public: + inline RejectArmAuthorizationRequest() : RejectArmAuthorizationRequest(nullptr) {} + ~RejectArmAuthorizationRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RejectArmAuthorizationRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RejectArmAuthorizationRequest)); - } + void operator delete(RejectArmAuthorizationRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RejectArmAuthorizationRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - RejectArmAuthorizationRequest(::google::protobuf::internal::ConstantInitialized); - - inline RejectArmAuthorizationRequest(const RejectArmAuthorizationRequest& from) : - RejectArmAuthorizationRequest(nullptr, from) - {} - inline RejectArmAuthorizationRequest(RejectArmAuthorizationRequest&& from) noexcept : - RejectArmAuthorizationRequest(nullptr, std::move(from)) - {} - inline RejectArmAuthorizationRequest& operator=(const RejectArmAuthorizationRequest& from) - { - CopyFrom(from); - return *this; - } - inline RejectArmAuthorizationRequest& operator=(RejectArmAuthorizationRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const RejectArmAuthorizationRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const RejectArmAuthorizationRequest* internal_default_instance() - { - return reinterpret_cast( - &_RejectArmAuthorizationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 4; - friend void swap(RejectArmAuthorizationRequest& a, RejectArmAuthorizationRequest& b) - { - a.Swap(&b); - } - inline void Swap(RejectArmAuthorizationRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RejectArmAuthorizationRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RejectArmAuthorizationRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RejectArmAuthorizationRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RejectArmAuthorizationRequest& from) - { - RejectArmAuthorizationRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(RejectArmAuthorizationRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest"; - } - -protected: - explicit RejectArmAuthorizationRequest(::google::protobuf::Arena* arena); - RejectArmAuthorizationRequest( - ::google::protobuf::Arena* arena, const RejectArmAuthorizationRequest& from); - RejectArmAuthorizationRequest( - ::google::protobuf::Arena* arena, RejectArmAuthorizationRequest&& from) noexcept : - RejectArmAuthorizationRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kTemporarilyFieldNumber = 1, - kReasonFieldNumber = 2, - kExtraInfoFieldNumber = 3, - }; - // bool temporarily = 1; - void clear_temporarily(); - bool temporarily() const; - void set_temporarily(bool value); - -private: - bool _internal_temporarily() const; - void _internal_set_temporarily(bool value); - -public: - // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; - void clear_reason(); - ::mavsdk::rpc::arm_authorizer_server::RejectionReason reason() const; - void set_reason(::mavsdk::rpc::arm_authorizer_server::RejectionReason value); - -private: - ::mavsdk::rpc::arm_authorizer_server::RejectionReason _internal_reason() const; - void _internal_set_reason(::mavsdk::rpc::arm_authorizer_server::RejectionReason value); - -public: - // int32 extra_info = 3; - void clear_extra_info(); - ::int32_t extra_info() const; - void set_extra_info(::int32_t value); - -private: - ::int32_t _internal_extra_info() const; - void _internal_set_extra_info(::int32_t value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<2, 3, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const RejectArmAuthorizationRequest& from_msg); - bool temporarily_; - int reason_; - ::int32_t extra_info_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR RejectArmAuthorizationRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline RejectArmAuthorizationRequest(const RejectArmAuthorizationRequest& from) : RejectArmAuthorizationRequest(nullptr, from) {} + inline RejectArmAuthorizationRequest(RejectArmAuthorizationRequest&& from) noexcept + : RejectArmAuthorizationRequest(nullptr, std::move(from)) {} + inline RejectArmAuthorizationRequest& operator=(const RejectArmAuthorizationRequest& from) { + CopyFrom(from); + return *this; + } + inline RejectArmAuthorizationRequest& operator=(RejectArmAuthorizationRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RejectArmAuthorizationRequest& default_instance() { + return *internal_default_instance(); + } + static inline const RejectArmAuthorizationRequest* internal_default_instance() { + return reinterpret_cast( + &_RejectArmAuthorizationRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(RejectArmAuthorizationRequest& a, RejectArmAuthorizationRequest& b) { a.Swap(&b); } + inline void Swap(RejectArmAuthorizationRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RejectArmAuthorizationRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RejectArmAuthorizationRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RejectArmAuthorizationRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RejectArmAuthorizationRequest& from) { RejectArmAuthorizationRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RejectArmAuthorizationRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest"; } + + protected: + explicit RejectArmAuthorizationRequest(::google::protobuf::Arena* arena); + RejectArmAuthorizationRequest(::google::protobuf::Arena* arena, const RejectArmAuthorizationRequest& from); + RejectArmAuthorizationRequest(::google::protobuf::Arena* arena, RejectArmAuthorizationRequest&& from) noexcept + : RejectArmAuthorizationRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kTemporarilyFieldNumber = 1, + kReasonFieldNumber = 2, + kExtraInfoFieldNumber = 3, + }; + // bool temporarily = 1; + void clear_temporarily() ; + bool temporarily() const; + void set_temporarily(bool value); + + private: + bool _internal_temporarily() const; + void _internal_set_temporarily(bool value); + + public: + // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; + void clear_reason() ; + ::mavsdk::rpc::arm_authorizer_server::RejectionReason reason() const; + void set_reason(::mavsdk::rpc::arm_authorizer_server::RejectionReason value); + + private: + ::mavsdk::rpc::arm_authorizer_server::RejectionReason _internal_reason() const; + void _internal_set_reason(::mavsdk::rpc::arm_authorizer_server::RejectionReason value); + + public: + // int32 extra_info = 3; + void clear_extra_info() ; + ::int32_t extra_info() const; + void set_extra_info(::int32_t value); + + private: + ::int32_t _internal_extra_info() const; + void _internal_set_extra_info(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RejectArmAuthorizationRequest& from_msg); + bool temporarily_; + int reason_; + ::int32_t extra_info_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; }; // ------------------------------------------------------------------- -class ArmAuthorizerServerResult final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) - */ -{ -public: - inline ArmAuthorizerServerResult() : ArmAuthorizerServerResult(nullptr) {} - ~ArmAuthorizerServerResult() PROTOBUF_FINAL; +class ArmAuthorizerServerResult final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) */ { + public: + inline ArmAuthorizerServerResult() : ArmAuthorizerServerResult(nullptr) {} + ~ArmAuthorizerServerResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmAuthorizerServerResult* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmAuthorizerServerResult)); - } + void operator delete(ArmAuthorizerServerResult* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmAuthorizerServerResult)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - ArmAuthorizerServerResult(::google::protobuf::internal::ConstantInitialized); - - inline ArmAuthorizerServerResult(const ArmAuthorizerServerResult& from) : - ArmAuthorizerServerResult(nullptr, from) - {} - inline ArmAuthorizerServerResult(ArmAuthorizerServerResult&& from) noexcept : - ArmAuthorizerServerResult(nullptr, std::move(from)) - {} - inline ArmAuthorizerServerResult& operator=(const ArmAuthorizerServerResult& from) - { - CopyFrom(from); - return *this; - } - inline ArmAuthorizerServerResult& operator=(ArmAuthorizerServerResult&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmAuthorizerServerResult& default_instance() - { - return *internal_default_instance(); - } - static inline const ArmAuthorizerServerResult* internal_default_instance() - { - return reinterpret_cast( - &_ArmAuthorizerServerResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 6; - friend void swap(ArmAuthorizerServerResult& a, ArmAuthorizerServerResult& b) { a.Swap(&b); } - inline void Swap(ArmAuthorizerServerResult* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmAuthorizerServerResult* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArmAuthorizerServerResult* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ArmAuthorizerServerResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ArmAuthorizerServerResult& from) - { - ArmAuthorizerServerResult::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ArmAuthorizerServerResult* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult"; - } - -protected: - explicit ArmAuthorizerServerResult(::google::protobuf::Arena* arena); - ArmAuthorizerServerResult( - ::google::protobuf::Arena* arena, const ArmAuthorizerServerResult& from); - ArmAuthorizerServerResult( - ::google::protobuf::Arena* arena, ArmAuthorizerServerResult&& from) noexcept : - ArmAuthorizerServerResult(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using Result = ArmAuthorizerServerResult_Result; - static constexpr Result RESULT_UNKNOWN = ArmAuthorizerServerResult_Result_RESULT_UNKNOWN; - static constexpr Result RESULT_SUCCESS = ArmAuthorizerServerResult_Result_RESULT_SUCCESS; - static constexpr Result RESULT_FAILED = ArmAuthorizerServerResult_Result_RESULT_FAILED; - static inline bool Result_IsValid(int value) - { - return ArmAuthorizerServerResult_Result_IsValid(value); - } - static constexpr Result Result_MIN = ArmAuthorizerServerResult_Result_Result_MIN; - static constexpr Result Result_MAX = ArmAuthorizerServerResult_Result_Result_MAX; - static constexpr int Result_ARRAYSIZE = ArmAuthorizerServerResult_Result_Result_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() - { - return ArmAuthorizerServerResult_Result_descriptor(); - } - template static inline const std::string& Result_Name(T value) - { - return ArmAuthorizerServerResult_Result_Name(value); - } - static inline bool Result_Parse(absl::string_view name, Result* value) - { - return ArmAuthorizerServerResult_Result_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kResultStrFieldNumber = 2, - kResultFieldNumber = 1, - }; - // string result_str = 2; - void clear_result_str(); - const std::string& result_str() const; - template - void set_result_str(Arg_&& arg, Args_... args); - std::string* mutable_result_str(); - PROTOBUF_NODISCARD std::string* release_result_str(); - void set_allocated_result_str(std::string* value); - -private: - const std::string& _internal_result_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str(const std::string& value); - std::string* _internal_mutable_result_str(); - -public: - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; - void clear_result(); - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result result() const; - void set_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value); - -private: - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result _internal_result() const; - void _internal_set_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 77, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmAuthorizerServerResult& from_msg); - ::google::protobuf::internal::ArenaStringPtr result_str_; - int result_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR ArmAuthorizerServerResult( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmAuthorizerServerResult(const ArmAuthorizerServerResult& from) : ArmAuthorizerServerResult(nullptr, from) {} + inline ArmAuthorizerServerResult(ArmAuthorizerServerResult&& from) noexcept + : ArmAuthorizerServerResult(nullptr, std::move(from)) {} + inline ArmAuthorizerServerResult& operator=(const ArmAuthorizerServerResult& from) { + CopyFrom(from); + return *this; + } + inline ArmAuthorizerServerResult& operator=(ArmAuthorizerServerResult&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmAuthorizerServerResult& default_instance() { + return *internal_default_instance(); + } + static inline const ArmAuthorizerServerResult* internal_default_instance() { + return reinterpret_cast( + &_ArmAuthorizerServerResult_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(ArmAuthorizerServerResult& a, ArmAuthorizerServerResult& b) { a.Swap(&b); } + inline void Swap(ArmAuthorizerServerResult* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmAuthorizerServerResult* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmAuthorizerServerResult* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ArmAuthorizerServerResult& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ArmAuthorizerServerResult& from) { ArmAuthorizerServerResult::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ArmAuthorizerServerResult* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult"; } + + protected: + explicit ArmAuthorizerServerResult(::google::protobuf::Arena* arena); + ArmAuthorizerServerResult(::google::protobuf::Arena* arena, const ArmAuthorizerServerResult& from); + ArmAuthorizerServerResult(::google::protobuf::Arena* arena, ArmAuthorizerServerResult&& from) noexcept + : ArmAuthorizerServerResult(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Result = ArmAuthorizerServerResult_Result; + static constexpr Result RESULT_UNKNOWN = ArmAuthorizerServerResult_Result_RESULT_UNKNOWN; + static constexpr Result RESULT_SUCCESS = ArmAuthorizerServerResult_Result_RESULT_SUCCESS; + static constexpr Result RESULT_FAILED = ArmAuthorizerServerResult_Result_RESULT_FAILED; + static inline bool Result_IsValid(int value) { + return ArmAuthorizerServerResult_Result_IsValid(value); + } + static constexpr Result Result_MIN = ArmAuthorizerServerResult_Result_Result_MIN; + static constexpr Result Result_MAX = ArmAuthorizerServerResult_Result_Result_MAX; + static constexpr int Result_ARRAYSIZE = ArmAuthorizerServerResult_Result_Result_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() { + return ArmAuthorizerServerResult_Result_descriptor(); + } + template + static inline const std::string& Result_Name(T value) { + return ArmAuthorizerServerResult_Result_Name(value); + } + static inline bool Result_Parse(absl::string_view name, Result* value) { + return ArmAuthorizerServerResult_Result_Parse(name, value); + } + + // accessors ------------------------------------------------------- + enum : int { + kResultStrFieldNumber = 2, + kResultFieldNumber = 1, + }; + // string result_str = 2; + void clear_result_str() ; + const std::string& result_str() const; + template + void set_result_str(Arg_&& arg, Args_... args); + std::string* mutable_result_str(); + PROTOBUF_NODISCARD std::string* release_result_str(); + void set_allocated_result_str(std::string* value); + + private: + const std::string& _internal_result_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str( + const std::string& value); + std::string* _internal_mutable_result_str(); + + public: + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; + void clear_result() ; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result result() const; + void set_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value); + + private: + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result _internal_result() const; + void _internal_set_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 77, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmAuthorizerServerResult& from_msg); + ::google::protobuf::internal::ArenaStringPtr result_str_; + int result_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; }; // ------------------------------------------------------------------- -class ArmAuthorizationResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) - */ -{ -public: - inline ArmAuthorizationResponse() : ArmAuthorizationResponse(nullptr) {} - ~ArmAuthorizationResponse() PROTOBUF_FINAL; +class ArmAuthorizationResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) */ { + public: + inline ArmAuthorizationResponse() : ArmAuthorizationResponse(nullptr) {} + ~ArmAuthorizationResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ArmAuthorizationResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmAuthorizationResponse)); - } + void operator delete(ArmAuthorizationResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ArmAuthorizationResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - ArmAuthorizationResponse(::google::protobuf::internal::ConstantInitialized); - - inline ArmAuthorizationResponse(const ArmAuthorizationResponse& from) : - ArmAuthorizationResponse(nullptr, from) - {} - inline ArmAuthorizationResponse(ArmAuthorizationResponse&& from) noexcept : - ArmAuthorizationResponse(nullptr, std::move(from)) - {} - inline ArmAuthorizationResponse& operator=(const ArmAuthorizationResponse& from) - { - CopyFrom(from); - return *this; - } - inline ArmAuthorizationResponse& operator=(ArmAuthorizationResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ArmAuthorizationResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const ArmAuthorizationResponse* internal_default_instance() - { - return reinterpret_cast( - &_ArmAuthorizationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(ArmAuthorizationResponse& a, ArmAuthorizationResponse& b) { a.Swap(&b); } - inline void Swap(ArmAuthorizationResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ArmAuthorizationResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ArmAuthorizationResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ArmAuthorizationResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ArmAuthorizationResponse& from) - { - ArmAuthorizationResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ArmAuthorizationResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse"; - } - -protected: - explicit ArmAuthorizationResponse(::google::protobuf::Arena* arena); - ArmAuthorizationResponse( - ::google::protobuf::Arena* arena, const ArmAuthorizationResponse& from); - ArmAuthorizationResponse( - ::google::protobuf::Arena* arena, ArmAuthorizationResponse&& from) noexcept : - ArmAuthorizationResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kSystemIdFieldNumber = 1, - }; - // uint32 system_id = 1; - void clear_system_id(); - ::uint32_t system_id() const; - void set_system_id(::uint32_t value); - -private: - ::uint32_t _internal_system_id() const; - void _internal_set_system_id(::uint32_t value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ArmAuthorizationResponse& from_msg); - ::uint32_t system_id_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR ArmAuthorizationResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ArmAuthorizationResponse(const ArmAuthorizationResponse& from) : ArmAuthorizationResponse(nullptr, from) {} + inline ArmAuthorizationResponse(ArmAuthorizationResponse&& from) noexcept + : ArmAuthorizationResponse(nullptr, std::move(from)) {} + inline ArmAuthorizationResponse& operator=(const ArmAuthorizationResponse& from) { + CopyFrom(from); + return *this; + } + inline ArmAuthorizationResponse& operator=(ArmAuthorizationResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArmAuthorizationResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ArmAuthorizationResponse* internal_default_instance() { + return reinterpret_cast( + &_ArmAuthorizationResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(ArmAuthorizationResponse& a, ArmAuthorizationResponse& b) { a.Swap(&b); } + inline void Swap(ArmAuthorizationResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArmAuthorizationResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArmAuthorizationResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ArmAuthorizationResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ArmAuthorizationResponse& from) { ArmAuthorizationResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ArmAuthorizationResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse"; } + + protected: + explicit ArmAuthorizationResponse(::google::protobuf::Arena* arena); + ArmAuthorizationResponse(::google::protobuf::Arena* arena, const ArmAuthorizationResponse& from); + ArmAuthorizationResponse(::google::protobuf::Arena* arena, ArmAuthorizationResponse&& from) noexcept + : ArmAuthorizationResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSystemIdFieldNumber = 1, + }; + // uint32 system_id = 1; + void clear_system_id() ; + ::uint32_t system_id() const; + void set_system_id(::uint32_t value); + + private: + ::uint32_t _internal_system_id() const; + void _internal_set_system_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ArmAuthorizationResponse& from_msg); + ::uint32_t system_id_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; }; // ------------------------------------------------------------------- -class AcceptArmAuthorizationRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) - */ -{ -public: - inline AcceptArmAuthorizationRequest() : AcceptArmAuthorizationRequest(nullptr) {} - ~AcceptArmAuthorizationRequest() PROTOBUF_FINAL; +class AcceptArmAuthorizationRequest final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) */ { + public: + inline AcceptArmAuthorizationRequest() : AcceptArmAuthorizationRequest(nullptr) {} + ~AcceptArmAuthorizationRequest() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(AcceptArmAuthorizationRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(AcceptArmAuthorizationRequest)); - } + void operator delete(AcceptArmAuthorizationRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AcceptArmAuthorizationRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - AcceptArmAuthorizationRequest(::google::protobuf::internal::ConstantInitialized); - - inline AcceptArmAuthorizationRequest(const AcceptArmAuthorizationRequest& from) : - AcceptArmAuthorizationRequest(nullptr, from) - {} - inline AcceptArmAuthorizationRequest(AcceptArmAuthorizationRequest&& from) noexcept : - AcceptArmAuthorizationRequest(nullptr, std::move(from)) - {} - inline AcceptArmAuthorizationRequest& operator=(const AcceptArmAuthorizationRequest& from) - { - CopyFrom(from); - return *this; - } - inline AcceptArmAuthorizationRequest& operator=(AcceptArmAuthorizationRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const AcceptArmAuthorizationRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const AcceptArmAuthorizationRequest* internal_default_instance() - { - return reinterpret_cast( - &_AcceptArmAuthorizationRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(AcceptArmAuthorizationRequest& a, AcceptArmAuthorizationRequest& b) - { - a.Swap(&b); - } - inline void Swap(AcceptArmAuthorizationRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AcceptArmAuthorizationRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AcceptArmAuthorizationRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const AcceptArmAuthorizationRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const AcceptArmAuthorizationRequest& from) - { - AcceptArmAuthorizationRequest::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(AcceptArmAuthorizationRequest* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest"; - } - -protected: - explicit AcceptArmAuthorizationRequest(::google::protobuf::Arena* arena); - AcceptArmAuthorizationRequest( - ::google::protobuf::Arena* arena, const AcceptArmAuthorizationRequest& from); - AcceptArmAuthorizationRequest( - ::google::protobuf::Arena* arena, AcceptArmAuthorizationRequest&& from) noexcept : - AcceptArmAuthorizationRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kValidTimeSFieldNumber = 1, - }; - // int32 valid_time_s = 1; - void clear_valid_time_s(); - ::int32_t valid_time_s() const; - void set_valid_time_s(::int32_t value); - -private: - ::int32_t _internal_valid_time_s() const; - void _internal_set_valid_time_s(::int32_t value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const AcceptArmAuthorizationRequest& from_msg); - ::int32_t valid_time_s_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR AcceptArmAuthorizationRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline AcceptArmAuthorizationRequest(const AcceptArmAuthorizationRequest& from) : AcceptArmAuthorizationRequest(nullptr, from) {} + inline AcceptArmAuthorizationRequest(AcceptArmAuthorizationRequest&& from) noexcept + : AcceptArmAuthorizationRequest(nullptr, std::move(from)) {} + inline AcceptArmAuthorizationRequest& operator=(const AcceptArmAuthorizationRequest& from) { + CopyFrom(from); + return *this; + } + inline AcceptArmAuthorizationRequest& operator=(AcceptArmAuthorizationRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AcceptArmAuthorizationRequest& default_instance() { + return *internal_default_instance(); + } + static inline const AcceptArmAuthorizationRequest* internal_default_instance() { + return reinterpret_cast( + &_AcceptArmAuthorizationRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(AcceptArmAuthorizationRequest& a, AcceptArmAuthorizationRequest& b) { a.Swap(&b); } + inline void Swap(AcceptArmAuthorizationRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AcceptArmAuthorizationRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AcceptArmAuthorizationRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AcceptArmAuthorizationRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AcceptArmAuthorizationRequest& from) { AcceptArmAuthorizationRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AcceptArmAuthorizationRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest"; } + + protected: + explicit AcceptArmAuthorizationRequest(::google::protobuf::Arena* arena); + AcceptArmAuthorizationRequest(::google::protobuf::Arena* arena, const AcceptArmAuthorizationRequest& from); + AcceptArmAuthorizationRequest(::google::protobuf::Arena* arena, AcceptArmAuthorizationRequest&& from) noexcept + : AcceptArmAuthorizationRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValidTimeSFieldNumber = 1, + }; + // int32 valid_time_s = 1; + void clear_valid_time_s() ; + ::int32_t valid_time_s() const; + void set_valid_time_s(::int32_t value); + + private: + ::int32_t _internal_valid_time_s() const; + void _internal_set_valid_time_s(::int32_t value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AcceptArmAuthorizationRequest& from_msg); + ::int32_t valid_time_s_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; }; // ------------------------------------------------------------------- -class RejectArmAuthorizationResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) - */ -{ -public: - inline RejectArmAuthorizationResponse() : RejectArmAuthorizationResponse(nullptr) {} - ~RejectArmAuthorizationResponse() PROTOBUF_FINAL; +class RejectArmAuthorizationResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) */ { + public: + inline RejectArmAuthorizationResponse() : RejectArmAuthorizationResponse(nullptr) {} + ~RejectArmAuthorizationResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RejectArmAuthorizationResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RejectArmAuthorizationResponse)); - } + void operator delete(RejectArmAuthorizationResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(RejectArmAuthorizationResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - RejectArmAuthorizationResponse(::google::protobuf::internal::ConstantInitialized); - - inline RejectArmAuthorizationResponse(const RejectArmAuthorizationResponse& from) : - RejectArmAuthorizationResponse(nullptr, from) - {} - inline RejectArmAuthorizationResponse(RejectArmAuthorizationResponse&& from) noexcept : - RejectArmAuthorizationResponse(nullptr, std::move(from)) - {} - inline RejectArmAuthorizationResponse& operator=(const RejectArmAuthorizationResponse& from) - { - CopyFrom(from); - return *this; - } - inline RejectArmAuthorizationResponse& operator=(RejectArmAuthorizationResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const RejectArmAuthorizationResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const RejectArmAuthorizationResponse* internal_default_instance() - { - return reinterpret_cast( - &_RejectArmAuthorizationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 5; - friend void swap(RejectArmAuthorizationResponse& a, RejectArmAuthorizationResponse& b) - { - a.Swap(&b); - } - inline void Swap(RejectArmAuthorizationResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RejectArmAuthorizationResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RejectArmAuthorizationResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RejectArmAuthorizationResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RejectArmAuthorizationResponse& from) - { - RejectArmAuthorizationResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(RejectArmAuthorizationResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse"; - } - -protected: - explicit RejectArmAuthorizationResponse(::google::protobuf::Arena* arena); - RejectArmAuthorizationResponse( - ::google::protobuf::Arena* arena, const RejectArmAuthorizationResponse& from); - RejectArmAuthorizationResponse( - ::google::protobuf::Arena* arena, RejectArmAuthorizationResponse&& from) noexcept : - RejectArmAuthorizationResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kArmAuthorizerServerResultFieldNumber = 1, - }; - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; - bool has_arm_authorizer_server_result() const; - void clear_arm_authorizer_server_result(); - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& - arm_authorizer_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - release_arm_authorizer_server_result(); - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - mutable_arm_authorizer_server_result(); - void set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); - void unsafe_arena_set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - unsafe_arena_release_arm_authorizer_server_result(); - -private: - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& - _internal_arm_authorizer_server_result() const; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - _internal_mutable_arm_authorizer_server_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const RejectArmAuthorizationResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - arm_authorizer_server_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; + template + explicit PROTOBUF_CONSTEXPR RejectArmAuthorizationResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline RejectArmAuthorizationResponse(const RejectArmAuthorizationResponse& from) : RejectArmAuthorizationResponse(nullptr, from) {} + inline RejectArmAuthorizationResponse(RejectArmAuthorizationResponse&& from) noexcept + : RejectArmAuthorizationResponse(nullptr, std::move(from)) {} + inline RejectArmAuthorizationResponse& operator=(const RejectArmAuthorizationResponse& from) { + CopyFrom(from); + return *this; + } + inline RejectArmAuthorizationResponse& operator=(RejectArmAuthorizationResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RejectArmAuthorizationResponse& default_instance() { + return *internal_default_instance(); + } + static inline const RejectArmAuthorizationResponse* internal_default_instance() { + return reinterpret_cast( + &_RejectArmAuthorizationResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(RejectArmAuthorizationResponse& a, RejectArmAuthorizationResponse& b) { a.Swap(&b); } + inline void Swap(RejectArmAuthorizationResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RejectArmAuthorizationResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RejectArmAuthorizationResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const RejectArmAuthorizationResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const RejectArmAuthorizationResponse& from) { RejectArmAuthorizationResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(RejectArmAuthorizationResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse"; } + + protected: + explicit RejectArmAuthorizationResponse(::google::protobuf::Arena* arena); + RejectArmAuthorizationResponse(::google::protobuf::Arena* arena, const RejectArmAuthorizationResponse& from); + RejectArmAuthorizationResponse(::google::protobuf::Arena* arena, RejectArmAuthorizationResponse&& from) noexcept + : RejectArmAuthorizationResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kArmAuthorizerServerResultFieldNumber = 1, + }; + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + bool has_arm_authorizer_server_result() const; + void clear_arm_authorizer_server_result() ; + const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& arm_authorizer_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* release_arm_authorizer_server_result(); + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* mutable_arm_authorizer_server_result(); + void set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); + void unsafe_arena_set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* unsafe_arena_release_arm_authorizer_server_result(); + + private: + const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& _internal_arm_authorizer_server_result() const; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* _internal_mutable_arm_authorizer_server_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const RejectArmAuthorizationResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* arm_authorizer_server_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; }; // ------------------------------------------------------------------- -class AcceptArmAuthorizationResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) - */ -{ -public: - inline AcceptArmAuthorizationResponse() : AcceptArmAuthorizationResponse(nullptr) {} - ~AcceptArmAuthorizationResponse() PROTOBUF_FINAL; +class AcceptArmAuthorizationResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) */ { + public: + inline AcceptArmAuthorizationResponse() : AcceptArmAuthorizationResponse(nullptr) {} + ~AcceptArmAuthorizationResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(AcceptArmAuthorizationResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(AcceptArmAuthorizationResponse)); - } + void operator delete(AcceptArmAuthorizationResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AcceptArmAuthorizationResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - AcceptArmAuthorizationResponse(::google::protobuf::internal::ConstantInitialized); - - inline AcceptArmAuthorizationResponse(const AcceptArmAuthorizationResponse& from) : - AcceptArmAuthorizationResponse(nullptr, from) - {} - inline AcceptArmAuthorizationResponse(AcceptArmAuthorizationResponse&& from) noexcept : - AcceptArmAuthorizationResponse(nullptr, std::move(from)) - {} - inline AcceptArmAuthorizationResponse& operator=(const AcceptArmAuthorizationResponse& from) - { - CopyFrom(from); - return *this; - } - inline AcceptArmAuthorizationResponse& operator=(AcceptArmAuthorizationResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const AcceptArmAuthorizationResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const AcceptArmAuthorizationResponse* internal_default_instance() - { - return reinterpret_cast( - &_AcceptArmAuthorizationResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(AcceptArmAuthorizationResponse& a, AcceptArmAuthorizationResponse& b) - { - a.Swap(&b); - } - inline void Swap(AcceptArmAuthorizationResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AcceptArmAuthorizationResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- + template + explicit PROTOBUF_CONSTEXPR AcceptArmAuthorizationResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline AcceptArmAuthorizationResponse(const AcceptArmAuthorizationResponse& from) : AcceptArmAuthorizationResponse(nullptr, from) {} + inline AcceptArmAuthorizationResponse(AcceptArmAuthorizationResponse&& from) noexcept + : AcceptArmAuthorizationResponse(nullptr, std::move(from)) {} + inline AcceptArmAuthorizationResponse& operator=(const AcceptArmAuthorizationResponse& from) { + CopyFrom(from); + return *this; + } + inline AcceptArmAuthorizationResponse& operator=(AcceptArmAuthorizationResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AcceptArmAuthorizationResponse& default_instance() { + return *internal_default_instance(); + } + static inline const AcceptArmAuthorizationResponse* internal_default_instance() { + return reinterpret_cast( + &_AcceptArmAuthorizationResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(AcceptArmAuthorizationResponse& a, AcceptArmAuthorizationResponse& b) { a.Swap(&b); } + inline void Swap(AcceptArmAuthorizationResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AcceptArmAuthorizationResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AcceptArmAuthorizationResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AcceptArmAuthorizationResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AcceptArmAuthorizationResponse& from) { AcceptArmAuthorizationResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AcceptArmAuthorizationResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse"; } + + protected: + explicit AcceptArmAuthorizationResponse(::google::protobuf::Arena* arena); + AcceptArmAuthorizationResponse(::google::protobuf::Arena* arena, const AcceptArmAuthorizationResponse& from); + AcceptArmAuthorizationResponse(::google::protobuf::Arena* arena, AcceptArmAuthorizationResponse&& from) noexcept + : AcceptArmAuthorizationResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kArmAuthorizerServerResultFieldNumber = 1, + }; + // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; + bool has_arm_authorizer_server_result() const; + void clear_arm_authorizer_server_result() ; + const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& arm_authorizer_server_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* release_arm_authorizer_server_result(); + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* mutable_arm_authorizer_server_result(); + void set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); + void unsafe_arena_set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* unsafe_arena_release_arm_authorizer_server_result(); + + private: + const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& _internal_arm_authorizer_server_result() const; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* _internal_mutable_arm_authorizer_server_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AcceptArmAuthorizationResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* arm_authorizer_server_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; +}; - AcceptArmAuthorizationResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const AcceptArmAuthorizationResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const AcceptArmAuthorizationResponse& from) - { - AcceptArmAuthorizationResponse::MergeImpl(*this, from); - } +// =================================================================== -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(AcceptArmAuthorizationResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse"; - } -protected: - explicit AcceptArmAuthorizationResponse(::google::protobuf::Arena* arena); - AcceptArmAuthorizationResponse( - ::google::protobuf::Arena* arena, const AcceptArmAuthorizationResponse& from); - AcceptArmAuthorizationResponse( - ::google::protobuf::Arena* arena, AcceptArmAuthorizationResponse&& from) noexcept : - AcceptArmAuthorizationResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kArmAuthorizerServerResultFieldNumber = 1, - }; - // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; - bool has_arm_authorizer_server_result() const; - void clear_arm_authorizer_server_result(); - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& - arm_authorizer_server_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - release_arm_authorizer_server_result(); - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - mutable_arm_authorizer_server_result(); - void set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); - void unsafe_arena_set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value); - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - unsafe_arena_release_arm_authorizer_server_result(); - -private: - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& - _internal_arm_authorizer_server_result() const; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - _internal_mutable_arm_authorizer_server_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const AcceptArmAuthorizationResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* - arm_authorizer_server_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto; -}; // =================================================================== -// =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ +#endif // __GNUC__ // ------------------------------------------------------------------- // SubscribeArmAuthorizationRequest @@ -1749,30 +1552,25 @@ class AcceptArmAuthorizationResponse final : public ::google::protobuf::Message // ArmAuthorizationResponse // uint32 system_id = 1; -inline void ArmAuthorizationResponse::clear_system_id() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.system_id_ = 0u; +inline void ArmAuthorizationResponse::clear_system_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.system_id_ = 0u; } -inline ::uint32_t ArmAuthorizationResponse::system_id() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse.system_id) - return _internal_system_id(); +inline ::uint32_t ArmAuthorizationResponse::system_id() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse.system_id) + return _internal_system_id(); } -inline void ArmAuthorizationResponse::set_system_id(::uint32_t value) -{ - _internal_set_system_id(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse.system_id) +inline void ArmAuthorizationResponse::set_system_id(::uint32_t value) { + _internal_set_system_id(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.ArmAuthorizationResponse.system_id) } -inline ::uint32_t ArmAuthorizationResponse::_internal_system_id() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.system_id_; +inline ::uint32_t ArmAuthorizationResponse::_internal_system_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.system_id_; } -inline void ArmAuthorizationResponse::_internal_set_system_id(::uint32_t value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.system_id_ = value; +inline void ArmAuthorizationResponse::_internal_set_system_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.system_id_ = value; } // ------------------------------------------------------------------- @@ -1780,30 +1578,25 @@ inline void ArmAuthorizationResponse::_internal_set_system_id(::uint32_t value) // AcceptArmAuthorizationRequest // int32 valid_time_s = 1; -inline void AcceptArmAuthorizationRequest::clear_valid_time_s() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.valid_time_s_ = 0; +inline void AcceptArmAuthorizationRequest::clear_valid_time_s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.valid_time_s_ = 0; } -inline ::int32_t AcceptArmAuthorizationRequest::valid_time_s() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest.valid_time_s) - return _internal_valid_time_s(); +inline ::int32_t AcceptArmAuthorizationRequest::valid_time_s() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest.valid_time_s) + return _internal_valid_time_s(); } -inline void AcceptArmAuthorizationRequest::set_valid_time_s(::int32_t value) -{ - _internal_set_valid_time_s(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest.valid_time_s) +inline void AcceptArmAuthorizationRequest::set_valid_time_s(::int32_t value) { + _internal_set_valid_time_s(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationRequest.valid_time_s) } -inline ::int32_t AcceptArmAuthorizationRequest::_internal_valid_time_s() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.valid_time_s_; +inline ::int32_t AcceptArmAuthorizationRequest::_internal_valid_time_s() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.valid_time_s_; } -inline void AcceptArmAuthorizationRequest::_internal_set_valid_time_s(::int32_t value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.valid_time_s_ = value; +inline void AcceptArmAuthorizationRequest::_internal_set_valid_time_s(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.valid_time_s_ = value; } // ------------------------------------------------------------------- @@ -1811,133 +1604,99 @@ inline void AcceptArmAuthorizationRequest::_internal_set_valid_time_s(::int32_t // AcceptArmAuthorizationResponse // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; -inline bool AcceptArmAuthorizationResponse::has_arm_authorizer_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arm_authorizer_server_result_ != nullptr); - return value; -} -inline void AcceptArmAuthorizationResponse::clear_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.arm_authorizer_server_result_ != nullptr) - _impl_.arm_authorizer_server_result_->Clear(); +inline bool AcceptArmAuthorizationResponse::has_arm_authorizer_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.arm_authorizer_server_result_ != nullptr); + return value; +} +inline void AcceptArmAuthorizationResponse::clear_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.arm_authorizer_server_result_ != nullptr) _impl_.arm_authorizer_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& AcceptArmAuthorizationResponse::_internal_arm_authorizer_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* p = _impl_.arm_authorizer_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::arm_authorizer_server::_ArmAuthorizerServerResult_default_instance_); +} +inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& AcceptArmAuthorizationResponse::arm_authorizer_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) + return _internal_arm_authorizer_server_result(); +} +inline void AcceptArmAuthorizationResponse::unsafe_arena_set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.arm_authorizer_server_result_); + } + _impl_.arm_authorizer_server_result_ = reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& -AcceptArmAuthorizationResponse::_internal_arm_authorizer_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* p = - _impl_.arm_authorizer_server_result_; - return p != nullptr ? - *p : - reinterpret_cast< - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult&>( - ::mavsdk::rpc::arm_authorizer_server:: - _ArmAuthorizerServerResult_default_instance_); -} -inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& -AcceptArmAuthorizationResponse::arm_authorizer_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) - return _internal_arm_authorizer_server_result(); -} -inline void AcceptArmAuthorizationResponse::unsafe_arena_set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* AcceptArmAuthorizationResponse::release_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* released = _impl_.arm_authorizer_server_result_; + _impl_.arm_authorizer_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>( - _impl_.arm_authorizer_server_result_); - } - _impl_.arm_authorizer_server_result_ = - reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -AcceptArmAuthorizationResponse::release_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* released = - _impl_.arm_authorizer_server_result_; - _impl_.arm_authorizer_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* AcceptArmAuthorizationResponse::unsafe_arena_release_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* temp = _impl_.arm_authorizer_server_result_; + _impl_.arm_authorizer_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* AcceptArmAuthorizationResponse::_internal_mutable_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.arm_authorizer_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(GetArena()); + _impl_.arm_authorizer_server_result_ = reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(p); + } + return _impl_.arm_authorizer_server_result_; +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* AcceptArmAuthorizationResponse::mutable_arm_authorizer_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* _msg = _internal_mutable_arm_authorizer_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) + return _msg; +} +inline void AcceptArmAuthorizationResponse::set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.arm_authorizer_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -AcceptArmAuthorizationResponse::unsafe_arena_release_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* temp = - _impl_.arm_authorizer_server_result_; - _impl_.arm_authorizer_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -AcceptArmAuthorizationResponse::_internal_mutable_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.arm_authorizer_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(GetArena()); - _impl_.arm_authorizer_server_result_ = - reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(p); - } - return _impl_.arm_authorizer_server_result_; -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -AcceptArmAuthorizationResponse::mutable_arm_authorizer_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* _msg = - _internal_mutable_arm_authorizer_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) - return _msg; -} -inline void AcceptArmAuthorizationResponse::set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.arm_authorizer_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.arm_authorizer_server_result_ = - reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) + _impl_.arm_authorizer_server_result_ = reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.arm_authorizer_server.AcceptArmAuthorizationResponse.arm_authorizer_server_result) } // ------------------------------------------------------------------- @@ -1945,88 +1704,69 @@ inline void AcceptArmAuthorizationResponse::set_allocated_arm_authorizer_server_ // RejectArmAuthorizationRequest // bool temporarily = 1; -inline void RejectArmAuthorizationRequest::clear_temporarily() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.temporarily_ = false; +inline void RejectArmAuthorizationRequest::clear_temporarily() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.temporarily_ = false; } -inline bool RejectArmAuthorizationRequest::temporarily() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.temporarily) - return _internal_temporarily(); +inline bool RejectArmAuthorizationRequest::temporarily() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.temporarily) + return _internal_temporarily(); } -inline void RejectArmAuthorizationRequest::set_temporarily(bool value) -{ - _internal_set_temporarily(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.temporarily) +inline void RejectArmAuthorizationRequest::set_temporarily(bool value) { + _internal_set_temporarily(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.temporarily) } -inline bool RejectArmAuthorizationRequest::_internal_temporarily() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.temporarily_; +inline bool RejectArmAuthorizationRequest::_internal_temporarily() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.temporarily_; } -inline void RejectArmAuthorizationRequest::_internal_set_temporarily(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.temporarily_ = value; +inline void RejectArmAuthorizationRequest::_internal_set_temporarily(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.temporarily_ = value; } // .mavsdk.rpc.arm_authorizer_server.RejectionReason reason = 2; -inline void RejectArmAuthorizationRequest::clear_reason() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reason_ = 0; -} -inline ::mavsdk::rpc::arm_authorizer_server::RejectionReason -RejectArmAuthorizationRequest::reason() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.reason) - return _internal_reason(); -} -inline void RejectArmAuthorizationRequest::set_reason( - ::mavsdk::rpc::arm_authorizer_server::RejectionReason value) -{ - _internal_set_reason(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.reason) -} -inline ::mavsdk::rpc::arm_authorizer_server::RejectionReason -RejectArmAuthorizationRequest::_internal_reason() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::mavsdk::rpc::arm_authorizer_server::RejectionReason>(_impl_.reason_); -} -inline void RejectArmAuthorizationRequest::_internal_set_reason( - ::mavsdk::rpc::arm_authorizer_server::RejectionReason value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reason_ = value; +inline void RejectArmAuthorizationRequest::clear_reason() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reason_ = 0; +} +inline ::mavsdk::rpc::arm_authorizer_server::RejectionReason RejectArmAuthorizationRequest::reason() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.reason) + return _internal_reason(); +} +inline void RejectArmAuthorizationRequest::set_reason(::mavsdk::rpc::arm_authorizer_server::RejectionReason value) { + _internal_set_reason(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.reason) +} +inline ::mavsdk::rpc::arm_authorizer_server::RejectionReason RejectArmAuthorizationRequest::_internal_reason() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::mavsdk::rpc::arm_authorizer_server::RejectionReason>(_impl_.reason_); +} +inline void RejectArmAuthorizationRequest::_internal_set_reason(::mavsdk::rpc::arm_authorizer_server::RejectionReason value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reason_ = value; } // int32 extra_info = 3; -inline void RejectArmAuthorizationRequest::clear_extra_info() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.extra_info_ = 0; +inline void RejectArmAuthorizationRequest::clear_extra_info() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.extra_info_ = 0; } -inline ::int32_t RejectArmAuthorizationRequest::extra_info() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.extra_info) - return _internal_extra_info(); +inline ::int32_t RejectArmAuthorizationRequest::extra_info() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.extra_info) + return _internal_extra_info(); } -inline void RejectArmAuthorizationRequest::set_extra_info(::int32_t value) -{ - _internal_set_extra_info(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.extra_info) +inline void RejectArmAuthorizationRequest::set_extra_info(::int32_t value) { + _internal_set_extra_info(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationRequest.extra_info) } -inline ::int32_t RejectArmAuthorizationRequest::_internal_extra_info() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.extra_info_; +inline ::int32_t RejectArmAuthorizationRequest::_internal_extra_info() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.extra_info_; } -inline void RejectArmAuthorizationRequest::_internal_set_extra_info(::int32_t value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.extra_info_ = value; +inline void RejectArmAuthorizationRequest::_internal_set_extra_info(::int32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.extra_info_ = value; } // ------------------------------------------------------------------- @@ -2034,133 +1774,99 @@ inline void RejectArmAuthorizationRequest::_internal_set_extra_info(::int32_t va // RejectArmAuthorizationResponse // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult arm_authorizer_server_result = 1; -inline bool RejectArmAuthorizationResponse::has_arm_authorizer_server_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.arm_authorizer_server_result_ != nullptr); - return value; -} -inline void RejectArmAuthorizationResponse::clear_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.arm_authorizer_server_result_ != nullptr) - _impl_.arm_authorizer_server_result_->Clear(); +inline bool RejectArmAuthorizationResponse::has_arm_authorizer_server_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.arm_authorizer_server_result_ != nullptr); + return value; +} +inline void RejectArmAuthorizationResponse::clear_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.arm_authorizer_server_result_ != nullptr) _impl_.arm_authorizer_server_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& RejectArmAuthorizationResponse::_internal_arm_authorizer_server_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* p = _impl_.arm_authorizer_server_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::arm_authorizer_server::_ArmAuthorizerServerResult_default_instance_); +} +inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& RejectArmAuthorizationResponse::arm_authorizer_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) + return _internal_arm_authorizer_server_result(); +} +inline void RejectArmAuthorizationResponse::unsafe_arena_set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.arm_authorizer_server_result_); + } + _impl_.arm_authorizer_server_result_ = reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& -RejectArmAuthorizationResponse::_internal_arm_authorizer_server_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* p = - _impl_.arm_authorizer_server_result_; - return p != nullptr ? - *p : - reinterpret_cast< - const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult&>( - ::mavsdk::rpc::arm_authorizer_server:: - _ArmAuthorizerServerResult_default_instance_); -} -inline const ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult& -RejectArmAuthorizationResponse::arm_authorizer_server_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) - return _internal_arm_authorizer_server_result(); -} -inline void RejectArmAuthorizationResponse::unsafe_arena_set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* RejectArmAuthorizationResponse::release_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* released = _impl_.arm_authorizer_server_result_; + _impl_.arm_authorizer_server_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>( - _impl_.arm_authorizer_server_result_); - } - _impl_.arm_authorizer_server_result_ = - reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -RejectArmAuthorizationResponse::release_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* released = - _impl_.arm_authorizer_server_result_; - _impl_.arm_authorizer_server_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -RejectArmAuthorizationResponse::unsafe_arena_release_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* temp = - _impl_.arm_authorizer_server_result_; - _impl_.arm_authorizer_server_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -RejectArmAuthorizationResponse::_internal_mutable_arm_authorizer_server_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.arm_authorizer_server_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(GetArena()); - _impl_.arm_authorizer_server_result_ = - reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* RejectArmAuthorizationResponse::unsafe_arena_release_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* temp = _impl_.arm_authorizer_server_result_; + _impl_.arm_authorizer_server_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* RejectArmAuthorizationResponse::_internal_mutable_arm_authorizer_server_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.arm_authorizer_server_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult>(GetArena()); + _impl_.arm_authorizer_server_result_ = reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(p); + } + return _impl_.arm_authorizer_server_result_; +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* RejectArmAuthorizationResponse::mutable_arm_authorizer_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* _msg = _internal_mutable_arm_authorizer_server_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) + return _msg; +} +inline void RejectArmAuthorizationResponse::set_allocated_arm_authorizer_server_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.arm_authorizer_server_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.arm_authorizer_server_result_; -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* -RejectArmAuthorizationResponse::mutable_arm_authorizer_server_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* _msg = - _internal_mutable_arm_authorizer_server_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) - return _msg; -} -inline void RejectArmAuthorizationResponse::set_allocated_arm_authorizer_server_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.arm_authorizer_server_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.arm_authorizer_server_result_ = - reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) + _impl_.arm_authorizer_server_result_ = reinterpret_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.arm_authorizer_server.RejectArmAuthorizationResponse.arm_authorizer_server_result) } // ------------------------------------------------------------------- @@ -2168,130 +1874,106 @@ inline void RejectArmAuthorizationResponse::set_allocated_arm_authorizer_server_ // ArmAuthorizerServerResult // .mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.Result result = 1; -inline void ArmAuthorizerServerResult::clear_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result -ArmAuthorizerServerResult::result() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result) - return _internal_result(); -} -inline void ArmAuthorizerServerResult::set_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value) -{ - _internal_set_result(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result) -} -inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result -ArmAuthorizerServerResult::_internal_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result>( - _impl_.result_); -} -inline void ArmAuthorizerServerResult::_internal_set_result( - ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; +inline void ArmAuthorizerServerResult::clear_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = 0; +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result ArmAuthorizerServerResult::result() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result) + return _internal_result(); +} +inline void ArmAuthorizerServerResult::set_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result) +} +inline ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result ArmAuthorizerServerResult::_internal_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result>(_impl_.result_); +} +inline void ArmAuthorizerServerResult::_internal_set_result(::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = value; } // string result_str = 2; -inline void ArmAuthorizerServerResult::clear_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.ClearToEmpty(); -} -inline const std::string& -ArmAuthorizerServerResult::result_str() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) - return _internal_result_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE void -ArmAuthorizerServerResult::set_result_str(Arg_&& arg, Args_... args) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) -} -inline std::string* ArmAuthorizerServerResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - std::string* _s = _internal_mutable_result_str(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) - return _s; -} -inline const std::string& ArmAuthorizerServerResult::_internal_result_str() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.result_str_.Get(); -} -inline void ArmAuthorizerServerResult::_internal_set_result_str(const std::string& value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(value, GetArena()); -} -inline std::string* ArmAuthorizerServerResult::_internal_mutable_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.result_str_.Mutable(GetArena()); -} -inline std::string* ArmAuthorizerServerResult::release_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) - return _impl_.result_str_.Release(); -} -inline void ArmAuthorizerServerResult::set_allocated_result_str(std::string* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && - _impl_.result_str_.IsDefault()) { - _impl_.result_str_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) +inline void ArmAuthorizerServerResult::clear_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.ClearToEmpty(); +} +inline const std::string& ArmAuthorizerServerResult::result_str() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) + return _internal_result_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ArmAuthorizerServerResult::set_result_str(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) +} +inline std::string* ArmAuthorizerServerResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_result_str(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) + return _s; +} +inline const std::string& ArmAuthorizerServerResult::_internal_result_str() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.result_str_.Get(); +} +inline void ArmAuthorizerServerResult::_internal_set_result_str(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(value, GetArena()); +} +inline std::string* ArmAuthorizerServerResult::_internal_mutable_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.result_str_.Mutable( GetArena()); +} +inline std::string* ArmAuthorizerServerResult::release_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) + return _impl_.result_str_.Release(); +} +inline void ArmAuthorizerServerResult::set_allocated_result_str(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.result_str_.IsDefault()) { + _impl_.result_str_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.arm_authorizer_server.ArmAuthorizerServerResult.result_str) } #ifdef __GNUC__ #pragma GCC diagnostic pop -#endif // __GNUC__ +#endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) -} // namespace arm_authorizer_server -} // namespace rpc -} // namespace mavsdk +} // namespace arm_authorizer_server +} // namespace rpc +} // namespace mavsdk + namespace google { namespace protobuf { -template<> -struct is_proto_enum<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result> - : std::true_type {}; -template<> -inline const EnumDescriptor* -GetEnumDescriptor<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result>() -{ - return ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result_descriptor(); +template <> +struct is_proto_enum<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result>() { + return ::mavsdk::rpc::arm_authorizer_server::ArmAuthorizerServerResult_Result_descriptor(); } -template<> +template <> struct is_proto_enum<::mavsdk::rpc::arm_authorizer_server::RejectionReason> : std::true_type {}; -template<> -inline const EnumDescriptor* -GetEnumDescriptor<::mavsdk::rpc::arm_authorizer_server::RejectionReason>() -{ - return ::mavsdk::rpc::arm_authorizer_server::RejectionReason_descriptor(); +template <> +inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::arm_authorizer_server::RejectionReason>() { + return ::mavsdk::rpc::arm_authorizer_server::RejectionReason_descriptor(); } -} // namespace protobuf -} // namespace google +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" -#endif // arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_2epb_2eh +#endif // arm_5fauthorizer_5fserver_2farm_5fauthorizer_5fserver_2eproto_2epb_2eh diff --git a/src/mavsdk_server/src/generated/calibration/calibration.pb.cc b/src/mavsdk_server/src/generated/calibration/calibration.pb.cc index b9590bd1e..f9f4f635e 100644 --- a/src/mavsdk_server/src/generated/calibration/calibration.pb.cc +++ b/src/mavsdk_server/src/generated/calibration/calibration.pb.cc @@ -27,733 +27,618 @@ namespace _fl = ::google::protobuf::internal::field_layout; namespace mavsdk { namespace rpc { namespace calibration { -template -PROTOBUF_CONSTEXPR SubscribeCalibrateMagnetometerRequest::SubscribeCalibrateMagnetometerRequest( - ::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeCalibrateMagnetometerRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeCalibrateMagnetometerRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeCalibrateMagnetometerRequestDefaultTypeInternal() {} - union { - SubscribeCalibrateMagnetometerRequest _instance; - }; + template +PROTOBUF_CONSTEXPR SubscribeCalibrateMagnetometerRequest::SubscribeCalibrateMagnetometerRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeCalibrateMagnetometerRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeCalibrateMagnetometerRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeCalibrateMagnetometerRequestDefaultTypeInternal() {} + union { + SubscribeCalibrateMagnetometerRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeCalibrateMagnetometerRequestDefaultTypeInternal - _SubscribeCalibrateMagnetometerRequest_default_instance_; -template -PROTOBUF_CONSTEXPR SubscribeCalibrateLevelHorizonRequest::SubscribeCalibrateLevelHorizonRequest( - ::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal() {} - union { - SubscribeCalibrateLevelHorizonRequest _instance; - }; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeCalibrateMagnetometerRequestDefaultTypeInternal _SubscribeCalibrateMagnetometerRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeCalibrateLevelHorizonRequest::SubscribeCalibrateLevelHorizonRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal() {} + union { + SubscribeCalibrateLevelHorizonRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal - _SubscribeCalibrateLevelHorizonRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -SubscribeCalibrateGyroRequest::SubscribeCalibrateGyroRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeCalibrateGyroRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeCalibrateGyroRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeCalibrateGyroRequestDefaultTypeInternal() {} - union { - SubscribeCalibrateGyroRequest _instance; - }; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal _SubscribeCalibrateLevelHorizonRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeCalibrateGyroRequest::SubscribeCalibrateGyroRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeCalibrateGyroRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeCalibrateGyroRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeCalibrateGyroRequestDefaultTypeInternal() {} + union { + SubscribeCalibrateGyroRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeCalibrateGyroRequestDefaultTypeInternal - _SubscribeCalibrateGyroRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -SubscribeCalibrateGimbalAccelerometerRequest::SubscribeCalibrateGimbalAccelerometerRequest( - ::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal() {} - union { - SubscribeCalibrateGimbalAccelerometerRequest _instance; - }; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeCalibrateGyroRequestDefaultTypeInternal _SubscribeCalibrateGyroRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeCalibrateGimbalAccelerometerRequest::SubscribeCalibrateGimbalAccelerometerRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal() {} + union { + SubscribeCalibrateGimbalAccelerometerRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal - _SubscribeCalibrateGimbalAccelerometerRequest_default_instance_; -template -PROTOBUF_CONSTEXPR SubscribeCalibrateAccelerometerRequest::SubscribeCalibrateAccelerometerRequest( - ::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeCalibrateAccelerometerRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeCalibrateAccelerometerRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeCalibrateAccelerometerRequestDefaultTypeInternal() {} - union { - SubscribeCalibrateAccelerometerRequest _instance; - }; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal _SubscribeCalibrateGimbalAccelerometerRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeCalibrateAccelerometerRequest::SubscribeCalibrateAccelerometerRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeCalibrateAccelerometerRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeCalibrateAccelerometerRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeCalibrateAccelerometerRequestDefaultTypeInternal() {} + union { + SubscribeCalibrateAccelerometerRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeCalibrateAccelerometerRequestDefaultTypeInternal - _SubscribeCalibrateAccelerometerRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeCalibrateAccelerometerRequestDefaultTypeInternal _SubscribeCalibrateAccelerometerRequest_default_instance_; -inline constexpr ProgressData::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - status_text_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - progress_{0}, - has_progress_{false}, - has_status_text_{false}, - _cached_size_{0} -{} +inline constexpr ProgressData::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : status_text_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + progress_{0}, + has_progress_{false}, + has_status_text_{false}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR ProgressData::ProgressData(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ProgressDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR ProgressDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~ProgressDataDefaultTypeInternal() {} - union { - ProgressData _instance; - }; + PROTOBUF_CONSTEXPR ProgressDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ProgressDataDefaultTypeInternal() {} + union { + ProgressData _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ProgressDataDefaultTypeInternal _ProgressData_default_instance_; -template +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgressDataDefaultTypeInternal _ProgressData_default_instance_; + template PROTOBUF_CONSTEXPR CancelRequest::CancelRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct CancelRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CancelRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~CancelRequestDefaultTypeInternal() {} - union { - CancelRequest _instance; - }; + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct CancelRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CancelRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CancelRequestDefaultTypeInternal() {} + union { + CancelRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CancelRequestDefaultTypeInternal _CancelRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CancelRequestDefaultTypeInternal _CancelRequest_default_instance_; -inline constexpr CalibrationResult::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - result_str_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - result_{static_cast<::mavsdk::rpc::calibration::CalibrationResult_Result>(0)}, - _cached_size_{0} -{} +inline constexpr CalibrationResult::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : result_str_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + result_{static_cast< ::mavsdk::rpc::calibration::CalibrationResult_Result >(0)}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR CalibrationResult::CalibrationResult(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CalibrationResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR CalibrationResultDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CalibrationResultDefaultTypeInternal() {} - union { - CalibrationResult _instance; - }; + PROTOBUF_CONSTEXPR CalibrationResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CalibrationResultDefaultTypeInternal() {} + union { + CalibrationResult _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CalibrationResultDefaultTypeInternal _CalibrationResult_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CalibrationResultDefaultTypeInternal _CalibrationResult_default_instance_; -inline constexpr CancelResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - calibration_result_{nullptr} -{} +inline constexpr CancelResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + calibration_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR CancelResponse::CancelResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CancelResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CancelResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CancelResponseDefaultTypeInternal() {} - union { - CancelResponse _instance; - }; + PROTOBUF_CONSTEXPR CancelResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CancelResponseDefaultTypeInternal() {} + union { + CancelResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CancelResponseDefaultTypeInternal _CancelResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CancelResponseDefaultTypeInternal _CancelResponse_default_instance_; -inline constexpr CalibrateMagnetometerResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - calibration_result_{nullptr}, - progress_data_{nullptr} -{} +inline constexpr CalibrateMagnetometerResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + calibration_result_{nullptr}, + progress_data_{nullptr} {} -template -PROTOBUF_CONSTEXPR - CalibrateMagnetometerResponse::CalibrateMagnetometerResponse(::_pbi::ConstantInitialized) +template +PROTOBUF_CONSTEXPR CalibrateMagnetometerResponse::CalibrateMagnetometerResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CalibrateMagnetometerResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CalibrateMagnetometerResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CalibrateMagnetometerResponseDefaultTypeInternal() {} - union { - CalibrateMagnetometerResponse _instance; - }; + PROTOBUF_CONSTEXPR CalibrateMagnetometerResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CalibrateMagnetometerResponseDefaultTypeInternal() {} + union { + CalibrateMagnetometerResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CalibrateMagnetometerResponseDefaultTypeInternal - _CalibrateMagnetometerResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CalibrateMagnetometerResponseDefaultTypeInternal _CalibrateMagnetometerResponse_default_instance_; -inline constexpr CalibrateLevelHorizonResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - calibration_result_{nullptr}, - progress_data_{nullptr} -{} +inline constexpr CalibrateLevelHorizonResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + calibration_result_{nullptr}, + progress_data_{nullptr} {} -template -PROTOBUF_CONSTEXPR - CalibrateLevelHorizonResponse::CalibrateLevelHorizonResponse(::_pbi::ConstantInitialized) +template +PROTOBUF_CONSTEXPR CalibrateLevelHorizonResponse::CalibrateLevelHorizonResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CalibrateLevelHorizonResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CalibrateLevelHorizonResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CalibrateLevelHorizonResponseDefaultTypeInternal() {} - union { - CalibrateLevelHorizonResponse _instance; - }; + PROTOBUF_CONSTEXPR CalibrateLevelHorizonResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CalibrateLevelHorizonResponseDefaultTypeInternal() {} + union { + CalibrateLevelHorizonResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CalibrateLevelHorizonResponseDefaultTypeInternal - _CalibrateLevelHorizonResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CalibrateLevelHorizonResponseDefaultTypeInternal _CalibrateLevelHorizonResponse_default_instance_; -inline constexpr CalibrateGyroResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - calibration_result_{nullptr}, - progress_data_{nullptr} -{} +inline constexpr CalibrateGyroResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + calibration_result_{nullptr}, + progress_data_{nullptr} {} -template +template PROTOBUF_CONSTEXPR CalibrateGyroResponse::CalibrateGyroResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CalibrateGyroResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CalibrateGyroResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CalibrateGyroResponseDefaultTypeInternal() {} - union { - CalibrateGyroResponse _instance; - }; + PROTOBUF_CONSTEXPR CalibrateGyroResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CalibrateGyroResponseDefaultTypeInternal() {} + union { + CalibrateGyroResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CalibrateGyroResponseDefaultTypeInternal _CalibrateGyroResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CalibrateGyroResponseDefaultTypeInternal _CalibrateGyroResponse_default_instance_; inline constexpr CalibrateGimbalAccelerometerResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - calibration_result_{nullptr}, - progress_data_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR CalibrateGimbalAccelerometerResponse::CalibrateGimbalAccelerometerResponse( - ::_pbi::ConstantInitialized) + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + calibration_result_{nullptr}, + progress_data_{nullptr} {} + +template +PROTOBUF_CONSTEXPR CalibrateGimbalAccelerometerResponse::CalibrateGimbalAccelerometerResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CalibrateGimbalAccelerometerResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CalibrateGimbalAccelerometerResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CalibrateGimbalAccelerometerResponseDefaultTypeInternal() {} - union { - CalibrateGimbalAccelerometerResponse _instance; - }; + PROTOBUF_CONSTEXPR CalibrateGimbalAccelerometerResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CalibrateGimbalAccelerometerResponseDefaultTypeInternal() {} + union { + CalibrateGimbalAccelerometerResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CalibrateGimbalAccelerometerResponseDefaultTypeInternal - _CalibrateGimbalAccelerometerResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CalibrateGimbalAccelerometerResponseDefaultTypeInternal _CalibrateGimbalAccelerometerResponse_default_instance_; -inline constexpr CalibrateAccelerometerResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - _cached_size_{0}, - calibration_result_{nullptr}, - progress_data_{nullptr} -{} +inline constexpr CalibrateAccelerometerResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + calibration_result_{nullptr}, + progress_data_{nullptr} {} -template -PROTOBUF_CONSTEXPR - CalibrateAccelerometerResponse::CalibrateAccelerometerResponse(::_pbi::ConstantInitialized) +template +PROTOBUF_CONSTEXPR CalibrateAccelerometerResponse::CalibrateAccelerometerResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CalibrateAccelerometerResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CalibrateAccelerometerResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CalibrateAccelerometerResponseDefaultTypeInternal() {} - union { - CalibrateAccelerometerResponse _instance; - }; + PROTOBUF_CONSTEXPR CalibrateAccelerometerResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CalibrateAccelerometerResponseDefaultTypeInternal() {} + union { + CalibrateAccelerometerResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CalibrateAccelerometerResponseDefaultTypeInternal - _CalibrateAccelerometerResponse_default_instance_; -} // namespace calibration -} // namespace rpc -} // namespace mavsdk -static const ::_pb::EnumDescriptor* - file_level_enum_descriptors_calibration_2fcalibration_2eproto[1]; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CalibrateAccelerometerResponseDefaultTypeInternal _CalibrateAccelerometerResponse_default_instance_; +} // namespace calibration +} // namespace rpc +} // namespace mavsdk +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_calibration_2fcalibration_2eproto[1]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_calibration_2fcalibration_2eproto = nullptr; const ::uint32_t TableStruct_calibration_2fcalibration_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::SubscribeCalibrateGyroRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::SubscribeCalibrateGyroRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGyroResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateGyroResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateGyroResponse, _impl_.calibration_result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateGyroResponse, _impl_.progress_data_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGyroResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGyroResponse, _impl_.calibration_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGyroResponse, _impl_.progress_data_), 0, 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::SubscribeCalibrateAccelerometerRequest, - _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _impl_.calibration_result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _impl_.progress_data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::SubscribeCalibrateAccelerometerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _impl_.calibration_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateAccelerometerResponse, _impl_.progress_data_), 0, 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::SubscribeCalibrateMagnetometerRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _impl_.calibration_result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _impl_.progress_data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::SubscribeCalibrateMagnetometerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _impl_.calibration_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateMagnetometerResponse, _impl_.progress_data_), 0, 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::SubscribeCalibrateLevelHorizonRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _impl_.calibration_result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _impl_.progress_data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::SubscribeCalibrateLevelHorizonRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _impl_.calibration_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse, _impl_.progress_data_), 0, 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::SubscribeCalibrateGimbalAccelerometerRequest, - _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, - _impl_.calibration_result_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, - _impl_.progress_data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::SubscribeCalibrateGimbalAccelerometerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, _impl_.calibration_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse, _impl_.progress_data_), 0, 1, - ~0u, // no _has_bits_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CancelRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CancelResponse, _impl_._has_bits_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CancelResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::calibration::CancelResponse, _impl_.calibration_result_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CancelResponse, _impl_.calibration_result_), 0, - ~0u, // no _has_bits_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrationResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrationResult, _impl_.result_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::CalibrationResult, _impl_.result_str_), - ~0u, // no _has_bits_ + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::ProgressData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::ProgressData, _impl_.has_progress_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::ProgressData, _impl_.progress_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::ProgressData, _impl_.has_status_text_), PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::calibration::ProgressData, _impl_.status_text_), }; -static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateGyroRequest)}, - {8, 18, -1, sizeof(::mavsdk::rpc::calibration::CalibrateGyroResponse)}, - {20, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateAccelerometerRequest)}, - {28, 38, -1, sizeof(::mavsdk::rpc::calibration::CalibrateAccelerometerResponse)}, - {40, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateMagnetometerRequest)}, - {48, 58, -1, sizeof(::mavsdk::rpc::calibration::CalibrateMagnetometerResponse)}, - {60, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateLevelHorizonRequest)}, - {68, 78, -1, sizeof(::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse)}, - {80, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateGimbalAccelerometerRequest)}, - {88, 98, -1, sizeof(::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse)}, - {100, -1, -1, sizeof(::mavsdk::rpc::calibration::CancelRequest)}, - {108, 117, -1, sizeof(::mavsdk::rpc::calibration::CancelResponse)}, - {118, -1, -1, sizeof(::mavsdk::rpc::calibration::CalibrationResult)}, - {128, -1, -1, sizeof(::mavsdk::rpc::calibration::ProgressData)}, +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateGyroRequest)}, + {8, 18, -1, sizeof(::mavsdk::rpc::calibration::CalibrateGyroResponse)}, + {20, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateAccelerometerRequest)}, + {28, 38, -1, sizeof(::mavsdk::rpc::calibration::CalibrateAccelerometerResponse)}, + {40, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateMagnetometerRequest)}, + {48, 58, -1, sizeof(::mavsdk::rpc::calibration::CalibrateMagnetometerResponse)}, + {60, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateLevelHorizonRequest)}, + {68, 78, -1, sizeof(::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse)}, + {80, -1, -1, sizeof(::mavsdk::rpc::calibration::SubscribeCalibrateGimbalAccelerometerRequest)}, + {88, 98, -1, sizeof(::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse)}, + {100, -1, -1, sizeof(::mavsdk::rpc::calibration::CancelRequest)}, + {108, 117, -1, sizeof(::mavsdk::rpc::calibration::CancelResponse)}, + {118, -1, -1, sizeof(::mavsdk::rpc::calibration::CalibrationResult)}, + {128, -1, -1, sizeof(::mavsdk::rpc::calibration::ProgressData)}, }; static const ::_pb::Message* const file_default_instances[] = { &::mavsdk::rpc::calibration::_SubscribeCalibrateGyroRequest_default_instance_._instance, &::mavsdk::rpc::calibration::_CalibrateGyroResponse_default_instance_._instance, - &::mavsdk::rpc::calibration::_SubscribeCalibrateAccelerometerRequest_default_instance_ - ._instance, + &::mavsdk::rpc::calibration::_SubscribeCalibrateAccelerometerRequest_default_instance_._instance, &::mavsdk::rpc::calibration::_CalibrateAccelerometerResponse_default_instance_._instance, &::mavsdk::rpc::calibration::_SubscribeCalibrateMagnetometerRequest_default_instance_._instance, &::mavsdk::rpc::calibration::_CalibrateMagnetometerResponse_default_instance_._instance, &::mavsdk::rpc::calibration::_SubscribeCalibrateLevelHorizonRequest_default_instance_._instance, &::mavsdk::rpc::calibration::_CalibrateLevelHorizonResponse_default_instance_._instance, - &::mavsdk::rpc::calibration::_SubscribeCalibrateGimbalAccelerometerRequest_default_instance_ - ._instance, + &::mavsdk::rpc::calibration::_SubscribeCalibrateGimbalAccelerometerRequest_default_instance_._instance, &::mavsdk::rpc::calibration::_CalibrateGimbalAccelerometerResponse_default_instance_._instance, &::mavsdk::rpc::calibration::_CancelRequest_default_instance_._instance, &::mavsdk::rpc::calibration::_CancelResponse_default_instance_._instance, &::mavsdk::rpc::calibration::_CalibrationResult_default_instance_._instance, &::mavsdk::rpc::calibration::_ProgressData_default_instance_._instance, }; -const char - descriptor_table_protodef_calibration_2fcalibration_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - "\n\035calibration/calibration.proto\022\026mavsdk." - "rpc.calibration\032\024mavsdk_options.proto\"\037\n" - "\035SubscribeCalibrateGyroRequest\"\233\001\n\025Calib" - "rateGyroResponse\022E\n\022calibration_result\030\001" - " \001(\0132).mavsdk.rpc.calibration.Calibratio" - "nResult\022;\n\rprogress_data\030\002 \001(\0132$.mavsdk." - "rpc.calibration.ProgressData\"(\n&Subscrib" - "eCalibrateAccelerometerRequest\"\244\001\n\036Calib" - "rateAccelerometerResponse\022E\n\022calibration" - "_result\030\001 \001(\0132).mavsdk.rpc.calibration.C" - "alibrationResult\022;\n\rprogress_data\030\002 \001(\0132" - "$.mavsdk.rpc.calibration.ProgressData\"\'\n" - "%SubscribeCalibrateMagnetometerRequest\"\243" - "\001\n\035CalibrateMagnetometerResponse\022E\n\022cali" - "bration_result\030\001 \001(\0132).mavsdk.rpc.calibr" - "ation.CalibrationResult\022;\n\rprogress_data" - "\030\002 \001(\0132$.mavsdk.rpc.calibration.Progress" - "Data\"\'\n%SubscribeCalibrateLevelHorizonRe" - "quest\"\243\001\n\035CalibrateLevelHorizonResponse\022" - "E\n\022calibration_result\030\001 \001(\0132).mavsdk.rpc" - ".calibration.CalibrationResult\022;\n\rprogre" - "ss_data\030\002 \001(\0132$.mavsdk.rpc.calibration.P" - "rogressData\".\n,SubscribeCalibrateGimbalA" - "ccelerometerRequest\"\252\001\n$CalibrateGimbalA" - "ccelerometerResponse\022E\n\022calibration_resu" - "lt\030\001 \001(\0132).mavsdk.rpc.calibration.Calibr" - "ationResult\022;\n\rprogress_data\030\002 \001(\0132$.mav" - "sdk.rpc.calibration.ProgressData\"\017\n\rCanc" - "elRequest\"W\n\016CancelResponse\022E\n\022calibrati" - "on_result\030\001 \001(\0132).mavsdk.rpc.calibration" - ".CalibrationResult\"\372\002\n\021CalibrationResult" - "\022@\n\006result\030\001 \001(\01620.mavsdk.rpc.calibratio" - "n.CalibrationResult.Result\022\022\n\nresult_str" - "\030\002 \001(\t\"\216\002\n\006Result\022\022\n\016RESULT_UNKNOWN\020\000\022\022\n" - "\016RESULT_SUCCESS\020\001\022\017\n\013RESULT_NEXT\020\002\022\021\n\rRE" - "SULT_FAILED\020\003\022\024\n\020RESULT_NO_SYSTEM\020\004\022\033\n\027R" - "ESULT_CONNECTION_ERROR\020\005\022\017\n\013RESULT_BUSY\020" - "\006\022\031\n\025RESULT_COMMAND_DENIED\020\007\022\022\n\016RESULT_T" - "IMEOUT\020\010\022\024\n\020RESULT_CANCELLED\020\t\022\027\n\023RESULT" - "_FAILED_ARMED\020\n\022\026\n\022RESULT_UNSUPPORTED\020\013\"" - "\203\001\n\014ProgressData\022\037\n\014has_progress\030\001 \001(\010B\t" - "\202\265\030\005false\022\031\n\010progress\030\002 \001(\002B\007\202\265\030\003NaN\022\"\n\017" - "has_status_text\030\003 \001(\010B\t\202\265\030\005false\022\023\n\013stat" - "us_text\030\004 \001(\t2\254\007\n\022CalibrationService\022\212\001\n" - "\026SubscribeCalibrateGyro\0225.mavsdk.rpc.cal" - "ibration.SubscribeCalibrateGyroRequest\032-" - ".mavsdk.rpc.calibration.CalibrateGyroRes" - "ponse\"\010\200\265\030\000\210\265\030\0010\001\022\245\001\n\037SubscribeCalibrate" - "Accelerometer\022>.mavsdk.rpc.calibration.S" - "ubscribeCalibrateAccelerometerRequest\0326." - "mavsdk.rpc.calibration.CalibrateAccelero" - "meterResponse\"\010\200\265\030\000\210\265\030\0010\001\022\242\001\n\036SubscribeC" - "alibrateMagnetometer\022=.mavsdk.rpc.calibr" - "ation.SubscribeCalibrateMagnetometerRequ" - "est\0325.mavsdk.rpc.calibration.CalibrateMa" - "gnetometerResponse\"\010\200\265\030\000\210\265\030\0010\001\022\242\001\n\036Subsc" - "ribeCalibrateLevelHorizon\022=.mavsdk.rpc.c" - "alibration.SubscribeCalibrateLevelHorizo" - "nRequest\0325.mavsdk.rpc.calibration.Calibr" - "ateLevelHorizonResponse\"\010\200\265\030\000\210\265\030\0010\001\022\267\001\n%" - "SubscribeCalibrateGimbalAccelerometer\022D." - "mavsdk.rpc.calibration.SubscribeCalibrat" - "eGimbalAccelerometerRequest\032<.mavsdk.rpc" - ".calibration.CalibrateGimbalAcceleromete" - "rResponse\"\010\200\265\030\000\210\265\030\0010\001\022]\n\006Cancel\022%.mavsdk" - ".rpc.calibration.CancelRequest\032&.mavsdk." - "rpc.calibration.CancelResponse\"\004\200\265\030\001B)\n\025" - "io.mavsdk.calibrationB\020CalibrationProtob" - "\006proto3"}; -static const ::_pbi::DescriptorTable* const - descriptor_table_calibration_2fcalibration_2eproto_deps[1] = { +const char descriptor_table_protodef_calibration_2fcalibration_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n\035calibration/calibration.proto\022\026mavsdk." + "rpc.calibration\032\024mavsdk_options.proto\"\037\n" + "\035SubscribeCalibrateGyroRequest\"\233\001\n\025Calib" + "rateGyroResponse\022E\n\022calibration_result\030\001" + " \001(\0132).mavsdk.rpc.calibration.Calibratio" + "nResult\022;\n\rprogress_data\030\002 \001(\0132$.mavsdk." + "rpc.calibration.ProgressData\"(\n&Subscrib" + "eCalibrateAccelerometerRequest\"\244\001\n\036Calib" + "rateAccelerometerResponse\022E\n\022calibration" + "_result\030\001 \001(\0132).mavsdk.rpc.calibration.C" + "alibrationResult\022;\n\rprogress_data\030\002 \001(\0132" + "$.mavsdk.rpc.calibration.ProgressData\"\'\n" + "%SubscribeCalibrateMagnetometerRequest\"\243" + "\001\n\035CalibrateMagnetometerResponse\022E\n\022cali" + "bration_result\030\001 \001(\0132).mavsdk.rpc.calibr" + "ation.CalibrationResult\022;\n\rprogress_data" + "\030\002 \001(\0132$.mavsdk.rpc.calibration.Progress" + "Data\"\'\n%SubscribeCalibrateLevelHorizonRe" + "quest\"\243\001\n\035CalibrateLevelHorizonResponse\022" + "E\n\022calibration_result\030\001 \001(\0132).mavsdk.rpc" + ".calibration.CalibrationResult\022;\n\rprogre" + "ss_data\030\002 \001(\0132$.mavsdk.rpc.calibration.P" + "rogressData\".\n,SubscribeCalibrateGimbalA" + "ccelerometerRequest\"\252\001\n$CalibrateGimbalA" + "ccelerometerResponse\022E\n\022calibration_resu" + "lt\030\001 \001(\0132).mavsdk.rpc.calibration.Calibr" + "ationResult\022;\n\rprogress_data\030\002 \001(\0132$.mav" + "sdk.rpc.calibration.ProgressData\"\017\n\rCanc" + "elRequest\"W\n\016CancelResponse\022E\n\022calibrati" + "on_result\030\001 \001(\0132).mavsdk.rpc.calibration" + ".CalibrationResult\"\372\002\n\021CalibrationResult" + "\022@\n\006result\030\001 \001(\01620.mavsdk.rpc.calibratio" + "n.CalibrationResult.Result\022\022\n\nresult_str" + "\030\002 \001(\t\"\216\002\n\006Result\022\022\n\016RESULT_UNKNOWN\020\000\022\022\n" + "\016RESULT_SUCCESS\020\001\022\017\n\013RESULT_NEXT\020\002\022\021\n\rRE" + "SULT_FAILED\020\003\022\024\n\020RESULT_NO_SYSTEM\020\004\022\033\n\027R" + "ESULT_CONNECTION_ERROR\020\005\022\017\n\013RESULT_BUSY\020" + "\006\022\031\n\025RESULT_COMMAND_DENIED\020\007\022\022\n\016RESULT_T" + "IMEOUT\020\010\022\024\n\020RESULT_CANCELLED\020\t\022\027\n\023RESULT" + "_FAILED_ARMED\020\n\022\026\n\022RESULT_UNSUPPORTED\020\013\"" + "\203\001\n\014ProgressData\022\037\n\014has_progress\030\001 \001(\010B\t" + "\202\265\030\005false\022\031\n\010progress\030\002 \001(\002B\007\202\265\030\003NaN\022\"\n\017" + "has_status_text\030\003 \001(\010B\t\202\265\030\005false\022\023\n\013stat" + "us_text\030\004 \001(\t2\254\007\n\022CalibrationService\022\212\001\n" + "\026SubscribeCalibrateGyro\0225.mavsdk.rpc.cal" + "ibration.SubscribeCalibrateGyroRequest\032-" + ".mavsdk.rpc.calibration.CalibrateGyroRes" + "ponse\"\010\200\265\030\000\210\265\030\0010\001\022\245\001\n\037SubscribeCalibrate" + "Accelerometer\022>.mavsdk.rpc.calibration.S" + "ubscribeCalibrateAccelerometerRequest\0326." + "mavsdk.rpc.calibration.CalibrateAccelero" + "meterResponse\"\010\200\265\030\000\210\265\030\0010\001\022\242\001\n\036SubscribeC" + "alibrateMagnetometer\022=.mavsdk.rpc.calibr" + "ation.SubscribeCalibrateMagnetometerRequ" + "est\0325.mavsdk.rpc.calibration.CalibrateMa" + "gnetometerResponse\"\010\200\265\030\000\210\265\030\0010\001\022\242\001\n\036Subsc" + "ribeCalibrateLevelHorizon\022=.mavsdk.rpc.c" + "alibration.SubscribeCalibrateLevelHorizo" + "nRequest\0325.mavsdk.rpc.calibration.Calibr" + "ateLevelHorizonResponse\"\010\200\265\030\000\210\265\030\0010\001\022\267\001\n%" + "SubscribeCalibrateGimbalAccelerometer\022D." + "mavsdk.rpc.calibration.SubscribeCalibrat" + "eGimbalAccelerometerRequest\032<.mavsdk.rpc" + ".calibration.CalibrateGimbalAcceleromete" + "rResponse\"\010\200\265\030\000\210\265\030\0010\001\022]\n\006Cancel\022%.mavsdk" + ".rpc.calibration.CancelRequest\032&.mavsdk." + "rpc.calibration.CancelResponse\"\004\200\265\030\001B)\n\025" + "io.mavsdk.calibrationB\020CalibrationProtob" + "\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_calibration_2fcalibration_2eproto_deps[1] = + { &::descriptor_table_mavsdk_5foptions_2eproto, }; static ::absl::once_flag descriptor_table_calibration_2fcalibration_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable - descriptor_table_calibration_2fcalibration_2eproto = { - false, - false, - 2727, - descriptor_table_protodef_calibration_2fcalibration_2eproto, - "calibration/calibration.proto", - &descriptor_table_calibration_2fcalibration_2eproto_once, - descriptor_table_calibration_2fcalibration_2eproto_deps, - 1, - 14, - schemas, - file_default_instances, - TableStruct_calibration_2fcalibration_2eproto::offsets, - file_level_enum_descriptors_calibration_2fcalibration_2eproto, - file_level_service_descriptors_calibration_2fcalibration_2eproto, +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_calibration_2fcalibration_2eproto = { + false, + false, + 2727, + descriptor_table_protodef_calibration_2fcalibration_2eproto, + "calibration/calibration.proto", + &descriptor_table_calibration_2fcalibration_2eproto_once, + descriptor_table_calibration_2fcalibration_2eproto_deps, + 1, + 14, + schemas, + file_default_instances, + TableStruct_calibration_2fcalibration_2eproto::offsets, + file_level_enum_descriptors_calibration_2fcalibration_2eproto, + file_level_service_descriptors_calibration_2fcalibration_2eproto, }; namespace mavsdk { namespace rpc { namespace calibration { -const ::google::protobuf::EnumDescriptor* CalibrationResult_Result_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors( - &descriptor_table_calibration_2fcalibration_2eproto); - return file_level_enum_descriptors_calibration_2fcalibration_2eproto[0]; +const ::google::protobuf::EnumDescriptor* CalibrationResult_Result_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_calibration_2fcalibration_2eproto); + return file_level_enum_descriptors_calibration_2fcalibration_2eproto[0]; } PROTOBUF_CONSTINIT const uint32_t CalibrationResult_Result_internal_data_[] = { - 786432u, - 0u, -}; -bool CalibrationResult_Result_IsValid(int value) -{ - return 0 <= value && value <= 11; + 786432u, 0u, }; +bool CalibrationResult_Result_IsValid(int value) { + return 0 <= value && value <= 11; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr CalibrationResult_Result CalibrationResult::RESULT_UNKNOWN; constexpr CalibrationResult_Result CalibrationResult::RESULT_SUCCESS; @@ -771,53 +656,45 @@ constexpr CalibrationResult_Result CalibrationResult::Result_MIN; constexpr CalibrationResult_Result CalibrationResult::Result_MAX; constexpr int CalibrationResult::Result_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) // =================================================================== class SubscribeCalibrateGyroRequest::_Internal { -public: + public: }; SubscribeCalibrateGyroRequest::SubscribeCalibrateGyroRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) } SubscribeCalibrateGyroRequest::SubscribeCalibrateGyroRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateGyroRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeCalibrateGyroRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeCalibrateGyroRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) -} - -inline void* SubscribeCalibrateGyroRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeCalibrateGyroRequest(arena); -} -constexpr auto SubscribeCalibrateGyroRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeCalibrateGyroRequest), alignof(SubscribeCalibrateGyroRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeCalibrateGyroRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) +} + +inline void* SubscribeCalibrateGyroRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeCalibrateGyroRequest(arena); +} +constexpr auto SubscribeCalibrateGyroRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeCalibrateGyroRequest), + alignof(SubscribeCalibrateGyroRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -825,160 +702,147 @@ const ::google::protobuf::internal::ClassDataFull SubscribeCalibrateGyroRequest: ::google::protobuf::internal::ClassData{ &_SubscribeCalibrateGyroRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeCalibrateGyroRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeCalibrateGyroRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeCalibrateGyroRequest::ByteSizeLong, - &SubscribeCalibrateGyroRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeCalibrateGyroRequest::ByteSizeLong, + &SubscribeCalibrateGyroRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeCalibrateGyroRequest, _impl_._cached_size_), false, }, &SubscribeCalibrateGyroRequest::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeCalibrateGyroRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeCalibrateGyroRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::SubscribeCalibrateGyroRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* SubscribeCalibrateGyroRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeCalibrateGyroRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::SubscribeCalibrateGyroRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeCalibrateGyroRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata SubscribeCalibrateGyroRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CalibrateGyroResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_._has_bits_); }; CalibrateGyroResponse::CalibrateGyroResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateGyroResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateGyroResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateGyroResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::CalibrateGyroResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::CalibrateGyroResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} CalibrateGyroResponse::CalibrateGyroResponse( - ::google::protobuf::Arena* arena, const CalibrateGyroResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CalibrateGyroResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_) : - nullptr; - _impl_.progress_data_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( - arena, *from._impl_.progress_data_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateGyroResponse) + ::google::protobuf::Arena* arena, + const CalibrateGyroResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CalibrateGyroResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>( + arena, *from._impl_.calibration_result_) + : nullptr; + _impl_.progress_data_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( + arena, *from._impl_.progress_data_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateGyroResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateGyroResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void CalibrateGyroResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, calibration_result_), - 0, - offsetof(Impl_, progress_data_) - offsetof(Impl_, calibration_result_) + - sizeof(Impl_::progress_data_)); -} -CalibrateGyroResponse::~CalibrateGyroResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateGyroResponse) - SharedDtor(*this); -} -inline void CalibrateGyroResponse::SharedDtor(MessageLite& self) -{ - CalibrateGyroResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.calibration_result_; - delete this_._impl_.progress_data_; - this_._impl_.~Impl_(); -} - -inline void* -CalibrateGyroResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CalibrateGyroResponse(arena); -} -constexpr auto CalibrateGyroResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CalibrateGyroResponse), alignof(CalibrateGyroResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CalibrateGyroResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, calibration_result_), + 0, + offsetof(Impl_, progress_data_) - + offsetof(Impl_, calibration_result_) + + sizeof(Impl_::progress_data_)); +} +CalibrateGyroResponse::~CalibrateGyroResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateGyroResponse) + SharedDtor(*this); +} +inline void CalibrateGyroResponse::SharedDtor(MessageLite& self) { + CalibrateGyroResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.calibration_result_; + delete this_._impl_.progress_data_; + this_._impl_.~Impl_(); +} + +inline void* CalibrateGyroResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CalibrateGyroResponse(arena); +} +constexpr auto CalibrateGyroResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CalibrateGyroResponse), + alignof(CalibrateGyroResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -986,457 +850,403 @@ const ::google::protobuf::internal::ClassDataFull CalibrateGyroResponse::_class_ ::google::protobuf::internal::ClassData{ &_CalibrateGyroResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CalibrateGyroResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CalibrateGyroResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CalibrateGyroResponse::ByteSizeLong, - &CalibrateGyroResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CalibrateGyroResponse::ByteSizeLong, + &CalibrateGyroResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_._cached_size_), false, }, &CalibrateGyroResponse::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* CalibrateGyroResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - CalibrateGyroResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::CalibrateGyroResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {::_pbi::TcParser::FastMtS1, - {18, 1, 1, PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.progress_data_)}}, - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.calibration_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.calibration_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.progress_data_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CalibrateGyroResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateGyroResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.calibration_result_ != nullptr); - _impl_.calibration_result_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.progress_data_ != nullptr); - _impl_.progress_data_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CalibrateGyroResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CalibrateGyroResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CalibrateGyroResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CalibrateGyroResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateGyroResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* CalibrateGyroResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> CalibrateGyroResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrateGyroResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.progress_data_)}}, // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.calibration_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.calibration_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.progress_data_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void CalibrateGyroResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateGyroResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.calibration_result_, - this_._impl_.calibration_result_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.calibration_result_ != nullptr); + _impl_.calibration_result_->Clear(); } - - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, - *this_._impl_.progress_data_, - this_._impl_.progress_data_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); + ABSL_DCHECK(_impl_.progress_data_ != nullptr); + _impl_.progress_data_->Clear(); } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateGyroResponse) - return target; -} + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CalibrateGyroResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CalibrateGyroResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CalibrateGyroResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CalibrateGyroResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateGyroResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.calibration_result_, this_._impl_.calibration_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.progress_data_, this_._impl_.progress_data_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateGyroResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CalibrateGyroResponse::ByteSizeLong(const MessageLite& base) -{ - const CalibrateGyroResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CalibrateGyroResponse::ByteSizeLong() const -{ - const CalibrateGyroResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateGyroResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.calibration_result_); - } - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.progress_data_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void CalibrateGyroResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateGyroResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); - if (_this->_impl_.calibration_result_ == nullptr) { - _this->_impl_.calibration_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_); - } else { - _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + ::size_t CalibrateGyroResponse::ByteSizeLong(const MessageLite& base) { + const CalibrateGyroResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CalibrateGyroResponse::ByteSizeLong() const { + const CalibrateGyroResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateGyroResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.calibration_result_); } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.progress_data_ != nullptr); - if (_this->_impl_.progress_data_ == nullptr) { - _this->_impl_.progress_data_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); - } else { - _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.progress_data_); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void CalibrateGyroResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateGyroResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); + if (_this->_impl_.calibration_result_ == nullptr) { + _this->_impl_.calibration_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>(arena, *from._impl_.calibration_result_); + } else { + _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.progress_data_ != nullptr); + if (_this->_impl_.progress_data_ == nullptr) { + _this->_impl_.progress_data_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); + } else { + _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void CalibrateGyroResponse::CopyFrom(const CalibrateGyroResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateGyroResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void CalibrateGyroResponse::CopyFrom(const CalibrateGyroResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateGyroResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void CalibrateGyroResponse::InternalSwap(CalibrateGyroResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.progress_data_) + - sizeof(CalibrateGyroResponse::_impl_.progress_data_) - - PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.calibration_result_)>( - reinterpret_cast(&_impl_.calibration_result_), - reinterpret_cast(&other->_impl_.calibration_result_)); + +void CalibrateGyroResponse::InternalSwap(CalibrateGyroResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.progress_data_) + + sizeof(CalibrateGyroResponse::_impl_.progress_data_) + - PROTOBUF_FIELD_OFFSET(CalibrateGyroResponse, _impl_.calibration_result_)>( + reinterpret_cast(&_impl_.calibration_result_), + reinterpret_cast(&other->_impl_.calibration_result_)); } -::google::protobuf::Metadata CalibrateGyroResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata CalibrateGyroResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeCalibrateAccelerometerRequest::_Internal { -public: + public: }; -SubscribeCalibrateAccelerometerRequest::SubscribeCalibrateAccelerometerRequest( - ::google::protobuf::Arena* arena) +SubscribeCalibrateAccelerometerRequest::SubscribeCalibrateAccelerometerRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) } SubscribeCalibrateAccelerometerRequest::SubscribeCalibrateAccelerometerRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateAccelerometerRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeCalibrateAccelerometerRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeCalibrateAccelerometerRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) -} - -inline void* SubscribeCalibrateAccelerometerRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeCalibrateAccelerometerRequest(arena); -} -constexpr auto SubscribeCalibrateAccelerometerRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeCalibrateAccelerometerRequest), - alignof(SubscribeCalibrateAccelerometerRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeCalibrateAccelerometerRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) +} + +inline void* SubscribeCalibrateAccelerometerRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeCalibrateAccelerometerRequest(arena); +} +constexpr auto SubscribeCalibrateAccelerometerRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeCalibrateAccelerometerRequest), + alignof(SubscribeCalibrateAccelerometerRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull - SubscribeCalibrateAccelerometerRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubscribeCalibrateAccelerometerRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubscribeCalibrateAccelerometerRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - SubscribeCalibrateAccelerometerRequest>(), +const ::google::protobuf::internal::ClassDataFull SubscribeCalibrateAccelerometerRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SubscribeCalibrateAccelerometerRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SubscribeCalibrateAccelerometerRequest::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &SubscribeCalibrateAccelerometerRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeCalibrateAccelerometerRequest>(), - &SubscribeCalibrateAccelerometerRequest::ByteSizeLong, + &SubscribeCalibrateAccelerometerRequest::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeCalibrateAccelerometerRequest::ByteSizeLong, &SubscribeCalibrateAccelerometerRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubscribeCalibrateAccelerometerRequest, _impl_._cached_size_), - false, - }, - &SubscribeCalibrateAccelerometerRequest::kDescriptorMethods, - &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -SubscribeCalibrateAccelerometerRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeCalibrateAccelerometerRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration:: - SubscribeCalibrateAccelerometerRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeCalibrateAccelerometerRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SubscribeCalibrateAccelerometerRequest, _impl_._cached_size_), + false, + }, + &SubscribeCalibrateAccelerometerRequest::kDescriptorMethods, + &descriptor_table_calibration_2fcalibration_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeCalibrateAccelerometerRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeCalibrateAccelerometerRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::SubscribeCalibrateAccelerometerRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeCalibrateAccelerometerRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CalibrateAccelerometerResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_._has_bits_); }; CalibrateAccelerometerResponse::CalibrateAccelerometerResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateAccelerometerResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::CalibrateAccelerometerResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::CalibrateAccelerometerResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} CalibrateAccelerometerResponse::CalibrateAccelerometerResponse( - ::google::protobuf::Arena* arena, const CalibrateAccelerometerResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CalibrateAccelerometerResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_) : - nullptr; - _impl_.progress_data_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( - arena, *from._impl_.progress_data_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + ::google::protobuf::Arena* arena, + const CalibrateAccelerometerResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CalibrateAccelerometerResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>( + arena, *from._impl_.calibration_result_) + : nullptr; + _impl_.progress_data_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( + arena, *from._impl_.progress_data_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateAccelerometerResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void CalibrateAccelerometerResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, calibration_result_), - 0, - offsetof(Impl_, progress_data_) - offsetof(Impl_, calibration_result_) + - sizeof(Impl_::progress_data_)); -} -CalibrateAccelerometerResponse::~CalibrateAccelerometerResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - SharedDtor(*this); -} -inline void CalibrateAccelerometerResponse::SharedDtor(MessageLite& self) -{ - CalibrateAccelerometerResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.calibration_result_; - delete this_._impl_.progress_data_; - this_._impl_.~Impl_(); -} - -inline void* CalibrateAccelerometerResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CalibrateAccelerometerResponse(arena); -} -constexpr auto CalibrateAccelerometerResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CalibrateAccelerometerResponse), alignof(CalibrateAccelerometerResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CalibrateAccelerometerResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, calibration_result_), + 0, + offsetof(Impl_, progress_data_) - + offsetof(Impl_, calibration_result_) + + sizeof(Impl_::progress_data_)); +} +CalibrateAccelerometerResponse::~CalibrateAccelerometerResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + SharedDtor(*this); +} +inline void CalibrateAccelerometerResponse::SharedDtor(MessageLite& self) { + CalibrateAccelerometerResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.calibration_result_; + delete this_._impl_.progress_data_; + this_._impl_.~Impl_(); +} + +inline void* CalibrateAccelerometerResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CalibrateAccelerometerResponse(arena); +} +constexpr auto CalibrateAccelerometerResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CalibrateAccelerometerResponse), + alignof(CalibrateAccelerometerResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1444,466 +1254,403 @@ const ::google::protobuf::internal::ClassDataFull CalibrateAccelerometerResponse ::google::protobuf::internal::ClassData{ &_CalibrateAccelerometerResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CalibrateAccelerometerResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CalibrateAccelerometerResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CalibrateAccelerometerResponse::ByteSizeLong, - &CalibrateAccelerometerResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CalibrateAccelerometerResponse::ByteSizeLong, + &CalibrateAccelerometerResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_._cached_size_), false, }, &CalibrateAccelerometerResponse::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* CalibrateAccelerometerResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - CalibrateAccelerometerResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::CalibrateAccelerometerResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {::_pbi::TcParser::FastMtS1, - {18, - 1, - 1, - PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.progress_data_)}}, - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.calibration_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.calibration_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.progress_data_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CalibrateAccelerometerResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.calibration_result_ != nullptr); - _impl_.calibration_result_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.progress_data_ != nullptr); - _impl_.progress_data_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CalibrateAccelerometerResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CalibrateAccelerometerResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CalibrateAccelerometerResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CalibrateAccelerometerResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* CalibrateAccelerometerResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> CalibrateAccelerometerResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrateAccelerometerResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.progress_data_)}}, // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.calibration_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.calibration_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.progress_data_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void CalibrateAccelerometerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.calibration_result_, - this_._impl_.calibration_result_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.calibration_result_ != nullptr); + _impl_.calibration_result_->Clear(); } - - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, - *this_._impl_.progress_data_, - this_._impl_.progress_data_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); + ABSL_DCHECK(_impl_.progress_data_ != nullptr); + _impl_.progress_data_->Clear(); } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - return target; -} + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CalibrateAccelerometerResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CalibrateAccelerometerResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CalibrateAccelerometerResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CalibrateAccelerometerResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.calibration_result_, this_._impl_.calibration_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.progress_data_, this_._impl_.progress_data_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CalibrateAccelerometerResponse::ByteSizeLong(const MessageLite& base) -{ - const CalibrateAccelerometerResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CalibrateAccelerometerResponse::ByteSizeLong() const -{ - const CalibrateAccelerometerResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.calibration_result_); - } - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.progress_data_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void CalibrateAccelerometerResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); - if (_this->_impl_.calibration_result_ == nullptr) { - _this->_impl_.calibration_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_); - } else { - _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + ::size_t CalibrateAccelerometerResponse::ByteSizeLong(const MessageLite& base) { + const CalibrateAccelerometerResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CalibrateAccelerometerResponse::ByteSizeLong() const { + const CalibrateAccelerometerResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.calibration_result_); } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.progress_data_ != nullptr); - if (_this->_impl_.progress_data_ == nullptr) { - _this->_impl_.progress_data_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); - } else { - _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.progress_data_); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void CalibrateAccelerometerResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); + if (_this->_impl_.calibration_result_ == nullptr) { + _this->_impl_.calibration_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>(arena, *from._impl_.calibration_result_); + } else { + _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.progress_data_ != nullptr); + if (_this->_impl_.progress_data_ == nullptr) { + _this->_impl_.progress_data_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); + } else { + _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void CalibrateAccelerometerResponse::CopyFrom(const CalibrateAccelerometerResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void CalibrateAccelerometerResponse::InternalSwap( - CalibrateAccelerometerResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.progress_data_) + - sizeof(CalibrateAccelerometerResponse::_impl_.progress_data_) - - PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.calibration_result_)>( - reinterpret_cast(&_impl_.calibration_result_), - reinterpret_cast(&other->_impl_.calibration_result_)); -} - -::google::protobuf::Metadata CalibrateAccelerometerResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CalibrateAccelerometerResponse::CopyFrom(const CalibrateAccelerometerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CalibrateAccelerometerResponse::InternalSwap(CalibrateAccelerometerResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.progress_data_) + + sizeof(CalibrateAccelerometerResponse::_impl_.progress_data_) + - PROTOBUF_FIELD_OFFSET(CalibrateAccelerometerResponse, _impl_.calibration_result_)>( + reinterpret_cast(&_impl_.calibration_result_), + reinterpret_cast(&other->_impl_.calibration_result_)); +} + +::google::protobuf::Metadata CalibrateAccelerometerResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeCalibrateMagnetometerRequest::_Internal { -public: + public: }; -SubscribeCalibrateMagnetometerRequest::SubscribeCalibrateMagnetometerRequest( - ::google::protobuf::Arena* arena) +SubscribeCalibrateMagnetometerRequest::SubscribeCalibrateMagnetometerRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) } SubscribeCalibrateMagnetometerRequest::SubscribeCalibrateMagnetometerRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateMagnetometerRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeCalibrateMagnetometerRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeCalibrateMagnetometerRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) -} - -inline void* SubscribeCalibrateMagnetometerRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeCalibrateMagnetometerRequest(arena); -} -constexpr auto SubscribeCalibrateMagnetometerRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeCalibrateMagnetometerRequest), - alignof(SubscribeCalibrateMagnetometerRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeCalibrateMagnetometerRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) +} + +inline void* SubscribeCalibrateMagnetometerRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeCalibrateMagnetometerRequest(arena); +} +constexpr auto SubscribeCalibrateMagnetometerRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeCalibrateMagnetometerRequest), + alignof(SubscribeCalibrateMagnetometerRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull - SubscribeCalibrateMagnetometerRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubscribeCalibrateMagnetometerRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubscribeCalibrateMagnetometerRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - SubscribeCalibrateMagnetometerRequest>(), +const ::google::protobuf::internal::ClassDataFull SubscribeCalibrateMagnetometerRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SubscribeCalibrateMagnetometerRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SubscribeCalibrateMagnetometerRequest::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &SubscribeCalibrateMagnetometerRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeCalibrateMagnetometerRequest>(), - &SubscribeCalibrateMagnetometerRequest::ByteSizeLong, + &SubscribeCalibrateMagnetometerRequest::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeCalibrateMagnetometerRequest::ByteSizeLong, &SubscribeCalibrateMagnetometerRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubscribeCalibrateMagnetometerRequest, _impl_._cached_size_), - false, - }, - &SubscribeCalibrateMagnetometerRequest::kDescriptorMethods, - &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -SubscribeCalibrateMagnetometerRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeCalibrateMagnetometerRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::SubscribeCalibrateMagnetometerRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeCalibrateMagnetometerRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SubscribeCalibrateMagnetometerRequest, _impl_._cached_size_), + false, + }, + &SubscribeCalibrateMagnetometerRequest::kDescriptorMethods, + &descriptor_table_calibration_2fcalibration_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeCalibrateMagnetometerRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeCalibrateMagnetometerRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::SubscribeCalibrateMagnetometerRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeCalibrateMagnetometerRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CalibrateMagnetometerResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_._has_bits_); }; CalibrateMagnetometerResponse::CalibrateMagnetometerResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateMagnetometerResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::CalibrateMagnetometerResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::CalibrateMagnetometerResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} CalibrateMagnetometerResponse::CalibrateMagnetometerResponse( - ::google::protobuf::Arena* arena, const CalibrateMagnetometerResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CalibrateMagnetometerResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_) : - nullptr; - _impl_.progress_data_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( - arena, *from._impl_.progress_data_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + ::google::protobuf::Arena* arena, + const CalibrateMagnetometerResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CalibrateMagnetometerResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>( + arena, *from._impl_.calibration_result_) + : nullptr; + _impl_.progress_data_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( + arena, *from._impl_.progress_data_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateMagnetometerResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void CalibrateMagnetometerResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, calibration_result_), - 0, - offsetof(Impl_, progress_data_) - offsetof(Impl_, calibration_result_) + - sizeof(Impl_::progress_data_)); -} -CalibrateMagnetometerResponse::~CalibrateMagnetometerResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - SharedDtor(*this); -} -inline void CalibrateMagnetometerResponse::SharedDtor(MessageLite& self) -{ - CalibrateMagnetometerResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.calibration_result_; - delete this_._impl_.progress_data_; - this_._impl_.~Impl_(); -} - -inline void* CalibrateMagnetometerResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CalibrateMagnetometerResponse(arena); -} -constexpr auto CalibrateMagnetometerResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CalibrateMagnetometerResponse), alignof(CalibrateMagnetometerResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CalibrateMagnetometerResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, calibration_result_), + 0, + offsetof(Impl_, progress_data_) - + offsetof(Impl_, calibration_result_) + + sizeof(Impl_::progress_data_)); +} +CalibrateMagnetometerResponse::~CalibrateMagnetometerResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + SharedDtor(*this); +} +inline void CalibrateMagnetometerResponse::SharedDtor(MessageLite& self) { + CalibrateMagnetometerResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.calibration_result_; + delete this_._impl_.progress_data_; + this_._impl_.~Impl_(); +} + +inline void* CalibrateMagnetometerResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CalibrateMagnetometerResponse(arena); +} +constexpr auto CalibrateMagnetometerResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CalibrateMagnetometerResponse), + alignof(CalibrateMagnetometerResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -1911,466 +1658,403 @@ const ::google::protobuf::internal::ClassDataFull CalibrateMagnetometerResponse: ::google::protobuf::internal::ClassData{ &_CalibrateMagnetometerResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CalibrateMagnetometerResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CalibrateMagnetometerResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CalibrateMagnetometerResponse::ByteSizeLong, - &CalibrateMagnetometerResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CalibrateMagnetometerResponse::ByteSizeLong, + &CalibrateMagnetometerResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_._cached_size_), false, }, &CalibrateMagnetometerResponse::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* CalibrateMagnetometerResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - CalibrateMagnetometerResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::CalibrateMagnetometerResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {::_pbi::TcParser::FastMtS1, - {18, - 1, - 1, - PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.progress_data_)}}, - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.calibration_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.calibration_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.progress_data_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CalibrateMagnetometerResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.calibration_result_ != nullptr); - _impl_.calibration_result_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.progress_data_ != nullptr); - _impl_.progress_data_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CalibrateMagnetometerResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CalibrateMagnetometerResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CalibrateMagnetometerResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CalibrateMagnetometerResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* CalibrateMagnetometerResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> CalibrateMagnetometerResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrateMagnetometerResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.progress_data_)}}, // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.calibration_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.calibration_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.progress_data_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void CalibrateMagnetometerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.calibration_result_, - this_._impl_.calibration_result_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.calibration_result_ != nullptr); + _impl_.calibration_result_->Clear(); } - - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, - *this_._impl_.progress_data_, - this_._impl_.progress_data_->GetCachedSize(), - target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); + ABSL_DCHECK(_impl_.progress_data_ != nullptr); + _impl_.progress_data_->Clear(); } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - return target; -} + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CalibrateMagnetometerResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CalibrateMagnetometerResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CalibrateMagnetometerResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CalibrateMagnetometerResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.calibration_result_, this_._impl_.calibration_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.progress_data_, this_._impl_.progress_data_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CalibrateMagnetometerResponse::ByteSizeLong(const MessageLite& base) -{ - const CalibrateMagnetometerResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CalibrateMagnetometerResponse::ByteSizeLong() const -{ - const CalibrateMagnetometerResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.calibration_result_); - } - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.progress_data_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void CalibrateMagnetometerResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); - if (_this->_impl_.calibration_result_ == nullptr) { - _this->_impl_.calibration_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_); - } else { - _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + ::size_t CalibrateMagnetometerResponse::ByteSizeLong(const MessageLite& base) { + const CalibrateMagnetometerResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CalibrateMagnetometerResponse::ByteSizeLong() const { + const CalibrateMagnetometerResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.calibration_result_); } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.progress_data_ != nullptr); - if (_this->_impl_.progress_data_ == nullptr) { - _this->_impl_.progress_data_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); - } else { - _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.progress_data_); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void CalibrateMagnetometerResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); + if (_this->_impl_.calibration_result_ == nullptr) { + _this->_impl_.calibration_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>(arena, *from._impl_.calibration_result_); + } else { + _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.progress_data_ != nullptr); + if (_this->_impl_.progress_data_ == nullptr) { + _this->_impl_.progress_data_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); + } else { + _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void CalibrateMagnetometerResponse::CopyFrom(const CalibrateMagnetometerResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void CalibrateMagnetometerResponse::InternalSwap( - CalibrateMagnetometerResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.progress_data_) + - sizeof(CalibrateMagnetometerResponse::_impl_.progress_data_) - - PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.calibration_result_)>( - reinterpret_cast(&_impl_.calibration_result_), - reinterpret_cast(&other->_impl_.calibration_result_)); -} - -::google::protobuf::Metadata CalibrateMagnetometerResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CalibrateMagnetometerResponse::CopyFrom(const CalibrateMagnetometerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CalibrateMagnetometerResponse::InternalSwap(CalibrateMagnetometerResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.progress_data_) + + sizeof(CalibrateMagnetometerResponse::_impl_.progress_data_) + - PROTOBUF_FIELD_OFFSET(CalibrateMagnetometerResponse, _impl_.calibration_result_)>( + reinterpret_cast(&_impl_.calibration_result_), + reinterpret_cast(&other->_impl_.calibration_result_)); +} + +::google::protobuf::Metadata CalibrateMagnetometerResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeCalibrateLevelHorizonRequest::_Internal { -public: + public: }; -SubscribeCalibrateLevelHorizonRequest::SubscribeCalibrateLevelHorizonRequest( - ::google::protobuf::Arena* arena) +SubscribeCalibrateLevelHorizonRequest::SubscribeCalibrateLevelHorizonRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) } SubscribeCalibrateLevelHorizonRequest::SubscribeCalibrateLevelHorizonRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateLevelHorizonRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeCalibrateLevelHorizonRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeCalibrateLevelHorizonRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) -} - -inline void* SubscribeCalibrateLevelHorizonRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeCalibrateLevelHorizonRequest(arena); -} -constexpr auto SubscribeCalibrateLevelHorizonRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeCalibrateLevelHorizonRequest), - alignof(SubscribeCalibrateLevelHorizonRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeCalibrateLevelHorizonRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) +} + +inline void* SubscribeCalibrateLevelHorizonRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeCalibrateLevelHorizonRequest(arena); +} +constexpr auto SubscribeCalibrateLevelHorizonRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeCalibrateLevelHorizonRequest), + alignof(SubscribeCalibrateLevelHorizonRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull - SubscribeCalibrateLevelHorizonRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubscribeCalibrateLevelHorizonRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubscribeCalibrateLevelHorizonRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - SubscribeCalibrateLevelHorizonRequest>(), +const ::google::protobuf::internal::ClassDataFull SubscribeCalibrateLevelHorizonRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SubscribeCalibrateLevelHorizonRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SubscribeCalibrateLevelHorizonRequest::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &SubscribeCalibrateLevelHorizonRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeCalibrateLevelHorizonRequest>(), - &SubscribeCalibrateLevelHorizonRequest::ByteSizeLong, + &SubscribeCalibrateLevelHorizonRequest::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeCalibrateLevelHorizonRequest::ByteSizeLong, &SubscribeCalibrateLevelHorizonRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubscribeCalibrateLevelHorizonRequest, _impl_._cached_size_), - false, - }, - &SubscribeCalibrateLevelHorizonRequest::kDescriptorMethods, - &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -SubscribeCalibrateLevelHorizonRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeCalibrateLevelHorizonRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::SubscribeCalibrateLevelHorizonRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeCalibrateLevelHorizonRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SubscribeCalibrateLevelHorizonRequest, _impl_._cached_size_), + false, + }, + &SubscribeCalibrateLevelHorizonRequest::kDescriptorMethods, + &descriptor_table_calibration_2fcalibration_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeCalibrateLevelHorizonRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeCalibrateLevelHorizonRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::SubscribeCalibrateLevelHorizonRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeCalibrateLevelHorizonRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CalibrateLevelHorizonResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_._has_bits_); }; CalibrateLevelHorizonResponse::CalibrateLevelHorizonResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateLevelHorizonResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} CalibrateLevelHorizonResponse::CalibrateLevelHorizonResponse( - ::google::protobuf::Arena* arena, const CalibrateLevelHorizonResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CalibrateLevelHorizonResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_) : - nullptr; - _impl_.progress_data_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( - arena, *from._impl_.progress_data_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + ::google::protobuf::Arena* arena, + const CalibrateLevelHorizonResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CalibrateLevelHorizonResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>( + arena, *from._impl_.calibration_result_) + : nullptr; + _impl_.progress_data_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( + arena, *from._impl_.progress_data_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateLevelHorizonResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void CalibrateLevelHorizonResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, calibration_result_), - 0, - offsetof(Impl_, progress_data_) - offsetof(Impl_, calibration_result_) + - sizeof(Impl_::progress_data_)); -} -CalibrateLevelHorizonResponse::~CalibrateLevelHorizonResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - SharedDtor(*this); -} -inline void CalibrateLevelHorizonResponse::SharedDtor(MessageLite& self) -{ - CalibrateLevelHorizonResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.calibration_result_; - delete this_._impl_.progress_data_; - this_._impl_.~Impl_(); -} - -inline void* CalibrateLevelHorizonResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CalibrateLevelHorizonResponse(arena); -} -constexpr auto CalibrateLevelHorizonResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CalibrateLevelHorizonResponse), alignof(CalibrateLevelHorizonResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CalibrateLevelHorizonResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, calibration_result_), + 0, + offsetof(Impl_, progress_data_) - + offsetof(Impl_, calibration_result_) + + sizeof(Impl_::progress_data_)); +} +CalibrateLevelHorizonResponse::~CalibrateLevelHorizonResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + SharedDtor(*this); +} +inline void CalibrateLevelHorizonResponse::SharedDtor(MessageLite& self) { + CalibrateLevelHorizonResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.calibration_result_; + delete this_._impl_.progress_data_; + this_._impl_.~Impl_(); +} + +inline void* CalibrateLevelHorizonResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CalibrateLevelHorizonResponse(arena); +} +constexpr auto CalibrateLevelHorizonResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CalibrateLevelHorizonResponse), + alignof(CalibrateLevelHorizonResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -2378,775 +2062,659 @@ const ::google::protobuf::internal::ClassDataFull CalibrateLevelHorizonResponse: ::google::protobuf::internal::ClassData{ &_CalibrateLevelHorizonResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CalibrateLevelHorizonResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CalibrateLevelHorizonResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CalibrateLevelHorizonResponse::ByteSizeLong, - &CalibrateLevelHorizonResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CalibrateLevelHorizonResponse::ByteSizeLong, + &CalibrateLevelHorizonResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_._cached_size_), false, }, &CalibrateLevelHorizonResponse::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* CalibrateLevelHorizonResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - CalibrateLevelHorizonResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {::_pbi::TcParser::FastMtS1, - {18, - 1, - 1, - PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.progress_data_)}}, - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.calibration_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.calibration_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.progress_data_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CalibrateLevelHorizonResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.calibration_result_ != nullptr); - _impl_.calibration_result_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.progress_data_ != nullptr); - _impl_.progress_data_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CalibrateLevelHorizonResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CalibrateLevelHorizonResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CalibrateLevelHorizonResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CalibrateLevelHorizonResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* CalibrateLevelHorizonResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> CalibrateLevelHorizonResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrateLevelHorizonResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.progress_data_)}}, + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.calibration_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.calibration_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.progress_data_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void CalibrateLevelHorizonResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.calibration_result_, - this_._impl_.calibration_result_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.calibration_result_ != nullptr); + _impl_.calibration_result_->Clear(); } - - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, - *this_._impl_.progress_data_, - this_._impl_.progress_data_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.progress_data_ != nullptr); + _impl_.progress_data_->Clear(); } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - return target; -} + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CalibrateLevelHorizonResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CalibrateLevelHorizonResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CalibrateLevelHorizonResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CalibrateLevelHorizonResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.calibration_result_, this_._impl_.calibration_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.progress_data_, this_._impl_.progress_data_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CalibrateLevelHorizonResponse::ByteSizeLong(const MessageLite& base) -{ - const CalibrateLevelHorizonResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CalibrateLevelHorizonResponse::ByteSizeLong() const -{ - const CalibrateLevelHorizonResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.calibration_result_); - } - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.progress_data_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void CalibrateLevelHorizonResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); - if (_this->_impl_.calibration_result_ == nullptr) { - _this->_impl_.calibration_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_); - } else { - _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + ::size_t CalibrateLevelHorizonResponse::ByteSizeLong(const MessageLite& base) { + const CalibrateLevelHorizonResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CalibrateLevelHorizonResponse::ByteSizeLong() const { + const CalibrateLevelHorizonResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.calibration_result_); } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.progress_data_ != nullptr); - if (_this->_impl_.progress_data_ == nullptr) { - _this->_impl_.progress_data_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); - } else { - _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.progress_data_); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void CalibrateLevelHorizonResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); + if (_this->_impl_.calibration_result_ == nullptr) { + _this->_impl_.calibration_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>(arena, *from._impl_.calibration_result_); + } else { + _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.progress_data_ != nullptr); + if (_this->_impl_.progress_data_ == nullptr) { + _this->_impl_.progress_data_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); + } else { + _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void CalibrateLevelHorizonResponse::CopyFrom(const CalibrateLevelHorizonResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void CalibrateLevelHorizonResponse::InternalSwap( - CalibrateLevelHorizonResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.progress_data_) + - sizeof(CalibrateLevelHorizonResponse::_impl_.progress_data_) - - PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.calibration_result_)>( - reinterpret_cast(&_impl_.calibration_result_), - reinterpret_cast(&other->_impl_.calibration_result_)); -} - -::google::protobuf::Metadata CalibrateLevelHorizonResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CalibrateLevelHorizonResponse::CopyFrom(const CalibrateLevelHorizonResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CalibrateLevelHorizonResponse::InternalSwap(CalibrateLevelHorizonResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.progress_data_) + + sizeof(CalibrateLevelHorizonResponse::_impl_.progress_data_) + - PROTOBUF_FIELD_OFFSET(CalibrateLevelHorizonResponse, _impl_.calibration_result_)>( + reinterpret_cast(&_impl_.calibration_result_), + reinterpret_cast(&other->_impl_.calibration_result_)); +} + +::google::protobuf::Metadata CalibrateLevelHorizonResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeCalibrateGimbalAccelerometerRequest::_Internal { -public: + public: }; -SubscribeCalibrateGimbalAccelerometerRequest::SubscribeCalibrateGimbalAccelerometerRequest( - ::google::protobuf::Arena* arena) +SubscribeCalibrateGimbalAccelerometerRequest::SubscribeCalibrateGimbalAccelerometerRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) } SubscribeCalibrateGimbalAccelerometerRequest::SubscribeCalibrateGimbalAccelerometerRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateGimbalAccelerometerRequest& from) + ::google::protobuf::Arena* arena, + const SubscribeCalibrateGimbalAccelerometerRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeCalibrateGimbalAccelerometerRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) -} - -inline void* SubscribeCalibrateGimbalAccelerometerRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeCalibrateGimbalAccelerometerRequest(arena); -} -constexpr auto SubscribeCalibrateGimbalAccelerometerRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeCalibrateGimbalAccelerometerRequest), - alignof(SubscribeCalibrateGimbalAccelerometerRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeCalibrateGimbalAccelerometerRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) +} + +inline void* SubscribeCalibrateGimbalAccelerometerRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeCalibrateGimbalAccelerometerRequest(arena); +} +constexpr auto SubscribeCalibrateGimbalAccelerometerRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeCalibrateGimbalAccelerometerRequest), + alignof(SubscribeCalibrateGimbalAccelerometerRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull - SubscribeCalibrateGimbalAccelerometerRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubscribeCalibrateGimbalAccelerometerRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubscribeCalibrateGimbalAccelerometerRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - SubscribeCalibrateGimbalAccelerometerRequest>(), +const ::google::protobuf::internal::ClassDataFull SubscribeCalibrateGimbalAccelerometerRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SubscribeCalibrateGimbalAccelerometerRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SubscribeCalibrateGimbalAccelerometerRequest::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &SubscribeCalibrateGimbalAccelerometerRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeCalibrateGimbalAccelerometerRequest>(), - &SubscribeCalibrateGimbalAccelerometerRequest::ByteSizeLong, + &SubscribeCalibrateGimbalAccelerometerRequest::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeCalibrateGimbalAccelerometerRequest::ByteSizeLong, &SubscribeCalibrateGimbalAccelerometerRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET( - SubscribeCalibrateGimbalAccelerometerRequest, _impl_._cached_size_), - false, - }, - &SubscribeCalibrateGimbalAccelerometerRequest::kDescriptorMethods, - &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -SubscribeCalibrateGimbalAccelerometerRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeCalibrateGimbalAccelerometerRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration:: - SubscribeCalibrateGimbalAccelerometerRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeCalibrateGimbalAccelerometerRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SubscribeCalibrateGimbalAccelerometerRequest, _impl_._cached_size_), + false, + }, + &SubscribeCalibrateGimbalAccelerometerRequest::kDescriptorMethods, + &descriptor_table_calibration_2fcalibration_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeCalibrateGimbalAccelerometerRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeCalibrateGimbalAccelerometerRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::SubscribeCalibrateGimbalAccelerometerRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeCalibrateGimbalAccelerometerRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CalibrateGimbalAccelerometerResponse::_Internal { -public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_._has_bits_); }; -CalibrateGimbalAccelerometerResponse::CalibrateGimbalAccelerometerResponse( - ::google::protobuf::Arena* arena) +CalibrateGimbalAccelerometerResponse::CalibrateGimbalAccelerometerResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateGimbalAccelerometerResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} CalibrateGimbalAccelerometerResponse::CalibrateGimbalAccelerometerResponse( - ::google::protobuf::Arena* arena, const CalibrateGimbalAccelerometerResponse& from) + ::google::protobuf::Arena* arena, + const CalibrateGimbalAccelerometerResponse& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CalibrateGimbalAccelerometerResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_) : - nullptr; - _impl_.progress_data_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( - arena, *from._impl_.progress_data_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CalibrateGimbalAccelerometerResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>( + arena, *from._impl_.calibration_result_) + : nullptr; + _impl_.progress_data_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>( + arena, *from._impl_.progress_data_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) } inline PROTOBUF_NDEBUG_INLINE CalibrateGimbalAccelerometerResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void CalibrateGimbalAccelerometerResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, calibration_result_), - 0, - offsetof(Impl_, progress_data_) - offsetof(Impl_, calibration_result_) + - sizeof(Impl_::progress_data_)); -} -CalibrateGimbalAccelerometerResponse::~CalibrateGimbalAccelerometerResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - SharedDtor(*this); -} -inline void CalibrateGimbalAccelerometerResponse::SharedDtor(MessageLite& self) -{ - CalibrateGimbalAccelerometerResponse& this_ = - static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.calibration_result_; - delete this_._impl_.progress_data_; - this_._impl_.~Impl_(); -} - -inline void* CalibrateGimbalAccelerometerResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CalibrateGimbalAccelerometerResponse(arena); -} -constexpr auto CalibrateGimbalAccelerometerResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CalibrateGimbalAccelerometerResponse), - alignof(CalibrateGimbalAccelerometerResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CalibrateGimbalAccelerometerResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, calibration_result_), + 0, + offsetof(Impl_, progress_data_) - + offsetof(Impl_, calibration_result_) + + sizeof(Impl_::progress_data_)); +} +CalibrateGimbalAccelerometerResponse::~CalibrateGimbalAccelerometerResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + SharedDtor(*this); +} +inline void CalibrateGimbalAccelerometerResponse::SharedDtor(MessageLite& self) { + CalibrateGimbalAccelerometerResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.calibration_result_; + delete this_._impl_.progress_data_; + this_._impl_.~Impl_(); +} + +inline void* CalibrateGimbalAccelerometerResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CalibrateGimbalAccelerometerResponse(arena); +} +constexpr auto CalibrateGimbalAccelerometerResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CalibrateGimbalAccelerometerResponse), + alignof(CalibrateGimbalAccelerometerResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull - CalibrateGimbalAccelerometerResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CalibrateGimbalAccelerometerResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CalibrateGimbalAccelerometerResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), +const ::google::protobuf::internal::ClassDataFull CalibrateGimbalAccelerometerResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_CalibrateGimbalAccelerometerResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CalibrateGimbalAccelerometerResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) - &CalibrateGimbalAccelerometerResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CalibrateGimbalAccelerometerResponse::ByteSizeLong, + &CalibrateGimbalAccelerometerResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CalibrateGimbalAccelerometerResponse::ByteSizeLong, &CalibrateGimbalAccelerometerResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_._cached_size_), - false, - }, - &CalibrateGimbalAccelerometerResponse::kDescriptorMethods, - &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -CalibrateGimbalAccelerometerResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - CalibrateGimbalAccelerometerResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {::_pbi::TcParser::FastMtS1, - {18, - 1, - 1, - PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.progress_data_)}}, - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, - 0, - 0, - PROTOBUF_FIELD_OFFSET( - CalibrateGimbalAccelerometerResponse, _impl_.calibration_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {PROTOBUF_FIELD_OFFSET( - CalibrateGimbalAccelerometerResponse, _impl_.calibration_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - {PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.progress_data_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CalibrateGimbalAccelerometerResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.calibration_result_ != nullptr); - _impl_.calibration_result_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.progress_data_ != nullptr); - _impl_.progress_data_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CalibrateGimbalAccelerometerResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CalibrateGimbalAccelerometerResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CalibrateGimbalAccelerometerResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CalibrateGimbalAccelerometerResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_._cached_size_), + false, + }, + &CalibrateGimbalAccelerometerResponse::kDescriptorMethods, + &descriptor_table_calibration_2fcalibration_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CalibrateGimbalAccelerometerResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> CalibrateGimbalAccelerometerResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrateGimbalAccelerometerResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.progress_data_)}}, + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.calibration_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.calibration_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + {PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.progress_data_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void CalibrateGimbalAccelerometerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.calibration_result_, - this_._impl_.calibration_result_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.calibration_result_ != nullptr); + _impl_.calibration_result_->Clear(); } - - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, - *this_._impl_.progress_data_, - this_._impl_.progress_data_->GetCachedSize(), - target, - stream); + ABSL_DCHECK(_impl_.progress_data_ != nullptr); + _impl_.progress_data_->Clear(); } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - return target; -} + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CalibrateGimbalAccelerometerResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CalibrateGimbalAccelerometerResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CalibrateGimbalAccelerometerResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CalibrateGimbalAccelerometerResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.calibration_result_, this_._impl_.calibration_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.progress_data_, this_._impl_.progress_data_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CalibrateGimbalAccelerometerResponse::ByteSizeLong(const MessageLite& base) -{ - const CalibrateGimbalAccelerometerResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CalibrateGimbalAccelerometerResponse::ByteSizeLong() const -{ - const CalibrateGimbalAccelerometerResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.calibration_result_); - } - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.progress_data_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void CalibrateGimbalAccelerometerResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); - if (_this->_impl_.calibration_result_ == nullptr) { - _this->_impl_.calibration_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_); - } else { - _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + ::size_t CalibrateGimbalAccelerometerResponse::ByteSizeLong(const MessageLite& base) { + const CalibrateGimbalAccelerometerResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CalibrateGimbalAccelerometerResponse::ByteSizeLong() const { + const CalibrateGimbalAccelerometerResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.calibration_result_); } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.progress_data_ != nullptr); - if (_this->_impl_.progress_data_ == nullptr) { - _this->_impl_.progress_data_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); - } else { - _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.progress_data_); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void CalibrateGimbalAccelerometerResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); + if (_this->_impl_.calibration_result_ == nullptr) { + _this->_impl_.calibration_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>(arena, *from._impl_.calibration_result_); + } else { + _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.progress_data_ != nullptr); + if (_this->_impl_.progress_data_ == nullptr) { + _this->_impl_.progress_data_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::ProgressData>(arena, *from._impl_.progress_data_); + } else { + _this->_impl_.progress_data_->MergeFrom(*from._impl_.progress_data_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void CalibrateGimbalAccelerometerResponse::CopyFrom( - const CalibrateGimbalAccelerometerResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void CalibrateGimbalAccelerometerResponse::InternalSwap( - CalibrateGimbalAccelerometerResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.progress_data_) + - sizeof(CalibrateGimbalAccelerometerResponse::_impl_.progress_data_) - - PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.calibration_result_)>( - reinterpret_cast(&_impl_.calibration_result_), - reinterpret_cast(&other->_impl_.calibration_result_)); -} - -::google::protobuf::Metadata CalibrateGimbalAccelerometerResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void CalibrateGimbalAccelerometerResponse::CopyFrom(const CalibrateGimbalAccelerometerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CalibrateGimbalAccelerometerResponse::InternalSwap(CalibrateGimbalAccelerometerResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.progress_data_) + + sizeof(CalibrateGimbalAccelerometerResponse::_impl_.progress_data_) + - PROTOBUF_FIELD_OFFSET(CalibrateGimbalAccelerometerResponse, _impl_.calibration_result_)>( + reinterpret_cast(&_impl_.calibration_result_), + reinterpret_cast(&other->_impl_.calibration_result_)); +} + +::google::protobuf::Metadata CalibrateGimbalAccelerometerResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CancelRequest::_Internal { -public: + public: }; CancelRequest::CancelRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CancelRequest) -} -CancelRequest::CancelRequest(::google::protobuf::Arena* arena, const CancelRequest& from) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CancelRequest) +} +CancelRequest::CancelRequest( + ::google::protobuf::Arena* arena, + const CancelRequest& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CancelRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CancelRequest) -} - -inline void* CancelRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CancelRequest(arena); -} -constexpr auto CancelRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CancelRequest), alignof(CancelRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CancelRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CancelRequest) +} + +inline void* CancelRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CancelRequest(arena); +} +constexpr auto CancelRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CancelRequest), + alignof(CancelRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3154,147 +2722,138 @@ const ::google::protobuf::internal::ClassDataFull CancelRequest::_class_data_ = ::google::protobuf::internal::ClassData{ &_CancelRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CancelRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CancelRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &CancelRequest::ByteSizeLong, - &CancelRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &CancelRequest::ByteSizeLong, + &CancelRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CancelRequest, _impl_._cached_size_), false, }, &CancelRequest::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CancelRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> CancelRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CancelRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, }; -const ::google::protobuf::internal::ClassData* CancelRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - CancelRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CancelRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata CancelRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + + + + + + + + +::google::protobuf::Metadata CancelRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CancelResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_._has_bits_); }; CancelResponse::CancelResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CancelResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CancelResponse) } inline PROTOBUF_NDEBUG_INLINE CancelResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::CancelResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::CancelResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} -CancelResponse::CancelResponse(::google::protobuf::Arena* arena, const CancelResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CancelResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CancelResponse) +CancelResponse::CancelResponse( + ::google::protobuf::Arena* arena, + const CancelResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CancelResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.calibration_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>( + arena, *from._impl_.calibration_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CancelResponse) } inline PROTOBUF_NDEBUG_INLINE CancelResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void CancelResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.calibration_result_ = {}; -} -CancelResponse::~CancelResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CancelResponse) - SharedDtor(*this); -} -inline void CancelResponse::SharedDtor(MessageLite& self) -{ - CancelResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.calibration_result_; - this_._impl_.~Impl_(); -} - -inline void* CancelResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CancelResponse(arena); -} -constexpr auto CancelResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CancelResponse), alignof(CancelResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CancelResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.calibration_result_ = {}; +} +CancelResponse::~CancelResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CancelResponse) + SharedDtor(*this); +} +inline void CancelResponse::SharedDtor(MessageLite& self) { + CancelResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.calibration_result_; + this_._impl_.~Impl_(); +} + +inline void* CancelResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CancelResponse(arena); +} +constexpr auto CancelResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CancelResponse), + alignof(CancelResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3302,278 +2861,243 @@ const ::google::protobuf::internal::ClassDataFull CancelResponse::_class_data_ = ::google::protobuf::internal::ClassData{ &_CancelResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CancelResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CancelResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CancelResponse::ByteSizeLong, - &CancelResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CancelResponse::ByteSizeLong, + &CancelResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_._cached_size_), false, }, &CancelResponse::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* CancelResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - CancelResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CancelResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_.calibration_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - {PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_.calibration_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CancelResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CancelResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.calibration_result_ != nullptr); - _impl_.calibration_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CancelResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CancelResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CancelResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CancelResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CancelResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; +const ::google::protobuf::internal::ClassData* CancelResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CancelResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CancelResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.calibration_result_, - this_._impl_.calibration_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_.calibration_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + {PROTOBUF_FIELD_OFFSET(CancelResponse, _impl_.calibration_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CancelResponse) - return target; -} +PROTOBUF_NOINLINE void CancelResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CancelResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.calibration_result_ != nullptr); + _impl_.calibration_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CancelResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CancelResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CancelResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CancelResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CancelResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.calibration_result_, this_._impl_.calibration_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CancelResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CancelResponse::ByteSizeLong(const MessageLite& base) -{ - const CancelResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CancelResponse::ByteSizeLong() const -{ - const CancelResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CancelResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.calibration_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} + ::size_t CancelResponse::ByteSizeLong(const MessageLite& base) { + const CancelResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CancelResponse::ByteSizeLong() const { + const CancelResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CancelResponse) + ::size_t total_size = 0; -void CancelResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CancelResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); - if (_this->_impl_.calibration_result_ == nullptr) { - _this->_impl_.calibration_result_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>( - arena, *from._impl_.calibration_result_); - } else { - _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); + { + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.calibration_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void CancelResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CancelResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.calibration_result_ != nullptr); + if (_this->_impl_.calibration_result_ == nullptr) { + _this->_impl_.calibration_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::calibration::CalibrationResult>(arena, *from._impl_.calibration_result_); + } else { + _this->_impl_.calibration_result_->MergeFrom(*from._impl_.calibration_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void CancelResponse::CopyFrom(const CancelResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CancelResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void CancelResponse::CopyFrom(const CancelResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CancelResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void CancelResponse::InternalSwap(CancelResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.calibration_result_, other->_impl_.calibration_result_); + +void CancelResponse::InternalSwap(CancelResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.calibration_result_, other->_impl_.calibration_result_); } -::google::protobuf::Metadata CancelResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata CancelResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CalibrationResult::_Internal { -public: + public: }; CalibrationResult::CalibrationResult(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrationResult) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.CalibrationResult) } inline PROTOBUF_NDEBUG_INLINE CalibrationResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::CalibrationResult& from_msg) : - result_str_(arena, from.result_str_), - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::CalibrationResult& from_msg) + : result_str_(arena, from.result_str_), + _cached_size_{0} {} CalibrationResult::CalibrationResult( - ::google::protobuf::Arena* arena, const CalibrationResult& from) + ::google::protobuf::Arena* arena, + const CalibrationResult& from) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CalibrationResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrationResult) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CalibrationResult* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.result_ = from._impl_.result_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.CalibrationResult) } inline PROTOBUF_NDEBUG_INLINE CalibrationResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - result_str_(arena), - _cached_size_{0} -{} - -inline void CalibrationResult::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -CalibrationResult::~CalibrationResult() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrationResult) - SharedDtor(*this); -} -inline void CalibrationResult::SharedDtor(MessageLite& self) -{ - CalibrationResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.result_str_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* -CalibrationResult::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CalibrationResult(arena); -} -constexpr auto CalibrationResult::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(CalibrationResult), alignof(CalibrationResult)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : result_str_(arena), + _cached_size_{0} {} + +inline void CalibrationResult::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.result_ = {}; +} +CalibrationResult::~CalibrationResult() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.CalibrationResult) + SharedDtor(*this); +} +inline void CalibrationResult::SharedDtor(MessageLite& self) { + CalibrationResult& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.result_str_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* CalibrationResult::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CalibrationResult(arena); +} +constexpr auto CalibrationResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CalibrationResult), + alignof(CalibrationResult)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3581,297 +3105,267 @@ const ::google::protobuf::internal::ClassDataFull CalibrationResult::_class_data ::google::protobuf::internal::ClassData{ &_CalibrationResult_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CalibrationResult::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CalibrationResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CalibrationResult::ByteSizeLong, - &CalibrationResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CalibrationResult::ByteSizeLong, + &CalibrationResult::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_._cached_size_), false, }, &CalibrationResult::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* CalibrationResult::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 59, 2> - CalibrationResult::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::calibration::CalibrationResult>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // string result_str = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_str_)}}, - // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(CalibrationResult, _impl_.result_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; - {PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string result_str = 2; - {PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_str_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{"\50\0\12\0\0\0\0\0" - "mavsdk.rpc.calibration.CalibrationResult" - "result_str"}}, - }; - -PROTOBUF_NOINLINE void CalibrationResult::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrationResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.result_str_.ClearToEmpty(); - _impl_.result_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CalibrationResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CalibrationResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CalibrationResult::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CalibrationResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrationResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* CalibrationResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 59, 2> CalibrationResult::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::CalibrationResult>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string result_str = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_str_)}}, // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_result(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CalibrationResult, _impl_.result_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; + {PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // string result_str = 2; - if (!this_._internal_result_str().empty()) { - const std::string& _s = this_._internal_result_str(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.calibration.CalibrationResult.result_str"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } + {PROTOBUF_FIELD_OFFSET(CalibrationResult, _impl_.result_str_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\50\0\12\0\0\0\0\0" + "mavsdk.rpc.calibration.CalibrationResult" + "result_str" + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrationResult) - return target; -} +PROTOBUF_NOINLINE void CalibrationResult::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.CalibrationResult) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.result_str_.ClearToEmpty(); + _impl_.result_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CalibrationResult::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CalibrationResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CalibrationResult::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CalibrationResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.CalibrationResult) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + const std::string& _s = this_._internal_result_str(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.calibration.CalibrationResult.result_str"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.CalibrationResult) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CalibrationResult::ByteSizeLong(const MessageLite& base) -{ - const CalibrationResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CalibrationResult::ByteSizeLong() const -{ - const CalibrationResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrationResult) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string result_str = 2; - if (!this_._internal_result_str().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_result_str()); - } - // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + ::size_t CalibrationResult::ByteSizeLong(const MessageLite& base) { + const CalibrationResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CalibrationResult::ByteSizeLong() const { + const CalibrationResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.CalibrationResult) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_result_str()); + } + // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; + if (this_._internal_result() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void CalibrationResult::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrationResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void CalibrationResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.CalibrationResult) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (!from._internal_result_str().empty()) { - _this->_internal_set_result_str(from._internal_result_str()); - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (!from._internal_result_str().empty()) { + _this->_internal_set_result_str(from._internal_result_str()); + } + if (from._internal_result() != 0) { + _this->_impl_.result_ = from._impl_.result_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void CalibrationResult::CopyFrom(const CalibrationResult& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrationResult) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void CalibrationResult::CopyFrom(const CalibrationResult& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.CalibrationResult) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void CalibrationResult::InternalSwap(CalibrationResult* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); - swap(_impl_.result_, other->_impl_.result_); + +void CalibrationResult::InternalSwap(CalibrationResult* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); + swap(_impl_.result_, other->_impl_.result_); } -::google::protobuf::Metadata CalibrationResult::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata CalibrationResult::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ProgressData::_Internal { -public: + public: }; ProgressData::ProgressData(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.ProgressData) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.calibration.ProgressData) } inline PROTOBUF_NDEBUG_INLINE ProgressData::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::calibration::ProgressData& from_msg) : - status_text_(arena, from.status_text_), - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::calibration::ProgressData& from_msg) + : status_text_(arena, from.status_text_), + _cached_size_{0} {} -ProgressData::ProgressData(::google::protobuf::Arena* arena, const ProgressData& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ProgressData* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::memcpy( - reinterpret_cast(&_impl_) + offsetof(Impl_, progress_), - reinterpret_cast(&from._impl_) + offsetof(Impl_, progress_), - offsetof(Impl_, has_status_text_) - offsetof(Impl_, progress_) + - sizeof(Impl_::has_status_text_)); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.ProgressData) +ProgressData::ProgressData( + ::google::protobuf::Arena* arena, + const ProgressData& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ProgressData* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, progress_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, progress_), + offsetof(Impl_, has_status_text_) - + offsetof(Impl_, progress_) + + sizeof(Impl_::has_status_text_)); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.calibration.ProgressData) } inline PROTOBUF_NDEBUG_INLINE ProgressData::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - status_text_(arena), - _cached_size_{0} -{} - -inline void ProgressData::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, progress_), - 0, - offsetof(Impl_, has_status_text_) - offsetof(Impl_, progress_) + - sizeof(Impl_::has_status_text_)); -} -ProgressData::~ProgressData() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.ProgressData) - SharedDtor(*this); -} -inline void ProgressData::SharedDtor(MessageLite& self) -{ - ProgressData& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.status_text_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* ProgressData::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ProgressData(arena); -} -constexpr auto ProgressData::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(ProgressData), alignof(ProgressData)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : status_text_(arena), + _cached_size_{0} {} + +inline void ProgressData::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, progress_), + 0, + offsetof(Impl_, has_status_text_) - + offsetof(Impl_, progress_) + + sizeof(Impl_::has_status_text_)); +} +ProgressData::~ProgressData() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.calibration.ProgressData) + SharedDtor(*this); +} +inline void ProgressData::SharedDtor(MessageLite& self) { + ProgressData& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.status_text_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ProgressData::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ProgressData(arena); +} +constexpr auto ProgressData::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ProgressData), + alignof(ProgressData)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3879,272 +3373,246 @@ const ::google::protobuf::internal::ClassDataFull ProgressData::_class_data_ = { ::google::protobuf::internal::ClassData{ &_ProgressData_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ProgressData::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ProgressData::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ProgressData::ByteSizeLong, - &ProgressData::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ProgressData::ByteSizeLong, + &ProgressData::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ProgressData, _impl_._cached_size_), false, }, &ProgressData::kDescriptorMethods, &descriptor_table_calibration_2fcalibration_2eproto, - nullptr, // tracker + nullptr, // tracker }; -const ::google::protobuf::internal::ClassData* ProgressData::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 55, 2> - ProgressData::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 4, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967280, // skipmap - offsetof(decltype(_table_), field_entries), - 4, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // string status_text = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.status_text_)}}, - // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_progress_)}}, - // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.progress_)}}, - // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_status_text_)}}, - }}, - {{65535, 65535}}, - {{ - // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; - {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_progress_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; - {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.progress_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; - {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_status_text_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // string status_text = 4; - {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.status_text_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{"\43\0\0\0\13\0\0\0" - "mavsdk.rpc.calibration.ProgressData" - "status_text"}}, - }; - -PROTOBUF_NOINLINE void ProgressData::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.ProgressData) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.status_text_.ClearToEmpty(); - ::memset( - &_impl_.progress_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.has_status_text_) - - reinterpret_cast(&_impl_.progress_)) + - sizeof(_impl_.has_status_text_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ProgressData::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ProgressData& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ProgressData::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ProgressData& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.ProgressData) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - +const ::google::protobuf::internal::ClassData* ProgressData::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 55, 2> ProgressData::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::calibration::ProgressData>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string status_text = 4; + {::_pbi::TcParser::FastUS1, + {34, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.status_text_)}}, // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; - if (this_._internal_has_progress() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_has_progress(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_progress_)}}, // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint32_t>(this_._internal_progress()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_progress(), target); - } - + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.progress_)}}, // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; - if (this_._internal_has_status_text() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteBoolToArray(3, this_._internal_has_status_text(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_status_text_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; + {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_progress_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; + {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.progress_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; + {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_status_text_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, // string status_text = 4; - if (!this_._internal_status_text().empty()) { - const std::string& _s = this_._internal_status_text(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.calibration.ProgressData.status_text"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } + {PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.status_text_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\43\0\0\0\13\0\0\0" + "mavsdk.rpc.calibration.ProgressData" + "status_text" + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.ProgressData) - return target; -} +PROTOBUF_NOINLINE void ProgressData::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.calibration.ProgressData) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.status_text_.ClearToEmpty(); + ::memset(&_impl_.progress_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.has_status_text_) - + reinterpret_cast(&_impl_.progress_)) + sizeof(_impl_.has_status_text_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ProgressData::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ProgressData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ProgressData::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ProgressData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.calibration.ProgressData) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; + if (this_._internal_has_progress() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_has_progress(), target); + } + + // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_progress()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_progress(), target); + } + + // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; + if (this_._internal_has_status_text() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 3, this_._internal_has_status_text(), target); + } + + // string status_text = 4; + if (!this_._internal_status_text().empty()) { + const std::string& _s = this_._internal_status_text(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.calibration.ProgressData.status_text"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.calibration.ProgressData) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ProgressData::ByteSizeLong(const MessageLite& base) -{ - const ProgressData& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ProgressData::ByteSizeLong() const -{ - const ProgressData& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.ProgressData) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string status_text = 4; - if (!this_._internal_status_text().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_status_text()); - } - // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; - if (::absl::bit_cast<::uint32_t>(this_._internal_progress()) != 0) { - total_size += 5; - } - // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; - if (this_._internal_has_progress() != 0) { - total_size += 2; - } - // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; - if (this_._internal_has_status_text() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} + ::size_t ProgressData::ByteSizeLong(const MessageLite& base) { + const ProgressData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ProgressData::ByteSizeLong() const { + const ProgressData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.calibration.ProgressData) + ::size_t total_size = 0; -void ProgressData::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.ProgressData) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - if (!from._internal_status_text().empty()) { - _this->_internal_set_status_text(from._internal_status_text()); - } - if (::absl::bit_cast<::uint32_t>(from._internal_progress()) != 0) { - _this->_impl_.progress_ = from._impl_.progress_; - } - if (from._internal_has_progress() != 0) { - _this->_impl_.has_progress_ = from._impl_.has_progress_; - } - if (from._internal_has_status_text() != 0) { - _this->_impl_.has_status_text_ = from._impl_.has_status_text_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void ProgressData::CopyFrom(const ProgressData& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.ProgressData) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void ProgressData::InternalSwap(ProgressData* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.status_text_, &other->_impl_.status_text_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_status_text_) + - sizeof(ProgressData::_impl_.has_status_text_) - - PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.progress_)>( - reinterpret_cast(&_impl_.progress_), - reinterpret_cast(&other->_impl_.progress_)); -} - -::google::protobuf::Metadata ProgressData::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string status_text = 4; + if (!this_._internal_status_text().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_status_text()); + } + // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; + if (::absl::bit_cast<::uint32_t>(this_._internal_progress()) != 0) { + total_size += 5; + } + // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; + if (this_._internal_has_progress() != 0) { + total_size += 2; + } + // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; + if (this_._internal_has_status_text() != 0) { + total_size += 2; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ProgressData::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.calibration.ProgressData) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_status_text().empty()) { + _this->_internal_set_status_text(from._internal_status_text()); + } + if (::absl::bit_cast<::uint32_t>(from._internal_progress()) != 0) { + _this->_impl_.progress_ = from._impl_.progress_; + } + if (from._internal_has_progress() != 0) { + _this->_impl_.has_progress_ = from._impl_.has_progress_; + } + if (from._internal_has_status_text() != 0) { + _this->_impl_.has_status_text_ = from._impl_.has_status_text_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ProgressData::CopyFrom(const ProgressData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.calibration.ProgressData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ProgressData::InternalSwap(ProgressData* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.status_text_, &other->_impl_.status_text_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.has_status_text_) + + sizeof(ProgressData::_impl_.has_status_text_) + - PROTOBUF_FIELD_OFFSET(ProgressData, _impl_.progress_)>( + reinterpret_cast(&_impl_.progress_), + reinterpret_cast(&other->_impl_.progress_)); +} + +::google::protobuf::Metadata ProgressData::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // @@protoc_insertion_point(namespace_scope) -} // namespace calibration -} // namespace rpc -} // namespace mavsdk +} // namespace calibration +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init2_ PROTOBUF_UNUSED = - (::_pbi::AddDescriptors(&descriptor_table_calibration_2fcalibration_2eproto), - ::std::false_type{}); +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_calibration_2fcalibration_2eproto), + ::std::false_type{}); #include "google/protobuf/port_undef.inc" diff --git a/src/mavsdk_server/src/generated/calibration/calibration.pb.h b/src/mavsdk_server/src/generated/calibration/calibration.pb.h index 94b3a34ec..5e59ddcc4 100644 --- a/src/mavsdk_server/src/generated/calibration/calibration.pb.h +++ b/src/mavsdk_server/src/generated/calibration/calibration.pb.h @@ -27,8 +27,8 @@ #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/message_lite.h" -#include "google/protobuf/repeated_field.h" // IWYU pragma: export -#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "mavsdk_options.pb.h" @@ -42,14 +42,15 @@ namespace google { namespace protobuf { namespace internal { -template::absl::string_view GetAnyMessageName(); -} // namespace internal -} // namespace protobuf -} // namespace google +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google // Internal implementation detail -- do not use these members. struct TableStruct_calibration_2fcalibration_2eproto { - static const ::uint32_t offsets[]; + static const ::uint32_t offsets[]; }; extern const ::google::protobuf::internal::DescriptorTable descriptor_table_calibration_2fcalibration_2eproto; @@ -58,23 +59,19 @@ namespace rpc { namespace calibration { class CalibrateAccelerometerResponse; struct CalibrateAccelerometerResponseDefaultTypeInternal; -extern CalibrateAccelerometerResponseDefaultTypeInternal - _CalibrateAccelerometerResponse_default_instance_; +extern CalibrateAccelerometerResponseDefaultTypeInternal _CalibrateAccelerometerResponse_default_instance_; class CalibrateGimbalAccelerometerResponse; struct CalibrateGimbalAccelerometerResponseDefaultTypeInternal; -extern CalibrateGimbalAccelerometerResponseDefaultTypeInternal - _CalibrateGimbalAccelerometerResponse_default_instance_; +extern CalibrateGimbalAccelerometerResponseDefaultTypeInternal _CalibrateGimbalAccelerometerResponse_default_instance_; class CalibrateGyroResponse; struct CalibrateGyroResponseDefaultTypeInternal; extern CalibrateGyroResponseDefaultTypeInternal _CalibrateGyroResponse_default_instance_; class CalibrateLevelHorizonResponse; struct CalibrateLevelHorizonResponseDefaultTypeInternal; -extern CalibrateLevelHorizonResponseDefaultTypeInternal - _CalibrateLevelHorizonResponse_default_instance_; +extern CalibrateLevelHorizonResponseDefaultTypeInternal _CalibrateLevelHorizonResponse_default_instance_; class CalibrateMagnetometerResponse; struct CalibrateMagnetometerResponseDefaultTypeInternal; -extern CalibrateMagnetometerResponseDefaultTypeInternal - _CalibrateMagnetometerResponse_default_instance_; +extern CalibrateMagnetometerResponseDefaultTypeInternal _CalibrateMagnetometerResponse_default_instance_; class CalibrationResult; struct CalibrationResultDefaultTypeInternal; extern CalibrationResultDefaultTypeInternal _CalibrationResult_default_instance_; @@ -89,3022 +86,2704 @@ struct ProgressDataDefaultTypeInternal; extern ProgressDataDefaultTypeInternal _ProgressData_default_instance_; class SubscribeCalibrateAccelerometerRequest; struct SubscribeCalibrateAccelerometerRequestDefaultTypeInternal; -extern SubscribeCalibrateAccelerometerRequestDefaultTypeInternal - _SubscribeCalibrateAccelerometerRequest_default_instance_; +extern SubscribeCalibrateAccelerometerRequestDefaultTypeInternal _SubscribeCalibrateAccelerometerRequest_default_instance_; class SubscribeCalibrateGimbalAccelerometerRequest; struct SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal; -extern SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal - _SubscribeCalibrateGimbalAccelerometerRequest_default_instance_; +extern SubscribeCalibrateGimbalAccelerometerRequestDefaultTypeInternal _SubscribeCalibrateGimbalAccelerometerRequest_default_instance_; class SubscribeCalibrateGyroRequest; struct SubscribeCalibrateGyroRequestDefaultTypeInternal; -extern SubscribeCalibrateGyroRequestDefaultTypeInternal - _SubscribeCalibrateGyroRequest_default_instance_; +extern SubscribeCalibrateGyroRequestDefaultTypeInternal _SubscribeCalibrateGyroRequest_default_instance_; class SubscribeCalibrateLevelHorizonRequest; struct SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal; -extern SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal - _SubscribeCalibrateLevelHorizonRequest_default_instance_; +extern SubscribeCalibrateLevelHorizonRequestDefaultTypeInternal _SubscribeCalibrateLevelHorizonRequest_default_instance_; class SubscribeCalibrateMagnetometerRequest; struct SubscribeCalibrateMagnetometerRequestDefaultTypeInternal; -extern SubscribeCalibrateMagnetometerRequestDefaultTypeInternal - _SubscribeCalibrateMagnetometerRequest_default_instance_; -} // namespace calibration -} // namespace rpc -} // namespace mavsdk +extern SubscribeCalibrateMagnetometerRequestDefaultTypeInternal _SubscribeCalibrateMagnetometerRequest_default_instance_; +} // namespace calibration +} // namespace rpc +} // namespace mavsdk namespace google { -namespace protobuf {} // namespace protobuf -} // namespace google +namespace protobuf { +} // namespace protobuf +} // namespace google namespace mavsdk { namespace rpc { namespace calibration { enum CalibrationResult_Result : int { - CalibrationResult_Result_RESULT_UNKNOWN = 0, - CalibrationResult_Result_RESULT_SUCCESS = 1, - CalibrationResult_Result_RESULT_NEXT = 2, - CalibrationResult_Result_RESULT_FAILED = 3, - CalibrationResult_Result_RESULT_NO_SYSTEM = 4, - CalibrationResult_Result_RESULT_CONNECTION_ERROR = 5, - CalibrationResult_Result_RESULT_BUSY = 6, - CalibrationResult_Result_RESULT_COMMAND_DENIED = 7, - CalibrationResult_Result_RESULT_TIMEOUT = 8, - CalibrationResult_Result_RESULT_CANCELLED = 9, - CalibrationResult_Result_RESULT_FAILED_ARMED = 10, - CalibrationResult_Result_RESULT_UNSUPPORTED = 11, - CalibrationResult_Result_CalibrationResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - CalibrationResult_Result_CalibrationResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), + CalibrationResult_Result_RESULT_UNKNOWN = 0, + CalibrationResult_Result_RESULT_SUCCESS = 1, + CalibrationResult_Result_RESULT_NEXT = 2, + CalibrationResult_Result_RESULT_FAILED = 3, + CalibrationResult_Result_RESULT_NO_SYSTEM = 4, + CalibrationResult_Result_RESULT_CONNECTION_ERROR = 5, + CalibrationResult_Result_RESULT_BUSY = 6, + CalibrationResult_Result_RESULT_COMMAND_DENIED = 7, + CalibrationResult_Result_RESULT_TIMEOUT = 8, + CalibrationResult_Result_RESULT_CANCELLED = 9, + CalibrationResult_Result_RESULT_FAILED_ARMED = 10, + CalibrationResult_Result_RESULT_UNSUPPORTED = 11, + CalibrationResult_Result_CalibrationResult_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + CalibrationResult_Result_CalibrationResult_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), }; bool CalibrationResult_Result_IsValid(int value); extern const uint32_t CalibrationResult_Result_internal_data_[]; -constexpr CalibrationResult_Result CalibrationResult_Result_Result_MIN = - static_cast(0); -constexpr CalibrationResult_Result CalibrationResult_Result_Result_MAX = - static_cast(11); +constexpr CalibrationResult_Result CalibrationResult_Result_Result_MIN = static_cast(0); +constexpr CalibrationResult_Result CalibrationResult_Result_Result_MAX = static_cast(11); constexpr int CalibrationResult_Result_Result_ARRAYSIZE = 11 + 1; -const ::google::protobuf::EnumDescriptor* CalibrationResult_Result_descriptor(); -template const std::string& CalibrationResult_Result_Name(T value) -{ - static_assert( - std::is_same::value || std::is_integral::value, - "Incorrect type passed to Result_Name()."); - return CalibrationResult_Result_Name(static_cast(value)); -} -template<> inline const std::string& CalibrationResult_Result_Name(CalibrationResult_Result value) -{ - return ::google::protobuf::internal:: - NameOfDenseEnum(static_cast(value)); -} -inline bool CalibrationResult_Result_Parse(absl::string_view name, CalibrationResult_Result* value) -{ - return ::google::protobuf::internal::ParseNamedEnum( - CalibrationResult_Result_descriptor(), name, value); +const ::google::protobuf::EnumDescriptor* +CalibrationResult_Result_descriptor(); +template +const std::string& CalibrationResult_Result_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to Result_Name()."); + return CalibrationResult_Result_Name(static_cast(value)); +} +template <> +inline const std::string& CalibrationResult_Result_Name(CalibrationResult_Result value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool CalibrationResult_Result_Parse(absl::string_view name, CalibrationResult_Result* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CalibrationResult_Result_descriptor(), name, value); } // =================================================================== + // ------------------------------------------------------------------- class SubscribeCalibrateMagnetometerRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) - */ -{ -public: - inline SubscribeCalibrateMagnetometerRequest() : SubscribeCalibrateMagnetometerRequest(nullptr) - {} +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) */ { + public: + inline SubscribeCalibrateMagnetometerRequest() : SubscribeCalibrateMagnetometerRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeCalibrateMagnetometerRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete( - msg, sizeof(SubscribeCalibrateMagnetometerRequest)); - } + void operator delete(SubscribeCalibrateMagnetometerRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeCalibrateMagnetometerRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeCalibrateMagnetometerRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeCalibrateMagnetometerRequest( - const SubscribeCalibrateMagnetometerRequest& from) : - SubscribeCalibrateMagnetometerRequest(nullptr, from) - {} - inline SubscribeCalibrateMagnetometerRequest( - SubscribeCalibrateMagnetometerRequest&& from) noexcept : - SubscribeCalibrateMagnetometerRequest(nullptr, std::move(from)) - {} - inline SubscribeCalibrateMagnetometerRequest& - operator=(const SubscribeCalibrateMagnetometerRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeCalibrateMagnetometerRequest& - operator=(SubscribeCalibrateMagnetometerRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeCalibrateMagnetometerRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeCalibrateMagnetometerRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeCalibrateMagnetometerRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 4; - friend void - swap(SubscribeCalibrateMagnetometerRequest& a, SubscribeCalibrateMagnetometerRequest& b) - { - a.Swap(&b); - } - inline void Swap(SubscribeCalibrateMagnetometerRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeCalibrateMagnetometerRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeCalibrateMagnetometerRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeCalibrateMagnetometerRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeCalibrateMagnetometerRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeCalibrateMagnetometerRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest"; - } - -protected: - explicit SubscribeCalibrateMagnetometerRequest(::google::protobuf::Arena* arena); - SubscribeCalibrateMagnetometerRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateMagnetometerRequest& from); - SubscribeCalibrateMagnetometerRequest( - ::google::protobuf::Arena* arena, SubscribeCalibrateMagnetometerRequest&& from) noexcept : - SubscribeCalibrateMagnetometerRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeCalibrateMagnetometerRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeCalibrateMagnetometerRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeCalibrateMagnetometerRequest(const SubscribeCalibrateMagnetometerRequest& from) : SubscribeCalibrateMagnetometerRequest(nullptr, from) {} + inline SubscribeCalibrateMagnetometerRequest(SubscribeCalibrateMagnetometerRequest&& from) noexcept + : SubscribeCalibrateMagnetometerRequest(nullptr, std::move(from)) {} + inline SubscribeCalibrateMagnetometerRequest& operator=(const SubscribeCalibrateMagnetometerRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeCalibrateMagnetometerRequest& operator=(SubscribeCalibrateMagnetometerRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeCalibrateMagnetometerRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeCalibrateMagnetometerRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeCalibrateMagnetometerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(SubscribeCalibrateMagnetometerRequest& a, SubscribeCalibrateMagnetometerRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeCalibrateMagnetometerRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeCalibrateMagnetometerRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeCalibrateMagnetometerRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeCalibrateMagnetometerRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeCalibrateMagnetometerRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest"; } + + protected: + explicit SubscribeCalibrateMagnetometerRequest(::google::protobuf::Arena* arena); + SubscribeCalibrateMagnetometerRequest(::google::protobuf::Arena* arena, const SubscribeCalibrateMagnetometerRequest& from); + SubscribeCalibrateMagnetometerRequest(::google::protobuf::Arena* arena, SubscribeCalibrateMagnetometerRequest&& from) noexcept + : SubscribeCalibrateMagnetometerRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateMagnetometerRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeCalibrateMagnetometerRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- class SubscribeCalibrateLevelHorizonRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) - */ -{ -public: - inline SubscribeCalibrateLevelHorizonRequest() : SubscribeCalibrateLevelHorizonRequest(nullptr) - {} +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) */ { + public: + inline SubscribeCalibrateLevelHorizonRequest() : SubscribeCalibrateLevelHorizonRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeCalibrateLevelHorizonRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete( - msg, sizeof(SubscribeCalibrateLevelHorizonRequest)); - } + void operator delete(SubscribeCalibrateLevelHorizonRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeCalibrateLevelHorizonRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeCalibrateLevelHorizonRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeCalibrateLevelHorizonRequest( - const SubscribeCalibrateLevelHorizonRequest& from) : - SubscribeCalibrateLevelHorizonRequest(nullptr, from) - {} - inline SubscribeCalibrateLevelHorizonRequest( - SubscribeCalibrateLevelHorizonRequest&& from) noexcept : - SubscribeCalibrateLevelHorizonRequest(nullptr, std::move(from)) - {} - inline SubscribeCalibrateLevelHorizonRequest& - operator=(const SubscribeCalibrateLevelHorizonRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeCalibrateLevelHorizonRequest& - operator=(SubscribeCalibrateLevelHorizonRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeCalibrateLevelHorizonRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeCalibrateLevelHorizonRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeCalibrateLevelHorizonRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 6; - friend void - swap(SubscribeCalibrateLevelHorizonRequest& a, SubscribeCalibrateLevelHorizonRequest& b) - { - a.Swap(&b); - } - inline void Swap(SubscribeCalibrateLevelHorizonRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeCalibrateLevelHorizonRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeCalibrateLevelHorizonRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeCalibrateLevelHorizonRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeCalibrateLevelHorizonRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeCalibrateLevelHorizonRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest"; - } - -protected: - explicit SubscribeCalibrateLevelHorizonRequest(::google::protobuf::Arena* arena); - SubscribeCalibrateLevelHorizonRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateLevelHorizonRequest& from); - SubscribeCalibrateLevelHorizonRequest( - ::google::protobuf::Arena* arena, SubscribeCalibrateLevelHorizonRequest&& from) noexcept : - SubscribeCalibrateLevelHorizonRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeCalibrateLevelHorizonRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeCalibrateLevelHorizonRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeCalibrateLevelHorizonRequest(const SubscribeCalibrateLevelHorizonRequest& from) : SubscribeCalibrateLevelHorizonRequest(nullptr, from) {} + inline SubscribeCalibrateLevelHorizonRequest(SubscribeCalibrateLevelHorizonRequest&& from) noexcept + : SubscribeCalibrateLevelHorizonRequest(nullptr, std::move(from)) {} + inline SubscribeCalibrateLevelHorizonRequest& operator=(const SubscribeCalibrateLevelHorizonRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeCalibrateLevelHorizonRequest& operator=(SubscribeCalibrateLevelHorizonRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeCalibrateLevelHorizonRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeCalibrateLevelHorizonRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeCalibrateLevelHorizonRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(SubscribeCalibrateLevelHorizonRequest& a, SubscribeCalibrateLevelHorizonRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeCalibrateLevelHorizonRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeCalibrateLevelHorizonRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeCalibrateLevelHorizonRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeCalibrateLevelHorizonRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeCalibrateLevelHorizonRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest"; } + + protected: + explicit SubscribeCalibrateLevelHorizonRequest(::google::protobuf::Arena* arena); + SubscribeCalibrateLevelHorizonRequest(::google::protobuf::Arena* arena, const SubscribeCalibrateLevelHorizonRequest& from); + SubscribeCalibrateLevelHorizonRequest(::google::protobuf::Arena* arena, SubscribeCalibrateLevelHorizonRequest&& from) noexcept + : SubscribeCalibrateLevelHorizonRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateLevelHorizonRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeCalibrateLevelHorizonRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class SubscribeCalibrateGyroRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) - */ -{ -public: - inline SubscribeCalibrateGyroRequest() : SubscribeCalibrateGyroRequest(nullptr) {} +class SubscribeCalibrateGyroRequest final + : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) */ { + public: + inline SubscribeCalibrateGyroRequest() : SubscribeCalibrateGyroRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeCalibrateGyroRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeCalibrateGyroRequest)); - } + void operator delete(SubscribeCalibrateGyroRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeCalibrateGyroRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeCalibrateGyroRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeCalibrateGyroRequest(const SubscribeCalibrateGyroRequest& from) : - SubscribeCalibrateGyroRequest(nullptr, from) - {} - inline SubscribeCalibrateGyroRequest(SubscribeCalibrateGyroRequest&& from) noexcept : - SubscribeCalibrateGyroRequest(nullptr, std::move(from)) - {} - inline SubscribeCalibrateGyroRequest& operator=(const SubscribeCalibrateGyroRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeCalibrateGyroRequest& operator=(SubscribeCalibrateGyroRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeCalibrateGyroRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeCalibrateGyroRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeCalibrateGyroRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(SubscribeCalibrateGyroRequest& a, SubscribeCalibrateGyroRequest& b) - { - a.Swap(&b); - } - inline void Swap(SubscribeCalibrateGyroRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeCalibrateGyroRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeCalibrateGyroRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeCalibrateGyroRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeCalibrateGyroRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeCalibrateGyroRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest"; - } - -protected: - explicit SubscribeCalibrateGyroRequest(::google::protobuf::Arena* arena); - SubscribeCalibrateGyroRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateGyroRequest& from); - SubscribeCalibrateGyroRequest( - ::google::protobuf::Arena* arena, SubscribeCalibrateGyroRequest&& from) noexcept : - SubscribeCalibrateGyroRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeCalibrateGyroRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeCalibrateGyroRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeCalibrateGyroRequest(const SubscribeCalibrateGyroRequest& from) : SubscribeCalibrateGyroRequest(nullptr, from) {} + inline SubscribeCalibrateGyroRequest(SubscribeCalibrateGyroRequest&& from) noexcept + : SubscribeCalibrateGyroRequest(nullptr, std::move(from)) {} + inline SubscribeCalibrateGyroRequest& operator=(const SubscribeCalibrateGyroRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeCalibrateGyroRequest& operator=(SubscribeCalibrateGyroRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeCalibrateGyroRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeCalibrateGyroRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeCalibrateGyroRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(SubscribeCalibrateGyroRequest& a, SubscribeCalibrateGyroRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeCalibrateGyroRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeCalibrateGyroRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeCalibrateGyroRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeCalibrateGyroRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeCalibrateGyroRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest"; } + + protected: + explicit SubscribeCalibrateGyroRequest(::google::protobuf::Arena* arena); + SubscribeCalibrateGyroRequest(::google::protobuf::Arena* arena, const SubscribeCalibrateGyroRequest& from); + SubscribeCalibrateGyroRequest(::google::protobuf::Arena* arena, SubscribeCalibrateGyroRequest&& from) noexcept + : SubscribeCalibrateGyroRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateGyroRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeCalibrateGyroRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- class SubscribeCalibrateGimbalAccelerometerRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) - */ -{ -public: - inline SubscribeCalibrateGimbalAccelerometerRequest() : - SubscribeCalibrateGimbalAccelerometerRequest(nullptr) - {} +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) */ { + public: + inline SubscribeCalibrateGimbalAccelerometerRequest() : SubscribeCalibrateGimbalAccelerometerRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void - operator delete(SubscribeCalibrateGimbalAccelerometerRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete( - msg, sizeof(SubscribeCalibrateGimbalAccelerometerRequest)); - } + void operator delete(SubscribeCalibrateGimbalAccelerometerRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeCalibrateGimbalAccelerometerRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR SubscribeCalibrateGimbalAccelerometerRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline SubscribeCalibrateGimbalAccelerometerRequest( - const SubscribeCalibrateGimbalAccelerometerRequest& from) : - SubscribeCalibrateGimbalAccelerometerRequest(nullptr, from) - {} - inline SubscribeCalibrateGimbalAccelerometerRequest( - SubscribeCalibrateGimbalAccelerometerRequest&& from) noexcept : - SubscribeCalibrateGimbalAccelerometerRequest(nullptr, std::move(from)) - {} - inline SubscribeCalibrateGimbalAccelerometerRequest& - operator=(const SubscribeCalibrateGimbalAccelerometerRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeCalibrateGimbalAccelerometerRequest& - operator=(SubscribeCalibrateGimbalAccelerometerRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeCalibrateGimbalAccelerometerRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeCalibrateGimbalAccelerometerRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeCalibrateGimbalAccelerometerRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 8; - friend void swap( - SubscribeCalibrateGimbalAccelerometerRequest& a, - SubscribeCalibrateGimbalAccelerometerRequest& b) - { - a.Swap(&b); - } - inline void Swap(SubscribeCalibrateGimbalAccelerometerRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeCalibrateGimbalAccelerometerRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeCalibrateGimbalAccelerometerRequest* - New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeCalibrateGimbalAccelerometerRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeCalibrateGimbalAccelerometerRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeCalibrateGimbalAccelerometerRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest"; - } - -protected: - explicit SubscribeCalibrateGimbalAccelerometerRequest(::google::protobuf::Arena* arena); - SubscribeCalibrateGimbalAccelerometerRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateGimbalAccelerometerRequest& from); - SubscribeCalibrateGimbalAccelerometerRequest( - ::google::protobuf::Arena* arena, - SubscribeCalibrateGimbalAccelerometerRequest&& from) noexcept : - SubscribeCalibrateGimbalAccelerometerRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeCalibrateGimbalAccelerometerRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeCalibrateGimbalAccelerometerRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeCalibrateGimbalAccelerometerRequest(const SubscribeCalibrateGimbalAccelerometerRequest& from) : SubscribeCalibrateGimbalAccelerometerRequest(nullptr, from) {} + inline SubscribeCalibrateGimbalAccelerometerRequest(SubscribeCalibrateGimbalAccelerometerRequest&& from) noexcept + : SubscribeCalibrateGimbalAccelerometerRequest(nullptr, std::move(from)) {} + inline SubscribeCalibrateGimbalAccelerometerRequest& operator=(const SubscribeCalibrateGimbalAccelerometerRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeCalibrateGimbalAccelerometerRequest& operator=(SubscribeCalibrateGimbalAccelerometerRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeCalibrateGimbalAccelerometerRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeCalibrateGimbalAccelerometerRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeCalibrateGimbalAccelerometerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(SubscribeCalibrateGimbalAccelerometerRequest& a, SubscribeCalibrateGimbalAccelerometerRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeCalibrateGimbalAccelerometerRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeCalibrateGimbalAccelerometerRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeCalibrateGimbalAccelerometerRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeCalibrateGimbalAccelerometerRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeCalibrateGimbalAccelerometerRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest"; } + + protected: + explicit SubscribeCalibrateGimbalAccelerometerRequest(::google::protobuf::Arena* arena); + SubscribeCalibrateGimbalAccelerometerRequest(::google::protobuf::Arena* arena, const SubscribeCalibrateGimbalAccelerometerRequest& from); + SubscribeCalibrateGimbalAccelerometerRequest(::google::protobuf::Arena* arena, SubscribeCalibrateGimbalAccelerometerRequest&& from) noexcept + : SubscribeCalibrateGimbalAccelerometerRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateGimbalAccelerometerRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeCalibrateGimbalAccelerometerRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- class SubscribeCalibrateAccelerometerRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) - */ -{ -public: - inline SubscribeCalibrateAccelerometerRequest() : - SubscribeCalibrateAccelerometerRequest(nullptr) - {} +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) */ { + public: + inline SubscribeCalibrateAccelerometerRequest() : SubscribeCalibrateAccelerometerRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubscribeCalibrateAccelerometerRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete( - msg, sizeof(SubscribeCalibrateAccelerometerRequest)); - } + void operator delete(SubscribeCalibrateAccelerometerRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SubscribeCalibrateAccelerometerRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - SubscribeCalibrateAccelerometerRequest(::google::protobuf::internal::ConstantInitialized); - - inline SubscribeCalibrateAccelerometerRequest( - const SubscribeCalibrateAccelerometerRequest& from) : - SubscribeCalibrateAccelerometerRequest(nullptr, from) - {} - inline SubscribeCalibrateAccelerometerRequest( - SubscribeCalibrateAccelerometerRequest&& from) noexcept : - SubscribeCalibrateAccelerometerRequest(nullptr, std::move(from)) - {} - inline SubscribeCalibrateAccelerometerRequest& - operator=(const SubscribeCalibrateAccelerometerRequest& from) - { - CopyFrom(from); - return *this; - } - inline SubscribeCalibrateAccelerometerRequest& - operator=(SubscribeCalibrateAccelerometerRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const SubscribeCalibrateAccelerometerRequest& default_instance() - { - return *internal_default_instance(); - } - static inline const SubscribeCalibrateAccelerometerRequest* internal_default_instance() - { - return reinterpret_cast( - &_SubscribeCalibrateAccelerometerRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void - swap(SubscribeCalibrateAccelerometerRequest& a, SubscribeCalibrateAccelerometerRequest& b) - { - a.Swap(&b); - } - inline void Swap(SubscribeCalibrateAccelerometerRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubscribeCalibrateAccelerometerRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubscribeCalibrateAccelerometerRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct< - SubscribeCalibrateAccelerometerRequest>(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SubscribeCalibrateAccelerometerRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SubscribeCalibrateAccelerometerRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest"; - } - -protected: - explicit SubscribeCalibrateAccelerometerRequest(::google::protobuf::Arena* arena); - SubscribeCalibrateAccelerometerRequest( - ::google::protobuf::Arena* arena, const SubscribeCalibrateAccelerometerRequest& from); - SubscribeCalibrateAccelerometerRequest( - ::google::protobuf::Arena* arena, SubscribeCalibrateAccelerometerRequest&& from) noexcept : - SubscribeCalibrateAccelerometerRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const SubscribeCalibrateAccelerometerRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR SubscribeCalibrateAccelerometerRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline SubscribeCalibrateAccelerometerRequest(const SubscribeCalibrateAccelerometerRequest& from) : SubscribeCalibrateAccelerometerRequest(nullptr, from) {} + inline SubscribeCalibrateAccelerometerRequest(SubscribeCalibrateAccelerometerRequest&& from) noexcept + : SubscribeCalibrateAccelerometerRequest(nullptr, std::move(from)) {} + inline SubscribeCalibrateAccelerometerRequest& operator=(const SubscribeCalibrateAccelerometerRequest& from) { + CopyFrom(from); + return *this; + } + inline SubscribeCalibrateAccelerometerRequest& operator=(SubscribeCalibrateAccelerometerRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SubscribeCalibrateAccelerometerRequest& default_instance() { + return *internal_default_instance(); + } + static inline const SubscribeCalibrateAccelerometerRequest* internal_default_instance() { + return reinterpret_cast( + &_SubscribeCalibrateAccelerometerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(SubscribeCalibrateAccelerometerRequest& a, SubscribeCalibrateAccelerometerRequest& b) { a.Swap(&b); } + inline void Swap(SubscribeCalibrateAccelerometerRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SubscribeCalibrateAccelerometerRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SubscribeCalibrateAccelerometerRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const SubscribeCalibrateAccelerometerRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const SubscribeCalibrateAccelerometerRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest"; } + + protected: + explicit SubscribeCalibrateAccelerometerRequest(::google::protobuf::Arena* arena); + SubscribeCalibrateAccelerometerRequest(::google::protobuf::Arena* arena, const SubscribeCalibrateAccelerometerRequest& from); + SubscribeCalibrateAccelerometerRequest(::google::protobuf::Arena* arena, SubscribeCalibrateAccelerometerRequest&& from) noexcept + : SubscribeCalibrateAccelerometerRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.SubscribeCalibrateAccelerometerRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SubscribeCalibrateAccelerometerRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class ProgressData final : public ::google::protobuf::Message +class ProgressData final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.ProgressData) */ { -public: - inline ProgressData() : ProgressData(nullptr) {} - ~ProgressData() PROTOBUF_FINAL; + public: + inline ProgressData() : ProgressData(nullptr) {} + ~ProgressData() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(ProgressData* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(ProgressData)); - } + void operator delete(ProgressData* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ProgressData)); + } #endif - template - explicit PROTOBUF_CONSTEXPR ProgressData(::google::protobuf::internal::ConstantInitialized); - - inline ProgressData(const ProgressData& from) : ProgressData(nullptr, from) {} - inline ProgressData(ProgressData&& from) noexcept : ProgressData(nullptr, std::move(from)) {} - inline ProgressData& operator=(const ProgressData& from) - { - CopyFrom(from); - return *this; - } - inline ProgressData& operator=(ProgressData&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const ProgressData& default_instance() { return *internal_default_instance(); } - static inline const ProgressData* internal_default_instance() - { - return reinterpret_cast(&_ProgressData_default_instance_); - } - static constexpr int kIndexInFileMessages = 13; - friend void swap(ProgressData& a, ProgressData& b) { a.Swap(&b); } - inline void Swap(ProgressData* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(ProgressData* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - ProgressData* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const ProgressData& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const ProgressData& from) { ProgressData::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(ProgressData* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.ProgressData"; } - -protected: - explicit ProgressData(::google::protobuf::Arena* arena); - ProgressData(::google::protobuf::Arena* arena, const ProgressData& from); - ProgressData(::google::protobuf::Arena* arena, ProgressData&& from) noexcept : - ProgressData(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kStatusTextFieldNumber = 4, - kProgressFieldNumber = 2, - kHasProgressFieldNumber = 1, - kHasStatusTextFieldNumber = 3, - }; - // string status_text = 4; - void clear_status_text(); - const std::string& status_text() const; - template - void set_status_text(Arg_&& arg, Args_... args); - std::string* mutable_status_text(); - PROTOBUF_NODISCARD std::string* release_status_text(); - void set_allocated_status_text(std::string* value); - -private: - const std::string& _internal_status_text() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_status_text(const std::string& value); - std::string* _internal_mutable_status_text(); - -public: - // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; - void clear_progress(); - float progress() const; - void set_progress(float value); - -private: - float _internal_progress() const; - void _internal_set_progress(float value); - -public: - // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; - void clear_has_progress(); - bool has_progress() const; - void set_has_progress(bool value); - -private: - bool _internal_has_progress() const; - void _internal_set_has_progress(bool value); - -public: - // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; - void clear_has_status_text(); - bool has_status_text() const; - void set_has_status_text(bool value); - -private: - bool _internal_has_status_text() const; - void _internal_set_has_status_text(bool value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.ProgressData) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<2, 4, 0, 55, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ProgressData& from_msg); - ::google::protobuf::internal::ArenaStringPtr status_text_; - float progress_; - bool has_progress_; - bool has_status_text_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR ProgressData( + ::google::protobuf::internal::ConstantInitialized); + + inline ProgressData(const ProgressData& from) : ProgressData(nullptr, from) {} + inline ProgressData(ProgressData&& from) noexcept + : ProgressData(nullptr, std::move(from)) {} + inline ProgressData& operator=(const ProgressData& from) { + CopyFrom(from); + return *this; + } + inline ProgressData& operator=(ProgressData&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ProgressData& default_instance() { + return *internal_default_instance(); + } + static inline const ProgressData* internal_default_instance() { + return reinterpret_cast( + &_ProgressData_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(ProgressData& a, ProgressData& b) { a.Swap(&b); } + inline void Swap(ProgressData* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ProgressData* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ProgressData* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ProgressData& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ProgressData& from) { ProgressData::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ProgressData* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.ProgressData"; } + + protected: + explicit ProgressData(::google::protobuf::Arena* arena); + ProgressData(::google::protobuf::Arena* arena, const ProgressData& from); + ProgressData(::google::protobuf::Arena* arena, ProgressData&& from) noexcept + : ProgressData(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kStatusTextFieldNumber = 4, + kProgressFieldNumber = 2, + kHasProgressFieldNumber = 1, + kHasStatusTextFieldNumber = 3, + }; + // string status_text = 4; + void clear_status_text() ; + const std::string& status_text() const; + template + void set_status_text(Arg_&& arg, Args_... args); + std::string* mutable_status_text(); + PROTOBUF_NODISCARD std::string* release_status_text(); + void set_allocated_status_text(std::string* value); + + private: + const std::string& _internal_status_text() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_status_text( + const std::string& value); + std::string* _internal_mutable_status_text(); + + public: + // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; + void clear_progress() ; + float progress() const; + void set_progress(float value); + + private: + float _internal_progress() const; + void _internal_set_progress(float value); + + public: + // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; + void clear_has_progress() ; + bool has_progress() const; + void set_has_progress(bool value); + + private: + bool _internal_has_progress() const; + void _internal_set_has_progress(bool value); + + public: + // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; + void clear_has_status_text() ; + bool has_status_text() const; + void set_has_status_text(bool value); + + private: + bool _internal_has_status_text() const; + void _internal_set_has_status_text(bool value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.ProgressData) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 0, + 55, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ProgressData& from_msg); + ::google::protobuf::internal::ArenaStringPtr status_text_; + float progress_; + bool has_progress_; + bool has_status_text_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class CancelRequest final : public ::google::protobuf::internal::ZeroFieldsBase +class CancelRequest final + : public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CancelRequest) */ { -public: - inline CancelRequest() : CancelRequest(nullptr) {} + public: + inline CancelRequest() : CancelRequest(nullptr) {} #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CancelRequest* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CancelRequest)); - } + void operator delete(CancelRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CancelRequest)); + } #endif - template - explicit PROTOBUF_CONSTEXPR CancelRequest(::google::protobuf::internal::ConstantInitialized); - - inline CancelRequest(const CancelRequest& from) : CancelRequest(nullptr, from) {} - inline CancelRequest(CancelRequest&& from) noexcept : CancelRequest(nullptr, std::move(from)) {} - inline CancelRequest& operator=(const CancelRequest& from) - { - CopyFrom(from); - return *this; - } - inline CancelRequest& operator=(CancelRequest&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CancelRequest& default_instance() { return *internal_default_instance(); } - static inline const CancelRequest* internal_default_instance() - { - return reinterpret_cast(&_CancelRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 10; - friend void swap(CancelRequest& a, CancelRequest& b) { a.Swap(&b); } - inline void Swap(CancelRequest* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CancelRequest* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CancelRequest* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const CancelRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const CancelRequest& from) - { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - -public: - bool IsInitialized() const { return true; } - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CancelRequest"; } - -protected: - explicit CancelRequest(::google::protobuf::Arena* arena); - CancelRequest(::google::protobuf::Arena* arena, const CancelRequest& from); - CancelRequest(::google::protobuf::Arena* arena, CancelRequest&& from) noexcept : - CancelRequest(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CancelRequest) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 0, 0, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CancelRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR CancelRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline CancelRequest(const CancelRequest& from) : CancelRequest(nullptr, from) {} + inline CancelRequest(CancelRequest&& from) noexcept + : CancelRequest(nullptr, std::move(from)) {} + inline CancelRequest& operator=(const CancelRequest& from) { + CopyFrom(from); + return *this; + } + inline CancelRequest& operator=(CancelRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CancelRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CancelRequest* internal_default_instance() { + return reinterpret_cast( + &_CancelRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(CancelRequest& a, CancelRequest& b) { a.Swap(&b); } + inline void Swap(CancelRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CancelRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CancelRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CancelRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CancelRequest& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CancelRequest"; } + + protected: + explicit CancelRequest(::google::protobuf::Arena* arena); + CancelRequest(::google::protobuf::Arena* arena, const CancelRequest& from); + CancelRequest(::google::protobuf::Arena* arena, CancelRequest&& from) noexcept + : CancelRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CancelRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CancelRequest& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class CalibrationResult final : public ::google::protobuf::Message +class CalibrationResult final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrationResult) */ { -public: - inline CalibrationResult() : CalibrationResult(nullptr) {} - ~CalibrationResult() PROTOBUF_FINAL; + public: + inline CalibrationResult() : CalibrationResult(nullptr) {} + ~CalibrationResult() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CalibrationResult* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrationResult)); - } + void operator delete(CalibrationResult* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrationResult)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - CalibrationResult(::google::protobuf::internal::ConstantInitialized); - - inline CalibrationResult(const CalibrationResult& from) : CalibrationResult(nullptr, from) {} - inline CalibrationResult(CalibrationResult&& from) noexcept : - CalibrationResult(nullptr, std::move(from)) - {} - inline CalibrationResult& operator=(const CalibrationResult& from) - { - CopyFrom(from); - return *this; - } - inline CalibrationResult& operator=(CalibrationResult&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CalibrationResult& default_instance() { return *internal_default_instance(); } - static inline const CalibrationResult* internal_default_instance() - { - return reinterpret_cast(&_CalibrationResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 12; - friend void swap(CalibrationResult& a, CalibrationResult& b) { a.Swap(&b); } - inline void Swap(CalibrationResult* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CalibrationResult* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CalibrationResult* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CalibrationResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CalibrationResult& from) { CalibrationResult::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CalibrationResult* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.CalibrationResult"; - } - -protected: - explicit CalibrationResult(::google::protobuf::Arena* arena); - CalibrationResult(::google::protobuf::Arena* arena, const CalibrationResult& from); - CalibrationResult(::google::protobuf::Arena* arena, CalibrationResult&& from) noexcept : - CalibrationResult(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using Result = CalibrationResult_Result; - static constexpr Result RESULT_UNKNOWN = CalibrationResult_Result_RESULT_UNKNOWN; - static constexpr Result RESULT_SUCCESS = CalibrationResult_Result_RESULT_SUCCESS; - static constexpr Result RESULT_NEXT = CalibrationResult_Result_RESULT_NEXT; - static constexpr Result RESULT_FAILED = CalibrationResult_Result_RESULT_FAILED; - static constexpr Result RESULT_NO_SYSTEM = CalibrationResult_Result_RESULT_NO_SYSTEM; - static constexpr Result RESULT_CONNECTION_ERROR = - CalibrationResult_Result_RESULT_CONNECTION_ERROR; - static constexpr Result RESULT_BUSY = CalibrationResult_Result_RESULT_BUSY; - static constexpr Result RESULT_COMMAND_DENIED = CalibrationResult_Result_RESULT_COMMAND_DENIED; - static constexpr Result RESULT_TIMEOUT = CalibrationResult_Result_RESULT_TIMEOUT; - static constexpr Result RESULT_CANCELLED = CalibrationResult_Result_RESULT_CANCELLED; - static constexpr Result RESULT_FAILED_ARMED = CalibrationResult_Result_RESULT_FAILED_ARMED; - static constexpr Result RESULT_UNSUPPORTED = CalibrationResult_Result_RESULT_UNSUPPORTED; - static inline bool Result_IsValid(int value) { return CalibrationResult_Result_IsValid(value); } - static constexpr Result Result_MIN = CalibrationResult_Result_Result_MIN; - static constexpr Result Result_MAX = CalibrationResult_Result_Result_MAX; - static constexpr int Result_ARRAYSIZE = CalibrationResult_Result_Result_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() - { - return CalibrationResult_Result_descriptor(); - } - template static inline const std::string& Result_Name(T value) - { - return CalibrationResult_Result_Name(value); - } - static inline bool Result_Parse(absl::string_view name, Result* value) - { - return CalibrationResult_Result_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kResultStrFieldNumber = 2, - kResultFieldNumber = 1, - }; - // string result_str = 2; - void clear_result_str(); - const std::string& result_str() const; - template - void set_result_str(Arg_&& arg, Args_... args); - std::string* mutable_result_str(); - PROTOBUF_NODISCARD std::string* release_result_str(); - void set_allocated_result_str(std::string* value); - -private: - const std::string& _internal_result_str() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str(const std::string& value); - std::string* _internal_mutable_result_str(); - -public: - // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; - void clear_result(); - ::mavsdk::rpc::calibration::CalibrationResult_Result result() const; - void set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value); - -private: - ::mavsdk::rpc::calibration::CalibrationResult_Result _internal_result() const; - void _internal_set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrationResult) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 59, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CalibrationResult& from_msg); - ::google::protobuf::internal::ArenaStringPtr result_str_; - int result_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR CalibrationResult( + ::google::protobuf::internal::ConstantInitialized); + + inline CalibrationResult(const CalibrationResult& from) : CalibrationResult(nullptr, from) {} + inline CalibrationResult(CalibrationResult&& from) noexcept + : CalibrationResult(nullptr, std::move(from)) {} + inline CalibrationResult& operator=(const CalibrationResult& from) { + CopyFrom(from); + return *this; + } + inline CalibrationResult& operator=(CalibrationResult&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CalibrationResult& default_instance() { + return *internal_default_instance(); + } + static inline const CalibrationResult* internal_default_instance() { + return reinterpret_cast( + &_CalibrationResult_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(CalibrationResult& a, CalibrationResult& b) { a.Swap(&b); } + inline void Swap(CalibrationResult* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CalibrationResult* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CalibrationResult* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CalibrationResult& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CalibrationResult& from) { CalibrationResult::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CalibrationResult* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CalibrationResult"; } + + protected: + explicit CalibrationResult(::google::protobuf::Arena* arena); + CalibrationResult(::google::protobuf::Arena* arena, const CalibrationResult& from); + CalibrationResult(::google::protobuf::Arena* arena, CalibrationResult&& from) noexcept + : CalibrationResult(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Result = CalibrationResult_Result; + static constexpr Result RESULT_UNKNOWN = CalibrationResult_Result_RESULT_UNKNOWN; + static constexpr Result RESULT_SUCCESS = CalibrationResult_Result_RESULT_SUCCESS; + static constexpr Result RESULT_NEXT = CalibrationResult_Result_RESULT_NEXT; + static constexpr Result RESULT_FAILED = CalibrationResult_Result_RESULT_FAILED; + static constexpr Result RESULT_NO_SYSTEM = CalibrationResult_Result_RESULT_NO_SYSTEM; + static constexpr Result RESULT_CONNECTION_ERROR = CalibrationResult_Result_RESULT_CONNECTION_ERROR; + static constexpr Result RESULT_BUSY = CalibrationResult_Result_RESULT_BUSY; + static constexpr Result RESULT_COMMAND_DENIED = CalibrationResult_Result_RESULT_COMMAND_DENIED; + static constexpr Result RESULT_TIMEOUT = CalibrationResult_Result_RESULT_TIMEOUT; + static constexpr Result RESULT_CANCELLED = CalibrationResult_Result_RESULT_CANCELLED; + static constexpr Result RESULT_FAILED_ARMED = CalibrationResult_Result_RESULT_FAILED_ARMED; + static constexpr Result RESULT_UNSUPPORTED = CalibrationResult_Result_RESULT_UNSUPPORTED; + static inline bool Result_IsValid(int value) { + return CalibrationResult_Result_IsValid(value); + } + static constexpr Result Result_MIN = CalibrationResult_Result_Result_MIN; + static constexpr Result Result_MAX = CalibrationResult_Result_Result_MAX; + static constexpr int Result_ARRAYSIZE = CalibrationResult_Result_Result_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() { + return CalibrationResult_Result_descriptor(); + } + template + static inline const std::string& Result_Name(T value) { + return CalibrationResult_Result_Name(value); + } + static inline bool Result_Parse(absl::string_view name, Result* value) { + return CalibrationResult_Result_Parse(name, value); + } + + // accessors ------------------------------------------------------- + enum : int { + kResultStrFieldNumber = 2, + kResultFieldNumber = 1, + }; + // string result_str = 2; + void clear_result_str() ; + const std::string& result_str() const; + template + void set_result_str(Arg_&& arg, Args_... args); + std::string* mutable_result_str(); + PROTOBUF_NODISCARD std::string* release_result_str(); + void set_allocated_result_str(std::string* value); + + private: + const std::string& _internal_result_str() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_result_str( + const std::string& value); + std::string* _internal_mutable_result_str(); + + public: + // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; + void clear_result() ; + ::mavsdk::rpc::calibration::CalibrationResult_Result result() const; + void set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value); + + private: + ::mavsdk::rpc::calibration::CalibrationResult_Result _internal_result() const; + void _internal_set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrationResult) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 59, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CalibrationResult& from_msg); + ::google::protobuf::internal::ArenaStringPtr result_str_; + int result_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class CancelResponse final : public ::google::protobuf::Message +class CancelResponse final + : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CancelResponse) */ { -public: - inline CancelResponse() : CancelResponse(nullptr) {} - ~CancelResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CancelResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CancelResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR CancelResponse(::google::protobuf::internal::ConstantInitialized); - - inline CancelResponse(const CancelResponse& from) : CancelResponse(nullptr, from) {} - inline CancelResponse(CancelResponse&& from) noexcept : CancelResponse(nullptr, std::move(from)) - {} - inline CancelResponse& operator=(const CancelResponse& from) - { - CopyFrom(from); - return *this; - } - inline CancelResponse& operator=(CancelResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CancelResponse& default_instance() { return *internal_default_instance(); } - static inline const CancelResponse* internal_default_instance() - { - return reinterpret_cast(&_CancelResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 11; - friend void swap(CancelResponse& a, CancelResponse& b) { a.Swap(&b); } - inline void Swap(CancelResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CancelResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CancelResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CancelResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CancelResponse& from) { CancelResponse::MergeImpl(*this, from); } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CancelResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CancelResponse"; } - -protected: - explicit CancelResponse(::google::protobuf::Arena* arena); - CancelResponse(::google::protobuf::Arena* arena, const CancelResponse& from); - CancelResponse(::google::protobuf::Arena* arena, CancelResponse&& from) noexcept : - CancelResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCalibrationResultFieldNumber = 1, - }; - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - bool has_calibration_result() const; - void clear_calibration_result(); - const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); - ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); - void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); - void unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value); - ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); - -private: - const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; - ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CancelResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CancelResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; -}; -// ------------------------------------------------------------------- - -class CalibrateMagnetometerResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) - */ -{ -public: - inline CalibrateMagnetometerResponse() : CalibrateMagnetometerResponse(nullptr) {} - ~CalibrateMagnetometerResponse() PROTOBUF_FINAL; + public: + inline CancelResponse() : CancelResponse(nullptr) {} + ~CancelResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CalibrateMagnetometerResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateMagnetometerResponse)); - } + void operator delete(CancelResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CancelResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - CalibrateMagnetometerResponse(::google::protobuf::internal::ConstantInitialized); - - inline CalibrateMagnetometerResponse(const CalibrateMagnetometerResponse& from) : - CalibrateMagnetometerResponse(nullptr, from) - {} - inline CalibrateMagnetometerResponse(CalibrateMagnetometerResponse&& from) noexcept : - CalibrateMagnetometerResponse(nullptr, std::move(from)) - {} - inline CalibrateMagnetometerResponse& operator=(const CalibrateMagnetometerResponse& from) - { - CopyFrom(from); - return *this; - } - inline CalibrateMagnetometerResponse& operator=(CalibrateMagnetometerResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CalibrateMagnetometerResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const CalibrateMagnetometerResponse* internal_default_instance() - { - return reinterpret_cast( - &_CalibrateMagnetometerResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 5; - friend void swap(CalibrateMagnetometerResponse& a, CalibrateMagnetometerResponse& b) - { - a.Swap(&b); - } - inline void Swap(CalibrateMagnetometerResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CalibrateMagnetometerResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CalibrateMagnetometerResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CalibrateMagnetometerResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CalibrateMagnetometerResponse& from) - { - CalibrateMagnetometerResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CalibrateMagnetometerResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.CalibrateMagnetometerResponse"; - } - -protected: - explicit CalibrateMagnetometerResponse(::google::protobuf::Arena* arena); - CalibrateMagnetometerResponse( - ::google::protobuf::Arena* arena, const CalibrateMagnetometerResponse& from); - CalibrateMagnetometerResponse( - ::google::protobuf::Arena* arena, CalibrateMagnetometerResponse&& from) noexcept : - CalibrateMagnetometerResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCalibrationResultFieldNumber = 1, - kProgressDataFieldNumber = 2, - }; - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - bool has_calibration_result() const; - void clear_calibration_result(); - const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); - ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); - void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); - void unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value); - ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); - -private: - const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; - ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); - -public: - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - bool has_progress_data() const; - void clear_progress_data(); - const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); - ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); - void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); - -private: - const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; - ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 2, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CalibrateMagnetometerResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; - ::mavsdk::rpc::calibration::ProgressData* progress_data_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; -}; -// ------------------------------------------------------------------- - -class CalibrateLevelHorizonResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) - */ -{ -public: - inline CalibrateLevelHorizonResponse() : CalibrateLevelHorizonResponse(nullptr) {} - ~CalibrateLevelHorizonResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CalibrateLevelHorizonResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateLevelHorizonResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR - CalibrateLevelHorizonResponse(::google::protobuf::internal::ConstantInitialized); - - inline CalibrateLevelHorizonResponse(const CalibrateLevelHorizonResponse& from) : - CalibrateLevelHorizonResponse(nullptr, from) - {} - inline CalibrateLevelHorizonResponse(CalibrateLevelHorizonResponse&& from) noexcept : - CalibrateLevelHorizonResponse(nullptr, std::move(from)) - {} - inline CalibrateLevelHorizonResponse& operator=(const CalibrateLevelHorizonResponse& from) - { - CopyFrom(from); - return *this; - } - inline CalibrateLevelHorizonResponse& operator=(CalibrateLevelHorizonResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CalibrateLevelHorizonResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const CalibrateLevelHorizonResponse* internal_default_instance() - { - return reinterpret_cast( - &_CalibrateLevelHorizonResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 7; - friend void swap(CalibrateLevelHorizonResponse& a, CalibrateLevelHorizonResponse& b) - { - a.Swap(&b); - } - inline void Swap(CalibrateLevelHorizonResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CalibrateLevelHorizonResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CalibrateLevelHorizonResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CalibrateLevelHorizonResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CalibrateLevelHorizonResponse& from) - { - CalibrateLevelHorizonResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CalibrateLevelHorizonResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.CalibrateLevelHorizonResponse"; - } - -protected: - explicit CalibrateLevelHorizonResponse(::google::protobuf::Arena* arena); - CalibrateLevelHorizonResponse( - ::google::protobuf::Arena* arena, const CalibrateLevelHorizonResponse& from); - CalibrateLevelHorizonResponse( - ::google::protobuf::Arena* arena, CalibrateLevelHorizonResponse&& from) noexcept : - CalibrateLevelHorizonResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCalibrationResultFieldNumber = 1, - kProgressDataFieldNumber = 2, - }; - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - bool has_calibration_result() const; - void clear_calibration_result(); - const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); - ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); - void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); - void unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value); - ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); - -private: - const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; - ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); - -public: - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - bool has_progress_data() const; - void clear_progress_data(); - const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); - ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); - void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); - -private: - const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; - ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 2, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CalibrateLevelHorizonResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; - ::mavsdk::rpc::calibration::ProgressData* progress_data_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR CancelResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline CancelResponse(const CancelResponse& from) : CancelResponse(nullptr, from) {} + inline CancelResponse(CancelResponse&& from) noexcept + : CancelResponse(nullptr, std::move(from)) {} + inline CancelResponse& operator=(const CancelResponse& from) { + CopyFrom(from); + return *this; + } + inline CancelResponse& operator=(CancelResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CancelResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CancelResponse* internal_default_instance() { + return reinterpret_cast( + &_CancelResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(CancelResponse& a, CancelResponse& b) { a.Swap(&b); } + inline void Swap(CancelResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CancelResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CancelResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CancelResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CancelResponse& from) { CancelResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CancelResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CancelResponse"; } + + protected: + explicit CancelResponse(::google::protobuf::Arena* arena); + CancelResponse(::google::protobuf::Arena* arena, const CancelResponse& from); + CancelResponse(::google::protobuf::Arena* arena, CancelResponse&& from) noexcept + : CancelResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCalibrationResultFieldNumber = 1, + }; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + bool has_calibration_result() const; + void clear_calibration_result() ; + const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); + ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); + void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + void unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); + + private: + const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; + ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CancelResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CancelResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class CalibrateGyroResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateGyroResponse) */ { -public: - inline CalibrateGyroResponse() : CalibrateGyroResponse(nullptr) {} - ~CalibrateGyroResponse() PROTOBUF_FINAL; +class CalibrateMagnetometerResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) */ { + public: + inline CalibrateMagnetometerResponse() : CalibrateMagnetometerResponse(nullptr) {} + ~CalibrateMagnetometerResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CalibrateGyroResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateGyroResponse)); - } + void operator delete(CalibrateMagnetometerResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateMagnetometerResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - CalibrateGyroResponse(::google::protobuf::internal::ConstantInitialized); - - inline CalibrateGyroResponse(const CalibrateGyroResponse& from) : - CalibrateGyroResponse(nullptr, from) - {} - inline CalibrateGyroResponse(CalibrateGyroResponse&& from) noexcept : - CalibrateGyroResponse(nullptr, std::move(from)) - {} - inline CalibrateGyroResponse& operator=(const CalibrateGyroResponse& from) - { - CopyFrom(from); - return *this; - } - inline CalibrateGyroResponse& operator=(CalibrateGyroResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CalibrateGyroResponse& default_instance() { return *internal_default_instance(); } - static inline const CalibrateGyroResponse* internal_default_instance() - { - return reinterpret_cast( - &_CalibrateGyroResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(CalibrateGyroResponse& a, CalibrateGyroResponse& b) { a.Swap(&b); } - inline void Swap(CalibrateGyroResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CalibrateGyroResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CalibrateGyroResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CalibrateGyroResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CalibrateGyroResponse& from) - { - CalibrateGyroResponse::MergeImpl(*this, from); - } - -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); - -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CalibrateGyroResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.CalibrateGyroResponse"; - } - -protected: - explicit CalibrateGyroResponse(::google::protobuf::Arena* arena); - CalibrateGyroResponse(::google::protobuf::Arena* arena, const CalibrateGyroResponse& from); - CalibrateGyroResponse(::google::protobuf::Arena* arena, CalibrateGyroResponse&& from) noexcept : - CalibrateGyroResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCalibrationResultFieldNumber = 1, - kProgressDataFieldNumber = 2, - }; - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - bool has_calibration_result() const; - void clear_calibration_result(); - const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); - ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); - void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); - void unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value); - ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); - -private: - const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; - ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); - -public: - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - bool has_progress_data() const; - void clear_progress_data(); - const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); - ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); - void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); - -private: - const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; - ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateGyroResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 2, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CalibrateGyroResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; - ::mavsdk::rpc::calibration::ProgressData* progress_data_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR CalibrateMagnetometerResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline CalibrateMagnetometerResponse(const CalibrateMagnetometerResponse& from) : CalibrateMagnetometerResponse(nullptr, from) {} + inline CalibrateMagnetometerResponse(CalibrateMagnetometerResponse&& from) noexcept + : CalibrateMagnetometerResponse(nullptr, std::move(from)) {} + inline CalibrateMagnetometerResponse& operator=(const CalibrateMagnetometerResponse& from) { + CopyFrom(from); + return *this; + } + inline CalibrateMagnetometerResponse& operator=(CalibrateMagnetometerResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CalibrateMagnetometerResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CalibrateMagnetometerResponse* internal_default_instance() { + return reinterpret_cast( + &_CalibrateMagnetometerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(CalibrateMagnetometerResponse& a, CalibrateMagnetometerResponse& b) { a.Swap(&b); } + inline void Swap(CalibrateMagnetometerResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CalibrateMagnetometerResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CalibrateMagnetometerResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CalibrateMagnetometerResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CalibrateMagnetometerResponse& from) { CalibrateMagnetometerResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CalibrateMagnetometerResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CalibrateMagnetometerResponse"; } + + protected: + explicit CalibrateMagnetometerResponse(::google::protobuf::Arena* arena); + CalibrateMagnetometerResponse(::google::protobuf::Arena* arena, const CalibrateMagnetometerResponse& from); + CalibrateMagnetometerResponse(::google::protobuf::Arena* arena, CalibrateMagnetometerResponse&& from) noexcept + : CalibrateMagnetometerResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCalibrationResultFieldNumber = 1, + kProgressDataFieldNumber = 2, + }; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + bool has_calibration_result() const; + void clear_calibration_result() ; + const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); + ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); + void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + void unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); + + private: + const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; + ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); + + public: + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + bool has_progress_data() const; + void clear_progress_data() ; + const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); + ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); + void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); + + private: + const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; + ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateMagnetometerResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CalibrateMagnetometerResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; + ::mavsdk::rpc::calibration::ProgressData* progress_data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class CalibrateGimbalAccelerometerResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) - */ -{ -public: - inline CalibrateGimbalAccelerometerResponse() : CalibrateGimbalAccelerometerResponse(nullptr) {} - ~CalibrateGimbalAccelerometerResponse() PROTOBUF_FINAL; +class CalibrateLevelHorizonResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) */ { + public: + inline CalibrateLevelHorizonResponse() : CalibrateLevelHorizonResponse(nullptr) {} + ~CalibrateLevelHorizonResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CalibrateGimbalAccelerometerResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete( - msg, sizeof(CalibrateGimbalAccelerometerResponse)); - } + void operator delete(CalibrateLevelHorizonResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateLevelHorizonResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - CalibrateGimbalAccelerometerResponse(::google::protobuf::internal::ConstantInitialized); - - inline CalibrateGimbalAccelerometerResponse(const CalibrateGimbalAccelerometerResponse& from) : - CalibrateGimbalAccelerometerResponse(nullptr, from) - {} - inline CalibrateGimbalAccelerometerResponse( - CalibrateGimbalAccelerometerResponse&& from) noexcept : - CalibrateGimbalAccelerometerResponse(nullptr, std::move(from)) - {} - inline CalibrateGimbalAccelerometerResponse& - operator=(const CalibrateGimbalAccelerometerResponse& from) - { - CopyFrom(from); - return *this; - } - inline CalibrateGimbalAccelerometerResponse& - operator=(CalibrateGimbalAccelerometerResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CalibrateGimbalAccelerometerResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const CalibrateGimbalAccelerometerResponse* internal_default_instance() - { - return reinterpret_cast( - &_CalibrateGimbalAccelerometerResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 9; - friend void - swap(CalibrateGimbalAccelerometerResponse& a, CalibrateGimbalAccelerometerResponse& b) - { - a.Swap(&b); - } - inline void Swap(CalibrateGimbalAccelerometerResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CalibrateGimbalAccelerometerResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CalibrateGimbalAccelerometerResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct( - arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CalibrateGimbalAccelerometerResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CalibrateGimbalAccelerometerResponse& from) - { - CalibrateGimbalAccelerometerResponse::MergeImpl(*this, from); - } + template + explicit PROTOBUF_CONSTEXPR CalibrateLevelHorizonResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline CalibrateLevelHorizonResponse(const CalibrateLevelHorizonResponse& from) : CalibrateLevelHorizonResponse(nullptr, from) {} + inline CalibrateLevelHorizonResponse(CalibrateLevelHorizonResponse&& from) noexcept + : CalibrateLevelHorizonResponse(nullptr, std::move(from)) {} + inline CalibrateLevelHorizonResponse& operator=(const CalibrateLevelHorizonResponse& from) { + CopyFrom(from); + return *this; + } + inline CalibrateLevelHorizonResponse& operator=(CalibrateLevelHorizonResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CalibrateLevelHorizonResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CalibrateLevelHorizonResponse* internal_default_instance() { + return reinterpret_cast( + &_CalibrateLevelHorizonResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(CalibrateLevelHorizonResponse& a, CalibrateLevelHorizonResponse& b) { a.Swap(&b); } + inline void Swap(CalibrateLevelHorizonResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CalibrateLevelHorizonResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CalibrateLevelHorizonResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CalibrateLevelHorizonResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CalibrateLevelHorizonResponse& from) { CalibrateLevelHorizonResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CalibrateLevelHorizonResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CalibrateLevelHorizonResponse"; } + + protected: + explicit CalibrateLevelHorizonResponse(::google::protobuf::Arena* arena); + CalibrateLevelHorizonResponse(::google::protobuf::Arena* arena, const CalibrateLevelHorizonResponse& from); + CalibrateLevelHorizonResponse(::google::protobuf::Arena* arena, CalibrateLevelHorizonResponse&& from) noexcept + : CalibrateLevelHorizonResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCalibrationResultFieldNumber = 1, + kProgressDataFieldNumber = 2, + }; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + bool has_calibration_result() const; + void clear_calibration_result() ; + const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); + ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); + void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + void unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); + + private: + const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; + ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); + + public: + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + bool has_progress_data() const; + void clear_progress_data() ; + const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); + ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); + void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); + + private: + const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; + ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CalibrateLevelHorizonResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; + ::mavsdk::rpc::calibration::ProgressData* progress_data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; +}; +// ------------------------------------------------------------------- -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); +class CalibrateGyroResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateGyroResponse) */ { + public: + inline CalibrateGyroResponse() : CalibrateGyroResponse(nullptr) {} + ~CalibrateGyroResponse() PROTOBUF_FINAL; -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CalibrateGimbalAccelerometerResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse"; - } + void operator delete(CalibrateGyroResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateGyroResponse)); + } +#endif -protected: - explicit CalibrateGimbalAccelerometerResponse(::google::protobuf::Arena* arena); - CalibrateGimbalAccelerometerResponse( - ::google::protobuf::Arena* arena, const CalibrateGimbalAccelerometerResponse& from); - CalibrateGimbalAccelerometerResponse( - ::google::protobuf::Arena* arena, CalibrateGimbalAccelerometerResponse&& from) noexcept : - CalibrateGimbalAccelerometerResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCalibrationResultFieldNumber = 1, - kProgressDataFieldNumber = 2, - }; - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - bool has_calibration_result() const; - void clear_calibration_result(); - const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); - ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); - void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); - void unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value); - ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); - -private: - const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; - ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); - -public: - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - bool has_progress_data() const; - void clear_progress_data(); - const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); - ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); - void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); - -private: - const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; - ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 2, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CalibrateGimbalAccelerometerResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; - ::mavsdk::rpc::calibration::ProgressData* progress_data_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; + template + explicit PROTOBUF_CONSTEXPR CalibrateGyroResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline CalibrateGyroResponse(const CalibrateGyroResponse& from) : CalibrateGyroResponse(nullptr, from) {} + inline CalibrateGyroResponse(CalibrateGyroResponse&& from) noexcept + : CalibrateGyroResponse(nullptr, std::move(from)) {} + inline CalibrateGyroResponse& operator=(const CalibrateGyroResponse& from) { + CopyFrom(from); + return *this; + } + inline CalibrateGyroResponse& operator=(CalibrateGyroResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CalibrateGyroResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CalibrateGyroResponse* internal_default_instance() { + return reinterpret_cast( + &_CalibrateGyroResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(CalibrateGyroResponse& a, CalibrateGyroResponse& b) { a.Swap(&b); } + inline void Swap(CalibrateGyroResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CalibrateGyroResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CalibrateGyroResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CalibrateGyroResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CalibrateGyroResponse& from) { CalibrateGyroResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CalibrateGyroResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CalibrateGyroResponse"; } + + protected: + explicit CalibrateGyroResponse(::google::protobuf::Arena* arena); + CalibrateGyroResponse(::google::protobuf::Arena* arena, const CalibrateGyroResponse& from); + CalibrateGyroResponse(::google::protobuf::Arena* arena, CalibrateGyroResponse&& from) noexcept + : CalibrateGyroResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCalibrationResultFieldNumber = 1, + kProgressDataFieldNumber = 2, + }; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + bool has_calibration_result() const; + void clear_calibration_result() ; + const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); + ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); + void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + void unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); + + private: + const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; + ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); + + public: + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + bool has_progress_data() const; + void clear_progress_data() ; + const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); + ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); + void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); + + private: + const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; + ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateGyroResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CalibrateGyroResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; + ::mavsdk::rpc::calibration::ProgressData* progress_data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; }; // ------------------------------------------------------------------- -class CalibrateAccelerometerResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) - */ -{ -public: - inline CalibrateAccelerometerResponse() : CalibrateAccelerometerResponse(nullptr) {} - ~CalibrateAccelerometerResponse() PROTOBUF_FINAL; +class CalibrateGimbalAccelerometerResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) */ { + public: + inline CalibrateGimbalAccelerometerResponse() : CalibrateGimbalAccelerometerResponse(nullptr) {} + ~CalibrateGimbalAccelerometerResponse() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CalibrateAccelerometerResponse* msg, std::destroying_delete_t) - { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateAccelerometerResponse)); - } + void operator delete(CalibrateGimbalAccelerometerResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateGimbalAccelerometerResponse)); + } #endif - template - explicit PROTOBUF_CONSTEXPR - CalibrateAccelerometerResponse(::google::protobuf::internal::ConstantInitialized); - - inline CalibrateAccelerometerResponse(const CalibrateAccelerometerResponse& from) : - CalibrateAccelerometerResponse(nullptr, from) - {} - inline CalibrateAccelerometerResponse(CalibrateAccelerometerResponse&& from) noexcept : - CalibrateAccelerometerResponse(nullptr, std::move(from)) - {} - inline CalibrateAccelerometerResponse& operator=(const CalibrateAccelerometerResponse& from) - { - CopyFrom(from); - return *this; - } - inline CalibrateAccelerometerResponse& operator=(CalibrateAccelerometerResponse&& from) noexcept - { - if (this == &from) - return *this; - if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { - InternalSwap(&from); - } else { - CopyFrom(from); - } - return *this; - } + template + explicit PROTOBUF_CONSTEXPR CalibrateGimbalAccelerometerResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline CalibrateGimbalAccelerometerResponse(const CalibrateGimbalAccelerometerResponse& from) : CalibrateGimbalAccelerometerResponse(nullptr, from) {} + inline CalibrateGimbalAccelerometerResponse(CalibrateGimbalAccelerometerResponse&& from) noexcept + : CalibrateGimbalAccelerometerResponse(nullptr, std::move(from)) {} + inline CalibrateGimbalAccelerometerResponse& operator=(const CalibrateGimbalAccelerometerResponse& from) { + CopyFrom(from); + return *this; + } + inline CalibrateGimbalAccelerometerResponse& operator=(CalibrateGimbalAccelerometerResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CalibrateGimbalAccelerometerResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CalibrateGimbalAccelerometerResponse* internal_default_instance() { + return reinterpret_cast( + &_CalibrateGimbalAccelerometerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(CalibrateGimbalAccelerometerResponse& a, CalibrateGimbalAccelerometerResponse& b) { a.Swap(&b); } + inline void Swap(CalibrateGimbalAccelerometerResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CalibrateGimbalAccelerometerResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CalibrateGimbalAccelerometerResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CalibrateGimbalAccelerometerResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CalibrateGimbalAccelerometerResponse& from) { CalibrateGimbalAccelerometerResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CalibrateGimbalAccelerometerResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse"; } + + protected: + explicit CalibrateGimbalAccelerometerResponse(::google::protobuf::Arena* arena); + CalibrateGimbalAccelerometerResponse(::google::protobuf::Arena* arena, const CalibrateGimbalAccelerometerResponse& from); + CalibrateGimbalAccelerometerResponse(::google::protobuf::Arena* arena, CalibrateGimbalAccelerometerResponse&& from) noexcept + : CalibrateGimbalAccelerometerResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCalibrationResultFieldNumber = 1, + kProgressDataFieldNumber = 2, + }; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + bool has_calibration_result() const; + void clear_calibration_result() ; + const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); + ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); + void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + void unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); + + private: + const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; + ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); + + public: + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + bool has_progress_data() const; + void clear_progress_data() ; + const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); + ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); + void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); + + private: + const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; + ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CalibrateGimbalAccelerometerResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; + ::mavsdk::rpc::calibration::ProgressData* progress_data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; +}; +// ------------------------------------------------------------------- - inline const ::google::protobuf::UnknownFieldSet& - unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance); - } - inline ::google::protobuf::UnknownFieldSet* - mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND - { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } +class CalibrateAccelerometerResponse final + : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) */ { + public: + inline CalibrateAccelerometerResponse() : CalibrateAccelerometerResponse(nullptr) {} + ~CalibrateAccelerometerResponse() PROTOBUF_FINAL; - static const ::google::protobuf::Descriptor* descriptor() { return GetDescriptor(); } - static const ::google::protobuf::Descriptor* GetDescriptor() - { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() - { - return default_instance().GetMetadata().reflection; - } - static const CalibrateAccelerometerResponse& default_instance() - { - return *internal_default_instance(); - } - static inline const CalibrateAccelerometerResponse* internal_default_instance() - { - return reinterpret_cast( - &_CalibrateAccelerometerResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(CalibrateAccelerometerResponse& a, CalibrateAccelerometerResponse& b) - { - a.Swap(&b); - } - inline void Swap(CalibrateAccelerometerResponse* other) - { - if (other == this) - return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CalibrateAccelerometerResponse* other) - { - if (other == this) - return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CalibrateAccelerometerResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CalibrateAccelerometerResponse)); + } +#endif - // implements Message ---------------------------------------------- + template + explicit PROTOBUF_CONSTEXPR CalibrateAccelerometerResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline CalibrateAccelerometerResponse(const CalibrateAccelerometerResponse& from) : CalibrateAccelerometerResponse(nullptr, from) {} + inline CalibrateAccelerometerResponse(CalibrateAccelerometerResponse&& from) noexcept + : CalibrateAccelerometerResponse(nullptr, std::move(from)) {} + inline CalibrateAccelerometerResponse& operator=(const CalibrateAccelerometerResponse& from) { + CopyFrom(from); + return *this; + } + inline CalibrateAccelerometerResponse& operator=(CalibrateAccelerometerResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CalibrateAccelerometerResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CalibrateAccelerometerResponse* internal_default_instance() { + return reinterpret_cast( + &_CalibrateAccelerometerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(CalibrateAccelerometerResponse& a, CalibrateAccelerometerResponse& b) { a.Swap(&b); } + inline void Swap(CalibrateAccelerometerResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CalibrateAccelerometerResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CalibrateAccelerometerResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CalibrateAccelerometerResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CalibrateAccelerometerResponse& from) { CalibrateAccelerometerResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CalibrateAccelerometerResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "mavsdk.rpc.calibration.CalibrateAccelerometerResponse"; } + + protected: + explicit CalibrateAccelerometerResponse(::google::protobuf::Arena* arena); + CalibrateAccelerometerResponse(::google::protobuf::Arena* arena, const CalibrateAccelerometerResponse& from); + CalibrateAccelerometerResponse(::google::protobuf::Arena* arena, CalibrateAccelerometerResponse&& from) noexcept + : CalibrateAccelerometerResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kCalibrationResultFieldNumber = 1, + kProgressDataFieldNumber = 2, + }; + // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; + bool has_calibration_result() const; + void clear_calibration_result() ; + const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); + ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); + void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + void unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); + ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); + + private: + const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; + ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); + + public: + // .mavsdk.rpc.calibration.ProgressData progress_data = 2; + bool has_progress_data() const; + void clear_progress_data() ; + const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; + PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); + ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); + void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); + ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); + + private: + const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; + ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); + + public: + // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CalibrateAccelerometerResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; + ::mavsdk::rpc::calibration::ProgressData* progress_data_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_calibration_2fcalibration_2eproto; +}; - CalibrateAccelerometerResponse* New(::google::protobuf::Arena* arena = nullptr) const - { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CalibrateAccelerometerResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CalibrateAccelerometerResponse& from) - { - CalibrateAccelerometerResponse::MergeImpl(*this, from); - } +// =================================================================== -private: - static void MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg); -public: - bool IsInitialized() const { return true; } - ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; -#if defined(PROTOBUF_CUSTOM_VTABLE) -private: - static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); - static ::uint8_t* _InternalSerialize( - const MessageLite& msg, - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - -public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* - _InternalSerialize(::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const - { - return _InternalSerialize(*this, target, stream); - } -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final; -#endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - -private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CalibrateAccelerometerResponse* other); - -private: - template - friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() - { - return "mavsdk.rpc.calibration.CalibrateAccelerometerResponse"; - } -protected: - explicit CalibrateAccelerometerResponse(::google::protobuf::Arena* arena); - CalibrateAccelerometerResponse( - ::google::protobuf::Arena* arena, const CalibrateAccelerometerResponse& from); - CalibrateAccelerometerResponse( - ::google::protobuf::Arena* arena, CalibrateAccelerometerResponse&& from) noexcept : - CalibrateAccelerometerResponse(arena) - { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - -public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCalibrationResultFieldNumber = 1, - kProgressDataFieldNumber = 2, - }; - // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; - bool has_calibration_result() const; - void clear_calibration_result(); - const ::mavsdk::rpc::calibration::CalibrationResult& calibration_result() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::CalibrationResult* release_calibration_result(); - ::mavsdk::rpc::calibration::CalibrationResult* mutable_calibration_result(); - void set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value); - void unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value); - ::mavsdk::rpc::calibration::CalibrationResult* unsafe_arena_release_calibration_result(); - -private: - const ::mavsdk::rpc::calibration::CalibrationResult& _internal_calibration_result() const; - ::mavsdk::rpc::calibration::CalibrationResult* _internal_mutable_calibration_result(); - -public: - // .mavsdk.rpc.calibration.ProgressData progress_data = 2; - bool has_progress_data() const; - void clear_progress_data(); - const ::mavsdk::rpc::calibration::ProgressData& progress_data() const; - PROTOBUF_NODISCARD ::mavsdk::rpc::calibration::ProgressData* release_progress_data(); - ::mavsdk::rpc::calibration::ProgressData* mutable_progress_data(); - void set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - void unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value); - ::mavsdk::rpc::calibration::ProgressData* unsafe_arena_release_progress_data(); - -private: - const ::mavsdk::rpc::calibration::ProgressData& _internal_progress_data() const; - ::mavsdk::rpc::calibration::ProgressData* _internal_mutable_progress_data(); - -public: - // @@protoc_insertion_point(class_scope:mavsdk.rpc.calibration.CalibrateAccelerometerResponse) -private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable<1, 2, 2, 0, 2> _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const CalibrateAccelerometerResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::mavsdk::rpc::calibration::CalibrationResult* calibration_result_; - ::mavsdk::rpc::calibration::ProgressData* progress_data_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { - Impl_ _impl_; - }; - friend struct ::TableStruct_calibration_2fcalibration_2eproto; -}; // =================================================================== -// =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ +#endif // __GNUC__ // ------------------------------------------------------------------- // SubscribeCalibrateGyroRequest @@ -3114,244 +2793,195 @@ class CalibrateAccelerometerResponse final : public ::google::protobuf::Message // CalibrateGyroResponse // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; -inline bool CalibrateGyroResponse::has_calibration_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); - return value; -} -inline void CalibrateGyroResponse::clear_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ != nullptr) - _impl_.calibration_result_->Clear(); +inline bool CalibrateGyroResponse::has_calibration_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); + return value; +} +inline void CalibrateGyroResponse::clear_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ != nullptr) _impl_.calibration_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateGyroResponse::_internal_calibration_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateGyroResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) + return _internal_calibration_result(); +} +inline void CalibrateGyroResponse::unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); + } + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateGyroResponse::_internal_calibration_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateGyroResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) - return _internal_calibration_result(); -} -inline void CalibrateGyroResponse::unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGyroResponse::release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); - } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGyroResponse::release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGyroResponse::unsafe_arena_release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGyroResponse::_internal_mutable_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGyroResponse::unsafe_arena_release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGyroResponse::_internal_mutable_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + } + return _impl_.calibration_result_; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGyroResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) + return _msg; +} +inline void CalibrateGyroResponse::set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.calibration_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.calibration_result_; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGyroResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) - return _msg; -} -inline void CalibrateGyroResponse::set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.calibration_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.calibration_result) } // .mavsdk.rpc.calibration.ProgressData progress_data = 2; -inline bool CalibrateGyroResponse::has_progress_data() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); - return value; -} -inline void CalibrateGyroResponse::clear_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ != nullptr) - _impl_.progress_data_->Clear(); +inline bool CalibrateGyroResponse::has_progress_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); + return value; +} +inline void CalibrateGyroResponse::clear_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ != nullptr) _impl_.progress_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateGyroResponse::_internal_progress_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_ProgressData_default_instance_); +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateGyroResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) + return _internal_progress_data(); +} +inline void CalibrateGyroResponse::unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); + } + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateGyroResponse::_internal_progress_data() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_ProgressData_default_instance_); -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateGyroResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) - return _internal_progress_data(); -} -inline void CalibrateGyroResponse::unsafe_arena_set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGyroResponse::release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); - } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) -} -inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGyroResponse::release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateGyroResponse::unsafe_arena_release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateGyroResponse::_internal_mutable_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>( - GetArena()); - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGyroResponse::unsafe_arena_release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGyroResponse::_internal_mutable_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>(GetArena()); + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + } + return _impl_.progress_data_; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGyroResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) + return _msg; +} +inline void CalibrateGyroResponse::set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.progress_data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.progress_data_; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateGyroResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) - return _msg; -} -inline void -CalibrateGyroResponse::set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.progress_data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGyroResponse.progress_data) } // ------------------------------------------------------------------- @@ -3363,245 +2993,195 @@ CalibrateGyroResponse::set_allocated_progress_data(::mavsdk::rpc::calibration::P // CalibrateAccelerometerResponse // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; -inline bool CalibrateAccelerometerResponse::has_calibration_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); - return value; -} -inline void CalibrateAccelerometerResponse::clear_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ != nullptr) - _impl_.calibration_result_->Clear(); +inline bool CalibrateAccelerometerResponse::has_calibration_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); + return value; +} +inline void CalibrateAccelerometerResponse::clear_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ != nullptr) _impl_.calibration_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateAccelerometerResponse::_internal_calibration_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateAccelerometerResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) + return _internal_calibration_result(); +} +inline void CalibrateAccelerometerResponse::unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); + } + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateAccelerometerResponse::_internal_calibration_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateAccelerometerResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) - return _internal_calibration_result(); -} -inline void CalibrateAccelerometerResponse::unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateAccelerometerResponse::release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateAccelerometerResponse::unsafe_arena_release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateAccelerometerResponse::_internal_mutable_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + } + return _impl_.calibration_result_; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateAccelerometerResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) + return _msg; +} +inline void CalibrateAccelerometerResponse::set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.calibration_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateAccelerometerResponse::release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateAccelerometerResponse::unsafe_arena_release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateAccelerometerResponse::_internal_mutable_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); - } - return _impl_.calibration_result_; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateAccelerometerResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) - return _msg; -} -inline void CalibrateAccelerometerResponse::set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.calibration_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.calibration_result) } // .mavsdk.rpc.calibration.ProgressData progress_data = 2; -inline bool CalibrateAccelerometerResponse::has_progress_data() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); - return value; -} -inline void CalibrateAccelerometerResponse::clear_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ != nullptr) - _impl_.progress_data_->Clear(); +inline bool CalibrateAccelerometerResponse::has_progress_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); + return value; +} +inline void CalibrateAccelerometerResponse::clear_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ != nullptr) _impl_.progress_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateAccelerometerResponse::_internal_progress_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_ProgressData_default_instance_); +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateAccelerometerResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) + return _internal_progress_data(); +} +inline void CalibrateAccelerometerResponse::unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); + } + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateAccelerometerResponse::_internal_progress_data() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_ProgressData_default_instance_); -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateAccelerometerResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) - return _internal_progress_data(); -} -inline void CalibrateAccelerometerResponse::unsafe_arena_set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateAccelerometerResponse::release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); - } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateAccelerometerResponse::release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateAccelerometerResponse::unsafe_arena_release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateAccelerometerResponse::_internal_mutable_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>( - GetArena()); - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateAccelerometerResponse::unsafe_arena_release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateAccelerometerResponse::_internal_mutable_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>(GetArena()); + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + } + return _impl_.progress_data_; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateAccelerometerResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) + return _msg; +} +inline void CalibrateAccelerometerResponse::set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.progress_data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.progress_data_; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateAccelerometerResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) - return _msg; -} -inline void CalibrateAccelerometerResponse::set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.progress_data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateAccelerometerResponse.progress_data) } // ------------------------------------------------------------------- @@ -3613,245 +3193,195 @@ inline void CalibrateAccelerometerResponse::set_allocated_progress_data( // CalibrateMagnetometerResponse // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; -inline bool CalibrateMagnetometerResponse::has_calibration_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); - return value; -} -inline void CalibrateMagnetometerResponse::clear_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ != nullptr) - _impl_.calibration_result_->Clear(); +inline bool CalibrateMagnetometerResponse::has_calibration_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); + return value; +} +inline void CalibrateMagnetometerResponse::clear_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ != nullptr) _impl_.calibration_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateMagnetometerResponse::_internal_calibration_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateMagnetometerResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) + return _internal_calibration_result(); +} +inline void CalibrateMagnetometerResponse::unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); + } + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateMagnetometerResponse::_internal_calibration_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateMagnetometerResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) - return _internal_calibration_result(); -} -inline void CalibrateMagnetometerResponse::unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateMagnetometerResponse::release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); - } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateMagnetometerResponse::release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateMagnetometerResponse::unsafe_arena_release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateMagnetometerResponse::_internal_mutable_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateMagnetometerResponse::unsafe_arena_release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateMagnetometerResponse::_internal_mutable_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + } + return _impl_.calibration_result_; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateMagnetometerResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) + return _msg; +} +inline void CalibrateMagnetometerResponse::set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.calibration_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.calibration_result_; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateMagnetometerResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) - return _msg; -} -inline void CalibrateMagnetometerResponse::set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.calibration_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.calibration_result) } // .mavsdk.rpc.calibration.ProgressData progress_data = 2; -inline bool CalibrateMagnetometerResponse::has_progress_data() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); - return value; -} -inline void CalibrateMagnetometerResponse::clear_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ != nullptr) - _impl_.progress_data_->Clear(); +inline bool CalibrateMagnetometerResponse::has_progress_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); + return value; +} +inline void CalibrateMagnetometerResponse::clear_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ != nullptr) _impl_.progress_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateMagnetometerResponse::_internal_progress_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_ProgressData_default_instance_); +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateMagnetometerResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) + return _internal_progress_data(); +} +inline void CalibrateMagnetometerResponse::unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); + } + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateMagnetometerResponse::_internal_progress_data() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_ProgressData_default_instance_); -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateMagnetometerResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) - return _internal_progress_data(); -} -inline void CalibrateMagnetometerResponse::unsafe_arena_set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateMagnetometerResponse::release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); - } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateMagnetometerResponse::release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateMagnetometerResponse::unsafe_arena_release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateMagnetometerResponse::_internal_mutable_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>(GetArena()); + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + } + return _impl_.progress_data_; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateMagnetometerResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) + return _msg; +} +inline void CalibrateMagnetometerResponse::set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.progress_data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return released; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateMagnetometerResponse::unsafe_arena_release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateMagnetometerResponse::_internal_mutable_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>( - GetArena()); - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); - } - return _impl_.progress_data_; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateMagnetometerResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) - return _msg; -} -inline void CalibrateMagnetometerResponse::set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.progress_data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateMagnetometerResponse.progress_data) } // ------------------------------------------------------------------- @@ -3863,245 +3393,195 @@ inline void CalibrateMagnetometerResponse::set_allocated_progress_data( // CalibrateLevelHorizonResponse // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; -inline bool CalibrateLevelHorizonResponse::has_calibration_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); - return value; -} -inline void CalibrateLevelHorizonResponse::clear_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ != nullptr) - _impl_.calibration_result_->Clear(); +inline bool CalibrateLevelHorizonResponse::has_calibration_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); + return value; +} +inline void CalibrateLevelHorizonResponse::clear_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ != nullptr) _impl_.calibration_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateLevelHorizonResponse::_internal_calibration_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateLevelHorizonResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) + return _internal_calibration_result(); +} +inline void CalibrateLevelHorizonResponse::unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); + } + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateLevelHorizonResponse::_internal_calibration_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateLevelHorizonResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) - return _internal_calibration_result(); -} -inline void CalibrateLevelHorizonResponse::unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateLevelHorizonResponse::release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); - } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateLevelHorizonResponse::release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateLevelHorizonResponse::unsafe_arena_release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateLevelHorizonResponse::_internal_mutable_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateLevelHorizonResponse::unsafe_arena_release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateLevelHorizonResponse::_internal_mutable_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + } + return _impl_.calibration_result_; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateLevelHorizonResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) + return _msg; +} +inline void CalibrateLevelHorizonResponse::set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.calibration_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.calibration_result_; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateLevelHorizonResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) - return _msg; -} -inline void CalibrateLevelHorizonResponse::set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.calibration_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.calibration_result) } // .mavsdk.rpc.calibration.ProgressData progress_data = 2; -inline bool CalibrateLevelHorizonResponse::has_progress_data() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); - return value; -} -inline void CalibrateLevelHorizonResponse::clear_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ != nullptr) - _impl_.progress_data_->Clear(); +inline bool CalibrateLevelHorizonResponse::has_progress_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); + return value; +} +inline void CalibrateLevelHorizonResponse::clear_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ != nullptr) _impl_.progress_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateLevelHorizonResponse::_internal_progress_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_ProgressData_default_instance_); +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateLevelHorizonResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) + return _internal_progress_data(); +} +inline void CalibrateLevelHorizonResponse::unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); + } + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateLevelHorizonResponse::_internal_progress_data() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_ProgressData_default_instance_); -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateLevelHorizonResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) - return _internal_progress_data(); -} -inline void CalibrateLevelHorizonResponse::unsafe_arena_set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateLevelHorizonResponse::release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); - } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateLevelHorizonResponse::release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateLevelHorizonResponse::unsafe_arena_release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateLevelHorizonResponse::_internal_mutable_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>( - GetArena()); - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateLevelHorizonResponse::unsafe_arena_release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateLevelHorizonResponse::_internal_mutable_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>(GetArena()); + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + } + return _impl_.progress_data_; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateLevelHorizonResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) + return _msg; +} +inline void CalibrateLevelHorizonResponse::set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.progress_data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.progress_data_; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateLevelHorizonResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) - return _msg; -} -inline void CalibrateLevelHorizonResponse::set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.progress_data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateLevelHorizonResponse.progress_data) } // ------------------------------------------------------------------- @@ -4113,245 +3593,195 @@ inline void CalibrateLevelHorizonResponse::set_allocated_progress_data( // CalibrateGimbalAccelerometerResponse // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; -inline bool CalibrateGimbalAccelerometerResponse::has_calibration_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); - return value; -} -inline void CalibrateGimbalAccelerometerResponse::clear_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ != nullptr) - _impl_.calibration_result_->Clear(); +inline bool CalibrateGimbalAccelerometerResponse::has_calibration_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); + return value; +} +inline void CalibrateGimbalAccelerometerResponse::clear_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ != nullptr) _impl_.calibration_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateGimbalAccelerometerResponse::_internal_calibration_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CalibrateGimbalAccelerometerResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) + return _internal_calibration_result(); +} +inline void CalibrateGimbalAccelerometerResponse::unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); + } + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateGimbalAccelerometerResponse::_internal_calibration_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CalibrateGimbalAccelerometerResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) - return _internal_calibration_result(); -} -inline void CalibrateGimbalAccelerometerResponse::unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGimbalAccelerometerResponse::release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); - } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGimbalAccelerometerResponse::release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGimbalAccelerometerResponse::unsafe_arena_release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGimbalAccelerometerResponse::_internal_mutable_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGimbalAccelerometerResponse::unsafe_arena_release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGimbalAccelerometerResponse::_internal_mutable_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + } + return _impl_.calibration_result_; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CalibrateGimbalAccelerometerResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) + return _msg; +} +inline void CalibrateGimbalAccelerometerResponse::set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.calibration_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.calibration_result_; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CalibrateGimbalAccelerometerResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) - return _msg; -} -inline void CalibrateGimbalAccelerometerResponse::set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.calibration_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.calibration_result) } // .mavsdk.rpc.calibration.ProgressData progress_data = 2; -inline bool CalibrateGimbalAccelerometerResponse::has_progress_data() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); - return value; -} -inline void CalibrateGimbalAccelerometerResponse::clear_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ != nullptr) - _impl_.progress_data_->Clear(); +inline bool CalibrateGimbalAccelerometerResponse::has_progress_data() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.progress_data_ != nullptr); + return value; +} +inline void CalibrateGimbalAccelerometerResponse::clear_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ != nullptr) _impl_.progress_data_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateGimbalAccelerometerResponse::_internal_progress_data() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_ProgressData_default_instance_); +} +inline const ::mavsdk::rpc::calibration::ProgressData& CalibrateGimbalAccelerometerResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) + return _internal_progress_data(); +} +inline void CalibrateGimbalAccelerometerResponse::unsafe_arena_set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); + } + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateGimbalAccelerometerResponse::_internal_progress_data() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::ProgressData* p = _impl_.progress_data_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_ProgressData_default_instance_); -} -inline const ::mavsdk::rpc::calibration::ProgressData& -CalibrateGimbalAccelerometerResponse::progress_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) - return _internal_progress_data(); -} -inline void CalibrateGimbalAccelerometerResponse::unsafe_arena_set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGimbalAccelerometerResponse::release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.progress_data_); - } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateGimbalAccelerometerResponse::release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* released = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateGimbalAccelerometerResponse::unsafe_arena_release_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; - _impl_.progress_data_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateGimbalAccelerometerResponse::_internal_mutable_progress_data() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.progress_data_ == nullptr) { - auto* p = - ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>( - GetArena()); - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGimbalAccelerometerResponse::unsafe_arena_release_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* temp = _impl_.progress_data_; + _impl_.progress_data_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGimbalAccelerometerResponse::_internal_mutable_progress_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.progress_data_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::ProgressData>(GetArena()); + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(p); + } + return _impl_.progress_data_; +} +inline ::mavsdk::rpc::calibration::ProgressData* CalibrateGimbalAccelerometerResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) + return _msg; +} +inline void CalibrateGimbalAccelerometerResponse::set_allocated_progress_data(::mavsdk::rpc::calibration::ProgressData* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.progress_data_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.progress_data_; -} -inline ::mavsdk::rpc::calibration::ProgressData* -CalibrateGimbalAccelerometerResponse::mutable_progress_data() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000002u; - ::mavsdk::rpc::calibration::ProgressData* _msg = _internal_mutable_progress_data(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) - return _msg; -} -inline void CalibrateGimbalAccelerometerResponse::set_allocated_progress_data( - ::mavsdk::rpc::calibration::ProgressData* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.progress_data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } - _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) + _impl_.progress_data_ = reinterpret_cast<::mavsdk::rpc::calibration::ProgressData*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrateGimbalAccelerometerResponse.progress_data) } // ------------------------------------------------------------------- @@ -4363,124 +3793,99 @@ inline void CalibrateGimbalAccelerometerResponse::set_allocated_progress_data( // CancelResponse // .mavsdk.rpc.calibration.CalibrationResult calibration_result = 1; -inline bool CancelResponse::has_calibration_result() const -{ - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); - return value; -} -inline void CancelResponse::clear_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ != nullptr) - _impl_.calibration_result_->Clear(); +inline bool CancelResponse::has_calibration_result() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.calibration_result_ != nullptr); + return value; +} +inline void CancelResponse::clear_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ != nullptr) _impl_.calibration_result_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CancelResponse::_internal_calibration_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; + return p != nullptr ? *p : reinterpret_cast(::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); +} +inline const ::mavsdk::rpc::calibration::CalibrationResult& CancelResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CancelResponse.calibration_result) + return _internal_calibration_result(); +} +inline void CancelResponse::unsafe_arena_set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); + } + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CancelResponse::_internal_calibration_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - const ::mavsdk::rpc::calibration::CalibrationResult* p = _impl_.calibration_result_; - return p != nullptr ? *p : - reinterpret_cast( - ::mavsdk::rpc::calibration::_CalibrationResult_default_instance_); -} -inline const ::mavsdk::rpc::calibration::CalibrationResult& -CancelResponse::calibration_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CancelResponse.calibration_result) - return _internal_calibration_result(); -} -inline void CancelResponse::unsafe_arena_set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CancelResponse.calibration_result) +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CancelResponse::release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.calibration_result_); - } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:mavsdk.rpc.calibration.CancelResponse.calibration_result) -} -inline ::mavsdk::rpc::calibration::CalibrationResult* CancelResponse::release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* released = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CancelResponse::unsafe_arena_release_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CancelResponse.calibration_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; - _impl_.calibration_result_ = nullptr; - return temp; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CancelResponse::_internal_mutable_calibration_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.calibration_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct< - ::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CancelResponse::unsafe_arena_release_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CancelResponse.calibration_result) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* temp = _impl_.calibration_result_; + _impl_.calibration_result_ = nullptr; + return temp; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CancelResponse::_internal_mutable_calibration_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.calibration_result_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::mavsdk::rpc::calibration::CalibrationResult>(GetArena()); + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(p); + } + return _impl_.calibration_result_; +} +inline ::mavsdk::rpc::calibration::CalibrationResult* CancelResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CancelResponse.calibration_result) + return _msg; +} +inline void CancelResponse::set_allocated_calibration_result(::mavsdk::rpc::calibration::CalibrationResult* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.calibration_result_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); } - return _impl_.calibration_result_; -} -inline ::mavsdk::rpc::calibration::CalibrationResult* -CancelResponse::mutable_calibration_result() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ _impl_._has_bits_[0] |= 0x00000001u; - ::mavsdk::rpc::calibration::CalibrationResult* _msg = _internal_mutable_calibration_result(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CancelResponse.calibration_result) - return _msg; -} -inline void CancelResponse::set_allocated_calibration_result( - ::mavsdk::rpc::calibration::CalibrationResult* value) -{ - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.calibration_result_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage( - message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } - _impl_.calibration_result_ = - reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CancelResponse.calibration_result) + _impl_.calibration_result_ = reinterpret_cast<::mavsdk::rpc::calibration::CalibrationResult*>(value); + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CancelResponse.calibration_result) } // ------------------------------------------------------------------- @@ -4488,89 +3893,73 @@ inline void CancelResponse::set_allocated_calibration_result( // CalibrationResult // .mavsdk.rpc.calibration.CalibrationResult.Result result = 1; -inline void CalibrationResult::clear_result() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; -} -inline ::mavsdk::rpc::calibration::CalibrationResult_Result CalibrationResult::result() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrationResult.result) - return _internal_result(); -} -inline void -CalibrationResult::set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value) -{ - _internal_set_result(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.CalibrationResult.result) -} -inline ::mavsdk::rpc::calibration::CalibrationResult_Result -CalibrationResult::_internal_result() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::mavsdk::rpc::calibration::CalibrationResult_Result>(_impl_.result_); -} -inline void -CalibrationResult::_internal_set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; +inline void CalibrationResult::clear_result() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = 0; +} +inline ::mavsdk::rpc::calibration::CalibrationResult_Result CalibrationResult::result() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrationResult.result) + return _internal_result(); +} +inline void CalibrationResult::set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value) { + _internal_set_result(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.CalibrationResult.result) +} +inline ::mavsdk::rpc::calibration::CalibrationResult_Result CalibrationResult::_internal_result() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::mavsdk::rpc::calibration::CalibrationResult_Result>(_impl_.result_); +} +inline void CalibrationResult::_internal_set_result(::mavsdk::rpc::calibration::CalibrationResult_Result value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_ = value; } // string result_str = 2; -inline void CalibrationResult::clear_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.ClearToEmpty(); -} -inline const std::string& CalibrationResult::result_str() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrationResult.result_str) - return _internal_result_str(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CalibrationResult::set_result_str(Arg_&& arg, Args_... args) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.CalibrationResult.result_str) -} -inline std::string* CalibrationResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - std::string* _s = _internal_mutable_result_str(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrationResult.result_str) - return _s; -} -inline const std::string& CalibrationResult::_internal_result_str() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.result_str_.Get(); -} -inline void CalibrationResult::_internal_set_result_str(const std::string& value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.Set(value, GetArena()); -} -inline std::string* CalibrationResult::_internal_mutable_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.result_str_.Mutable(GetArena()); -} -inline std::string* CalibrationResult::release_result_str() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrationResult.result_str) - return _impl_.result_str_.Release(); -} -inline void CalibrationResult::set_allocated_result_str(std::string* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_str_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && - _impl_.result_str_.IsDefault()) { - _impl_.result_str_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrationResult.result_str) +inline void CalibrationResult::clear_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.ClearToEmpty(); +} +inline const std::string& CalibrationResult::result_str() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.CalibrationResult.result_str) + return _internal_result_str(); +} +template +inline PROTOBUF_ALWAYS_INLINE void CalibrationResult::set_result_str(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.CalibrationResult.result_str) +} +inline std::string* CalibrationResult::mutable_result_str() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_result_str(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.CalibrationResult.result_str) + return _s; +} +inline const std::string& CalibrationResult::_internal_result_str() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.result_str_.Get(); +} +inline void CalibrationResult::_internal_set_result_str(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.Set(value, GetArena()); +} +inline std::string* CalibrationResult::_internal_mutable_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.result_str_.Mutable( GetArena()); +} +inline std::string* CalibrationResult::release_result_str() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.CalibrationResult.result_str) + return _impl_.result_str_.Release(); +} +inline void CalibrationResult::set_allocated_result_str(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.result_str_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.result_str_.IsDefault()) { + _impl_.result_str_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.CalibrationResult.result_str) } // ------------------------------------------------------------------- @@ -4578,168 +3967,144 @@ inline void CalibrationResult::set_allocated_result_str(std::string* value) // ProgressData // bool has_progress = 1 [(.mavsdk.options.default_value) = "false"]; -inline void ProgressData::clear_has_progress() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.has_progress_ = false; +inline void ProgressData::clear_has_progress() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.has_progress_ = false; } -inline bool ProgressData::has_progress() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.has_progress) - return _internal_has_progress(); +inline bool ProgressData::has_progress() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.has_progress) + return _internal_has_progress(); } -inline void ProgressData::set_has_progress(bool value) -{ - _internal_set_has_progress(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.has_progress) +inline void ProgressData::set_has_progress(bool value) { + _internal_set_has_progress(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.has_progress) } -inline bool ProgressData::_internal_has_progress() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.has_progress_; +inline bool ProgressData::_internal_has_progress() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.has_progress_; } -inline void ProgressData::_internal_set_has_progress(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.has_progress_ = value; +inline void ProgressData::_internal_set_has_progress(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.has_progress_ = value; } // float progress = 2 [(.mavsdk.options.default_value) = "NaN"]; -inline void ProgressData::clear_progress() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.progress_ = 0; +inline void ProgressData::clear_progress() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.progress_ = 0; } -inline float ProgressData::progress() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.progress) - return _internal_progress(); +inline float ProgressData::progress() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.progress) + return _internal_progress(); } -inline void ProgressData::set_progress(float value) -{ - _internal_set_progress(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.progress) +inline void ProgressData::set_progress(float value) { + _internal_set_progress(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.progress) } -inline float ProgressData::_internal_progress() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.progress_; +inline float ProgressData::_internal_progress() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.progress_; } -inline void ProgressData::_internal_set_progress(float value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.progress_ = value; +inline void ProgressData::_internal_set_progress(float value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.progress_ = value; } // bool has_status_text = 3 [(.mavsdk.options.default_value) = "false"]; -inline void ProgressData::clear_has_status_text() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.has_status_text_ = false; +inline void ProgressData::clear_has_status_text() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.has_status_text_ = false; } -inline bool ProgressData::has_status_text() const -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.has_status_text) - return _internal_has_status_text(); +inline bool ProgressData::has_status_text() const { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.has_status_text) + return _internal_has_status_text(); } -inline void ProgressData::set_has_status_text(bool value) -{ - _internal_set_has_status_text(value); - // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.has_status_text) +inline void ProgressData::set_has_status_text(bool value) { + _internal_set_has_status_text(value); + // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.has_status_text) } -inline bool ProgressData::_internal_has_status_text() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.has_status_text_; +inline bool ProgressData::_internal_has_status_text() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.has_status_text_; } -inline void ProgressData::_internal_set_has_status_text(bool value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.has_status_text_ = value; +inline void ProgressData::_internal_set_has_status_text(bool value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.has_status_text_ = value; } // string status_text = 4; -inline void ProgressData::clear_status_text() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.status_text_.ClearToEmpty(); -} -inline const std::string& ProgressData::status_text() const ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.status_text) - return _internal_status_text(); -} -template -inline PROTOBUF_ALWAYS_INLINE void ProgressData::set_status_text(Arg_&& arg, Args_... args) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.status_text_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.status_text) -} -inline std::string* ProgressData::mutable_status_text() ABSL_ATTRIBUTE_LIFETIME_BOUND -{ - std::string* _s = _internal_mutable_status_text(); - // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.ProgressData.status_text) - return _s; -} -inline const std::string& ProgressData::_internal_status_text() const -{ - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.status_text_.Get(); -} -inline void ProgressData::_internal_set_status_text(const std::string& value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.status_text_.Set(value, GetArena()); -} -inline std::string* ProgressData::_internal_mutable_status_text() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.status_text_.Mutable(GetArena()); -} -inline std::string* ProgressData::release_status_text() -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.ProgressData.status_text) - return _impl_.status_text_.Release(); -} -inline void ProgressData::set_allocated_status_text(std::string* value) -{ - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.status_text_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && - _impl_.status_text_.IsDefault()) { - _impl_.status_text_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.ProgressData.status_text) +inline void ProgressData::clear_status_text() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_text_.ClearToEmpty(); +} +inline const std::string& ProgressData::status_text() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:mavsdk.rpc.calibration.ProgressData.status_text) + return _internal_status_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ProgressData::set_status_text(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_text_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:mavsdk.rpc.calibration.ProgressData.status_text) +} +inline std::string* ProgressData::mutable_status_text() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_status_text(); + // @@protoc_insertion_point(field_mutable:mavsdk.rpc.calibration.ProgressData.status_text) + return _s; +} +inline const std::string& ProgressData::_internal_status_text() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.status_text_.Get(); +} +inline void ProgressData::_internal_set_status_text(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_text_.Set(value, GetArena()); +} +inline std::string* ProgressData::_internal_mutable_status_text() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.status_text_.Mutable( GetArena()); +} +inline std::string* ProgressData::release_status_text() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:mavsdk.rpc.calibration.ProgressData.status_text) + return _impl_.status_text_.Release(); +} +inline void ProgressData::set_allocated_status_text(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.status_text_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.status_text_.IsDefault()) { + _impl_.status_text_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:mavsdk.rpc.calibration.ProgressData.status_text) } #ifdef __GNUC__ #pragma GCC diagnostic pop -#endif // __GNUC__ +#endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) -} // namespace calibration -} // namespace rpc -} // namespace mavsdk +} // namespace calibration +} // namespace rpc +} // namespace mavsdk + namespace google { namespace protobuf { -template<> +template <> struct is_proto_enum<::mavsdk::rpc::calibration::CalibrationResult_Result> : std::true_type {}; -template<> -inline const EnumDescriptor* -GetEnumDescriptor<::mavsdk::rpc::calibration::CalibrationResult_Result>() -{ - return ::mavsdk::rpc::calibration::CalibrationResult_Result_descriptor(); +template <> +inline const EnumDescriptor* GetEnumDescriptor<::mavsdk::rpc::calibration::CalibrationResult_Result>() { + return ::mavsdk::rpc::calibration::CalibrationResult_Result_descriptor(); } -} // namespace protobuf -} // namespace google +} // namespace protobuf +} // namespace google // @@protoc_insertion_point(global_scope) #include "google/protobuf/port_undef.inc" -#endif // calibration_2fcalibration_2eproto_2epb_2eh +#endif // calibration_2fcalibration_2eproto_2epb_2eh diff --git a/src/mavsdk_server/src/generated/camera/camera.pb.cc b/src/mavsdk_server/src/generated/camera/camera.pb.cc index b16d54a66..7cfc9077a 100644 --- a/src/mavsdk_server/src/generated/camera/camera.pb.cc +++ b/src/mavsdk_server/src/generated/camera/camera.pb.cc @@ -27,3090 +27,2765 @@ namespace _fl = ::google::protobuf::internal::field_layout; namespace mavsdk { namespace rpc { namespace camera { -template + template PROTOBUF_CONSTEXPR ZoomStopRequest::ZoomStopRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ZoomStopRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomStopRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomStopRequestDefaultTypeInternal() {} - union { - ZoomStopRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomStopRequestDefaultTypeInternal _ZoomStopRequest_default_instance_; - -inline constexpr ZoomRangeRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - range_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ZoomStopRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ZoomStopRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomStopRequestDefaultTypeInternal() {} + union { + ZoomStopRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomStopRequestDefaultTypeInternal _ZoomStopRequest_default_instance_; + +inline constexpr ZoomRangeRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : range_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR ZoomRangeRequest::ZoomRangeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ZoomRangeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomRangeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomRangeRequestDefaultTypeInternal() {} - union { - ZoomRangeRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomRangeRequestDefaultTypeInternal _ZoomRangeRequest_default_instance_; -template + PROTOBUF_CONSTEXPR ZoomRangeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomRangeRequestDefaultTypeInternal() {} + union { + ZoomRangeRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomRangeRequestDefaultTypeInternal _ZoomRangeRequest_default_instance_; + template PROTOBUF_CONSTEXPR ZoomOutStartRequest::ZoomOutStartRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ZoomOutStartRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomOutStartRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomOutStartRequestDefaultTypeInternal() {} - union { - ZoomOutStartRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomOutStartRequestDefaultTypeInternal _ZoomOutStartRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ZoomOutStartRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ZoomOutStartRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomOutStartRequestDefaultTypeInternal() {} + union { + ZoomOutStartRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomOutStartRequestDefaultTypeInternal _ZoomOutStartRequest_default_instance_; + template PROTOBUF_CONSTEXPR ZoomInStartRequest::ZoomInStartRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ZoomInStartRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomInStartRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomInStartRequestDefaultTypeInternal() {} - union { - ZoomInStartRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomInStartRequestDefaultTypeInternal _ZoomInStartRequest_default_instance_; - -inline constexpr VideoStreamSettings::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - uri_(&::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - frame_rate_hz_{0}, - horizontal_resolution_pix_{0u}, - vertical_resolution_pix_{0u}, - bit_rate_b_s_{0u}, - rotation_deg_{0u}, - horizontal_fov_deg_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ZoomInStartRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ZoomInStartRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomInStartRequestDefaultTypeInternal() {} + union { + ZoomInStartRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomInStartRequestDefaultTypeInternal _ZoomInStartRequest_default_instance_; + +inline constexpr VideoStreamSettings::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : uri_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + frame_rate_hz_{0}, + horizontal_resolution_pix_{0u}, + vertical_resolution_pix_{0u}, + bit_rate_b_s_{0u}, + rotation_deg_{0u}, + horizontal_fov_deg_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR VideoStreamSettings::VideoStreamSettings(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct VideoStreamSettingsDefaultTypeInternal { - PROTOBUF_CONSTEXPR VideoStreamSettingsDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~VideoStreamSettingsDefaultTypeInternal() {} - union { - VideoStreamSettings _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - VideoStreamSettingsDefaultTypeInternal _VideoStreamSettings_default_instance_; -template + PROTOBUF_CONSTEXPR VideoStreamSettingsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VideoStreamSettingsDefaultTypeInternal() {} + union { + VideoStreamSettings _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoStreamSettingsDefaultTypeInternal _VideoStreamSettings_default_instance_; + template PROTOBUF_CONSTEXPR TrackStopRequest::TrackStopRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct TrackStopRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrackStopRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TrackStopRequestDefaultTypeInternal() {} - union { - TrackStopRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TrackStopRequestDefaultTypeInternal _TrackStopRequest_default_instance_; - -inline constexpr TrackRectangleRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - top_left_x_{0}, - top_left_y_{0}, - bottom_right_x_{0}, - bottom_right_y_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct TrackStopRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TrackStopRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackStopRequestDefaultTypeInternal() {} + union { + TrackStopRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackStopRequestDefaultTypeInternal _TrackStopRequest_default_instance_; + +inline constexpr TrackRectangleRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : top_left_x_{0}, + top_left_y_{0}, + bottom_right_x_{0}, + bottom_right_y_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR TrackRectangleRequest::TrackRectangleRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TrackRectangleRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrackRectangleRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TrackRectangleRequestDefaultTypeInternal() {} - union { - TrackRectangleRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TrackRectangleRequestDefaultTypeInternal _TrackRectangleRequest_default_instance_; - -inline constexpr TrackPointRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - point_x_{0}, - point_y_{0}, - radius_{0}, - _cached_size_{0} -{} - -template + PROTOBUF_CONSTEXPR TrackRectangleRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackRectangleRequestDefaultTypeInternal() {} + union { + TrackRectangleRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackRectangleRequestDefaultTypeInternal _TrackRectangleRequest_default_instance_; + +inline constexpr TrackPointRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : point_x_{0}, + point_y_{0}, + radius_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR TrackPointRequest::TrackPointRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TrackPointRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrackPointRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TrackPointRequestDefaultTypeInternal() {} - union { - TrackPointRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TrackPointRequestDefaultTypeInternal _TrackPointRequest_default_instance_; -template + PROTOBUF_CONSTEXPR TrackPointRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackPointRequestDefaultTypeInternal() {} + union { + TrackPointRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackPointRequestDefaultTypeInternal _TrackPointRequest_default_instance_; + template PROTOBUF_CONSTEXPR TakePhotoRequest::TakePhotoRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct TakePhotoRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR TakePhotoRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TakePhotoRequestDefaultTypeInternal() {} - union { - TakePhotoRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TakePhotoRequestDefaultTypeInternal _TakePhotoRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -SubscribeVideoStreamInfoRequest::SubscribeVideoStreamInfoRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeVideoStreamInfoRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeVideoStreamInfoRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeVideoStreamInfoRequestDefaultTypeInternal() {} - union { - SubscribeVideoStreamInfoRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeVideoStreamInfoRequestDefaultTypeInternal - _SubscribeVideoStreamInfoRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct TakePhotoRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR TakePhotoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TakePhotoRequestDefaultTypeInternal() {} + union { + TakePhotoRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TakePhotoRequestDefaultTypeInternal _TakePhotoRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeVideoStreamInfoRequest::SubscribeVideoStreamInfoRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeVideoStreamInfoRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeVideoStreamInfoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeVideoStreamInfoRequestDefaultTypeInternal() {} + union { + SubscribeVideoStreamInfoRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeVideoStreamInfoRequestDefaultTypeInternal _SubscribeVideoStreamInfoRequest_default_instance_; + template PROTOBUF_CONSTEXPR SubscribeStatusRequest::SubscribeStatusRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeStatusRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeStatusRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeStatusRequestDefaultTypeInternal() {} - union { - SubscribeStatusRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeStatusRequestDefaultTypeInternal _SubscribeStatusRequest_default_instance_; -template -PROTOBUF_CONSTEXPR SubscribePossibleSettingOptionsRequest::SubscribePossibleSettingOptionsRequest( - ::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribePossibleSettingOptionsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribePossibleSettingOptionsRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribePossibleSettingOptionsRequestDefaultTypeInternal() {} - union { - SubscribePossibleSettingOptionsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribePossibleSettingOptionsRequestDefaultTypeInternal - _SubscribePossibleSettingOptionsRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeStatusRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeStatusRequestDefaultTypeInternal() {} + union { + SubscribeStatusRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeStatusRequestDefaultTypeInternal _SubscribeStatusRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribePossibleSettingOptionsRequest::SubscribePossibleSettingOptionsRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribePossibleSettingOptionsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribePossibleSettingOptionsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribePossibleSettingOptionsRequestDefaultTypeInternal() {} + union { + SubscribePossibleSettingOptionsRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribePossibleSettingOptionsRequestDefaultTypeInternal _SubscribePossibleSettingOptionsRequest_default_instance_; + template PROTOBUF_CONSTEXPR SubscribeModeRequest::SubscribeModeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeModeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeModeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeModeRequestDefaultTypeInternal() {} - union { - SubscribeModeRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeModeRequestDefaultTypeInternal _SubscribeModeRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -SubscribeInformationRequest::SubscribeInformationRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeInformationRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeInformationRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeInformationRequestDefaultTypeInternal() {} - union { - SubscribeInformationRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeInformationRequestDefaultTypeInternal _SubscribeInformationRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -SubscribeCurrentSettingsRequest::SubscribeCurrentSettingsRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeCurrentSettingsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeCurrentSettingsRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeCurrentSettingsRequestDefaultTypeInternal() {} - union { - SubscribeCurrentSettingsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeCurrentSettingsRequestDefaultTypeInternal - _SubscribeCurrentSettingsRequest_default_instance_; -template -PROTOBUF_CONSTEXPR -SubscribeCaptureInfoRequest::SubscribeCaptureInfoRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct SubscribeCaptureInfoRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubscribeCaptureInfoRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SubscribeCaptureInfoRequestDefaultTypeInternal() {} - union { - SubscribeCaptureInfoRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SubscribeCaptureInfoRequestDefaultTypeInternal _SubscribeCaptureInfoRequest_default_instance_; - -inline constexpr StopVideoStreamingRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - stream_id_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeModeRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeModeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeModeRequestDefaultTypeInternal() {} + union { + SubscribeModeRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeModeRequestDefaultTypeInternal _SubscribeModeRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeInformationRequest::SubscribeInformationRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeInformationRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeInformationRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeInformationRequestDefaultTypeInternal() {} + union { + SubscribeInformationRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeInformationRequestDefaultTypeInternal _SubscribeInformationRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeCurrentSettingsRequest::SubscribeCurrentSettingsRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeCurrentSettingsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeCurrentSettingsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeCurrentSettingsRequestDefaultTypeInternal() {} + union { + SubscribeCurrentSettingsRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeCurrentSettingsRequestDefaultTypeInternal _SubscribeCurrentSettingsRequest_default_instance_; + template +PROTOBUF_CONSTEXPR SubscribeCaptureInfoRequest::SubscribeCaptureInfoRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct SubscribeCaptureInfoRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR SubscribeCaptureInfoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SubscribeCaptureInfoRequestDefaultTypeInternal() {} + union { + SubscribeCaptureInfoRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubscribeCaptureInfoRequestDefaultTypeInternal _SubscribeCaptureInfoRequest_default_instance_; + +inline constexpr StopVideoStreamingRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : stream_id_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR StopVideoStreamingRequest::StopVideoStreamingRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StopVideoStreamingRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR StopVideoStreamingRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StopVideoStreamingRequestDefaultTypeInternal() {} - union { - StopVideoStreamingRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StopVideoStreamingRequestDefaultTypeInternal _StopVideoStreamingRequest_default_instance_; -template + PROTOBUF_CONSTEXPR StopVideoStreamingRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StopVideoStreamingRequestDefaultTypeInternal() {} + union { + StopVideoStreamingRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopVideoStreamingRequestDefaultTypeInternal _StopVideoStreamingRequest_default_instance_; + template PROTOBUF_CONSTEXPR StopVideoRequest::StopVideoRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct StopVideoRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR StopVideoRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StopVideoRequestDefaultTypeInternal() {} - union { - StopVideoRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StopVideoRequestDefaultTypeInternal _StopVideoRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct StopVideoRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR StopVideoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StopVideoRequestDefaultTypeInternal() {} + union { + StopVideoRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopVideoRequestDefaultTypeInternal _StopVideoRequest_default_instance_; + template PROTOBUF_CONSTEXPR StopPhotoIntervalRequest::StopPhotoIntervalRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct StopPhotoIntervalRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR StopPhotoIntervalRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StopPhotoIntervalRequestDefaultTypeInternal() {} - union { - StopPhotoIntervalRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StopPhotoIntervalRequestDefaultTypeInternal _StopPhotoIntervalRequest_default_instance_; - -inline constexpr Status::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - media_folder_name_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - video_on_{false}, - photo_interval_on_{false}, - used_storage_mib_{0}, - available_storage_mib_{0}, - total_storage_mib_{0}, - recording_time_s_{0}, - storage_status_{static_cast<::mavsdk::rpc::camera::Status_StorageStatus>(0)}, - storage_id_{0u}, - storage_type_{static_cast<::mavsdk::rpc::camera::Status_StorageType>(0)}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct StopPhotoIntervalRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR StopPhotoIntervalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StopPhotoIntervalRequestDefaultTypeInternal() {} + union { + StopPhotoIntervalRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopPhotoIntervalRequestDefaultTypeInternal _StopPhotoIntervalRequest_default_instance_; + +inline constexpr Status::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : media_folder_name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + video_on_{false}, + photo_interval_on_{false}, + used_storage_mib_{0}, + available_storage_mib_{0}, + total_storage_mib_{0}, + recording_time_s_{0}, + storage_status_{static_cast< ::mavsdk::rpc::camera::Status_StorageStatus >(0)}, + storage_id_{0u}, + storage_type_{static_cast< ::mavsdk::rpc::camera::Status_StorageType >(0)}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR Status::Status(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR StatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~StatusDefaultTypeInternal() {} - union { - Status _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StatusDefaultTypeInternal _Status_default_instance_; - -inline constexpr StartVideoStreamingRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - stream_id_{0}, - _cached_size_{0} -{} - -template -PROTOBUF_CONSTEXPR - StartVideoStreamingRequest::StartVideoStreamingRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR StatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StatusDefaultTypeInternal() {} + union { + Status _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatusDefaultTypeInternal _Status_default_instance_; + +inline constexpr StartVideoStreamingRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : stream_id_{0}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR StartVideoStreamingRequest::StartVideoStreamingRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StartVideoStreamingRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartVideoStreamingRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StartVideoStreamingRequestDefaultTypeInternal() {} - union { - StartVideoStreamingRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StartVideoStreamingRequestDefaultTypeInternal _StartVideoStreamingRequest_default_instance_; -template + PROTOBUF_CONSTEXPR StartVideoStreamingRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StartVideoStreamingRequestDefaultTypeInternal() {} + union { + StartVideoStreamingRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartVideoStreamingRequestDefaultTypeInternal _StartVideoStreamingRequest_default_instance_; + template PROTOBUF_CONSTEXPR StartVideoRequest::StartVideoRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct StartVideoRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartVideoRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StartVideoRequestDefaultTypeInternal() {} - union { - StartVideoRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StartVideoRequestDefaultTypeInternal _StartVideoRequest_default_instance_; - -inline constexpr StartPhotoIntervalRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - interval_s_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct StartVideoRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR StartVideoRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StartVideoRequestDefaultTypeInternal() {} + union { + StartVideoRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartVideoRequestDefaultTypeInternal _StartVideoRequest_default_instance_; + +inline constexpr StartPhotoIntervalRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : interval_s_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR StartPhotoIntervalRequest::StartPhotoIntervalRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StartPhotoIntervalRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartPhotoIntervalRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StartPhotoIntervalRequestDefaultTypeInternal() {} - union { - StartPhotoIntervalRequest _instance; - }; + PROTOBUF_CONSTEXPR StartPhotoIntervalRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StartPhotoIntervalRequestDefaultTypeInternal() {} + union { + StartPhotoIntervalRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StartPhotoIntervalRequestDefaultTypeInternal _StartPhotoIntervalRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartPhotoIntervalRequestDefaultTypeInternal _StartPhotoIntervalRequest_default_instance_; -inline constexpr SetModeRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - mode_{static_cast<::mavsdk::rpc::camera::Mode>(0)}, - _cached_size_{0} -{} +inline constexpr SetModeRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : mode_{static_cast< ::mavsdk::rpc::camera::Mode >(0)}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SetModeRequest::SetModeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetModeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetModeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetModeRequestDefaultTypeInternal() {} - union { - SetModeRequest _instance; - }; + PROTOBUF_CONSTEXPR SetModeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetModeRequestDefaultTypeInternal() {} + union { + SetModeRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetModeRequestDefaultTypeInternal _SetModeRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetModeRequestDefaultTypeInternal _SetModeRequest_default_instance_; -inline constexpr SelectCameraRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - camera_id_{0}, - _cached_size_{0} -{} +inline constexpr SelectCameraRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : camera_id_{0}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR SelectCameraRequest::SelectCameraRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SelectCameraRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SelectCameraRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SelectCameraRequestDefaultTypeInternal() {} - union { - SelectCameraRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SelectCameraRequestDefaultTypeInternal _SelectCameraRequest_default_instance_; -template + PROTOBUF_CONSTEXPR SelectCameraRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SelectCameraRequestDefaultTypeInternal() {} + union { + SelectCameraRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectCameraRequestDefaultTypeInternal _SelectCameraRequest_default_instance_; + template PROTOBUF_CONSTEXPR ResetSettingsRequest::ResetSettingsRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct ResetSettingsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ResetSettingsRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ResetSettingsRequestDefaultTypeInternal() {} - union { - ResetSettingsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ResetSettingsRequestDefaultTypeInternal _ResetSettingsRequest_default_instance_; - -inline constexpr Quaternion::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - w_{0}, - x_{0}, - y_{0}, - z_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ResetSettingsRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ResetSettingsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ResetSettingsRequestDefaultTypeInternal() {} + union { + ResetSettingsRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResetSettingsRequestDefaultTypeInternal _ResetSettingsRequest_default_instance_; + +inline constexpr Quaternion::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : w_{0}, + x_{0}, + y_{0}, + z_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR Quaternion::Quaternion(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct QuaternionDefaultTypeInternal { - PROTOBUF_CONSTEXPR QuaternionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~QuaternionDefaultTypeInternal() {} - union { - Quaternion _instance; - }; + PROTOBUF_CONSTEXPR QuaternionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~QuaternionDefaultTypeInternal() {} + union { + Quaternion _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - QuaternionDefaultTypeInternal _Quaternion_default_instance_; -template +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuaternionDefaultTypeInternal _Quaternion_default_instance_; + template PROTOBUF_CONSTEXPR PrepareRequest::PrepareRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct PrepareRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR PrepareRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~PrepareRequestDefaultTypeInternal() {} - union { - PrepareRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - PrepareRequestDefaultTypeInternal _PrepareRequest_default_instance_; - -inline constexpr Position::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - latitude_deg_{0}, - longitude_deg_{0}, - absolute_altitude_m_{0}, - relative_altitude_m_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct PrepareRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR PrepareRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PrepareRequestDefaultTypeInternal() {} + union { + PrepareRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrepareRequestDefaultTypeInternal _PrepareRequest_default_instance_; + +inline constexpr Position::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : latitude_deg_{0}, + longitude_deg_{0}, + absolute_altitude_m_{0}, + relative_altitude_m_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR Position::Position(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct PositionDefaultTypeInternal { - PROTOBUF_CONSTEXPR PositionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~PositionDefaultTypeInternal() {} - union { - Position _instance; - }; + PROTOBUF_CONSTEXPR PositionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PositionDefaultTypeInternal() {} + union { + Position _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - PositionDefaultTypeInternal _Position_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PositionDefaultTypeInternal _Position_default_instance_; -inline constexpr Option::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - option_id_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - option_description_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - _cached_size_{0} -{} +inline constexpr Option::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : option_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + option_description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR Option::Option(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct OptionDefaultTypeInternal { - PROTOBUF_CONSTEXPR OptionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~OptionDefaultTypeInternal() {} - union { - Option _instance; - }; + PROTOBUF_CONSTEXPR OptionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OptionDefaultTypeInternal() {} + union { + Option _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - OptionDefaultTypeInternal _Option_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OptionDefaultTypeInternal _Option_default_instance_; -inline constexpr ModeResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - mode_{static_cast<::mavsdk::rpc::camera::Mode>(0)}, - _cached_size_{0} -{} +inline constexpr ModeResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : mode_{static_cast< ::mavsdk::rpc::camera::Mode >(0)}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR ModeResponse::ModeResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ModeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ModeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~ModeResponseDefaultTypeInternal() {} - union { - ModeResponse _instance; - }; + PROTOBUF_CONSTEXPR ModeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ModeResponseDefaultTypeInternal() {} + union { + ModeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ModeResponseDefaultTypeInternal _ModeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModeResponseDefaultTypeInternal _ModeResponse_default_instance_; -inline constexpr ListPhotosRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - photos_range_{static_cast<::mavsdk::rpc::camera::PhotosRange>(0)}, - _cached_size_{0} -{} +inline constexpr ListPhotosRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : photos_range_{static_cast< ::mavsdk::rpc::camera::PhotosRange >(0)}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR ListPhotosRequest::ListPhotosRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ListPhotosRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListPhotosRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ListPhotosRequestDefaultTypeInternal() {} - union { - ListPhotosRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ListPhotosRequestDefaultTypeInternal _ListPhotosRequest_default_instance_; - -inline constexpr Information::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - vendor_name_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - model_name_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - focal_length_mm_{0}, - horizontal_sensor_size_mm_{0}, - vertical_sensor_size_mm_{0}, - horizontal_resolution_px_{0u}, - vertical_resolution_px_{0u}, - _cached_size_{0} -{} - -template + PROTOBUF_CONSTEXPR ListPhotosRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ListPhotosRequestDefaultTypeInternal() {} + union { + ListPhotosRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListPhotosRequestDefaultTypeInternal _ListPhotosRequest_default_instance_; + +inline constexpr Information::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : vendor_name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + model_name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + focal_length_mm_{0}, + horizontal_sensor_size_mm_{0}, + vertical_sensor_size_mm_{0}, + horizontal_resolution_px_{0u}, + vertical_resolution_px_{0u}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR Information::Information(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct InformationDefaultTypeInternal { - PROTOBUF_CONSTEXPR InformationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~InformationDefaultTypeInternal() {} - union { - Information _instance; - }; + PROTOBUF_CONSTEXPR InformationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~InformationDefaultTypeInternal() {} + union { + Information _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - InformationDefaultTypeInternal _Information_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InformationDefaultTypeInternal _Information_default_instance_; -inline constexpr FormatStorageRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - storage_id_{0}, - _cached_size_{0} -{} +inline constexpr FormatStorageRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : storage_id_{0}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR FormatStorageRequest::FormatStorageRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FormatStorageRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR FormatStorageRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FormatStorageRequestDefaultTypeInternal() {} - union { - FormatStorageRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FormatStorageRequestDefaultTypeInternal _FormatStorageRequest_default_instance_; -template + PROTOBUF_CONSTEXPR FormatStorageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FormatStorageRequestDefaultTypeInternal() {} + union { + FormatStorageRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FormatStorageRequestDefaultTypeInternal _FormatStorageRequest_default_instance_; + template PROTOBUF_CONSTEXPR FocusStopRequest::FocusStopRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct FocusStopRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusStopRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusStopRequestDefaultTypeInternal() {} - union { - FocusStopRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusStopRequestDefaultTypeInternal _FocusStopRequest_default_instance_; - -inline constexpr FocusRangeRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - range_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct FocusStopRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR FocusStopRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusStopRequestDefaultTypeInternal() {} + union { + FocusStopRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusStopRequestDefaultTypeInternal _FocusStopRequest_default_instance_; + +inline constexpr FocusRangeRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : range_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR FocusRangeRequest::FocusRangeRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FocusRangeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusRangeRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusRangeRequestDefaultTypeInternal() {} - union { - FocusRangeRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusRangeRequestDefaultTypeInternal _FocusRangeRequest_default_instance_; -template + PROTOBUF_CONSTEXPR FocusRangeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusRangeRequestDefaultTypeInternal() {} + union { + FocusRangeRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusRangeRequestDefaultTypeInternal _FocusRangeRequest_default_instance_; + template PROTOBUF_CONSTEXPR FocusOutStartRequest::FocusOutStartRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct FocusOutStartRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusOutStartRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusOutStartRequestDefaultTypeInternal() {} - union { - FocusOutStartRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusOutStartRequestDefaultTypeInternal _FocusOutStartRequest_default_instance_; -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct FocusOutStartRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR FocusOutStartRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusOutStartRequestDefaultTypeInternal() {} + union { + FocusOutStartRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusOutStartRequestDefaultTypeInternal _FocusOutStartRequest_default_instance_; + template PROTOBUF_CONSTEXPR FocusInStartRequest::FocusInStartRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase() -{ -} -#endif // PROTOBUF_CUSTOM_VTABLE - struct FocusInStartRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusInStartRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusInStartRequestDefaultTypeInternal() {} - union { - FocusInStartRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusInStartRequestDefaultTypeInternal _FocusInStartRequest_default_instance_; - -inline constexpr EulerAngle::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - roll_deg_{0}, - pitch_deg_{0}, - yaw_deg_{0}, - _cached_size_{0} -{} - -template + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct FocusInStartRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR FocusInStartRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusInStartRequestDefaultTypeInternal() {} + union { + FocusInStartRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusInStartRequestDefaultTypeInternal _FocusInStartRequest_default_instance_; + +inline constexpr EulerAngle::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : roll_deg_{0}, + pitch_deg_{0}, + yaw_deg_{0}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR EulerAngle::EulerAngle(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct EulerAngleDefaultTypeInternal { - PROTOBUF_CONSTEXPR EulerAngleDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~EulerAngleDefaultTypeInternal() {} - union { - EulerAngle _instance; - }; + PROTOBUF_CONSTEXPR EulerAngleDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~EulerAngleDefaultTypeInternal() {} + union { + EulerAngle _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - EulerAngleDefaultTypeInternal _EulerAngle_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EulerAngleDefaultTypeInternal _EulerAngle_default_instance_; -inline constexpr CameraResult::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - result_str_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - result_{static_cast<::mavsdk::rpc::camera::CameraResult_Result>(0)}, - _cached_size_{0} -{} +inline constexpr CameraResult::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : result_str_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + result_{static_cast< ::mavsdk::rpc::camera::CameraResult_Result >(0)}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR CameraResult::CameraResult(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CameraResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR CameraResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~CameraResultDefaultTypeInternal() {} - union { - CameraResult _instance; - }; + PROTOBUF_CONSTEXPR CameraResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CameraResultDefaultTypeInternal() {} + union { + CameraResult _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CameraResultDefaultTypeInternal _CameraResult_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CameraResultDefaultTypeInternal _CameraResult_default_instance_; -inline constexpr ZoomStopResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr ZoomStopResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ZoomStopResponse::ZoomStopResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ZoomStopResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomStopResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomStopResponseDefaultTypeInternal() {} - union { - ZoomStopResponse _instance; - }; + PROTOBUF_CONSTEXPR ZoomStopResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomStopResponseDefaultTypeInternal() {} + union { + ZoomStopResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomStopResponseDefaultTypeInternal _ZoomStopResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomStopResponseDefaultTypeInternal _ZoomStopResponse_default_instance_; -inline constexpr ZoomRangeResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr ZoomRangeResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ZoomRangeResponse::ZoomRangeResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ZoomRangeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomRangeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomRangeResponseDefaultTypeInternal() {} - union { - ZoomRangeResponse _instance; - }; + PROTOBUF_CONSTEXPR ZoomRangeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomRangeResponseDefaultTypeInternal() {} + union { + ZoomRangeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomRangeResponseDefaultTypeInternal _ZoomRangeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomRangeResponseDefaultTypeInternal _ZoomRangeResponse_default_instance_; -inline constexpr ZoomOutStartResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr ZoomOutStartResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ZoomOutStartResponse::ZoomOutStartResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ZoomOutStartResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomOutStartResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomOutStartResponseDefaultTypeInternal() {} - union { - ZoomOutStartResponse _instance; - }; + PROTOBUF_CONSTEXPR ZoomOutStartResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomOutStartResponseDefaultTypeInternal() {} + union { + ZoomOutStartResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomOutStartResponseDefaultTypeInternal _ZoomOutStartResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomOutStartResponseDefaultTypeInternal _ZoomOutStartResponse_default_instance_; -inline constexpr ZoomInStartResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr ZoomInStartResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ZoomInStartResponse::ZoomInStartResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ZoomInStartResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ZoomInStartResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ZoomInStartResponseDefaultTypeInternal() {} - union { - ZoomInStartResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ZoomInStartResponseDefaultTypeInternal _ZoomInStartResponse_default_instance_; - -inline constexpr VideoStreamInfo::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - settings_{nullptr}, - status_{static_cast<::mavsdk::rpc::camera::VideoStreamInfo_VideoStreamStatus>(0)}, - spectrum_{static_cast<::mavsdk::rpc::camera::VideoStreamInfo_VideoStreamSpectrum>(0)} -{} - -template + PROTOBUF_CONSTEXPR ZoomInStartResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ZoomInStartResponseDefaultTypeInternal() {} + union { + ZoomInStartResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZoomInStartResponseDefaultTypeInternal _ZoomInStartResponse_default_instance_; + +inline constexpr VideoStreamInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + settings_{nullptr}, + status_{static_cast< ::mavsdk::rpc::camera::VideoStreamInfo_VideoStreamStatus >(0)}, + spectrum_{static_cast< ::mavsdk::rpc::camera::VideoStreamInfo_VideoStreamSpectrum >(0)} {} + +template PROTOBUF_CONSTEXPR VideoStreamInfo::VideoStreamInfo(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct VideoStreamInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR VideoStreamInfoDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~VideoStreamInfoDefaultTypeInternal() {} - union { - VideoStreamInfo _instance; - }; + PROTOBUF_CONSTEXPR VideoStreamInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VideoStreamInfoDefaultTypeInternal() {} + union { + VideoStreamInfo _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - VideoStreamInfoDefaultTypeInternal _VideoStreamInfo_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoStreamInfoDefaultTypeInternal _VideoStreamInfo_default_instance_; -inline constexpr TrackStopResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr TrackStopResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR TrackStopResponse::TrackStopResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TrackStopResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrackStopResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TrackStopResponseDefaultTypeInternal() {} - union { - TrackStopResponse _instance; - }; + PROTOBUF_CONSTEXPR TrackStopResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackStopResponseDefaultTypeInternal() {} + union { + TrackStopResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TrackStopResponseDefaultTypeInternal _TrackStopResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackStopResponseDefaultTypeInternal _TrackStopResponse_default_instance_; -inline constexpr TrackRectangleResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr TrackRectangleResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR TrackRectangleResponse::TrackRectangleResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TrackRectangleResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrackRectangleResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TrackRectangleResponseDefaultTypeInternal() {} - union { - TrackRectangleResponse _instance; - }; + PROTOBUF_CONSTEXPR TrackRectangleResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackRectangleResponseDefaultTypeInternal() {} + union { + TrackRectangleResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TrackRectangleResponseDefaultTypeInternal _TrackRectangleResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackRectangleResponseDefaultTypeInternal _TrackRectangleResponse_default_instance_; -inline constexpr TrackPointResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr TrackPointResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR TrackPointResponse::TrackPointResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TrackPointResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TrackPointResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TrackPointResponseDefaultTypeInternal() {} - union { - TrackPointResponse _instance; - }; + PROTOBUF_CONSTEXPR TrackPointResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TrackPointResponseDefaultTypeInternal() {} + union { + TrackPointResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TrackPointResponseDefaultTypeInternal _TrackPointResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TrackPointResponseDefaultTypeInternal _TrackPointResponse_default_instance_; -inline constexpr TakePhotoResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr TakePhotoResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR TakePhotoResponse::TakePhotoResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct TakePhotoResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR TakePhotoResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~TakePhotoResponseDefaultTypeInternal() {} - union { - TakePhotoResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - TakePhotoResponseDefaultTypeInternal _TakePhotoResponse_default_instance_; - -inline constexpr StopVideoStreamingResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - StopVideoStreamingResponse::StopVideoStreamingResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR TakePhotoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TakePhotoResponseDefaultTypeInternal() {} + union { + TakePhotoResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TakePhotoResponseDefaultTypeInternal _TakePhotoResponse_default_instance_; + +inline constexpr StopVideoStreamingResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR StopVideoStreamingResponse::StopVideoStreamingResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StopVideoStreamingResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StopVideoStreamingResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StopVideoStreamingResponseDefaultTypeInternal() {} - union { - StopVideoStreamingResponse _instance; - }; + PROTOBUF_CONSTEXPR StopVideoStreamingResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StopVideoStreamingResponseDefaultTypeInternal() {} + union { + StopVideoStreamingResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StopVideoStreamingResponseDefaultTypeInternal _StopVideoStreamingResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopVideoStreamingResponseDefaultTypeInternal _StopVideoStreamingResponse_default_instance_; -inline constexpr StopVideoResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr StopVideoResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR StopVideoResponse::StopVideoResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StopVideoResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StopVideoResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StopVideoResponseDefaultTypeInternal() {} - union { - StopVideoResponse _instance; - }; + PROTOBUF_CONSTEXPR StopVideoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StopVideoResponseDefaultTypeInternal() {} + union { + StopVideoResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StopVideoResponseDefaultTypeInternal _StopVideoResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopVideoResponseDefaultTypeInternal _StopVideoResponse_default_instance_; -inline constexpr StopPhotoIntervalResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr StopPhotoIntervalResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR StopPhotoIntervalResponse::StopPhotoIntervalResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StopPhotoIntervalResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StopPhotoIntervalResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StopPhotoIntervalResponseDefaultTypeInternal() {} - union { - StopPhotoIntervalResponse _instance; - }; + PROTOBUF_CONSTEXPR StopPhotoIntervalResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StopPhotoIntervalResponseDefaultTypeInternal() {} + union { + StopPhotoIntervalResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StopPhotoIntervalResponseDefaultTypeInternal _StopPhotoIntervalResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StopPhotoIntervalResponseDefaultTypeInternal _StopPhotoIntervalResponse_default_instance_; -inline constexpr StatusResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_status_{nullptr} -{} +inline constexpr StatusResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_status_{nullptr} {} -template +template PROTOBUF_CONSTEXPR StatusResponse::StatusResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StatusResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StatusResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StatusResponseDefaultTypeInternal() {} - union { - StatusResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StatusResponseDefaultTypeInternal _StatusResponse_default_instance_; - -inline constexpr StartVideoStreamingResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - StartVideoStreamingResponse::StartVideoStreamingResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR StatusResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StatusResponseDefaultTypeInternal() {} + union { + StatusResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatusResponseDefaultTypeInternal _StatusResponse_default_instance_; + +inline constexpr StartVideoStreamingResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR StartVideoStreamingResponse::StartVideoStreamingResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StartVideoStreamingResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartVideoStreamingResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StartVideoStreamingResponseDefaultTypeInternal() {} - union { - StartVideoStreamingResponse _instance; - }; + PROTOBUF_CONSTEXPR StartVideoStreamingResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StartVideoStreamingResponseDefaultTypeInternal() {} + union { + StartVideoStreamingResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StartVideoStreamingResponseDefaultTypeInternal _StartVideoStreamingResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartVideoStreamingResponseDefaultTypeInternal _StartVideoStreamingResponse_default_instance_; -inline constexpr StartVideoResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr StartVideoResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR StartVideoResponse::StartVideoResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StartVideoResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartVideoResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StartVideoResponseDefaultTypeInternal() {} - union { - StartVideoResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StartVideoResponseDefaultTypeInternal _StartVideoResponse_default_instance_; - -inline constexpr StartPhotoIntervalResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} - -template -PROTOBUF_CONSTEXPR - StartPhotoIntervalResponse::StartPhotoIntervalResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR StartVideoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StartVideoResponseDefaultTypeInternal() {} + union { + StartVideoResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartVideoResponseDefaultTypeInternal _StartVideoResponse_default_instance_; + +inline constexpr StartPhotoIntervalResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} + +template +PROTOBUF_CONSTEXPR StartPhotoIntervalResponse::StartPhotoIntervalResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct StartPhotoIntervalResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartPhotoIntervalResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~StartPhotoIntervalResponseDefaultTypeInternal() {} - union { - StartPhotoIntervalResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - StartPhotoIntervalResponseDefaultTypeInternal _StartPhotoIntervalResponse_default_instance_; - -inline constexpr SettingOptions::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - options_{}, - setting_id_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - setting_description_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - is_range_{false}, - _cached_size_{0} -{} - -template + PROTOBUF_CONSTEXPR StartPhotoIntervalResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StartPhotoIntervalResponseDefaultTypeInternal() {} + union { + StartPhotoIntervalResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartPhotoIntervalResponseDefaultTypeInternal _StartPhotoIntervalResponse_default_instance_; + +inline constexpr SettingOptions::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : options_{}, + setting_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + setting_description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + is_range_{false}, + _cached_size_{0} {} + +template PROTOBUF_CONSTEXPR SettingOptions::SettingOptions(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SettingOptionsDefaultTypeInternal { - PROTOBUF_CONSTEXPR SettingOptionsDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SettingOptionsDefaultTypeInternal() {} - union { - SettingOptions _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SettingOptionsDefaultTypeInternal _SettingOptions_default_instance_; - -inline constexpr Setting::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - setting_id_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - setting_description_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - option_{nullptr}, - is_range_{false} -{} - -template + PROTOBUF_CONSTEXPR SettingOptionsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SettingOptionsDefaultTypeInternal() {} + union { + SettingOptions _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SettingOptionsDefaultTypeInternal _SettingOptions_default_instance_; + +inline constexpr Setting::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + setting_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + setting_description_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + option_{nullptr}, + is_range_{false} {} + +template PROTOBUF_CONSTEXPR Setting::Setting(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SettingDefaultTypeInternal { - PROTOBUF_CONSTEXPR SettingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SettingDefaultTypeInternal() {} - union { - Setting _instance; - }; + PROTOBUF_CONSTEXPR SettingDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SettingDefaultTypeInternal() {} + union { + Setting _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SettingDefaultTypeInternal _Setting_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SettingDefaultTypeInternal _Setting_default_instance_; -inline constexpr SetSettingResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr SetSettingResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetSettingResponse::SetSettingResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetSettingResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetSettingResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetSettingResponseDefaultTypeInternal() {} - union { - SetSettingResponse _instance; - }; + PROTOBUF_CONSTEXPR SetSettingResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetSettingResponseDefaultTypeInternal() {} + union { + SetSettingResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetSettingResponseDefaultTypeInternal _SetSettingResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSettingResponseDefaultTypeInternal _SetSettingResponse_default_instance_; -inline constexpr SetModeResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr SetModeResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetModeResponse::SetModeResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetModeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetModeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetModeResponseDefaultTypeInternal() {} - union { - SetModeResponse _instance; - }; + PROTOBUF_CONSTEXPR SetModeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetModeResponseDefaultTypeInternal() {} + union { + SetModeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetModeResponseDefaultTypeInternal _SetModeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetModeResponseDefaultTypeInternal _SetModeResponse_default_instance_; -inline constexpr SelectCameraResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr SelectCameraResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SelectCameraResponse::SelectCameraResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SelectCameraResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SelectCameraResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SelectCameraResponseDefaultTypeInternal() {} - union { - SelectCameraResponse _instance; - }; + PROTOBUF_CONSTEXPR SelectCameraResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SelectCameraResponseDefaultTypeInternal() {} + union { + SelectCameraResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SelectCameraResponseDefaultTypeInternal _SelectCameraResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SelectCameraResponseDefaultTypeInternal _SelectCameraResponse_default_instance_; -inline constexpr ResetSettingsResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr ResetSettingsResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR ResetSettingsResponse::ResetSettingsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ResetSettingsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ResetSettingsResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ResetSettingsResponseDefaultTypeInternal() {} - union { - ResetSettingsResponse _instance; - }; + PROTOBUF_CONSTEXPR ResetSettingsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ResetSettingsResponseDefaultTypeInternal() {} + union { + ResetSettingsResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ResetSettingsResponseDefaultTypeInternal _ResetSettingsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResetSettingsResponseDefaultTypeInternal _ResetSettingsResponse_default_instance_; -inline constexpr PrepareResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr PrepareResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR PrepareResponse::PrepareResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct PrepareResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR PrepareResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~PrepareResponseDefaultTypeInternal() {} - union { - PrepareResponse _instance; - }; + PROTOBUF_CONSTEXPR PrepareResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PrepareResponseDefaultTypeInternal() {} + union { + PrepareResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - PrepareResponseDefaultTypeInternal _PrepareResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrepareResponseDefaultTypeInternal _PrepareResponse_default_instance_; -inline constexpr InformationResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - information_{nullptr} -{} +inline constexpr InformationResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + information_{nullptr} {} -template +template PROTOBUF_CONSTEXPR InformationResponse::InformationResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct InformationResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR InformationResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~InformationResponseDefaultTypeInternal() {} - union { - InformationResponse _instance; - }; + PROTOBUF_CONSTEXPR InformationResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~InformationResponseDefaultTypeInternal() {} + union { + InformationResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - InformationResponseDefaultTypeInternal _InformationResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InformationResponseDefaultTypeInternal _InformationResponse_default_instance_; -inline constexpr FormatStorageResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr FormatStorageResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR FormatStorageResponse::FormatStorageResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FormatStorageResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR FormatStorageResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FormatStorageResponseDefaultTypeInternal() {} - union { - FormatStorageResponse _instance; - }; + PROTOBUF_CONSTEXPR FormatStorageResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FormatStorageResponseDefaultTypeInternal() {} + union { + FormatStorageResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FormatStorageResponseDefaultTypeInternal _FormatStorageResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FormatStorageResponseDefaultTypeInternal _FormatStorageResponse_default_instance_; -inline constexpr FocusStopResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr FocusStopResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR FocusStopResponse::FocusStopResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FocusStopResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusStopResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusStopResponseDefaultTypeInternal() {} - union { - FocusStopResponse _instance; - }; + PROTOBUF_CONSTEXPR FocusStopResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusStopResponseDefaultTypeInternal() {} + union { + FocusStopResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusStopResponseDefaultTypeInternal _FocusStopResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusStopResponseDefaultTypeInternal _FocusStopResponse_default_instance_; -inline constexpr FocusRangeResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr FocusRangeResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR FocusRangeResponse::FocusRangeResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FocusRangeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusRangeResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusRangeResponseDefaultTypeInternal() {} - union { - FocusRangeResponse _instance; - }; + PROTOBUF_CONSTEXPR FocusRangeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusRangeResponseDefaultTypeInternal() {} + union { + FocusRangeResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusRangeResponseDefaultTypeInternal _FocusRangeResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusRangeResponseDefaultTypeInternal _FocusRangeResponse_default_instance_; -inline constexpr FocusOutStartResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr FocusOutStartResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR FocusOutStartResponse::FocusOutStartResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FocusOutStartResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusOutStartResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusOutStartResponseDefaultTypeInternal() {} - union { - FocusOutStartResponse _instance; - }; + PROTOBUF_CONSTEXPR FocusOutStartResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusOutStartResponseDefaultTypeInternal() {} + union { + FocusOutStartResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusOutStartResponseDefaultTypeInternal _FocusOutStartResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusOutStartResponseDefaultTypeInternal _FocusOutStartResponse_default_instance_; -inline constexpr FocusInStartResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr} -{} +inline constexpr FocusInStartResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr} {} -template +template PROTOBUF_CONSTEXPR FocusInStartResponse::FocusInStartResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct FocusInStartResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR FocusInStartResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~FocusInStartResponseDefaultTypeInternal() {} - union { - FocusInStartResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - FocusInStartResponseDefaultTypeInternal _FocusInStartResponse_default_instance_; - -inline constexpr CaptureInfo::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - file_url_( - &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), - position_{nullptr}, - attitude_quaternion_{nullptr}, - attitude_euler_angle_{nullptr}, - time_utc_us_{::uint64_t{0u}}, - is_success_{false}, - index_{0} -{} - -template + PROTOBUF_CONSTEXPR FocusInStartResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FocusInStartResponseDefaultTypeInternal() {} + union { + FocusInStartResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FocusInStartResponseDefaultTypeInternal _FocusInStartResponse_default_instance_; + +inline constexpr CaptureInfo::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + file_url_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + position_{nullptr}, + attitude_quaternion_{nullptr}, + attitude_euler_angle_{nullptr}, + time_utc_us_{::uint64_t{0u}}, + is_success_{false}, + index_{0} {} + +template PROTOBUF_CONSTEXPR CaptureInfo::CaptureInfo(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CaptureInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR CaptureInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) - {} - ~CaptureInfoDefaultTypeInternal() {} - union { - CaptureInfo _instance; - }; + PROTOBUF_CONSTEXPR CaptureInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CaptureInfoDefaultTypeInternal() {} + union { + CaptureInfo _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CaptureInfoDefaultTypeInternal _CaptureInfo_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CaptureInfoDefaultTypeInternal _CaptureInfo_default_instance_; -inline constexpr VideoStreamInfoResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - video_stream_info_{nullptr} -{} +inline constexpr VideoStreamInfoResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + video_stream_info_{nullptr} {} -template +template PROTOBUF_CONSTEXPR VideoStreamInfoResponse::VideoStreamInfoResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct VideoStreamInfoResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR VideoStreamInfoResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~VideoStreamInfoResponseDefaultTypeInternal() {} - union { - VideoStreamInfoResponse _instance; - }; + PROTOBUF_CONSTEXPR VideoStreamInfoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~VideoStreamInfoResponseDefaultTypeInternal() {} + union { + VideoStreamInfoResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - VideoStreamInfoResponseDefaultTypeInternal _VideoStreamInfoResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VideoStreamInfoResponseDefaultTypeInternal _VideoStreamInfoResponse_default_instance_; -inline constexpr SetSettingRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - setting_{nullptr} -{} +inline constexpr SetSettingRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + setting_{nullptr} {} -template +template PROTOBUF_CONSTEXPR SetSettingRequest::SetSettingRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct SetSettingRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetSettingRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~SetSettingRequestDefaultTypeInternal() {} - union { - SetSettingRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - SetSettingRequestDefaultTypeInternal _SetSettingRequest_default_instance_; - -inline constexpr PossibleSettingOptionsResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept - : - setting_options_{}, - _cached_size_{0} -{} - -template -PROTOBUF_CONSTEXPR - PossibleSettingOptionsResponse::PossibleSettingOptionsResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + PROTOBUF_CONSTEXPR SetSettingRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SetSettingRequestDefaultTypeInternal() {} + union { + SetSettingRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetSettingRequestDefaultTypeInternal _SetSettingRequest_default_instance_; + +inline constexpr PossibleSettingOptionsResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : setting_options_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR PossibleSettingOptionsResponse::PossibleSettingOptionsResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct PossibleSettingOptionsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR PossibleSettingOptionsResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~PossibleSettingOptionsResponseDefaultTypeInternal() {} - union { - PossibleSettingOptionsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - PossibleSettingOptionsResponseDefaultTypeInternal - _PossibleSettingOptionsResponse_default_instance_; - -inline constexpr ListPhotosResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - capture_infos_{}, - camera_result_{nullptr} -{} - -template + PROTOBUF_CONSTEXPR PossibleSettingOptionsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~PossibleSettingOptionsResponseDefaultTypeInternal() {} + union { + PossibleSettingOptionsResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PossibleSettingOptionsResponseDefaultTypeInternal _PossibleSettingOptionsResponse_default_instance_; + +inline constexpr ListPhotosResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + capture_infos_{}, + camera_result_{nullptr} {} + +template PROTOBUF_CONSTEXPR ListPhotosResponse::ListPhotosResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct ListPhotosResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ListPhotosResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~ListPhotosResponseDefaultTypeInternal() {} - union { - ListPhotosResponse _instance; - }; + PROTOBUF_CONSTEXPR ListPhotosResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ListPhotosResponseDefaultTypeInternal() {} + union { + ListPhotosResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - ListPhotosResponseDefaultTypeInternal _ListPhotosResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListPhotosResponseDefaultTypeInternal _ListPhotosResponse_default_instance_; -inline constexpr GetSettingResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - camera_result_{nullptr}, - setting_{nullptr} -{} +inline constexpr GetSettingResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + camera_result_{nullptr}, + setting_{nullptr} {} -template +template PROTOBUF_CONSTEXPR GetSettingResponse::GetSettingResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GetSettingResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetSettingResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetSettingResponseDefaultTypeInternal() {} - union { - GetSettingResponse _instance; - }; + PROTOBUF_CONSTEXPR GetSettingResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetSettingResponseDefaultTypeInternal() {} + union { + GetSettingResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetSettingResponseDefaultTypeInternal _GetSettingResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetSettingResponseDefaultTypeInternal _GetSettingResponse_default_instance_; -inline constexpr GetSettingRequest::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - setting_{nullptr} -{} +inline constexpr GetSettingRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + setting_{nullptr} {} -template +template PROTOBUF_CONSTEXPR GetSettingRequest::GetSettingRequest(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct GetSettingRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetSettingRequestDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~GetSettingRequestDefaultTypeInternal() {} - union { - GetSettingRequest _instance; - }; + PROTOBUF_CONSTEXPR GetSettingRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~GetSettingRequestDefaultTypeInternal() {} + union { + GetSettingRequest _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - GetSettingRequestDefaultTypeInternal _GetSettingRequest_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetSettingRequestDefaultTypeInternal _GetSettingRequest_default_instance_; -inline constexpr CurrentSettingsResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - current_settings_{}, - _cached_size_{0} -{} +inline constexpr CurrentSettingsResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : current_settings_{}, + _cached_size_{0} {} -template +template PROTOBUF_CONSTEXPR CurrentSettingsResponse::CurrentSettingsResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CurrentSettingsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CurrentSettingsResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CurrentSettingsResponseDefaultTypeInternal() {} - union { - CurrentSettingsResponse _instance; - }; + PROTOBUF_CONSTEXPR CurrentSettingsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CurrentSettingsResponseDefaultTypeInternal() {} + union { + CurrentSettingsResponse _instance; + }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CurrentSettingsResponseDefaultTypeInternal _CurrentSettingsResponse_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CurrentSettingsResponseDefaultTypeInternal _CurrentSettingsResponse_default_instance_; -inline constexpr CaptureInfoResponse::Impl_::Impl_(::_pbi::ConstantInitialized) noexcept : - _cached_size_{0}, - capture_info_{nullptr} -{} +inline constexpr CaptureInfoResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + capture_info_{nullptr} {} -template +template PROTOBUF_CONSTEXPR CaptureInfoResponse::CaptureInfoResponse(::_pbi::ConstantInitialized) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) -{} + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} struct CaptureInfoResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CaptureInfoResponseDefaultTypeInternal() : - _instance(::_pbi::ConstantInitialized{}) - {} - ~CaptureInfoResponseDefaultTypeInternal() {} - union { - CaptureInfoResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - CaptureInfoResponseDefaultTypeInternal _CaptureInfoResponse_default_instance_; -} // namespace camera -} // namespace rpc -} // namespace mavsdk + PROTOBUF_CONSTEXPR CaptureInfoResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CaptureInfoResponseDefaultTypeInternal() {} + union { + CaptureInfoResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CaptureInfoResponseDefaultTypeInternal _CaptureInfoResponse_default_instance_; +} // namespace camera +} // namespace rpc +} // namespace mavsdk static const ::_pb::EnumDescriptor* file_level_enum_descriptors_camera_2fcamera_2eproto[7]; static constexpr const ::_pb::ServiceDescriptor** file_level_service_descriptors_camera_2fcamera_2eproto = nullptr; -const ::uint32_t TableStruct_camera_2fcamera_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalRequest, _impl_.interval_s_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingRequest, _impl_.stream_id_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::StartVideoStreamingResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingRequest, _impl_.stream_id_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeRequest, _impl_.mode_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosRequest, _impl_.photos_range_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _impl_.camera_result_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _impl_.capture_infos_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeInformationRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::InformationResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::InformationResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::InformationResponse, _impl_.information_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeModeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ModeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ModeResponse, _impl_.mode_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::SubscribeVideoStreamInfoRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfoResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfoResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::VideoStreamInfoResponse, _impl_.video_stream_info_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeCaptureInfoRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfoResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfoResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfoResponse, _impl_.capture_info_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeStatusRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StatusResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StatusResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StatusResponse, _impl_.camera_status_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::SubscribeCurrentSettingsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CurrentSettingsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CurrentSettingsResponse, _impl_.current_settings_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::SubscribePossibleSettingOptionsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::PossibleSettingOptionsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::PossibleSettingOptionsResponse, _impl_.setting_options_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingRequest, _impl_.setting_), - 0, - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingResponse, _impl_.camera_result_), - 0, - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingRequest, _impl_.setting_), - 0, - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _impl_.camera_result_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _impl_.setting_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageRequest, _impl_.storage_id_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageResponse, _impl_.camera_result_), - 0, - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraRequest, _impl_.camera_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeRequest, _impl_.range_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _impl_.point_x_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _impl_.point_y_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _impl_.radius_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.top_left_x_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.top_left_y_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.bottom_right_x_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.bottom_right_y_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeRequest, _impl_.range_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeResponse, _impl_.camera_result_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CameraResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CameraResult, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CameraResult, _impl_.result_str_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.latitude_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.longitude_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.absolute_altitude_m_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.relative_altitude_m_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.w_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.x_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.y_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.z_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _impl_.roll_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _impl_.pitch_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _impl_.yaw_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.position_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.attitude_quaternion_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.attitude_euler_angle_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.time_utc_us_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.is_success_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.index_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.file_url_), - 0, - 1, - 2, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.frame_rate_hz_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::VideoStreamSettings, _impl_.horizontal_resolution_pix_), - PROTOBUF_FIELD_OFFSET( - ::mavsdk::rpc::camera::VideoStreamSettings, _impl_.vertical_resolution_pix_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.bit_rate_b_s_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.rotation_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.uri_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.horizontal_fov_deg_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_.settings_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_.status_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_.spectrum_), - 0, - ~0u, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.video_on_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.photo_interval_on_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.used_storage_mib_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.available_storage_mib_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.total_storage_mib_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.recording_time_s_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.media_folder_name_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.storage_status_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.storage_id_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.storage_type_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Option, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Option, _impl_.option_id_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Option, _impl_.option_description_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.setting_id_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.setting_description_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.option_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.is_range_), - ~0u, - ~0u, - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.setting_id_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.setting_description_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.options_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.is_range_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.vendor_name_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.model_name_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.focal_length_mm_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.horizontal_sensor_size_mm_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.vertical_sensor_size_mm_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.horizontal_resolution_px_), - PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.vertical_resolution_px_), -}; - -static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::mavsdk::rpc::camera::PrepareRequest)}, - {8, 17, -1, sizeof(::mavsdk::rpc::camera::PrepareResponse)}, - {18, -1, -1, sizeof(::mavsdk::rpc::camera::TakePhotoRequest)}, - {26, 35, -1, sizeof(::mavsdk::rpc::camera::TakePhotoResponse)}, - {36, -1, -1, sizeof(::mavsdk::rpc::camera::StartPhotoIntervalRequest)}, - {45, 54, -1, sizeof(::mavsdk::rpc::camera::StartPhotoIntervalResponse)}, - {55, -1, -1, sizeof(::mavsdk::rpc::camera::StopPhotoIntervalRequest)}, - {63, 72, -1, sizeof(::mavsdk::rpc::camera::StopPhotoIntervalResponse)}, - {73, -1, -1, sizeof(::mavsdk::rpc::camera::StartVideoRequest)}, - {81, 90, -1, sizeof(::mavsdk::rpc::camera::StartVideoResponse)}, - {91, -1, -1, sizeof(::mavsdk::rpc::camera::StopVideoRequest)}, - {99, 108, -1, sizeof(::mavsdk::rpc::camera::StopVideoResponse)}, - {109, -1, -1, sizeof(::mavsdk::rpc::camera::StartVideoStreamingRequest)}, - {118, 127, -1, sizeof(::mavsdk::rpc::camera::StartVideoStreamingResponse)}, - {128, -1, -1, sizeof(::mavsdk::rpc::camera::StopVideoStreamingRequest)}, - {137, 146, -1, sizeof(::mavsdk::rpc::camera::StopVideoStreamingResponse)}, - {147, -1, -1, sizeof(::mavsdk::rpc::camera::SetModeRequest)}, - {156, 165, -1, sizeof(::mavsdk::rpc::camera::SetModeResponse)}, - {166, -1, -1, sizeof(::mavsdk::rpc::camera::ListPhotosRequest)}, - {175, 185, -1, sizeof(::mavsdk::rpc::camera::ListPhotosResponse)}, - {187, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeInformationRequest)}, - {195, 204, -1, sizeof(::mavsdk::rpc::camera::InformationResponse)}, - {205, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeModeRequest)}, - {213, -1, -1, sizeof(::mavsdk::rpc::camera::ModeResponse)}, - {222, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeVideoStreamInfoRequest)}, - {230, 239, -1, sizeof(::mavsdk::rpc::camera::VideoStreamInfoResponse)}, - {240, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeCaptureInfoRequest)}, - {248, 257, -1, sizeof(::mavsdk::rpc::camera::CaptureInfoResponse)}, - {258, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeStatusRequest)}, - {266, 275, -1, sizeof(::mavsdk::rpc::camera::StatusResponse)}, - {276, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeCurrentSettingsRequest)}, - {284, -1, -1, sizeof(::mavsdk::rpc::camera::CurrentSettingsResponse)}, - {293, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribePossibleSettingOptionsRequest)}, - {301, -1, -1, sizeof(::mavsdk::rpc::camera::PossibleSettingOptionsResponse)}, - {310, 319, -1, sizeof(::mavsdk::rpc::camera::SetSettingRequest)}, - {320, 329, -1, sizeof(::mavsdk::rpc::camera::SetSettingResponse)}, - {330, 339, -1, sizeof(::mavsdk::rpc::camera::GetSettingRequest)}, - {340, 350, -1, sizeof(::mavsdk::rpc::camera::GetSettingResponse)}, - {352, -1, -1, sizeof(::mavsdk::rpc::camera::FormatStorageRequest)}, - {361, 370, -1, sizeof(::mavsdk::rpc::camera::FormatStorageResponse)}, - {371, 380, -1, sizeof(::mavsdk::rpc::camera::SelectCameraResponse)}, - {381, -1, -1, sizeof(::mavsdk::rpc::camera::SelectCameraRequest)}, - {390, -1, -1, sizeof(::mavsdk::rpc::camera::ResetSettingsRequest)}, - {398, 407, -1, sizeof(::mavsdk::rpc::camera::ResetSettingsResponse)}, - {408, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomInStartRequest)}, - {416, 425, -1, sizeof(::mavsdk::rpc::camera::ZoomInStartResponse)}, - {426, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomOutStartRequest)}, - {434, 443, -1, sizeof(::mavsdk::rpc::camera::ZoomOutStartResponse)}, - {444, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomStopRequest)}, - {452, 461, -1, sizeof(::mavsdk::rpc::camera::ZoomStopResponse)}, - {462, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomRangeRequest)}, - {471, 480, -1, sizeof(::mavsdk::rpc::camera::ZoomRangeResponse)}, - {481, -1, -1, sizeof(::mavsdk::rpc::camera::TrackPointRequest)}, - {492, 501, -1, sizeof(::mavsdk::rpc::camera::TrackPointResponse)}, - {502, -1, -1, sizeof(::mavsdk::rpc::camera::TrackRectangleRequest)}, - {514, 523, -1, sizeof(::mavsdk::rpc::camera::TrackRectangleResponse)}, - {524, -1, -1, sizeof(::mavsdk::rpc::camera::TrackStopRequest)}, - {532, 541, -1, sizeof(::mavsdk::rpc::camera::TrackStopResponse)}, - {542, -1, -1, sizeof(::mavsdk::rpc::camera::FocusInStartRequest)}, - {550, 559, -1, sizeof(::mavsdk::rpc::camera::FocusInStartResponse)}, - {560, -1, -1, sizeof(::mavsdk::rpc::camera::FocusOutStartRequest)}, - {568, 577, -1, sizeof(::mavsdk::rpc::camera::FocusOutStartResponse)}, - {578, -1, -1, sizeof(::mavsdk::rpc::camera::FocusStopRequest)}, - {586, 595, -1, sizeof(::mavsdk::rpc::camera::FocusStopResponse)}, - {596, -1, -1, sizeof(::mavsdk::rpc::camera::FocusRangeRequest)}, - {605, 614, -1, sizeof(::mavsdk::rpc::camera::FocusRangeResponse)}, - {615, -1, -1, sizeof(::mavsdk::rpc::camera::CameraResult)}, - {625, -1, -1, sizeof(::mavsdk::rpc::camera::Position)}, - {637, -1, -1, sizeof(::mavsdk::rpc::camera::Quaternion)}, - {649, -1, -1, sizeof(::mavsdk::rpc::camera::EulerAngle)}, - {660, 675, -1, sizeof(::mavsdk::rpc::camera::CaptureInfo)}, - {682, -1, -1, sizeof(::mavsdk::rpc::camera::VideoStreamSettings)}, - {697, 708, -1, sizeof(::mavsdk::rpc::camera::VideoStreamInfo)}, - {711, -1, -1, sizeof(::mavsdk::rpc::camera::Status)}, - {729, -1, -1, sizeof(::mavsdk::rpc::camera::Option)}, - {739, 751, -1, sizeof(::mavsdk::rpc::camera::Setting)}, - {755, -1, -1, sizeof(::mavsdk::rpc::camera::SettingOptions)}, - {767, -1, -1, sizeof(::mavsdk::rpc::camera::Information)}, +const ::uint32_t + TableStruct_camera_2fcamera_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PrepareResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TakePhotoResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalRequest, _impl_.interval_s_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartPhotoIntervalResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopPhotoIntervalResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingRequest, _impl_.stream_id_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StartVideoStreamingResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingRequest, _impl_.stream_id_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StopVideoStreamingResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeRequest, _impl_.mode_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetModeResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosRequest, _impl_.photos_range_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _impl_.camera_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ListPhotosResponse, _impl_.capture_infos_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeInformationRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::InformationResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::InformationResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::InformationResponse, _impl_.information_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeModeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ModeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ModeResponse, _impl_.mode_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeVideoStreamInfoRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfoResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfoResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfoResponse, _impl_.video_stream_info_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeCaptureInfoRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfoResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfoResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfoResponse, _impl_.capture_info_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeStatusRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StatusResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StatusResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::StatusResponse, _impl_.camera_status_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribeCurrentSettingsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CurrentSettingsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CurrentSettingsResponse, _impl_.current_settings_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SubscribePossibleSettingOptionsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PossibleSettingOptionsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::PossibleSettingOptionsResponse, _impl_.setting_options_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingRequest, _impl_.setting_), + 0, + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SetSettingResponse, _impl_.camera_result_), + 0, + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingRequest, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingRequest, _impl_.setting_), + 0, + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _impl_.camera_result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::GetSettingResponse, _impl_.setting_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageRequest, _impl_.storage_id_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FormatStorageResponse, _impl_.camera_result_), + 0, + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SelectCameraRequest, _impl_.camera_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ResetSettingsResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomInStartResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomOutStartResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomStopResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeRequest, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::ZoomRangeResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _impl_.point_x_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _impl_.point_y_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointRequest, _impl_.radius_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackPointResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.top_left_x_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.top_left_y_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.bottom_right_x_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleRequest, _impl_.bottom_right_y_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackRectangleResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::TrackStopResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusInStartResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusOutStartResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusStopResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeRequest, _impl_.range_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::FocusRangeResponse, _impl_.camera_result_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CameraResult, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CameraResult, _impl_.result_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CameraResult, _impl_.result_str_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.latitude_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.longitude_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.absolute_altitude_m_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Position, _impl_.relative_altitude_m_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.w_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.y_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Quaternion, _impl_.z_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _impl_.roll_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _impl_.pitch_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::EulerAngle, _impl_.yaw_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.position_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.attitude_quaternion_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.attitude_euler_angle_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.time_utc_us_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.is_success_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::CaptureInfo, _impl_.file_url_), + 0, + 1, + 2, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.frame_rate_hz_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.horizontal_resolution_pix_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.vertical_resolution_pix_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.bit_rate_b_s_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.rotation_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.uri_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamSettings, _impl_.horizontal_fov_deg_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_.settings_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_.status_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::VideoStreamInfo, _impl_.spectrum_), + 0, + ~0u, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.video_on_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.photo_interval_on_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.used_storage_mib_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.available_storage_mib_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.total_storage_mib_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.recording_time_s_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.media_folder_name_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.storage_status_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.storage_id_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Status, _impl_.storage_type_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Option, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Option, _impl_.option_id_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Option, _impl_.option_description_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.setting_id_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.setting_description_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.option_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Setting, _impl_.is_range_), + ~0u, + ~0u, + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.setting_id_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.setting_description_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.options_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::SettingOptions, _impl_.is_range_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.vendor_name_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.model_name_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.focal_length_mm_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.horizontal_sensor_size_mm_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.vertical_sensor_size_mm_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.horizontal_resolution_px_), + PROTOBUF_FIELD_OFFSET(::mavsdk::rpc::camera::Information, _impl_.vertical_resolution_px_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::mavsdk::rpc::camera::PrepareRequest)}, + {8, 17, -1, sizeof(::mavsdk::rpc::camera::PrepareResponse)}, + {18, -1, -1, sizeof(::mavsdk::rpc::camera::TakePhotoRequest)}, + {26, 35, -1, sizeof(::mavsdk::rpc::camera::TakePhotoResponse)}, + {36, -1, -1, sizeof(::mavsdk::rpc::camera::StartPhotoIntervalRequest)}, + {45, 54, -1, sizeof(::mavsdk::rpc::camera::StartPhotoIntervalResponse)}, + {55, -1, -1, sizeof(::mavsdk::rpc::camera::StopPhotoIntervalRequest)}, + {63, 72, -1, sizeof(::mavsdk::rpc::camera::StopPhotoIntervalResponse)}, + {73, -1, -1, sizeof(::mavsdk::rpc::camera::StartVideoRequest)}, + {81, 90, -1, sizeof(::mavsdk::rpc::camera::StartVideoResponse)}, + {91, -1, -1, sizeof(::mavsdk::rpc::camera::StopVideoRequest)}, + {99, 108, -1, sizeof(::mavsdk::rpc::camera::StopVideoResponse)}, + {109, -1, -1, sizeof(::mavsdk::rpc::camera::StartVideoStreamingRequest)}, + {118, 127, -1, sizeof(::mavsdk::rpc::camera::StartVideoStreamingResponse)}, + {128, -1, -1, sizeof(::mavsdk::rpc::camera::StopVideoStreamingRequest)}, + {137, 146, -1, sizeof(::mavsdk::rpc::camera::StopVideoStreamingResponse)}, + {147, -1, -1, sizeof(::mavsdk::rpc::camera::SetModeRequest)}, + {156, 165, -1, sizeof(::mavsdk::rpc::camera::SetModeResponse)}, + {166, -1, -1, sizeof(::mavsdk::rpc::camera::ListPhotosRequest)}, + {175, 185, -1, sizeof(::mavsdk::rpc::camera::ListPhotosResponse)}, + {187, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeInformationRequest)}, + {195, 204, -1, sizeof(::mavsdk::rpc::camera::InformationResponse)}, + {205, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeModeRequest)}, + {213, -1, -1, sizeof(::mavsdk::rpc::camera::ModeResponse)}, + {222, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeVideoStreamInfoRequest)}, + {230, 239, -1, sizeof(::mavsdk::rpc::camera::VideoStreamInfoResponse)}, + {240, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeCaptureInfoRequest)}, + {248, 257, -1, sizeof(::mavsdk::rpc::camera::CaptureInfoResponse)}, + {258, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeStatusRequest)}, + {266, 275, -1, sizeof(::mavsdk::rpc::camera::StatusResponse)}, + {276, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribeCurrentSettingsRequest)}, + {284, -1, -1, sizeof(::mavsdk::rpc::camera::CurrentSettingsResponse)}, + {293, -1, -1, sizeof(::mavsdk::rpc::camera::SubscribePossibleSettingOptionsRequest)}, + {301, -1, -1, sizeof(::mavsdk::rpc::camera::PossibleSettingOptionsResponse)}, + {310, 319, -1, sizeof(::mavsdk::rpc::camera::SetSettingRequest)}, + {320, 329, -1, sizeof(::mavsdk::rpc::camera::SetSettingResponse)}, + {330, 339, -1, sizeof(::mavsdk::rpc::camera::GetSettingRequest)}, + {340, 350, -1, sizeof(::mavsdk::rpc::camera::GetSettingResponse)}, + {352, -1, -1, sizeof(::mavsdk::rpc::camera::FormatStorageRequest)}, + {361, 370, -1, sizeof(::mavsdk::rpc::camera::FormatStorageResponse)}, + {371, 380, -1, sizeof(::mavsdk::rpc::camera::SelectCameraResponse)}, + {381, -1, -1, sizeof(::mavsdk::rpc::camera::SelectCameraRequest)}, + {390, -1, -1, sizeof(::mavsdk::rpc::camera::ResetSettingsRequest)}, + {398, 407, -1, sizeof(::mavsdk::rpc::camera::ResetSettingsResponse)}, + {408, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomInStartRequest)}, + {416, 425, -1, sizeof(::mavsdk::rpc::camera::ZoomInStartResponse)}, + {426, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomOutStartRequest)}, + {434, 443, -1, sizeof(::mavsdk::rpc::camera::ZoomOutStartResponse)}, + {444, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomStopRequest)}, + {452, 461, -1, sizeof(::mavsdk::rpc::camera::ZoomStopResponse)}, + {462, -1, -1, sizeof(::mavsdk::rpc::camera::ZoomRangeRequest)}, + {471, 480, -1, sizeof(::mavsdk::rpc::camera::ZoomRangeResponse)}, + {481, -1, -1, sizeof(::mavsdk::rpc::camera::TrackPointRequest)}, + {492, 501, -1, sizeof(::mavsdk::rpc::camera::TrackPointResponse)}, + {502, -1, -1, sizeof(::mavsdk::rpc::camera::TrackRectangleRequest)}, + {514, 523, -1, sizeof(::mavsdk::rpc::camera::TrackRectangleResponse)}, + {524, -1, -1, sizeof(::mavsdk::rpc::camera::TrackStopRequest)}, + {532, 541, -1, sizeof(::mavsdk::rpc::camera::TrackStopResponse)}, + {542, -1, -1, sizeof(::mavsdk::rpc::camera::FocusInStartRequest)}, + {550, 559, -1, sizeof(::mavsdk::rpc::camera::FocusInStartResponse)}, + {560, -1, -1, sizeof(::mavsdk::rpc::camera::FocusOutStartRequest)}, + {568, 577, -1, sizeof(::mavsdk::rpc::camera::FocusOutStartResponse)}, + {578, -1, -1, sizeof(::mavsdk::rpc::camera::FocusStopRequest)}, + {586, 595, -1, sizeof(::mavsdk::rpc::camera::FocusStopResponse)}, + {596, -1, -1, sizeof(::mavsdk::rpc::camera::FocusRangeRequest)}, + {605, 614, -1, sizeof(::mavsdk::rpc::camera::FocusRangeResponse)}, + {615, -1, -1, sizeof(::mavsdk::rpc::camera::CameraResult)}, + {625, -1, -1, sizeof(::mavsdk::rpc::camera::Position)}, + {637, -1, -1, sizeof(::mavsdk::rpc::camera::Quaternion)}, + {649, -1, -1, sizeof(::mavsdk::rpc::camera::EulerAngle)}, + {660, 675, -1, sizeof(::mavsdk::rpc::camera::CaptureInfo)}, + {682, -1, -1, sizeof(::mavsdk::rpc::camera::VideoStreamSettings)}, + {697, 708, -1, sizeof(::mavsdk::rpc::camera::VideoStreamInfo)}, + {711, -1, -1, sizeof(::mavsdk::rpc::camera::Status)}, + {729, -1, -1, sizeof(::mavsdk::rpc::camera::Option)}, + {739, 751, -1, sizeof(::mavsdk::rpc::camera::Setting)}, + {755, -1, -1, sizeof(::mavsdk::rpc::camera::SettingOptions)}, + {767, -1, -1, sizeof(::mavsdk::rpc::camera::Information)}, }; static const ::_pb::Message* const file_default_instances[] = { &::mavsdk::rpc::camera::_PrepareRequest_default_instance_._instance, @@ -3450,9 +3125,11 @@ const char descriptor_table_protodef_camera_2fcamera_2eproto[] ABSL_ATTRIBUTE_SE "\"\000\022[\n\nFocusRange\022$.mavsdk.rpc.camera.Foc" "usRangeRequest\032%.mavsdk.rpc.camera.Focus" "RangeResponse\"\000B\037\n\020io.mavsdk.cameraB\013Cam" - "eraProtob\006proto3"}; -static const ::_pbi::DescriptorTable* const descriptor_table_camera_2fcamera_2eproto_deps[1] = { - &::descriptor_table_mavsdk_5foptions_2eproto, + "eraProtob\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_camera_2fcamera_2eproto_deps[1] = + { + &::descriptor_table_mavsdk_5foptions_2eproto, }; static ::absl::once_flag descriptor_table_camera_2fcamera_2eproto_once; PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_camera_2fcamera_2eproto = { @@ -3474,20 +3151,17 @@ PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_camera_2fcamer namespace mavsdk { namespace rpc { namespace camera { -const ::google::protobuf::EnumDescriptor* CameraResult_Result_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); - return file_level_enum_descriptors_camera_2fcamera_2eproto[0]; +const ::google::protobuf::EnumDescriptor* CameraResult_Result_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); + return file_level_enum_descriptors_camera_2fcamera_2eproto[0]; } PROTOBUF_CONSTINIT const uint32_t CameraResult_Result_internal_data_[] = { - 655360u, - 0u, -}; -bool CameraResult_Result_IsValid(int value) -{ - return 0 <= value && value <= 9; + 655360u, 0u, }; +bool CameraResult_Result_IsValid(int value) { + return 0 <= value && value <= 9; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr CameraResult_Result CameraResult::RESULT_UNKNOWN; constexpr CameraResult_Result CameraResult::RESULT_SUCCESS; @@ -3503,22 +3177,19 @@ constexpr CameraResult_Result CameraResult::Result_MIN; constexpr CameraResult_Result CameraResult::Result_MAX; constexpr int CameraResult::Result_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* VideoStreamInfo_VideoStreamStatus_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); - return file_level_enum_descriptors_camera_2fcamera_2eproto[1]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* VideoStreamInfo_VideoStreamStatus_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); + return file_level_enum_descriptors_camera_2fcamera_2eproto[1]; } PROTOBUF_CONSTINIT const uint32_t VideoStreamInfo_VideoStreamStatus_internal_data_[] = { - 131072u, - 0u, -}; -bool VideoStreamInfo_VideoStreamStatus_IsValid(int value) -{ - return 0 <= value && value <= 1; + 131072u, 0u, }; +bool VideoStreamInfo_VideoStreamStatus_IsValid(int value) { + return 0 <= value && value <= 1; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr VideoStreamInfo_VideoStreamStatus VideoStreamInfo::VIDEO_STREAM_STATUS_NOT_RUNNING; constexpr VideoStreamInfo_VideoStreamStatus VideoStreamInfo::VIDEO_STREAM_STATUS_IN_PROGRESS; @@ -3526,22 +3197,19 @@ constexpr VideoStreamInfo_VideoStreamStatus VideoStreamInfo::VideoStreamStatus_M constexpr VideoStreamInfo_VideoStreamStatus VideoStreamInfo::VideoStreamStatus_MAX; constexpr int VideoStreamInfo::VideoStreamStatus_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* VideoStreamInfo_VideoStreamSpectrum_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); - return file_level_enum_descriptors_camera_2fcamera_2eproto[2]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* VideoStreamInfo_VideoStreamSpectrum_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); + return file_level_enum_descriptors_camera_2fcamera_2eproto[2]; } PROTOBUF_CONSTINIT const uint32_t VideoStreamInfo_VideoStreamSpectrum_internal_data_[] = { - 196608u, - 0u, -}; -bool VideoStreamInfo_VideoStreamSpectrum_IsValid(int value) -{ - return 0 <= value && value <= 2; + 196608u, 0u, }; +bool VideoStreamInfo_VideoStreamSpectrum_IsValid(int value) { + return 0 <= value && value <= 2; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr VideoStreamInfo_VideoStreamSpectrum VideoStreamInfo::VIDEO_STREAM_SPECTRUM_UNKNOWN; constexpr VideoStreamInfo_VideoStreamSpectrum VideoStreamInfo::VIDEO_STREAM_SPECTRUM_VISIBLE_LIGHT; @@ -3550,22 +3218,19 @@ constexpr VideoStreamInfo_VideoStreamSpectrum VideoStreamInfo::VideoStreamSpectr constexpr VideoStreamInfo_VideoStreamSpectrum VideoStreamInfo::VideoStreamSpectrum_MAX; constexpr int VideoStreamInfo::VideoStreamSpectrum_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* Status_StorageStatus_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); - return file_level_enum_descriptors_camera_2fcamera_2eproto[3]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* Status_StorageStatus_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); + return file_level_enum_descriptors_camera_2fcamera_2eproto[3]; } PROTOBUF_CONSTINIT const uint32_t Status_StorageStatus_internal_data_[] = { - 262144u, - 0u, -}; -bool Status_StorageStatus_IsValid(int value) -{ - return 0 <= value && value <= 3; + 262144u, 0u, }; +bool Status_StorageStatus_IsValid(int value) { + return 0 <= value && value <= 3; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr Status_StorageStatus Status::STORAGE_STATUS_NOT_AVAILABLE; constexpr Status_StorageStatus Status::STORAGE_STATUS_UNFORMATTED; @@ -3575,24 +3240,19 @@ constexpr Status_StorageStatus Status::StorageStatus_MIN; constexpr Status_StorageStatus Status::StorageStatus_MAX; constexpr int Status::StorageStatus_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* Status_StorageType_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); - return file_level_enum_descriptors_camera_2fcamera_2eproto[4]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* Status_StorageType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); + return file_level_enum_descriptors_camera_2fcamera_2eproto[4]; } PROTOBUF_CONSTINIT const uint32_t Status_StorageType_internal_data_[] = { - 262144u, - 65568u, - 8u, - 254u, -}; -bool Status_StorageType_IsValid(int value) -{ - return ::_pbi::ValidateEnum(value, Status_StorageType_internal_data_); + 262144u, 65568u, 8u, 254u, }; +bool Status_StorageType_IsValid(int value) { + return ::_pbi::ValidateEnum(value, Status_StorageType_internal_data_); } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr Status_StorageType Status::STORAGE_TYPE_UNKNOWN; constexpr Status_StorageType Status::STORAGE_TYPE_USB_STICK; @@ -3604,77 +3264,63 @@ constexpr Status_StorageType Status::StorageType_MIN; constexpr Status_StorageType Status::StorageType_MAX; constexpr int Status::StorageType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* Mode_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); - return file_level_enum_descriptors_camera_2fcamera_2eproto[5]; +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* Mode_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); + return file_level_enum_descriptors_camera_2fcamera_2eproto[5]; } PROTOBUF_CONSTINIT const uint32_t Mode_internal_data_[] = { - 196608u, - 0u, -}; -bool Mode_IsValid(int value) -{ - return 0 <= value && value <= 2; + 196608u, 0u, }; +bool Mode_IsValid(int value) { + return 0 <= value && value <= 2; } -const ::google::protobuf::EnumDescriptor* PhotosRange_descriptor() -{ - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); - return file_level_enum_descriptors_camera_2fcamera_2eproto[6]; +const ::google::protobuf::EnumDescriptor* PhotosRange_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_camera_2fcamera_2eproto); + return file_level_enum_descriptors_camera_2fcamera_2eproto[6]; } PROTOBUF_CONSTINIT const uint32_t PhotosRange_internal_data_[] = { - 131072u, - 0u, -}; -bool PhotosRange_IsValid(int value) -{ - return 0 <= value && value <= 1; + 131072u, 0u, }; +bool PhotosRange_IsValid(int value) { + return 0 <= value && value <= 1; } // =================================================================== class PrepareRequest::_Internal { -public: + public: }; PrepareRequest::PrepareRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.PrepareRequest) -} -PrepareRequest::PrepareRequest(::google::protobuf::Arena* arena, const PrepareRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - PrepareRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.PrepareRequest) -} - -inline void* PrepareRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) PrepareRequest(arena); -} -constexpr auto PrepareRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(PrepareRequest), alignof(PrepareRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.PrepareRequest) +} +PrepareRequest::PrepareRequest( + ::google::protobuf::Arena* arena, + const PrepareRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PrepareRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.PrepareRequest) +} + +inline void* PrepareRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PrepareRequest(arena); +} +constexpr auto PrepareRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PrepareRequest), + alignof(PrepareRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3682,148 +3328,138 @@ const ::google::protobuf::internal::ClassDataFull PrepareRequest::_class_data_ = ::google::protobuf::internal::ClassData{ &_PrepareRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &PrepareRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &PrepareRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &PrepareRequest::ByteSizeLong, - &PrepareRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &PrepareRequest::ByteSizeLong, + &PrepareRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(PrepareRequest, _impl_._cached_size_), false, }, &PrepareRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* PrepareRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - PrepareRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::PrepareRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata PrepareRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PrepareRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> PrepareRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::PrepareRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata PrepareRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class PrepareResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_._has_bits_); }; PrepareResponse::PrepareResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.PrepareResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.PrepareResponse) } inline PROTOBUF_NDEBUG_INLINE PrepareResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::PrepareResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +PrepareResponse::PrepareResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::PrepareResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -PrepareResponse::PrepareResponse(::google::protobuf::Arena* arena, const PrepareResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - PrepareResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.PrepareResponse) + const PrepareResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PrepareResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.PrepareResponse) } inline PROTOBUF_NDEBUG_INLINE PrepareResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void PrepareResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -PrepareResponse::~PrepareResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.PrepareResponse) - SharedDtor(*this); -} -inline void PrepareResponse::SharedDtor(MessageLite& self) -{ - PrepareResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -PrepareResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) PrepareResponse(arena); -} -constexpr auto PrepareResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(PrepareResponse), alignof(PrepareResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void PrepareResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +PrepareResponse::~PrepareResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.PrepareResponse) + SharedDtor(*this); +} +inline void PrepareResponse::SharedDtor(MessageLite& self) { + PrepareResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* PrepareResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PrepareResponse(arena); +} +constexpr auto PrepareResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PrepareResponse), + alignof(PrepareResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -3831,241 +3467,213 @@ const ::google::protobuf::internal::ClassDataFull PrepareResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_PrepareResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &PrepareResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &PrepareResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &PrepareResponse::ByteSizeLong, - &PrepareResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &PrepareResponse::ByteSizeLong, + &PrepareResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_._cached_size_), false, }, &PrepareResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* PrepareResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - PrepareResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::PrepareResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void PrepareResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.PrepareResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* PrepareResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const PrepareResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* PrepareResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const PrepareResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.PrepareResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PrepareResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> PrepareResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::PrepareResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(PrepareResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.PrepareResponse) - return target; -} +PROTOBUF_NOINLINE void PrepareResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.PrepareResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PrepareResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PrepareResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PrepareResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PrepareResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.PrepareResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.PrepareResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t PrepareResponse::ByteSizeLong(const MessageLite& base) -{ - const PrepareResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t PrepareResponse::ByteSizeLong() const -{ - const PrepareResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.PrepareResponse) - ::size_t total_size = 0; + ::size_t PrepareResponse::ByteSizeLong(const MessageLite& base) { + const PrepareResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PrepareResponse::ByteSizeLong() const { + const PrepareResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.PrepareResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void PrepareResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.PrepareResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void PrepareResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.PrepareResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void PrepareResponse::CopyFrom(const PrepareResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.PrepareResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void PrepareResponse::CopyFrom(const PrepareResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.PrepareResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void PrepareResponse::InternalSwap(PrepareResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void PrepareResponse::InternalSwap(PrepareResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata PrepareResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata PrepareResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TakePhotoRequest::_Internal { -public: + public: }; TakePhotoRequest::TakePhotoRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TakePhotoRequest) -} -TakePhotoRequest::TakePhotoRequest(::google::protobuf::Arena* arena, const TakePhotoRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TakePhotoRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TakePhotoRequest) -} - -inline void* -TakePhotoRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TakePhotoRequest(arena); -} -constexpr auto TakePhotoRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TakePhotoRequest), alignof(TakePhotoRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TakePhotoRequest) +} +TakePhotoRequest::TakePhotoRequest( + ::google::protobuf::Arena* arena, + const TakePhotoRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TakePhotoRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TakePhotoRequest) +} + +inline void* TakePhotoRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TakePhotoRequest(arena); +} +constexpr auto TakePhotoRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TakePhotoRequest), + alignof(TakePhotoRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4073,149 +3681,138 @@ const ::google::protobuf::internal::ClassDataFull TakePhotoRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_TakePhotoRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TakePhotoRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TakePhotoRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &TakePhotoRequest::ByteSizeLong, - &TakePhotoRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &TakePhotoRequest::ByteSizeLong, + &TakePhotoRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TakePhotoRequest, _impl_._cached_size_), false, }, &TakePhotoRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TakePhotoRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - TakePhotoRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TakePhotoRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata TakePhotoRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TakePhotoRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> TakePhotoRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TakePhotoRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata TakePhotoRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TakePhotoResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_._has_bits_); }; TakePhotoResponse::TakePhotoResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TakePhotoResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TakePhotoResponse) } inline PROTOBUF_NDEBUG_INLINE TakePhotoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::TakePhotoResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::TakePhotoResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TakePhotoResponse::TakePhotoResponse( - ::google::protobuf::Arena* arena, const TakePhotoResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TakePhotoResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TakePhotoResponse) + ::google::protobuf::Arena* arena, + const TakePhotoResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TakePhotoResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TakePhotoResponse) } inline PROTOBUF_NDEBUG_INLINE TakePhotoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TakePhotoResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -TakePhotoResponse::~TakePhotoResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TakePhotoResponse) - SharedDtor(*this); -} -inline void TakePhotoResponse::SharedDtor(MessageLite& self) -{ - TakePhotoResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -TakePhotoResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TakePhotoResponse(arena); -} -constexpr auto TakePhotoResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TakePhotoResponse), alignof(TakePhotoResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TakePhotoResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +TakePhotoResponse::~TakePhotoResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TakePhotoResponse) + SharedDtor(*this); +} +inline void TakePhotoResponse::SharedDtor(MessageLite& self) { + TakePhotoResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* TakePhotoResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TakePhotoResponse(arena); +} +constexpr auto TakePhotoResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TakePhotoResponse), + alignof(TakePhotoResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4223,254 +3820,223 @@ const ::google::protobuf::internal::ClassDataFull TakePhotoResponse::_class_data ::google::protobuf::internal::ClassData{ &_TakePhotoResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TakePhotoResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TakePhotoResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TakePhotoResponse::ByteSizeLong, - &TakePhotoResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TakePhotoResponse::ByteSizeLong, + &TakePhotoResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_._cached_size_), false, }, &TakePhotoResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TakePhotoResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TakePhotoResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TakePhotoResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TakePhotoResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TakePhotoResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TakePhotoResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TakePhotoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TakePhotoResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TakePhotoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TakePhotoResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TakePhotoResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TakePhotoResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TakePhotoResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(TakePhotoResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TakePhotoResponse) - return target; -} +PROTOBUF_NOINLINE void TakePhotoResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TakePhotoResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TakePhotoResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TakePhotoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TakePhotoResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TakePhotoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TakePhotoResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TakePhotoResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TakePhotoResponse::ByteSizeLong(const MessageLite& base) -{ - const TakePhotoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TakePhotoResponse::ByteSizeLong() const -{ - const TakePhotoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TakePhotoResponse) - ::size_t total_size = 0; + ::size_t TakePhotoResponse::ByteSizeLong(const MessageLite& base) { + const TakePhotoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TakePhotoResponse::ByteSizeLong() const { + const TakePhotoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TakePhotoResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void TakePhotoResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TakePhotoResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void TakePhotoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TakePhotoResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TakePhotoResponse::CopyFrom(const TakePhotoResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TakePhotoResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TakePhotoResponse::CopyFrom(const TakePhotoResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TakePhotoResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TakePhotoResponse::InternalSwap(TakePhotoResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void TakePhotoResponse::InternalSwap(TakePhotoResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata TakePhotoResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TakePhotoResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StartPhotoIntervalRequest::_Internal { -public: + public: }; StartPhotoIntervalRequest::StartPhotoIntervalRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartPhotoIntervalRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartPhotoIntervalRequest) } StartPhotoIntervalRequest::StartPhotoIntervalRequest( - ::google::protobuf::Arena* arena, const StartPhotoIntervalRequest& from) : - StartPhotoIntervalRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const StartPhotoIntervalRequest& from) + : StartPhotoIntervalRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE StartPhotoIntervalRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StartPhotoIntervalRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.interval_s_ = {}; -} -StartPhotoIntervalRequest::~StartPhotoIntervalRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartPhotoIntervalRequest) - SharedDtor(*this); -} -inline void StartPhotoIntervalRequest::SharedDtor(MessageLite& self) -{ - StartPhotoIntervalRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -StartPhotoIntervalRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StartPhotoIntervalRequest(arena); -} -constexpr auto StartPhotoIntervalRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StartPhotoIntervalRequest), alignof(StartPhotoIntervalRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StartPhotoIntervalRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.interval_s_ = {}; +} +StartPhotoIntervalRequest::~StartPhotoIntervalRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartPhotoIntervalRequest) + SharedDtor(*this); +} +inline void StartPhotoIntervalRequest::SharedDtor(MessageLite& self) { + StartPhotoIntervalRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* StartPhotoIntervalRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StartPhotoIntervalRequest(arena); +} +constexpr auto StartPhotoIntervalRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartPhotoIntervalRequest), + alignof(StartPhotoIntervalRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4478,261 +4044,231 @@ const ::google::protobuf::internal::ClassDataFull StartPhotoIntervalRequest::_cl ::google::protobuf::internal::ClassData{ &_StartPhotoIntervalRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StartPhotoIntervalRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StartPhotoIntervalRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StartPhotoIntervalRequest::ByteSizeLong, - &StartPhotoIntervalRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StartPhotoIntervalRequest::ByteSizeLong, + &StartPhotoIntervalRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StartPhotoIntervalRequest, _impl_._cached_size_), false, }, &StartPhotoIntervalRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartPhotoIntervalRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - StartPhotoIntervalRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StartPhotoIntervalRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float interval_s = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(StartPhotoIntervalRequest, _impl_.interval_s_)}}, - }}, - {{65535, 65535}}, - {{ - // float interval_s = 1; - {PROTOBUF_FIELD_OFFSET(StartPhotoIntervalRequest, _impl_.interval_s_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void StartPhotoIntervalRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.interval_s_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StartPhotoIntervalRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StartPhotoIntervalRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StartPhotoIntervalRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StartPhotoIntervalRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StartPhotoIntervalRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> StartPhotoIntervalRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartPhotoIntervalRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // float interval_s = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_interval_s()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_interval_s(), target); - } + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(StartPhotoIntervalRequest, _impl_.interval_s_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float interval_s = 1; + {PROTOBUF_FIELD_OFFSET(StartPhotoIntervalRequest, _impl_.interval_s_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartPhotoIntervalRequest) - return target; -} +PROTOBUF_NOINLINE void StartPhotoIntervalRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.interval_s_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StartPhotoIntervalRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StartPhotoIntervalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StartPhotoIntervalRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StartPhotoIntervalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float interval_s = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_interval_s()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_interval_s(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartPhotoIntervalRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StartPhotoIntervalRequest::ByteSizeLong(const MessageLite& base) -{ - const StartPhotoIntervalRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StartPhotoIntervalRequest::ByteSizeLong() const -{ - const StartPhotoIntervalRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) - ::size_t total_size = 0; + ::size_t StartPhotoIntervalRequest::ByteSizeLong(const MessageLite& base) { + const StartPhotoIntervalRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StartPhotoIntervalRequest::ByteSizeLong() const { + const StartPhotoIntervalRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // float interval_s = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_interval_s()) != 0) { - total_size += 5; + { + // float interval_s = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_interval_s()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StartPhotoIntervalRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void StartPhotoIntervalRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_interval_s()) != 0) { - _this->_impl_.interval_s_ = from._impl_.interval_s_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_interval_s()) != 0) { + _this->_impl_.interval_s_ = from._impl_.interval_s_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StartPhotoIntervalRequest::CopyFrom(const StartPhotoIntervalRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StartPhotoIntervalRequest::CopyFrom(const StartPhotoIntervalRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartPhotoIntervalRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StartPhotoIntervalRequest::InternalSwap(StartPhotoIntervalRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.interval_s_, other->_impl_.interval_s_); + +void StartPhotoIntervalRequest::InternalSwap(StartPhotoIntervalRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.interval_s_, other->_impl_.interval_s_); } -::google::protobuf::Metadata StartPhotoIntervalRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StartPhotoIntervalRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StartPhotoIntervalResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_._has_bits_); }; StartPhotoIntervalResponse::StartPhotoIntervalResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartPhotoIntervalResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartPhotoIntervalResponse) } inline PROTOBUF_NDEBUG_INLINE StartPhotoIntervalResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::StartPhotoIntervalResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::StartPhotoIntervalResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} StartPhotoIntervalResponse::StartPhotoIntervalResponse( - ::google::protobuf::Arena* arena, const StartPhotoIntervalResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StartPhotoIntervalResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartPhotoIntervalResponse) + ::google::protobuf::Arena* arena, + const StartPhotoIntervalResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StartPhotoIntervalResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartPhotoIntervalResponse) } inline PROTOBUF_NDEBUG_INLINE StartPhotoIntervalResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StartPhotoIntervalResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -StartPhotoIntervalResponse::~StartPhotoIntervalResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartPhotoIntervalResponse) - SharedDtor(*this); -} -inline void StartPhotoIntervalResponse::SharedDtor(MessageLite& self) -{ - StartPhotoIntervalResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -StartPhotoIntervalResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StartPhotoIntervalResponse(arena); -} -constexpr auto StartPhotoIntervalResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StartPhotoIntervalResponse), alignof(StartPhotoIntervalResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StartPhotoIntervalResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +StartPhotoIntervalResponse::~StartPhotoIntervalResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartPhotoIntervalResponse) + SharedDtor(*this); +} +inline void StartPhotoIntervalResponse::SharedDtor(MessageLite& self) { + StartPhotoIntervalResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* StartPhotoIntervalResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StartPhotoIntervalResponse(arena); +} +constexpr auto StartPhotoIntervalResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartPhotoIntervalResponse), + alignof(StartPhotoIntervalResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4740,243 +4276,213 @@ const ::google::protobuf::internal::ClassDataFull StartPhotoIntervalResponse::_c ::google::protobuf::internal::ClassData{ &_StartPhotoIntervalResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StartPhotoIntervalResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StartPhotoIntervalResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StartPhotoIntervalResponse::ByteSizeLong, - &StartPhotoIntervalResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StartPhotoIntervalResponse::ByteSizeLong, + &StartPhotoIntervalResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_._cached_size_), false, }, &StartPhotoIntervalResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartPhotoIntervalResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - StartPhotoIntervalResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StartPhotoIntervalResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void StartPhotoIntervalResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StartPhotoIntervalResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StartPhotoIntervalResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StartPhotoIntervalResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StartPhotoIntervalResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StartPhotoIntervalResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StartPhotoIntervalResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartPhotoIntervalResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(StartPhotoIntervalResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartPhotoIntervalResponse) - return target; -} +PROTOBUF_NOINLINE void StartPhotoIntervalResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StartPhotoIntervalResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StartPhotoIntervalResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StartPhotoIntervalResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StartPhotoIntervalResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartPhotoIntervalResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StartPhotoIntervalResponse::ByteSizeLong(const MessageLite& base) -{ - const StartPhotoIntervalResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StartPhotoIntervalResponse::ByteSizeLong() const -{ - const StartPhotoIntervalResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) - ::size_t total_size = 0; + ::size_t StartPhotoIntervalResponse::ByteSizeLong(const MessageLite& base) { + const StartPhotoIntervalResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StartPhotoIntervalResponse::ByteSizeLong() const { + const StartPhotoIntervalResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StartPhotoIntervalResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void StartPhotoIntervalResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StartPhotoIntervalResponse::CopyFrom(const StartPhotoIntervalResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StartPhotoIntervalResponse::CopyFrom(const StartPhotoIntervalResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartPhotoIntervalResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StartPhotoIntervalResponse::InternalSwap(StartPhotoIntervalResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void StartPhotoIntervalResponse::InternalSwap(StartPhotoIntervalResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata StartPhotoIntervalResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StartPhotoIntervalResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StopPhotoIntervalRequest::_Internal { -public: + public: }; StopPhotoIntervalRequest::StopPhotoIntervalRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopPhotoIntervalRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopPhotoIntervalRequest) } StopPhotoIntervalRequest::StopPhotoIntervalRequest( - ::google::protobuf::Arena* arena, const StopPhotoIntervalRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StopPhotoIntervalRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopPhotoIntervalRequest) -} - -inline void* -StopPhotoIntervalRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StopPhotoIntervalRequest(arena); -} -constexpr auto StopPhotoIntervalRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StopPhotoIntervalRequest), alignof(StopPhotoIntervalRequest)); + ::google::protobuf::Arena* arena, + const StopPhotoIntervalRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StopPhotoIntervalRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopPhotoIntervalRequest) +} + +inline void* StopPhotoIntervalRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StopPhotoIntervalRequest(arena); +} +constexpr auto StopPhotoIntervalRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StopPhotoIntervalRequest), + alignof(StopPhotoIntervalRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -4984,150 +4490,138 @@ const ::google::protobuf::internal::ClassDataFull StopPhotoIntervalRequest::_cla ::google::protobuf::internal::ClassData{ &_StopPhotoIntervalRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StopPhotoIntervalRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StopPhotoIntervalRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &StopPhotoIntervalRequest::ByteSizeLong, - &StopPhotoIntervalRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &StopPhotoIntervalRequest::ByteSizeLong, + &StopPhotoIntervalRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StopPhotoIntervalRequest, _impl_._cached_size_), false, }, &StopPhotoIntervalRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StopPhotoIntervalRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - StopPhotoIntervalRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StopPhotoIntervalRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata StopPhotoIntervalRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StopPhotoIntervalRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StopPhotoIntervalRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopPhotoIntervalRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata StopPhotoIntervalRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StopPhotoIntervalResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_._has_bits_); }; StopPhotoIntervalResponse::StopPhotoIntervalResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopPhotoIntervalResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopPhotoIntervalResponse) } inline PROTOBUF_NDEBUG_INLINE StopPhotoIntervalResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::StopPhotoIntervalResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::StopPhotoIntervalResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} StopPhotoIntervalResponse::StopPhotoIntervalResponse( - ::google::protobuf::Arena* arena, const StopPhotoIntervalResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StopPhotoIntervalResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopPhotoIntervalResponse) + ::google::protobuf::Arena* arena, + const StopPhotoIntervalResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StopPhotoIntervalResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopPhotoIntervalResponse) } inline PROTOBUF_NDEBUG_INLINE StopPhotoIntervalResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StopPhotoIntervalResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -StopPhotoIntervalResponse::~StopPhotoIntervalResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopPhotoIntervalResponse) - SharedDtor(*this); -} -inline void StopPhotoIntervalResponse::SharedDtor(MessageLite& self) -{ - StopPhotoIntervalResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -StopPhotoIntervalResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StopPhotoIntervalResponse(arena); -} -constexpr auto StopPhotoIntervalResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StopPhotoIntervalResponse), alignof(StopPhotoIntervalResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StopPhotoIntervalResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +StopPhotoIntervalResponse::~StopPhotoIntervalResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopPhotoIntervalResponse) + SharedDtor(*this); +} +inline void StopPhotoIntervalResponse::SharedDtor(MessageLite& self) { + StopPhotoIntervalResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* StopPhotoIntervalResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StopPhotoIntervalResponse(arena); +} +constexpr auto StopPhotoIntervalResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StopPhotoIntervalResponse), + alignof(StopPhotoIntervalResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5135,243 +4629,213 @@ const ::google::protobuf::internal::ClassDataFull StopPhotoIntervalResponse::_cl ::google::protobuf::internal::ClassData{ &_StopPhotoIntervalResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StopPhotoIntervalResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StopPhotoIntervalResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StopPhotoIntervalResponse::ByteSizeLong, - &StopPhotoIntervalResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StopPhotoIntervalResponse::ByteSizeLong, + &StopPhotoIntervalResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_._cached_size_), false, }, &StopPhotoIntervalResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StopPhotoIntervalResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - StopPhotoIntervalResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StopPhotoIntervalResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void StopPhotoIntervalResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StopPhotoIntervalResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StopPhotoIntervalResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StopPhotoIntervalResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StopPhotoIntervalResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StopPhotoIntervalResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StopPhotoIntervalResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopPhotoIntervalResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(StopPhotoIntervalResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopPhotoIntervalResponse) - return target; -} +PROTOBUF_NOINLINE void StopPhotoIntervalResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StopPhotoIntervalResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StopPhotoIntervalResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StopPhotoIntervalResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StopPhotoIntervalResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopPhotoIntervalResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StopPhotoIntervalResponse::ByteSizeLong(const MessageLite& base) -{ - const StopPhotoIntervalResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StopPhotoIntervalResponse::ByteSizeLong() const -{ - const StopPhotoIntervalResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) - ::size_t total_size = 0; + ::size_t StopPhotoIntervalResponse::ByteSizeLong(const MessageLite& base) { + const StopPhotoIntervalResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StopPhotoIntervalResponse::ByteSizeLong() const { + const StopPhotoIntervalResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void StopPhotoIntervalResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void StopPhotoIntervalResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StopPhotoIntervalResponse::CopyFrom(const StopPhotoIntervalResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StopPhotoIntervalResponse::CopyFrom(const StopPhotoIntervalResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopPhotoIntervalResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StopPhotoIntervalResponse::InternalSwap(StopPhotoIntervalResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void StopPhotoIntervalResponse::InternalSwap(StopPhotoIntervalResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata StopPhotoIntervalResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StopPhotoIntervalResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StartVideoRequest::_Internal { -public: + public: }; StartVideoRequest::StartVideoRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoRequest) } StartVideoRequest::StartVideoRequest( - ::google::protobuf::Arena* arena, const StartVideoRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StartVideoRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartVideoRequest) -} - -inline void* -StartVideoRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StartVideoRequest(arena); -} -constexpr auto StartVideoRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StartVideoRequest), alignof(StartVideoRequest)); + ::google::protobuf::Arena* arena, + const StartVideoRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StartVideoRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartVideoRequest) +} + +inline void* StartVideoRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StartVideoRequest(arena); +} +constexpr auto StartVideoRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartVideoRequest), + alignof(StartVideoRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5379,149 +4843,138 @@ const ::google::protobuf::internal::ClassDataFull StartVideoRequest::_class_data ::google::protobuf::internal::ClassData{ &_StartVideoRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StartVideoRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StartVideoRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &StartVideoRequest::ByteSizeLong, - &StartVideoRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &StartVideoRequest::ByteSizeLong, + &StartVideoRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StartVideoRequest, _impl_._cached_size_), false, }, &StartVideoRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartVideoRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - StartVideoRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartVideoRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata StartVideoRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StartVideoRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StartVideoRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartVideoRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata StartVideoRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StartVideoResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_._has_bits_); }; StartVideoResponse::StartVideoResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoResponse) } inline PROTOBUF_NDEBUG_INLINE StartVideoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::StartVideoResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::StartVideoResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} StartVideoResponse::StartVideoResponse( - ::google::protobuf::Arena* arena, const StartVideoResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StartVideoResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartVideoResponse) + ::google::protobuf::Arena* arena, + const StartVideoResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StartVideoResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartVideoResponse) } inline PROTOBUF_NDEBUG_INLINE StartVideoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StartVideoResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -StartVideoResponse::~StartVideoResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartVideoResponse) - SharedDtor(*this); -} -inline void StartVideoResponse::SharedDtor(MessageLite& self) -{ - StartVideoResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -StartVideoResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StartVideoResponse(arena); -} -constexpr auto StartVideoResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StartVideoResponse), alignof(StartVideoResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StartVideoResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +StartVideoResponse::~StartVideoResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartVideoResponse) + SharedDtor(*this); +} +inline void StartVideoResponse::SharedDtor(MessageLite& self) { + StartVideoResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* StartVideoResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StartVideoResponse(arena); +} +constexpr auto StartVideoResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartVideoResponse), + alignof(StartVideoResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5529,241 +4982,213 @@ const ::google::protobuf::internal::ClassDataFull StartVideoResponse::_class_dat ::google::protobuf::internal::ClassData{ &_StartVideoResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StartVideoResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StartVideoResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StartVideoResponse::ByteSizeLong, - &StartVideoResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StartVideoResponse::ByteSizeLong, + &StartVideoResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_._cached_size_), false, }, &StartVideoResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartVideoResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - StartVideoResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartVideoResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void StartVideoResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartVideoResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StartVideoResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StartVideoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StartVideoResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StartVideoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartVideoResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StartVideoResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StartVideoResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartVideoResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(StartVideoResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartVideoResponse) - return target; -} +PROTOBUF_NOINLINE void StartVideoResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartVideoResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StartVideoResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StartVideoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StartVideoResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StartVideoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartVideoResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartVideoResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StartVideoResponse::ByteSizeLong(const MessageLite& base) -{ - const StartVideoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StartVideoResponse::ByteSizeLong() const -{ - const StartVideoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartVideoResponse) - ::size_t total_size = 0; + ::size_t StartVideoResponse::ByteSizeLong(const MessageLite& base) { + const StartVideoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StartVideoResponse::ByteSizeLong() const { + const StartVideoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartVideoResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StartVideoResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartVideoResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void StartVideoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartVideoResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StartVideoResponse::CopyFrom(const StartVideoResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartVideoResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StartVideoResponse::CopyFrom(const StartVideoResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartVideoResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StartVideoResponse::InternalSwap(StartVideoResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void StartVideoResponse::InternalSwap(StartVideoResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata StartVideoResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StartVideoResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StopVideoRequest::_Internal { -public: + public: }; StopVideoRequest::StopVideoRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoRequest) -} -StopVideoRequest::StopVideoRequest(::google::protobuf::Arena* arena, const StopVideoRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StopVideoRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopVideoRequest) -} - -inline void* -StopVideoRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StopVideoRequest(arena); -} -constexpr auto StopVideoRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StopVideoRequest), alignof(StopVideoRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoRequest) +} +StopVideoRequest::StopVideoRequest( + ::google::protobuf::Arena* arena, + const StopVideoRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StopVideoRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopVideoRequest) +} + +inline void* StopVideoRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StopVideoRequest(arena); +} +constexpr auto StopVideoRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StopVideoRequest), + alignof(StopVideoRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5771,149 +5196,138 @@ const ::google::protobuf::internal::ClassDataFull StopVideoRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_StopVideoRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StopVideoRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StopVideoRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &StopVideoRequest::ByteSizeLong, - &StopVideoRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &StopVideoRequest::ByteSizeLong, + &StopVideoRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StopVideoRequest, _impl_._cached_size_), false, }, &StopVideoRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StopVideoRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - StopVideoRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopVideoRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata StopVideoRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StopVideoRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StopVideoRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopVideoRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata StopVideoRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StopVideoResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_._has_bits_); }; StopVideoResponse::StopVideoResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoResponse) } inline PROTOBUF_NDEBUG_INLINE StopVideoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::StopVideoResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::StopVideoResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} StopVideoResponse::StopVideoResponse( - ::google::protobuf::Arena* arena, const StopVideoResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StopVideoResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopVideoResponse) + ::google::protobuf::Arena* arena, + const StopVideoResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StopVideoResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopVideoResponse) } inline PROTOBUF_NDEBUG_INLINE StopVideoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StopVideoResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -StopVideoResponse::~StopVideoResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopVideoResponse) - SharedDtor(*this); -} -inline void StopVideoResponse::SharedDtor(MessageLite& self) -{ - StopVideoResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -StopVideoResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StopVideoResponse(arena); -} -constexpr auto StopVideoResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StopVideoResponse), alignof(StopVideoResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StopVideoResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +StopVideoResponse::~StopVideoResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopVideoResponse) + SharedDtor(*this); +} +inline void StopVideoResponse::SharedDtor(MessageLite& self) { + StopVideoResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* StopVideoResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StopVideoResponse(arena); +} +constexpr auto StopVideoResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StopVideoResponse), + alignof(StopVideoResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -5921,254 +5335,223 @@ const ::google::protobuf::internal::ClassDataFull StopVideoResponse::_class_data ::google::protobuf::internal::ClassData{ &_StopVideoResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StopVideoResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StopVideoResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StopVideoResponse::ByteSizeLong, - &StopVideoResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StopVideoResponse::ByteSizeLong, + &StopVideoResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_._cached_size_), false, }, &StopVideoResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StopVideoResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - StopVideoResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopVideoResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void StopVideoResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopVideoResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StopVideoResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StopVideoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StopVideoResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StopVideoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopVideoResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StopVideoResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StopVideoResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopVideoResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(StopVideoResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopVideoResponse) - return target; -} +PROTOBUF_NOINLINE void StopVideoResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopVideoResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StopVideoResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StopVideoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StopVideoResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StopVideoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopVideoResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopVideoResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StopVideoResponse::ByteSizeLong(const MessageLite& base) -{ - const StopVideoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StopVideoResponse::ByteSizeLong() const -{ - const StopVideoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopVideoResponse) - ::size_t total_size = 0; + ::size_t StopVideoResponse::ByteSizeLong(const MessageLite& base) { + const StopVideoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StopVideoResponse::ByteSizeLong() const { + const StopVideoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopVideoResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StopVideoResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopVideoResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void StopVideoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopVideoResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StopVideoResponse::CopyFrom(const StopVideoResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopVideoResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StopVideoResponse::CopyFrom(const StopVideoResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopVideoResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StopVideoResponse::InternalSwap(StopVideoResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void StopVideoResponse::InternalSwap(StopVideoResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata StopVideoResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StopVideoResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StartVideoStreamingRequest::_Internal { -public: + public: }; StartVideoStreamingRequest::StartVideoStreamingRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoStreamingRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoStreamingRequest) } StartVideoStreamingRequest::StartVideoStreamingRequest( - ::google::protobuf::Arena* arena, const StartVideoStreamingRequest& from) : - StartVideoStreamingRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const StartVideoStreamingRequest& from) + : StartVideoStreamingRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE StartVideoStreamingRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StartVideoStreamingRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.stream_id_ = {}; -} -StartVideoStreamingRequest::~StartVideoStreamingRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartVideoStreamingRequest) - SharedDtor(*this); -} -inline void StartVideoStreamingRequest::SharedDtor(MessageLite& self) -{ - StartVideoStreamingRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -StartVideoStreamingRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StartVideoStreamingRequest(arena); -} -constexpr auto StartVideoStreamingRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StartVideoStreamingRequest), alignof(StartVideoStreamingRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StartVideoStreamingRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.stream_id_ = {}; +} +StartVideoStreamingRequest::~StartVideoStreamingRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartVideoStreamingRequest) + SharedDtor(*this); +} +inline void StartVideoStreamingRequest::SharedDtor(MessageLite& self) { + StartVideoStreamingRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* StartVideoStreamingRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StartVideoStreamingRequest(arena); +} +constexpr auto StartVideoStreamingRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartVideoStreamingRequest), + alignof(StartVideoStreamingRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6176,264 +5559,232 @@ const ::google::protobuf::internal::ClassDataFull StartVideoStreamingRequest::_c ::google::protobuf::internal::ClassData{ &_StartVideoStreamingRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StartVideoStreamingRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StartVideoStreamingRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StartVideoStreamingRequest::ByteSizeLong, - &StartVideoStreamingRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StartVideoStreamingRequest::ByteSizeLong, + &StartVideoStreamingRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StartVideoStreamingRequest, _impl_._cached_size_), false, }, &StartVideoStreamingRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartVideoStreamingRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - StartVideoStreamingRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StartVideoStreamingRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // int32 stream_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(StartVideoStreamingRequest, _impl_.stream_id_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(StartVideoStreamingRequest, _impl_.stream_id_)}}, - }}, - {{65535, 65535}}, - {{ - // int32 stream_id = 1; - {PROTOBUF_FIELD_OFFSET(StartVideoStreamingRequest, _impl_.stream_id_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void StartVideoStreamingRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartVideoStreamingRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.stream_id_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StartVideoStreamingRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StartVideoStreamingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StartVideoStreamingRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StartVideoStreamingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartVideoStreamingRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StartVideoStreamingRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> StartVideoStreamingRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartVideoStreamingRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // int32 stream_id = 1; - if (this_._internal_stream_id() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( - stream, this_._internal_stream_id(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StartVideoStreamingRequest, _impl_.stream_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(StartVideoStreamingRequest, _impl_.stream_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 stream_id = 1; + {PROTOBUF_FIELD_OFFSET(StartVideoStreamingRequest, _impl_.stream_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartVideoStreamingRequest) - return target; -} +PROTOBUF_NOINLINE void StartVideoStreamingRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartVideoStreamingRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.stream_id_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StartVideoStreamingRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StartVideoStreamingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StartVideoStreamingRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StartVideoStreamingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartVideoStreamingRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 stream_id = 1; + if (this_._internal_stream_id() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_stream_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartVideoStreamingRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StartVideoStreamingRequest::ByteSizeLong(const MessageLite& base) -{ - const StartVideoStreamingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StartVideoStreamingRequest::ByteSizeLong() const -{ - const StartVideoStreamingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartVideoStreamingRequest) - ::size_t total_size = 0; + ::size_t StartVideoStreamingRequest::ByteSizeLong(const MessageLite& base) { + const StartVideoStreamingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StartVideoStreamingRequest::ByteSizeLong() const { + const StartVideoStreamingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartVideoStreamingRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // int32 stream_id = 1; - if (this_._internal_stream_id() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_stream_id()); + { + // int32 stream_id = 1; + if (this_._internal_stream_id() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_stream_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StartVideoStreamingRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartVideoStreamingRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void StartVideoStreamingRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartVideoStreamingRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_stream_id() != 0) { - _this->_impl_.stream_id_ = from._impl_.stream_id_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_stream_id() != 0) { + _this->_impl_.stream_id_ = from._impl_.stream_id_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StartVideoStreamingRequest::CopyFrom(const StartVideoStreamingRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartVideoStreamingRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StartVideoStreamingRequest::CopyFrom(const StartVideoStreamingRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartVideoStreamingRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StartVideoStreamingRequest::InternalSwap(StartVideoStreamingRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.stream_id_, other->_impl_.stream_id_); + +void StartVideoStreamingRequest::InternalSwap(StartVideoStreamingRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.stream_id_, other->_impl_.stream_id_); } -::google::protobuf::Metadata StartVideoStreamingRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StartVideoStreamingRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StartVideoStreamingResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_._has_bits_); }; StartVideoStreamingResponse::StartVideoStreamingResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoStreamingResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StartVideoStreamingResponse) } inline PROTOBUF_NDEBUG_INLINE StartVideoStreamingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::StartVideoStreamingResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::StartVideoStreamingResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} StartVideoStreamingResponse::StartVideoStreamingResponse( - ::google::protobuf::Arena* arena, const StartVideoStreamingResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StartVideoStreamingResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartVideoStreamingResponse) + ::google::protobuf::Arena* arena, + const StartVideoStreamingResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StartVideoStreamingResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StartVideoStreamingResponse) } inline PROTOBUF_NDEBUG_INLINE StartVideoStreamingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StartVideoStreamingResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -StartVideoStreamingResponse::~StartVideoStreamingResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartVideoStreamingResponse) - SharedDtor(*this); -} -inline void StartVideoStreamingResponse::SharedDtor(MessageLite& self) -{ - StartVideoStreamingResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -StartVideoStreamingResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StartVideoStreamingResponse(arena); -} -constexpr auto StartVideoStreamingResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StartVideoStreamingResponse), alignof(StartVideoStreamingResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StartVideoStreamingResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +StartVideoStreamingResponse::~StartVideoStreamingResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StartVideoStreamingResponse) + SharedDtor(*this); +} +inline void StartVideoStreamingResponse::SharedDtor(MessageLite& self) { + StartVideoStreamingResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* StartVideoStreamingResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StartVideoStreamingResponse(arena); +} +constexpr auto StartVideoStreamingResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartVideoStreamingResponse), + alignof(StartVideoStreamingResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6441,257 +5792,223 @@ const ::google::protobuf::internal::ClassDataFull StartVideoStreamingResponse::_ ::google::protobuf::internal::ClassData{ &_StartVideoStreamingResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StartVideoStreamingResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StartVideoStreamingResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StartVideoStreamingResponse::ByteSizeLong, - &StartVideoStreamingResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StartVideoStreamingResponse::ByteSizeLong, + &StartVideoStreamingResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_._cached_size_), false, }, &StartVideoStreamingResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartVideoStreamingResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - StartVideoStreamingResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StartVideoStreamingResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void StartVideoStreamingResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartVideoStreamingResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StartVideoStreamingResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StartVideoStreamingResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StartVideoStreamingResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StartVideoStreamingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartVideoStreamingResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StartVideoStreamingResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StartVideoStreamingResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StartVideoStreamingResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(StartVideoStreamingResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartVideoStreamingResponse) - return target; -} +PROTOBUF_NOINLINE void StartVideoStreamingResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StartVideoStreamingResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StartVideoStreamingResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StartVideoStreamingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StartVideoStreamingResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StartVideoStreamingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StartVideoStreamingResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StartVideoStreamingResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StartVideoStreamingResponse::ByteSizeLong(const MessageLite& base) -{ - const StartVideoStreamingResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StartVideoStreamingResponse::ByteSizeLong() const -{ - const StartVideoStreamingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartVideoStreamingResponse) - ::size_t total_size = 0; + ::size_t StartVideoStreamingResponse::ByteSizeLong(const MessageLite& base) { + const StartVideoStreamingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StartVideoStreamingResponse::ByteSizeLong() const { + const StartVideoStreamingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StartVideoStreamingResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StartVideoStreamingResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartVideoStreamingResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void StartVideoStreamingResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StartVideoStreamingResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StartVideoStreamingResponse::CopyFrom(const StartVideoStreamingResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartVideoStreamingResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StartVideoStreamingResponse::CopyFrom(const StartVideoStreamingResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StartVideoStreamingResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StartVideoStreamingResponse::InternalSwap(StartVideoStreamingResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void StartVideoStreamingResponse::InternalSwap(StartVideoStreamingResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata StartVideoStreamingResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StartVideoStreamingResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StopVideoStreamingRequest::_Internal { -public: + public: }; StopVideoStreamingRequest::StopVideoStreamingRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoStreamingRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoStreamingRequest) } StopVideoStreamingRequest::StopVideoStreamingRequest( - ::google::protobuf::Arena* arena, const StopVideoStreamingRequest& from) : - StopVideoStreamingRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const StopVideoStreamingRequest& from) + : StopVideoStreamingRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE StopVideoStreamingRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StopVideoStreamingRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.stream_id_ = {}; -} -StopVideoStreamingRequest::~StopVideoStreamingRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopVideoStreamingRequest) - SharedDtor(*this); -} -inline void StopVideoStreamingRequest::SharedDtor(MessageLite& self) -{ - StopVideoStreamingRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -StopVideoStreamingRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StopVideoStreamingRequest(arena); -} -constexpr auto StopVideoStreamingRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StopVideoStreamingRequest), alignof(StopVideoStreamingRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StopVideoStreamingRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.stream_id_ = {}; +} +StopVideoStreamingRequest::~StopVideoStreamingRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopVideoStreamingRequest) + SharedDtor(*this); +} +inline void StopVideoStreamingRequest::SharedDtor(MessageLite& self) { + StopVideoStreamingRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* StopVideoStreamingRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StopVideoStreamingRequest(arena); +} +constexpr auto StopVideoStreamingRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StopVideoStreamingRequest), + alignof(StopVideoStreamingRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6699,264 +6016,232 @@ const ::google::protobuf::internal::ClassDataFull StopVideoStreamingRequest::_cl ::google::protobuf::internal::ClassData{ &_StopVideoStreamingRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StopVideoStreamingRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StopVideoStreamingRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StopVideoStreamingRequest::ByteSizeLong, - &StopVideoStreamingRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StopVideoStreamingRequest::ByteSizeLong, + &StopVideoStreamingRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StopVideoStreamingRequest, _impl_._cached_size_), false, }, &StopVideoStreamingRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StopVideoStreamingRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - StopVideoStreamingRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StopVideoStreamingRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // int32 stream_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(StopVideoStreamingRequest, _impl_.stream_id_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(StopVideoStreamingRequest, _impl_.stream_id_)}}, - }}, - {{65535, 65535}}, - {{ - // int32 stream_id = 1; - {PROTOBUF_FIELD_OFFSET(StopVideoStreamingRequest, _impl_.stream_id_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void StopVideoStreamingRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopVideoStreamingRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.stream_id_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StopVideoStreamingRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StopVideoStreamingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StopVideoStreamingRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StopVideoStreamingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopVideoStreamingRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StopVideoStreamingRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> StopVideoStreamingRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopVideoStreamingRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // int32 stream_id = 1; - if (this_._internal_stream_id() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( - stream, this_._internal_stream_id(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StopVideoStreamingRequest, _impl_.stream_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(StopVideoStreamingRequest, _impl_.stream_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 stream_id = 1; + {PROTOBUF_FIELD_OFFSET(StopVideoStreamingRequest, _impl_.stream_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopVideoStreamingRequest) - return target; -} +PROTOBUF_NOINLINE void StopVideoStreamingRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopVideoStreamingRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.stream_id_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StopVideoStreamingRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StopVideoStreamingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StopVideoStreamingRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StopVideoStreamingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopVideoStreamingRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 stream_id = 1; + if (this_._internal_stream_id() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_stream_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopVideoStreamingRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StopVideoStreamingRequest::ByteSizeLong(const MessageLite& base) -{ - const StopVideoStreamingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StopVideoStreamingRequest::ByteSizeLong() const -{ - const StopVideoStreamingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopVideoStreamingRequest) - ::size_t total_size = 0; + ::size_t StopVideoStreamingRequest::ByteSizeLong(const MessageLite& base) { + const StopVideoStreamingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StopVideoStreamingRequest::ByteSizeLong() const { + const StopVideoStreamingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopVideoStreamingRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // int32 stream_id = 1; - if (this_._internal_stream_id() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_stream_id()); + { + // int32 stream_id = 1; + if (this_._internal_stream_id() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_stream_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StopVideoStreamingRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopVideoStreamingRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void StopVideoStreamingRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopVideoStreamingRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_stream_id() != 0) { - _this->_impl_.stream_id_ = from._impl_.stream_id_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_stream_id() != 0) { + _this->_impl_.stream_id_ = from._impl_.stream_id_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StopVideoStreamingRequest::CopyFrom(const StopVideoStreamingRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopVideoStreamingRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StopVideoStreamingRequest::CopyFrom(const StopVideoStreamingRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopVideoStreamingRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StopVideoStreamingRequest::InternalSwap(StopVideoStreamingRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.stream_id_, other->_impl_.stream_id_); + +void StopVideoStreamingRequest::InternalSwap(StopVideoStreamingRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.stream_id_, other->_impl_.stream_id_); } -::google::protobuf::Metadata StopVideoStreamingRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StopVideoStreamingRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StopVideoStreamingResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_._has_bits_); }; StopVideoStreamingResponse::StopVideoStreamingResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoStreamingResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StopVideoStreamingResponse) } inline PROTOBUF_NDEBUG_INLINE StopVideoStreamingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::StopVideoStreamingResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::StopVideoStreamingResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} StopVideoStreamingResponse::StopVideoStreamingResponse( - ::google::protobuf::Arena* arena, const StopVideoStreamingResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StopVideoStreamingResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopVideoStreamingResponse) + ::google::protobuf::Arena* arena, + const StopVideoStreamingResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StopVideoStreamingResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StopVideoStreamingResponse) } inline PROTOBUF_NDEBUG_INLINE StopVideoStreamingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StopVideoStreamingResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -StopVideoStreamingResponse::~StopVideoStreamingResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopVideoStreamingResponse) - SharedDtor(*this); -} -inline void StopVideoStreamingResponse::SharedDtor(MessageLite& self) -{ - StopVideoStreamingResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -StopVideoStreamingResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StopVideoStreamingResponse(arena); -} -constexpr auto StopVideoStreamingResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StopVideoStreamingResponse), alignof(StopVideoStreamingResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StopVideoStreamingResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +StopVideoStreamingResponse::~StopVideoStreamingResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StopVideoStreamingResponse) + SharedDtor(*this); +} +inline void StopVideoStreamingResponse::SharedDtor(MessageLite& self) { + StopVideoStreamingResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* StopVideoStreamingResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StopVideoStreamingResponse(arena); +} +constexpr auto StopVideoStreamingResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StopVideoStreamingResponse), + alignof(StopVideoStreamingResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -6964,253 +6249,223 @@ const ::google::protobuf::internal::ClassDataFull StopVideoStreamingResponse::_c ::google::protobuf::internal::ClassData{ &_StopVideoStreamingResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StopVideoStreamingResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StopVideoStreamingResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StopVideoStreamingResponse::ByteSizeLong, - &StopVideoStreamingResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StopVideoStreamingResponse::ByteSizeLong, + &StopVideoStreamingResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_._cached_size_), false, }, &StopVideoStreamingResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StopVideoStreamingResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - StopVideoStreamingResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::StopVideoStreamingResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void StopVideoStreamingResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopVideoStreamingResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StopVideoStreamingResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StopVideoStreamingResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StopVideoStreamingResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StopVideoStreamingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopVideoStreamingResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StopVideoStreamingResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StopVideoStreamingResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StopVideoStreamingResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(StopVideoStreamingResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopVideoStreamingResponse) - return target; -} +PROTOBUF_NOINLINE void StopVideoStreamingResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StopVideoStreamingResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StopVideoStreamingResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StopVideoStreamingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StopVideoStreamingResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StopVideoStreamingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StopVideoStreamingResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StopVideoStreamingResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StopVideoStreamingResponse::ByteSizeLong(const MessageLite& base) -{ - const StopVideoStreamingResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StopVideoStreamingResponse::ByteSizeLong() const -{ - const StopVideoStreamingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopVideoStreamingResponse) - ::size_t total_size = 0; + ::size_t StopVideoStreamingResponse::ByteSizeLong(const MessageLite& base) { + const StopVideoStreamingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StopVideoStreamingResponse::ByteSizeLong() const { + const StopVideoStreamingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StopVideoStreamingResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void StopVideoStreamingResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopVideoStreamingResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void StopVideoStreamingResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StopVideoStreamingResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StopVideoStreamingResponse::CopyFrom(const StopVideoStreamingResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopVideoStreamingResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StopVideoStreamingResponse::CopyFrom(const StopVideoStreamingResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StopVideoStreamingResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StopVideoStreamingResponse::InternalSwap(StopVideoStreamingResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void StopVideoStreamingResponse::InternalSwap(StopVideoStreamingResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata StopVideoStreamingResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StopVideoStreamingResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetModeRequest::_Internal { -public: + public: }; SetModeRequest::SetModeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetModeRequest) -} -SetModeRequest::SetModeRequest(::google::protobuf::Arena* arena, const SetModeRequest& from) : - SetModeRequest(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetModeRequest) +} +SetModeRequest::SetModeRequest( + ::google::protobuf::Arena* arena, const SetModeRequest& from) + : SetModeRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SetModeRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetModeRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.mode_ = {}; -} -SetModeRequest::~SetModeRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetModeRequest) - SharedDtor(*this); -} -inline void SetModeRequest::SharedDtor(MessageLite& self) -{ - SetModeRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* SetModeRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetModeRequest(arena); -} -constexpr auto SetModeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetModeRequest), alignof(SetModeRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetModeRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.mode_ = {}; +} +SetModeRequest::~SetModeRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetModeRequest) + SharedDtor(*this); +} +inline void SetModeRequest::SharedDtor(MessageLite& self) { + SetModeRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* SetModeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetModeRequest(arena); +} +constexpr auto SetModeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetModeRequest), + alignof(SetModeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7218,260 +6473,232 @@ const ::google::protobuf::internal::ClassDataFull SetModeRequest::_class_data_ = ::google::protobuf::internal::ClassData{ &_SetModeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetModeRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetModeRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetModeRequest::ByteSizeLong, - &SetModeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetModeRequest::ByteSizeLong, + &SetModeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetModeRequest, _impl_._cached_size_), false, }, &SetModeRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetModeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - SetModeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetModeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.Mode mode = 1; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(SetModeRequest, _impl_.mode_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetModeRequest, _impl_.mode_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.Mode mode = 1; - {PROTOBUF_FIELD_OFFSET(SetModeRequest, _impl_.mode_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SetModeRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetModeRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.mode_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetModeRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetModeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetModeRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetModeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetModeRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetModeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SetModeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetModeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.Mode mode = 1; - if (this_._internal_mode() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_mode(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SetModeRequest, _impl_.mode_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetModeRequest, _impl_.mode_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.Mode mode = 1; + {PROTOBUF_FIELD_OFFSET(SetModeRequest, _impl_.mode_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetModeRequest) - return target; -} +PROTOBUF_NOINLINE void SetModeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetModeRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mode_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetModeRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetModeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetModeRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetModeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetModeRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.camera.Mode mode = 1; + if (this_._internal_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_mode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetModeRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetModeRequest::ByteSizeLong(const MessageLite& base) -{ - const SetModeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetModeRequest::ByteSizeLong() const -{ - const SetModeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetModeRequest) - ::size_t total_size = 0; + ::size_t SetModeRequest::ByteSizeLong(const MessageLite& base) { + const SetModeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetModeRequest::ByteSizeLong() const { + const SetModeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetModeRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.Mode mode = 1; - if (this_._internal_mode() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_mode()); + { + // .mavsdk.rpc.camera.Mode mode = 1; + if (this_._internal_mode() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_mode()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetModeRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetModeRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SetModeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetModeRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_mode() != 0) { - _this->_impl_.mode_ = from._impl_.mode_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_mode() != 0) { + _this->_impl_.mode_ = from._impl_.mode_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetModeRequest::CopyFrom(const SetModeRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetModeRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetModeRequest::CopyFrom(const SetModeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetModeRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetModeRequest::InternalSwap(SetModeRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.mode_, other->_impl_.mode_); + +void SetModeRequest::InternalSwap(SetModeRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.mode_, other->_impl_.mode_); } -::google::protobuf::Metadata SetModeRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetModeRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetModeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_._has_bits_); }; SetModeResponse::SetModeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetModeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetModeResponse) } inline PROTOBUF_NDEBUG_INLINE SetModeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::SetModeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +SetModeResponse::SetModeResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::SetModeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -SetModeResponse::SetModeResponse(::google::protobuf::Arena* arena, const SetModeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetModeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SetModeResponse) + const SetModeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetModeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SetModeResponse) } inline PROTOBUF_NDEBUG_INLINE SetModeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetModeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -SetModeResponse::~SetModeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetModeResponse) - SharedDtor(*this); -} -inline void SetModeResponse::SharedDtor(MessageLite& self) -{ - SetModeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetModeResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetModeResponse(arena); -} -constexpr auto SetModeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetModeResponse), alignof(SetModeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetModeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +SetModeResponse::~SetModeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetModeResponse) + SharedDtor(*this); +} +inline void SetModeResponse::SharedDtor(MessageLite& self) { + SetModeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* SetModeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetModeResponse(arena); +} +constexpr auto SetModeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetModeResponse), + alignof(SetModeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7479,254 +6706,223 @@ const ::google::protobuf::internal::ClassDataFull SetModeResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_SetModeResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetModeResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetModeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetModeResponse::ByteSizeLong, - &SetModeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetModeResponse::ByteSizeLong, + &SetModeResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_._cached_size_), false, }, &SetModeResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetModeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetModeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetModeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetModeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetModeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetModeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetModeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetModeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetModeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetModeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetModeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetModeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetModeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(SetModeResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetModeResponse) - return target; -} +PROTOBUF_NOINLINE void SetModeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetModeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetModeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetModeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetModeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetModeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetModeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetModeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetModeResponse::ByteSizeLong(const MessageLite& base) -{ - const SetModeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetModeResponse::ByteSizeLong() const -{ - const SetModeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetModeResponse) - ::size_t total_size = 0; + ::size_t SetModeResponse::ByteSizeLong(const MessageLite& base) { + const SetModeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetModeResponse::ByteSizeLong() const { + const SetModeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetModeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SetModeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetModeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void SetModeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetModeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetModeResponse::CopyFrom(const SetModeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetModeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetModeResponse::CopyFrom(const SetModeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetModeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetModeResponse::InternalSwap(SetModeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void SetModeResponse::InternalSwap(SetModeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata SetModeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetModeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ListPhotosRequest::_Internal { -public: + public: }; ListPhotosRequest::ListPhotosRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ListPhotosRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ListPhotosRequest) } ListPhotosRequest::ListPhotosRequest( - ::google::protobuf::Arena* arena, const ListPhotosRequest& from) : - ListPhotosRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const ListPhotosRequest& from) + : ListPhotosRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE ListPhotosRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ListPhotosRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.photos_range_ = {}; -} -ListPhotosRequest::~ListPhotosRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ListPhotosRequest) - SharedDtor(*this); -} -inline void ListPhotosRequest::SharedDtor(MessageLite& self) -{ - ListPhotosRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -ListPhotosRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ListPhotosRequest(arena); -} -constexpr auto ListPhotosRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ListPhotosRequest), alignof(ListPhotosRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ListPhotosRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.photos_range_ = {}; +} +ListPhotosRequest::~ListPhotosRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ListPhotosRequest) + SharedDtor(*this); +} +inline void ListPhotosRequest::SharedDtor(MessageLite& self) { + ListPhotosRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ListPhotosRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ListPhotosRequest(arena); +} +constexpr auto ListPhotosRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ListPhotosRequest), + alignof(ListPhotosRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -7734,278 +6930,246 @@ const ::google::protobuf::internal::ClassDataFull ListPhotosRequest::_class_data ::google::protobuf::internal::ClassData{ &_ListPhotosRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ListPhotosRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ListPhotosRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ListPhotosRequest::ByteSizeLong, - &ListPhotosRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ListPhotosRequest::ByteSizeLong, + &ListPhotosRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ListPhotosRequest, _impl_._cached_size_), false, }, &ListPhotosRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ListPhotosRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - ListPhotosRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ListPhotosRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.PhotosRange photos_range = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(ListPhotosRequest, _impl_.photos_range_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ListPhotosRequest, _impl_.photos_range_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.PhotosRange photos_range = 1; - {PROTOBUF_FIELD_OFFSET(ListPhotosRequest, _impl_.photos_range_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void ListPhotosRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ListPhotosRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.photos_range_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ListPhotosRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ListPhotosRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ListPhotosRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ListPhotosRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ListPhotosRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ListPhotosRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> ListPhotosRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ListPhotosRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.PhotosRange photos_range = 1; - if (this_._internal_photos_range() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_photos_range(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ListPhotosRequest, _impl_.photos_range_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ListPhotosRequest, _impl_.photos_range_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.PhotosRange photos_range = 1; + {PROTOBUF_FIELD_OFFSET(ListPhotosRequest, _impl_.photos_range_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ListPhotosRequest) - return target; -} +PROTOBUF_NOINLINE void ListPhotosRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ListPhotosRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.photos_range_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ListPhotosRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ListPhotosRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ListPhotosRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ListPhotosRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ListPhotosRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.camera.PhotosRange photos_range = 1; + if (this_._internal_photos_range() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_photos_range(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ListPhotosRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ListPhotosRequest::ByteSizeLong(const MessageLite& base) -{ - const ListPhotosRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ListPhotosRequest::ByteSizeLong() const -{ - const ListPhotosRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ListPhotosRequest) - ::size_t total_size = 0; + ::size_t ListPhotosRequest::ByteSizeLong(const MessageLite& base) { + const ListPhotosRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ListPhotosRequest::ByteSizeLong() const { + const ListPhotosRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ListPhotosRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.PhotosRange photos_range = 1; - if (this_._internal_photos_range() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_photos_range()); + { + // .mavsdk.rpc.camera.PhotosRange photos_range = 1; + if (this_._internal_photos_range() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_photos_range()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ListPhotosRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ListPhotosRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ListPhotosRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ListPhotosRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_photos_range() != 0) { - _this->_impl_.photos_range_ = from._impl_.photos_range_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_photos_range() != 0) { + _this->_impl_.photos_range_ = from._impl_.photos_range_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ListPhotosRequest::CopyFrom(const ListPhotosRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ListPhotosRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ListPhotosRequest::CopyFrom(const ListPhotosRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ListPhotosRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ListPhotosRequest::InternalSwap(ListPhotosRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.photos_range_, other->_impl_.photos_range_); + +void ListPhotosRequest::InternalSwap(ListPhotosRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.photos_range_, other->_impl_.photos_range_); } -::google::protobuf::Metadata ListPhotosRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ListPhotosRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ListPhotosResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_._has_bits_); }; ListPhotosResponse::ListPhotosResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ListPhotosResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ListPhotosResponse) } inline PROTOBUF_NDEBUG_INLINE ListPhotosResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::ListPhotosResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0}, - capture_infos_{visibility, arena, from.capture_infos_} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::ListPhotosResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + capture_infos_{visibility, arena, from.capture_infos_} {} ListPhotosResponse::ListPhotosResponse( - ::google::protobuf::Arena* arena, const ListPhotosResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ListPhotosResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ListPhotosResponse) + ::google::protobuf::Arena* arena, + const ListPhotosResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ListPhotosResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ListPhotosResponse) } inline PROTOBUF_NDEBUG_INLINE ListPhotosResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0}, - capture_infos_{visibility, arena} -{} - -inline void ListPhotosResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -ListPhotosResponse::~ListPhotosResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ListPhotosResponse) - SharedDtor(*this); -} -inline void ListPhotosResponse::SharedDtor(MessageLite& self) -{ - ListPhotosResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -ListPhotosResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ListPhotosResponse(arena); -} -constexpr auto ListPhotosResponse::InternalNewImpl_() -{ - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.capture_infos_) + - decltype(ListPhotosResponse::_impl_.capture_infos_)::InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ListPhotosResponse), alignof(ListPhotosResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator( - &ListPhotosResponse::PlacementNew_, - sizeof(ListPhotosResponse), - alignof(ListPhotosResponse)); - } + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + capture_infos_{visibility, arena} {} + +inline void ListPhotosResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +ListPhotosResponse::~ListPhotosResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ListPhotosResponse) + SharedDtor(*this); +} +inline void ListPhotosResponse::SharedDtor(MessageLite& self) { + ListPhotosResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* ListPhotosResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ListPhotosResponse(arena); +} +constexpr auto ListPhotosResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.capture_infos_) + + decltype(ListPhotosResponse::_impl_.capture_infos_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(ListPhotosResponse), alignof(ListPhotosResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&ListPhotosResponse::PlacementNew_, + sizeof(ListPhotosResponse), + alignof(ListPhotosResponse)); + } } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8013,272 +7177,245 @@ const ::google::protobuf::internal::ClassDataFull ListPhotosResponse::_class_dat ::google::protobuf::internal::ClassData{ &_ListPhotosResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ListPhotosResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ListPhotosResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ListPhotosResponse::ByteSizeLong, - &ListPhotosResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ListPhotosResponse::ByteSizeLong, + &ListPhotosResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_._cached_size_), false, }, &ListPhotosResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ListPhotosResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - ListPhotosResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ListPhotosResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // repeated .mavsdk.rpc.camera.CaptureInfo capture_infos = 2; - {::_pbi::TcParser::FastMtR1, - {18, 63, 1, PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.capture_infos_)}}, - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .mavsdk.rpc.camera.CaptureInfo capture_infos = 2; - {PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.capture_infos_), - -1, - 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfo>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ListPhotosResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ListPhotosResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.capture_infos_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ListPhotosResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ListPhotosResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ListPhotosResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ListPhotosResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ListPhotosResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ListPhotosResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> ListPhotosResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ListPhotosResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // repeated .mavsdk.rpc.camera.CaptureInfo capture_infos = 2; - for (unsigned i = 0, n = static_cast(this_._internal_capture_infos_size()); i < n; - i++) { - const auto& repfield = this_._internal_capture_infos().Get(i); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, repfield, repfield.GetCachedSize(), target, stream); - } + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.capture_infos_)}}, + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .mavsdk.rpc.camera.CaptureInfo capture_infos = 2; + {PROTOBUF_FIELD_OFFSET(ListPhotosResponse, _impl_.capture_infos_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfo>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ListPhotosResponse) - return target; -} +PROTOBUF_NOINLINE void ListPhotosResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ListPhotosResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.capture_infos_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ListPhotosResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ListPhotosResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ListPhotosResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ListPhotosResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ListPhotosResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + // repeated .mavsdk.rpc.camera.CaptureInfo capture_infos = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_capture_infos_size()); + i < n; i++) { + const auto& repfield = this_._internal_capture_infos().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ListPhotosResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ListPhotosResponse::ByteSizeLong(const MessageLite& base) -{ - const ListPhotosResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ListPhotosResponse::ByteSizeLong() const -{ - const ListPhotosResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ListPhotosResponse) - ::size_t total_size = 0; + ::size_t ListPhotosResponse::ByteSizeLong(const MessageLite& base) { + const ListPhotosResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ListPhotosResponse::ByteSizeLong() const { + const ListPhotosResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ListPhotosResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .mavsdk.rpc.camera.CaptureInfo capture_infos = 2; - { - total_size += 1UL * this_._internal_capture_infos_size(); - for (const auto& msg : this_._internal_capture_infos()) { + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .mavsdk.rpc.camera.CaptureInfo capture_infos = 2; + { + total_size += 1UL * this_._internal_capture_infos_size(); + for (const auto& msg : this_._internal_capture_infos()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } } + } + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void ListPhotosResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ListPhotosResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_capture_infos()->MergeFrom( + from._internal_capture_infos()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ListPhotosResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ListPhotosResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - _this->_internal_mutable_capture_infos()->MergeFrom(from._internal_capture_infos()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ListPhotosResponse::CopyFrom(const ListPhotosResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ListPhotosResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ListPhotosResponse::CopyFrom(const ListPhotosResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ListPhotosResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ListPhotosResponse::InternalSwap(ListPhotosResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.capture_infos_.InternalSwap(&other->_impl_.capture_infos_); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void ListPhotosResponse::InternalSwap(ListPhotosResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.capture_infos_.InternalSwap(&other->_impl_.capture_infos_); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata ListPhotosResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ListPhotosResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeInformationRequest::_Internal { -public: + public: }; SubscribeInformationRequest::SubscribeInformationRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeInformationRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeInformationRequest) } SubscribeInformationRequest::SubscribeInformationRequest( - ::google::protobuf::Arena* arena, const SubscribeInformationRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeInformationRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeInformationRequest) -} - -inline void* -SubscribeInformationRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeInformationRequest(arena); -} -constexpr auto SubscribeInformationRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeInformationRequest), alignof(SubscribeInformationRequest)); + ::google::protobuf::Arena* arena, + const SubscribeInformationRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeInformationRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeInformationRequest) +} + +inline void* SubscribeInformationRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeInformationRequest(arena); +} +constexpr auto SubscribeInformationRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeInformationRequest), + alignof(SubscribeInformationRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8286,150 +7423,138 @@ const ::google::protobuf::internal::ClassDataFull SubscribeInformationRequest::_ ::google::protobuf::internal::ClassData{ &_SubscribeInformationRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeInformationRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeInformationRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeInformationRequest::ByteSizeLong, - &SubscribeInformationRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeInformationRequest::ByteSizeLong, + &SubscribeInformationRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeInformationRequest, _impl_._cached_size_), false, }, &SubscribeInformationRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubscribeInformationRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeInformationRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SubscribeInformationRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeInformationRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeInformationRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeInformationRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SubscribeInformationRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeInformationRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class InformationResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_._has_bits_); }; InformationResponse::InformationResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.InformationResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.InformationResponse) } inline PROTOBUF_NDEBUG_INLINE InformationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::InformationResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::InformationResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} InformationResponse::InformationResponse( - ::google::protobuf::Arena* arena, const InformationResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - InformationResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.information_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Information>( - arena, *from._impl_.information_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.InformationResponse) + ::google::protobuf::Arena* arena, + const InformationResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + InformationResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.information_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Information>( + arena, *from._impl_.information_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.InformationResponse) } inline PROTOBUF_NDEBUG_INLINE InformationResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void InformationResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.information_ = {}; -} -InformationResponse::~InformationResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.InformationResponse) - SharedDtor(*this); -} -inline void InformationResponse::SharedDtor(MessageLite& self) -{ - InformationResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.information_; - this_._impl_.~Impl_(); -} - -inline void* -InformationResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) InformationResponse(arena); -} -constexpr auto InformationResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(InformationResponse), alignof(InformationResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void InformationResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.information_ = {}; +} +InformationResponse::~InformationResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.InformationResponse) + SharedDtor(*this); +} +inline void InformationResponse::SharedDtor(MessageLite& self) { + InformationResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.information_; + this_._impl_.~Impl_(); +} + +inline void* InformationResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) InformationResponse(arena); +} +constexpr auto InformationResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(InformationResponse), + alignof(InformationResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8437,242 +7562,213 @@ const ::google::protobuf::internal::ClassDataFull InformationResponse::_class_da ::google::protobuf::internal::ClassData{ &_InformationResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &InformationResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &InformationResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &InformationResponse::ByteSizeLong, - &InformationResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &InformationResponse::ByteSizeLong, + &InformationResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_._cached_size_), false, }, &InformationResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* InformationResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - InformationResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::InformationResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.Information information = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_.information_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.Information information = 1; - {PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_.information_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Information>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void InformationResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.InformationResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.information_ != nullptr); - _impl_.information_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* InformationResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const InformationResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* InformationResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const InformationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.InformationResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* InformationResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> InformationResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::InformationResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.Information information = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.information_, - this_._impl_.information_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_.information_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.Information information = 1; + {PROTOBUF_FIELD_OFFSET(InformationResponse, _impl_.information_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Information>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.InformationResponse) - return target; -} +PROTOBUF_NOINLINE void InformationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.InformationResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.information_ != nullptr); + _impl_.information_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* InformationResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const InformationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* InformationResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const InformationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.InformationResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.Information information = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.information_, this_._impl_.information_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.InformationResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t InformationResponse::ByteSizeLong(const MessageLite& base) -{ - const InformationResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t InformationResponse::ByteSizeLong() const -{ - const InformationResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.InformationResponse) - ::size_t total_size = 0; + ::size_t InformationResponse::ByteSizeLong(const MessageLite& base) { + const InformationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t InformationResponse::ByteSizeLong() const { + const InformationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.InformationResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.Information information = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.information_); + { + // .mavsdk.rpc.camera.Information information = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.information_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void InformationResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.InformationResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.information_ != nullptr); - if (_this->_impl_.information_ == nullptr) { - _this->_impl_.information_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Information>( - arena, *from._impl_.information_); - } else { - _this->_impl_.information_->MergeFrom(*from._impl_.information_); - } +void InformationResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.InformationResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.information_ != nullptr); + if (_this->_impl_.information_ == nullptr) { + _this->_impl_.information_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Information>(arena, *from._impl_.information_); + } else { + _this->_impl_.information_->MergeFrom(*from._impl_.information_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void InformationResponse::CopyFrom(const InformationResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.InformationResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void InformationResponse::CopyFrom(const InformationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.InformationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void InformationResponse::InternalSwap(InformationResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.information_, other->_impl_.information_); + +void InformationResponse::InternalSwap(InformationResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.information_, other->_impl_.information_); } -::google::protobuf::Metadata InformationResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata InformationResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeModeRequest::_Internal { -public: + public: }; SubscribeModeRequest::SubscribeModeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeModeRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeModeRequest) } SubscribeModeRequest::SubscribeModeRequest( - ::google::protobuf::Arena* arena, const SubscribeModeRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeModeRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeModeRequest) -} - -inline void* -SubscribeModeRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeModeRequest(arena); -} -constexpr auto SubscribeModeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeModeRequest), alignof(SubscribeModeRequest)); + ::google::protobuf::Arena* arena, + const SubscribeModeRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeModeRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeModeRequest) +} + +inline void* SubscribeModeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeModeRequest(arena); +} +constexpr auto SubscribeModeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeModeRequest), + alignof(SubscribeModeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8680,117 +7776,112 @@ const ::google::protobuf::internal::ClassDataFull SubscribeModeRequest::_class_d ::google::protobuf::internal::ClassData{ &_SubscribeModeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeModeRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeModeRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeModeRequest::ByteSizeLong, - &SubscribeModeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeModeRequest::ByteSizeLong, + &SubscribeModeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeModeRequest, _impl_._cached_size_), false, }, &SubscribeModeRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubscribeModeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeModeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SubscribeModeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeModeRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeModeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeModeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SubscribeModeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeModeRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ModeResponse::_Internal { -public: + public: }; ModeResponse::ModeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ModeResponse) -} -ModeResponse::ModeResponse(::google::protobuf::Arena* arena, const ModeResponse& from) : - ModeResponse(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ModeResponse) +} +ModeResponse::ModeResponse( + ::google::protobuf::Arena* arena, const ModeResponse& from) + : ModeResponse(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE ModeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ModeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.mode_ = {}; -} -ModeResponse::~ModeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ModeResponse) - SharedDtor(*this); -} -inline void ModeResponse::SharedDtor(MessageLite& self) -{ - ModeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* ModeResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ModeResponse(arena); -} -constexpr auto ModeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ModeResponse), alignof(ModeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ModeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.mode_ = {}; +} +ModeResponse::~ModeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ModeResponse) + SharedDtor(*this); +} +inline void ModeResponse::SharedDtor(MessageLite& self) { + ModeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ModeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ModeResponse(arena); +} +constexpr auto ModeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ModeResponse), + alignof(ModeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -8798,218 +7889,196 @@ const ::google::protobuf::internal::ClassDataFull ModeResponse::_class_data_ = { ::google::protobuf::internal::ClassData{ &_ModeResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ModeResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ModeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ModeResponse::ByteSizeLong, - &ModeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ModeResponse::ByteSizeLong, + &ModeResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ModeResponse, _impl_._cached_size_), false, }, &ModeResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ModeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - ModeResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ModeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.Mode mode = 1; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(ModeResponse, _impl_.mode_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(ModeResponse, _impl_.mode_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.Mode mode = 1; - {PROTOBUF_FIELD_OFFSET(ModeResponse, _impl_.mode_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void ModeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ModeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.mode_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ModeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ModeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ModeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ModeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ModeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ModeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> ModeResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ModeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.Mode mode = 1; - if (this_._internal_mode() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_mode(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ModeResponse, _impl_.mode_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ModeResponse, _impl_.mode_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.Mode mode = 1; + {PROTOBUF_FIELD_OFFSET(ModeResponse, _impl_.mode_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ModeResponse) - return target; -} +PROTOBUF_NOINLINE void ModeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ModeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mode_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ModeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ModeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ModeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ModeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ModeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.camera.Mode mode = 1; + if (this_._internal_mode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_mode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ModeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ModeResponse::ByteSizeLong(const MessageLite& base) -{ - const ModeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ModeResponse::ByteSizeLong() const -{ - const ModeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ModeResponse) - ::size_t total_size = 0; + ::size_t ModeResponse::ByteSizeLong(const MessageLite& base) { + const ModeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ModeResponse::ByteSizeLong() const { + const ModeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ModeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.Mode mode = 1; - if (this_._internal_mode() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_mode()); + { + // .mavsdk.rpc.camera.Mode mode = 1; + if (this_._internal_mode() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_mode()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ModeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ModeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ModeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ModeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_mode() != 0) { - _this->_impl_.mode_ = from._impl_.mode_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_mode() != 0) { + _this->_impl_.mode_ = from._impl_.mode_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ModeResponse::CopyFrom(const ModeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ModeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ModeResponse::CopyFrom(const ModeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ModeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ModeResponse::InternalSwap(ModeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.mode_, other->_impl_.mode_); + +void ModeResponse::InternalSwap(ModeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.mode_, other->_impl_.mode_); } -::google::protobuf::Metadata ModeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ModeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeVideoStreamInfoRequest::_Internal { -public: + public: }; SubscribeVideoStreamInfoRequest::SubscribeVideoStreamInfoRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeVideoStreamInfoRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeVideoStreamInfoRequest) } SubscribeVideoStreamInfoRequest::SubscribeVideoStreamInfoRequest( - ::google::protobuf::Arena* arena, const SubscribeVideoStreamInfoRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeVideoStreamInfoRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeVideoStreamInfoRequest) -} - -inline void* SubscribeVideoStreamInfoRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeVideoStreamInfoRequest(arena); -} -constexpr auto SubscribeVideoStreamInfoRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeVideoStreamInfoRequest), alignof(SubscribeVideoStreamInfoRequest)); + ::google::protobuf::Arena* arena, + const SubscribeVideoStreamInfoRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeVideoStreamInfoRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeVideoStreamInfoRequest) +} + +inline void* SubscribeVideoStreamInfoRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeVideoStreamInfoRequest(arena); +} +constexpr auto SubscribeVideoStreamInfoRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeVideoStreamInfoRequest), + alignof(SubscribeVideoStreamInfoRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9017,151 +8086,138 @@ const ::google::protobuf::internal::ClassDataFull SubscribeVideoStreamInfoReques ::google::protobuf::internal::ClassData{ &_SubscribeVideoStreamInfoRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeVideoStreamInfoRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeVideoStreamInfoRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeVideoStreamInfoRequest>(), - &SubscribeVideoStreamInfoRequest::ByteSizeLong, - &SubscribeVideoStreamInfoRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeVideoStreamInfoRequest::ByteSizeLong, + &SubscribeVideoStreamInfoRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeVideoStreamInfoRequest, _impl_._cached_size_), false, }, &SubscribeVideoStreamInfoRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubscribeVideoStreamInfoRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeVideoStreamInfoRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SubscribeVideoStreamInfoRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeVideoStreamInfoRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeVideoStreamInfoRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeVideoStreamInfoRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SubscribeVideoStreamInfoRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeVideoStreamInfoRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class VideoStreamInfoResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_._has_bits_); }; VideoStreamInfoResponse::VideoStreamInfoResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.VideoStreamInfoResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.VideoStreamInfoResponse) } inline PROTOBUF_NDEBUG_INLINE VideoStreamInfoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::VideoStreamInfoResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::VideoStreamInfoResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} VideoStreamInfoResponse::VideoStreamInfoResponse( - ::google::protobuf::Arena* arena, const VideoStreamInfoResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - VideoStreamInfoResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.video_stream_info_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::VideoStreamInfo>( - arena, *from._impl_.video_stream_info_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.VideoStreamInfoResponse) + ::google::protobuf::Arena* arena, + const VideoStreamInfoResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + VideoStreamInfoResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.video_stream_info_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::VideoStreamInfo>( + arena, *from._impl_.video_stream_info_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.VideoStreamInfoResponse) } inline PROTOBUF_NDEBUG_INLINE VideoStreamInfoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void VideoStreamInfoResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.video_stream_info_ = {}; -} -VideoStreamInfoResponse::~VideoStreamInfoResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.VideoStreamInfoResponse) - SharedDtor(*this); -} -inline void VideoStreamInfoResponse::SharedDtor(MessageLite& self) -{ - VideoStreamInfoResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.video_stream_info_; - this_._impl_.~Impl_(); -} - -inline void* -VideoStreamInfoResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) VideoStreamInfoResponse(arena); -} -constexpr auto VideoStreamInfoResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(VideoStreamInfoResponse), alignof(VideoStreamInfoResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void VideoStreamInfoResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.video_stream_info_ = {}; +} +VideoStreamInfoResponse::~VideoStreamInfoResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.VideoStreamInfoResponse) + SharedDtor(*this); +} +inline void VideoStreamInfoResponse::SharedDtor(MessageLite& self) { + VideoStreamInfoResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.video_stream_info_; + this_._impl_.~Impl_(); +} + +inline void* VideoStreamInfoResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) VideoStreamInfoResponse(arena); +} +constexpr auto VideoStreamInfoResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(VideoStreamInfoResponse), + alignof(VideoStreamInfoResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9169,243 +8225,213 @@ const ::google::protobuf::internal::ClassDataFull VideoStreamInfoResponse::_clas ::google::protobuf::internal::ClassData{ &_VideoStreamInfoResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &VideoStreamInfoResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &VideoStreamInfoResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &VideoStreamInfoResponse::ByteSizeLong, - &VideoStreamInfoResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &VideoStreamInfoResponse::ByteSizeLong, + &VideoStreamInfoResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_._cached_size_), false, }, &VideoStreamInfoResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* VideoStreamInfoResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - VideoStreamInfoResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::VideoStreamInfoResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.VideoStreamInfo video_stream_info = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_.video_stream_info_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.VideoStreamInfo video_stream_info = 1; - {PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_.video_stream_info_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamInfo>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void VideoStreamInfoResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.VideoStreamInfoResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.video_stream_info_ != nullptr); - _impl_.video_stream_info_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* VideoStreamInfoResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const VideoStreamInfoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* VideoStreamInfoResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const VideoStreamInfoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.VideoStreamInfoResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* VideoStreamInfoResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> VideoStreamInfoResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamInfoResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.VideoStreamInfo video_stream_info = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.video_stream_info_, - this_._impl_.video_stream_info_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_.video_stream_info_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.VideoStreamInfo video_stream_info = 1; + {PROTOBUF_FIELD_OFFSET(VideoStreamInfoResponse, _impl_.video_stream_info_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamInfo>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.VideoStreamInfoResponse) - return target; -} +PROTOBUF_NOINLINE void VideoStreamInfoResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.VideoStreamInfoResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.video_stream_info_ != nullptr); + _impl_.video_stream_info_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* VideoStreamInfoResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const VideoStreamInfoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* VideoStreamInfoResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const VideoStreamInfoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.VideoStreamInfoResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.VideoStreamInfo video_stream_info = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.video_stream_info_, this_._impl_.video_stream_info_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.VideoStreamInfoResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t VideoStreamInfoResponse::ByteSizeLong(const MessageLite& base) -{ - const VideoStreamInfoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t VideoStreamInfoResponse::ByteSizeLong() const -{ - const VideoStreamInfoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.VideoStreamInfoResponse) - ::size_t total_size = 0; + ::size_t VideoStreamInfoResponse::ByteSizeLong(const MessageLite& base) { + const VideoStreamInfoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t VideoStreamInfoResponse::ByteSizeLong() const { + const VideoStreamInfoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.VideoStreamInfoResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.VideoStreamInfo video_stream_info = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.video_stream_info_); + { + // .mavsdk.rpc.camera.VideoStreamInfo video_stream_info = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.video_stream_info_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void VideoStreamInfoResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.VideoStreamInfoResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.video_stream_info_ != nullptr); - if (_this->_impl_.video_stream_info_ == nullptr) { - _this->_impl_.video_stream_info_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::VideoStreamInfo>( - arena, *from._impl_.video_stream_info_); - } else { - _this->_impl_.video_stream_info_->MergeFrom(*from._impl_.video_stream_info_); - } +void VideoStreamInfoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.VideoStreamInfoResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.video_stream_info_ != nullptr); + if (_this->_impl_.video_stream_info_ == nullptr) { + _this->_impl_.video_stream_info_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::VideoStreamInfo>(arena, *from._impl_.video_stream_info_); + } else { + _this->_impl_.video_stream_info_->MergeFrom(*from._impl_.video_stream_info_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void VideoStreamInfoResponse::CopyFrom(const VideoStreamInfoResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.VideoStreamInfoResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void VideoStreamInfoResponse::CopyFrom(const VideoStreamInfoResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.VideoStreamInfoResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void VideoStreamInfoResponse::InternalSwap(VideoStreamInfoResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.video_stream_info_, other->_impl_.video_stream_info_); + +void VideoStreamInfoResponse::InternalSwap(VideoStreamInfoResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.video_stream_info_, other->_impl_.video_stream_info_); } -::google::protobuf::Metadata VideoStreamInfoResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata VideoStreamInfoResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeCaptureInfoRequest::_Internal { -public: + public: }; SubscribeCaptureInfoRequest::SubscribeCaptureInfoRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeCaptureInfoRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeCaptureInfoRequest) } SubscribeCaptureInfoRequest::SubscribeCaptureInfoRequest( - ::google::protobuf::Arena* arena, const SubscribeCaptureInfoRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeCaptureInfoRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeCaptureInfoRequest) -} - -inline void* -SubscribeCaptureInfoRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeCaptureInfoRequest(arena); -} -constexpr auto SubscribeCaptureInfoRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeCaptureInfoRequest), alignof(SubscribeCaptureInfoRequest)); + ::google::protobuf::Arena* arena, + const SubscribeCaptureInfoRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeCaptureInfoRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeCaptureInfoRequest) +} + +inline void* SubscribeCaptureInfoRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeCaptureInfoRequest(arena); +} +constexpr auto SubscribeCaptureInfoRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeCaptureInfoRequest), + alignof(SubscribeCaptureInfoRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9413,150 +8439,138 @@ const ::google::protobuf::internal::ClassDataFull SubscribeCaptureInfoRequest::_ ::google::protobuf::internal::ClassData{ &_SubscribeCaptureInfoRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeCaptureInfoRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeCaptureInfoRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeCaptureInfoRequest::ByteSizeLong, - &SubscribeCaptureInfoRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeCaptureInfoRequest::ByteSizeLong, + &SubscribeCaptureInfoRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeCaptureInfoRequest, _impl_._cached_size_), false, }, &SubscribeCaptureInfoRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubscribeCaptureInfoRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeCaptureInfoRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SubscribeCaptureInfoRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeCaptureInfoRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeCaptureInfoRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeCaptureInfoRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SubscribeCaptureInfoRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeCaptureInfoRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CaptureInfoResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_._has_bits_); }; CaptureInfoResponse::CaptureInfoResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CaptureInfoResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CaptureInfoResponse) } inline PROTOBUF_NDEBUG_INLINE CaptureInfoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::CaptureInfoResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::CaptureInfoResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} CaptureInfoResponse::CaptureInfoResponse( - ::google::protobuf::Arena* arena, const CaptureInfoResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CaptureInfoResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.capture_info_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CaptureInfo>( - arena, *from._impl_.capture_info_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CaptureInfoResponse) + ::google::protobuf::Arena* arena, + const CaptureInfoResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CaptureInfoResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.capture_info_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CaptureInfo>( + arena, *from._impl_.capture_info_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CaptureInfoResponse) } inline PROTOBUF_NDEBUG_INLINE CaptureInfoResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void CaptureInfoResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.capture_info_ = {}; -} -CaptureInfoResponse::~CaptureInfoResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CaptureInfoResponse) - SharedDtor(*this); -} -inline void CaptureInfoResponse::SharedDtor(MessageLite& self) -{ - CaptureInfoResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.capture_info_; - this_._impl_.~Impl_(); -} - -inline void* -CaptureInfoResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CaptureInfoResponse(arena); -} -constexpr auto CaptureInfoResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CaptureInfoResponse), alignof(CaptureInfoResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void CaptureInfoResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.capture_info_ = {}; +} +CaptureInfoResponse::~CaptureInfoResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CaptureInfoResponse) + SharedDtor(*this); +} +inline void CaptureInfoResponse::SharedDtor(MessageLite& self) { + CaptureInfoResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.capture_info_; + this_._impl_.~Impl_(); +} + +inline void* CaptureInfoResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CaptureInfoResponse(arena); +} +constexpr auto CaptureInfoResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CaptureInfoResponse), + alignof(CaptureInfoResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9564,242 +8578,213 @@ const ::google::protobuf::internal::ClassDataFull CaptureInfoResponse::_class_da ::google::protobuf::internal::ClassData{ &_CaptureInfoResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CaptureInfoResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CaptureInfoResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CaptureInfoResponse::ByteSizeLong, - &CaptureInfoResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CaptureInfoResponse::ByteSizeLong, + &CaptureInfoResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_._cached_size_), false, }, &CaptureInfoResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CaptureInfoResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - CaptureInfoResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfoResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CaptureInfo capture_info = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_.capture_info_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CaptureInfo capture_info = 1; - {PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_.capture_info_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfo>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CaptureInfoResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CaptureInfoResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.capture_info_ != nullptr); - _impl_.capture_info_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CaptureInfoResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CaptureInfoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CaptureInfoResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CaptureInfoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CaptureInfoResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CaptureInfoResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CaptureInfoResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfoResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CaptureInfo capture_info = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.capture_info_, - this_._impl_.capture_info_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_.capture_info_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CaptureInfo capture_info = 1; + {PROTOBUF_FIELD_OFFSET(CaptureInfoResponse, _impl_.capture_info_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfo>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CaptureInfoResponse) - return target; -} +PROTOBUF_NOINLINE void CaptureInfoResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CaptureInfoResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.capture_info_ != nullptr); + _impl_.capture_info_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CaptureInfoResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CaptureInfoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CaptureInfoResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CaptureInfoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CaptureInfoResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CaptureInfo capture_info = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.capture_info_, this_._impl_.capture_info_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CaptureInfoResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CaptureInfoResponse::ByteSizeLong(const MessageLite& base) -{ - const CaptureInfoResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CaptureInfoResponse::ByteSizeLong() const -{ - const CaptureInfoResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CaptureInfoResponse) - ::size_t total_size = 0; + ::size_t CaptureInfoResponse::ByteSizeLong(const MessageLite& base) { + const CaptureInfoResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CaptureInfoResponse::ByteSizeLong() const { + const CaptureInfoResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CaptureInfoResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CaptureInfo capture_info = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.capture_info_); + { + // .mavsdk.rpc.camera.CaptureInfo capture_info = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.capture_info_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void CaptureInfoResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CaptureInfoResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.capture_info_ != nullptr); - if (_this->_impl_.capture_info_ == nullptr) { - _this->_impl_.capture_info_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CaptureInfo>( - arena, *from._impl_.capture_info_); - } else { - _this->_impl_.capture_info_->MergeFrom(*from._impl_.capture_info_); - } +void CaptureInfoResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CaptureInfoResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.capture_info_ != nullptr); + if (_this->_impl_.capture_info_ == nullptr) { + _this->_impl_.capture_info_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CaptureInfo>(arena, *from._impl_.capture_info_); + } else { + _this->_impl_.capture_info_->MergeFrom(*from._impl_.capture_info_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void CaptureInfoResponse::CopyFrom(const CaptureInfoResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CaptureInfoResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void CaptureInfoResponse::CopyFrom(const CaptureInfoResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CaptureInfoResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void CaptureInfoResponse::InternalSwap(CaptureInfoResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.capture_info_, other->_impl_.capture_info_); + +void CaptureInfoResponse::InternalSwap(CaptureInfoResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.capture_info_, other->_impl_.capture_info_); } -::google::protobuf::Metadata CaptureInfoResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata CaptureInfoResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeStatusRequest::_Internal { -public: + public: }; SubscribeStatusRequest::SubscribeStatusRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeStatusRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeStatusRequest) } SubscribeStatusRequest::SubscribeStatusRequest( - ::google::protobuf::Arena* arena, const SubscribeStatusRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeStatusRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeStatusRequest) -} - -inline void* -SubscribeStatusRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeStatusRequest(arena); -} -constexpr auto SubscribeStatusRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeStatusRequest), alignof(SubscribeStatusRequest)); + ::google::protobuf::Arena* arena, + const SubscribeStatusRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeStatusRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeStatusRequest) +} + +inline void* SubscribeStatusRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeStatusRequest(arena); +} +constexpr auto SubscribeStatusRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeStatusRequest), + alignof(SubscribeStatusRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9807,148 +8792,138 @@ const ::google::protobuf::internal::ClassDataFull SubscribeStatusRequest::_class ::google::protobuf::internal::ClassData{ &_SubscribeStatusRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeStatusRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeStatusRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &SubscribeStatusRequest::ByteSizeLong, - &SubscribeStatusRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeStatusRequest::ByteSizeLong, + &SubscribeStatusRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeStatusRequest, _impl_._cached_size_), false, }, &SubscribeStatusRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubscribeStatusRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeStatusRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SubscribeStatusRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeStatusRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeStatusRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeStatusRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SubscribeStatusRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeStatusRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class StatusResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_._has_bits_); }; StatusResponse::StatusResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StatusResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.StatusResponse) } inline PROTOBUF_NDEBUG_INLINE StatusResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::StatusResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +StatusResponse::StatusResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::StatusResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -StatusResponse::StatusResponse(::google::protobuf::Arena* arena, const StatusResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - StatusResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_status_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Status>( - arena, *from._impl_.camera_status_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StatusResponse) + const StatusResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + StatusResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_status_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Status>( + arena, *from._impl_.camera_status_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.StatusResponse) } inline PROTOBUF_NDEBUG_INLINE StatusResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void StatusResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_status_ = {}; -} -StatusResponse::~StatusResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StatusResponse) - SharedDtor(*this); -} -inline void StatusResponse::SharedDtor(MessageLite& self) -{ - StatusResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_status_; - this_._impl_.~Impl_(); -} - -inline void* StatusResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) StatusResponse(arena); -} -constexpr auto StatusResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(StatusResponse), alignof(StatusResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void StatusResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_status_ = {}; +} +StatusResponse::~StatusResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.StatusResponse) + SharedDtor(*this); +} +inline void StatusResponse::SharedDtor(MessageLite& self) { + StatusResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_status_; + this_._impl_.~Impl_(); +} + +inline void* StatusResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) StatusResponse(arena); +} +constexpr auto StatusResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StatusResponse), + alignof(StatusResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -9956,242 +8931,213 @@ const ::google::protobuf::internal::ClassDataFull StatusResponse::_class_data_ = ::google::protobuf::internal::ClassData{ &_StatusResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &StatusResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &StatusResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &StatusResponse::ByteSizeLong, - &StatusResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &StatusResponse::ByteSizeLong, + &StatusResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_._cached_size_), false, }, &StatusResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StatusResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - StatusResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StatusResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.Status camera_status = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_.camera_status_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.Status camera_status = 1; - {PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_.camera_status_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Status>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void StatusResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StatusResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_status_ != nullptr); - _impl_.camera_status_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* StatusResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const StatusResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* StatusResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const StatusResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StatusResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* StatusResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> StatusResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::StatusResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.Status camera_status = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_status_, - this_._impl_.camera_status_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_.camera_status_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.Status camera_status = 1; + {PROTOBUF_FIELD_OFFSET(StatusResponse, _impl_.camera_status_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Status>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StatusResponse) - return target; -} +PROTOBUF_NOINLINE void StatusResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.StatusResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_status_ != nullptr); + _impl_.camera_status_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* StatusResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const StatusResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* StatusResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const StatusResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.StatusResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.Status camera_status = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_status_, this_._impl_.camera_status_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.StatusResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t StatusResponse::ByteSizeLong(const MessageLite& base) -{ - const StatusResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t StatusResponse::ByteSizeLong() const -{ - const StatusResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StatusResponse) - ::size_t total_size = 0; + ::size_t StatusResponse::ByteSizeLong(const MessageLite& base) { + const StatusResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t StatusResponse::ByteSizeLong() const { + const StatusResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.StatusResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.Status camera_status = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_status_); + { + // .mavsdk.rpc.camera.Status camera_status = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_status_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void StatusResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StatusResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_status_ != nullptr); - if (_this->_impl_.camera_status_ == nullptr) { - _this->_impl_.camera_status_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Status>( - arena, *from._impl_.camera_status_); - } else { - _this->_impl_.camera_status_->MergeFrom(*from._impl_.camera_status_); - } +void StatusResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.StatusResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_status_ != nullptr); + if (_this->_impl_.camera_status_ == nullptr) { + _this->_impl_.camera_status_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Status>(arena, *from._impl_.camera_status_); + } else { + _this->_impl_.camera_status_->MergeFrom(*from._impl_.camera_status_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void StatusResponse::CopyFrom(const StatusResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StatusResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void StatusResponse::CopyFrom(const StatusResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.StatusResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void StatusResponse::InternalSwap(StatusResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_status_, other->_impl_.camera_status_); + +void StatusResponse::InternalSwap(StatusResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_status_, other->_impl_.camera_status_); } -::google::protobuf::Metadata StatusResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata StatusResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribeCurrentSettingsRequest::_Internal { -public: + public: }; SubscribeCurrentSettingsRequest::SubscribeCurrentSettingsRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeCurrentSettingsRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribeCurrentSettingsRequest) } SubscribeCurrentSettingsRequest::SubscribeCurrentSettingsRequest( - ::google::protobuf::Arena* arena, const SubscribeCurrentSettingsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribeCurrentSettingsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeCurrentSettingsRequest) -} - -inline void* SubscribeCurrentSettingsRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribeCurrentSettingsRequest(arena); -} -constexpr auto SubscribeCurrentSettingsRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribeCurrentSettingsRequest), alignof(SubscribeCurrentSettingsRequest)); + ::google::protobuf::Arena* arena, + const SubscribeCurrentSettingsRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribeCurrentSettingsRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribeCurrentSettingsRequest) +} + +inline void* SubscribeCurrentSettingsRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribeCurrentSettingsRequest(arena); +} +constexpr auto SubscribeCurrentSettingsRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribeCurrentSettingsRequest), + alignof(SubscribeCurrentSettingsRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10199,153 +9145,141 @@ const ::google::protobuf::internal::ClassDataFull SubscribeCurrentSettingsReques ::google::protobuf::internal::ClassData{ &_SubscribeCurrentSettingsRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SubscribeCurrentSettingsRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SubscribeCurrentSettingsRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribeCurrentSettingsRequest>(), - &SubscribeCurrentSettingsRequest::ByteSizeLong, - &SubscribeCurrentSettingsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribeCurrentSettingsRequest::ByteSizeLong, + &SubscribeCurrentSettingsRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SubscribeCurrentSettingsRequest, _impl_._cached_size_), false, }, &SubscribeCurrentSettingsRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubscribeCurrentSettingsRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribeCurrentSettingsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SubscribeCurrentSettingsRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribeCurrentSettingsRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribeCurrentSettingsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribeCurrentSettingsRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SubscribeCurrentSettingsRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribeCurrentSettingsRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CurrentSettingsResponse::_Internal { -public: + public: }; CurrentSettingsResponse::CurrentSettingsResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CurrentSettingsResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CurrentSettingsResponse) } inline PROTOBUF_NDEBUG_INLINE CurrentSettingsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::CurrentSettingsResponse& from_msg) : - current_settings_{visibility, arena, from.current_settings_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::CurrentSettingsResponse& from_msg) + : current_settings_{visibility, arena, from.current_settings_}, + _cached_size_{0} {} CurrentSettingsResponse::CurrentSettingsResponse( - ::google::protobuf::Arena* arena, const CurrentSettingsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CurrentSettingsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CurrentSettingsResponse) + ::google::protobuf::Arena* arena, + const CurrentSettingsResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CurrentSettingsResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CurrentSettingsResponse) } inline PROTOBUF_NDEBUG_INLINE CurrentSettingsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - current_settings_{visibility, arena}, - _cached_size_{0} -{} - -inline void CurrentSettingsResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); -} -CurrentSettingsResponse::~CurrentSettingsResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CurrentSettingsResponse) - SharedDtor(*this); -} -inline void CurrentSettingsResponse::SharedDtor(MessageLite& self) -{ - CurrentSettingsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -CurrentSettingsResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CurrentSettingsResponse(arena); -} -constexpr auto CurrentSettingsResponse::InternalNewImpl_() -{ - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(CurrentSettingsResponse, _impl_.current_settings_) + - decltype(CurrentSettingsResponse::_impl_.current_settings_)::InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(CurrentSettingsResponse), alignof(CurrentSettingsResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator( - &CurrentSettingsResponse::PlacementNew_, - sizeof(CurrentSettingsResponse), - alignof(CurrentSettingsResponse)); - } + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : current_settings_{visibility, arena}, + _cached_size_{0} {} + +inline void CurrentSettingsResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +CurrentSettingsResponse::~CurrentSettingsResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CurrentSettingsResponse) + SharedDtor(*this); +} +inline void CurrentSettingsResponse::SharedDtor(MessageLite& self) { + CurrentSettingsResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* CurrentSettingsResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CurrentSettingsResponse(arena); +} +constexpr auto CurrentSettingsResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(CurrentSettingsResponse, _impl_.current_settings_) + + decltype(CurrentSettingsResponse::_impl_.current_settings_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(CurrentSettingsResponse), alignof(CurrentSettingsResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&CurrentSettingsResponse::PlacementNew_, + sizeof(CurrentSettingsResponse), + alignof(CurrentSettingsResponse)); + } } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10353,385 +9287,344 @@ const ::google::protobuf::internal::ClassDataFull CurrentSettingsResponse::_clas ::google::protobuf::internal::ClassData{ &_CurrentSettingsResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CurrentSettingsResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CurrentSettingsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CurrentSettingsResponse::ByteSizeLong, - &CurrentSettingsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CurrentSettingsResponse::ByteSizeLong, + &CurrentSettingsResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CurrentSettingsResponse, _impl_._cached_size_), false, }, &CurrentSettingsResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CurrentSettingsResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - CurrentSettingsResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::CurrentSettingsResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // repeated .mavsdk.rpc.camera.Setting current_settings = 1; - {::_pbi::TcParser::FastMtR1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(CurrentSettingsResponse, _impl_.current_settings_)}}, - }}, - {{65535, 65535}}, - {{ - // repeated .mavsdk.rpc.camera.Setting current_settings = 1; - {PROTOBUF_FIELD_OFFSET(CurrentSettingsResponse, _impl_.current_settings_), - 0, - 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void CurrentSettingsResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CurrentSettingsResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.current_settings_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CurrentSettingsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CurrentSettingsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CurrentSettingsResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CurrentSettingsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CurrentSettingsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CurrentSettingsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CurrentSettingsResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CurrentSettingsResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // repeated .mavsdk.rpc.camera.Setting current_settings = 1; - for (unsigned i = 0, n = static_cast(this_._internal_current_settings_size()); i < n; - i++) { - const auto& repfield = this_._internal_current_settings().Get(i); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, repfield, repfield.GetCachedSize(), target, stream); - } + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(CurrentSettingsResponse, _impl_.current_settings_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .mavsdk.rpc.camera.Setting current_settings = 1; + {PROTOBUF_FIELD_OFFSET(CurrentSettingsResponse, _impl_.current_settings_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CurrentSettingsResponse) - return target; -} +PROTOBUF_NOINLINE void CurrentSettingsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CurrentSettingsResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.current_settings_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CurrentSettingsResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CurrentSettingsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CurrentSettingsResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CurrentSettingsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CurrentSettingsResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .mavsdk.rpc.camera.Setting current_settings = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_current_settings_size()); + i < n; i++) { + const auto& repfield = this_._internal_current_settings().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CurrentSettingsResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CurrentSettingsResponse::ByteSizeLong(const MessageLite& base) -{ - const CurrentSettingsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CurrentSettingsResponse::ByteSizeLong() const -{ - const CurrentSettingsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CurrentSettingsResponse) - ::size_t total_size = 0; + ::size_t CurrentSettingsResponse::ByteSizeLong(const MessageLite& base) { + const CurrentSettingsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CurrentSettingsResponse::ByteSizeLong() const { + const CurrentSettingsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CurrentSettingsResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .mavsdk.rpc.camera.Setting current_settings = 1; - { - total_size += 1UL * this_._internal_current_settings_size(); - for (const auto& msg : this_._internal_current_settings()) { + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .mavsdk.rpc.camera.Setting current_settings = 1; + { + total_size += 1UL * this_._internal_current_settings_size(); + for (const auto& msg : this_._internal_current_settings()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void CurrentSettingsResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CurrentSettingsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void CurrentSettingsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CurrentSettingsResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - _this->_internal_mutable_current_settings()->MergeFrom(from._internal_current_settings()); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + _this->_internal_mutable_current_settings()->MergeFrom( + from._internal_current_settings()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void CurrentSettingsResponse::CopyFrom(const CurrentSettingsResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CurrentSettingsResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void CurrentSettingsResponse::CopyFrom(const CurrentSettingsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CurrentSettingsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void CurrentSettingsResponse::InternalSwap(CurrentSettingsResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.current_settings_.InternalSwap(&other->_impl_.current_settings_); + +void CurrentSettingsResponse::InternalSwap(CurrentSettingsResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.current_settings_.InternalSwap(&other->_impl_.current_settings_); } -::google::protobuf::Metadata CurrentSettingsResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata CurrentSettingsResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SubscribePossibleSettingOptionsRequest::_Internal { -public: + public: }; -SubscribePossibleSettingOptionsRequest::SubscribePossibleSettingOptionsRequest( - ::google::protobuf::Arena* arena) +SubscribePossibleSettingOptionsRequest::SubscribePossibleSettingOptionsRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribePossibleSettingOptionsRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SubscribePossibleSettingOptionsRequest) } SubscribePossibleSettingOptionsRequest::SubscribePossibleSettingOptionsRequest( - ::google::protobuf::Arena* arena, const SubscribePossibleSettingOptionsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SubscribePossibleSettingOptionsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribePossibleSettingOptionsRequest) -} - -inline void* SubscribePossibleSettingOptionsRequest::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SubscribePossibleSettingOptionsRequest(arena); -} -constexpr auto SubscribePossibleSettingOptionsRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SubscribePossibleSettingOptionsRequest), - alignof(SubscribePossibleSettingOptionsRequest)); + ::google::protobuf::Arena* arena, + const SubscribePossibleSettingOptionsRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SubscribePossibleSettingOptionsRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SubscribePossibleSettingOptionsRequest) +} + +inline void* SubscribePossibleSettingOptionsRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SubscribePossibleSettingOptionsRequest(arena); +} +constexpr auto SubscribePossibleSettingOptionsRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubscribePossibleSettingOptionsRequest), + alignof(SubscribePossibleSettingOptionsRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull - SubscribePossibleSettingOptionsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubscribePossibleSettingOptionsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubscribePossibleSettingOptionsRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl< - SubscribePossibleSettingOptionsRequest>(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SubscribePossibleSettingOptionsRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl< - SubscribePossibleSettingOptionsRequest>(), - &SubscribePossibleSettingOptionsRequest::ByteSizeLong, +const ::google::protobuf::internal::ClassDataFull SubscribePossibleSettingOptionsRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SubscribePossibleSettingOptionsRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SubscribePossibleSettingOptionsRequest::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SubscribePossibleSettingOptionsRequest::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SubscribePossibleSettingOptionsRequest::ByteSizeLong, &SubscribePossibleSettingOptionsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubscribePossibleSettingOptionsRequest, _impl_._cached_size_), - false, - }, - &SubscribePossibleSettingOptionsRequest::kDescriptorMethods, - &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker - }; -const ::google::protobuf::internal::ClassData* -SubscribePossibleSettingOptionsRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - SubscribePossibleSettingOptionsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SubscribePossibleSettingOptionsRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata SubscribePossibleSettingOptionsRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SubscribePossibleSettingOptionsRequest, _impl_._cached_size_), + false, + }, + &SubscribePossibleSettingOptionsRequest::kDescriptorMethods, + &descriptor_table_camera_2fcamera_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SubscribePossibleSettingOptionsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SubscribePossibleSettingOptionsRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SubscribePossibleSettingOptionsRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata SubscribePossibleSettingOptionsRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class PossibleSettingOptionsResponse::_Internal { -public: + public: }; PossibleSettingOptionsResponse::PossibleSettingOptionsResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.PossibleSettingOptionsResponse) } inline PROTOBUF_NDEBUG_INLINE PossibleSettingOptionsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::PossibleSettingOptionsResponse& from_msg) : - setting_options_{visibility, arena, from.setting_options_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::PossibleSettingOptionsResponse& from_msg) + : setting_options_{visibility, arena, from.setting_options_}, + _cached_size_{0} {} PossibleSettingOptionsResponse::PossibleSettingOptionsResponse( - ::google::protobuf::Arena* arena, const PossibleSettingOptionsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - PossibleSettingOptionsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + ::google::protobuf::Arena* arena, + const PossibleSettingOptionsResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + PossibleSettingOptionsResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.PossibleSettingOptionsResponse) } inline PROTOBUF_NDEBUG_INLINE PossibleSettingOptionsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - setting_options_{visibility, arena}, - _cached_size_{0} -{} - -inline void PossibleSettingOptionsResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); -} -PossibleSettingOptionsResponse::~PossibleSettingOptionsResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.PossibleSettingOptionsResponse) - SharedDtor(*this); -} -inline void PossibleSettingOptionsResponse::SharedDtor(MessageLite& self) -{ - PossibleSettingOptionsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* PossibleSettingOptionsResponse::PlacementNew_( - const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) PossibleSettingOptionsResponse(arena); -} -constexpr auto PossibleSettingOptionsResponse::InternalNewImpl_() -{ - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(PossibleSettingOptionsResponse, _impl_.setting_options_) + - decltype(PossibleSettingOptionsResponse::_impl_.setting_options_):: - InternalGetArenaOffset(::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(PossibleSettingOptionsResponse), - alignof(PossibleSettingOptionsResponse), - *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator( - &PossibleSettingOptionsResponse::PlacementNew_, - sizeof(PossibleSettingOptionsResponse), - alignof(PossibleSettingOptionsResponse)); - } + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : setting_options_{visibility, arena}, + _cached_size_{0} {} + +inline void PossibleSettingOptionsResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +PossibleSettingOptionsResponse::~PossibleSettingOptionsResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + SharedDtor(*this); +} +inline void PossibleSettingOptionsResponse::SharedDtor(MessageLite& self) { + PossibleSettingOptionsResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* PossibleSettingOptionsResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) PossibleSettingOptionsResponse(arena); +} +constexpr auto PossibleSettingOptionsResponse::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(PossibleSettingOptionsResponse, _impl_.setting_options_) + + decltype(PossibleSettingOptionsResponse::_impl_.setting_options_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(PossibleSettingOptionsResponse), alignof(PossibleSettingOptionsResponse), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&PossibleSettingOptionsResponse::PlacementNew_, + sizeof(PossibleSettingOptionsResponse), + alignof(PossibleSettingOptionsResponse)); + } } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -10739,273 +9632,238 @@ const ::google::protobuf::internal::ClassDataFull PossibleSettingOptionsResponse ::google::protobuf::internal::ClassData{ &_PossibleSettingOptionsResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &PossibleSettingOptionsResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &PossibleSettingOptionsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &PossibleSettingOptionsResponse::ByteSizeLong, - &PossibleSettingOptionsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &PossibleSettingOptionsResponse::ByteSizeLong, + &PossibleSettingOptionsResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(PossibleSettingOptionsResponse, _impl_._cached_size_), false, }, &PossibleSettingOptionsResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* PossibleSettingOptionsResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - PossibleSettingOptionsResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::PossibleSettingOptionsResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // repeated .mavsdk.rpc.camera.SettingOptions setting_options = 1; - {::_pbi::TcParser::FastMtR1, - {10, - 63, - 0, - PROTOBUF_FIELD_OFFSET(PossibleSettingOptionsResponse, _impl_.setting_options_)}}, - }}, - {{65535, 65535}}, - {{ - // repeated .mavsdk.rpc.camera.SettingOptions setting_options = 1; - {PROTOBUF_FIELD_OFFSET(PossibleSettingOptionsResponse, _impl_.setting_options_), - 0, - 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SettingOptions>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void PossibleSettingOptionsResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.setting_options_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* PossibleSettingOptionsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const PossibleSettingOptionsResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* PossibleSettingOptionsResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const PossibleSettingOptionsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* PossibleSettingOptionsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> PossibleSettingOptionsResponse::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::PossibleSettingOptionsResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // repeated .mavsdk.rpc.camera.SettingOptions setting_options = 1; - for (unsigned i = 0, n = static_cast(this_._internal_setting_options_size()); i < n; - i++) { - const auto& repfield = this_._internal_setting_options().Get(i); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, repfield, repfield.GetCachedSize(), target, stream); - } + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(PossibleSettingOptionsResponse, _impl_.setting_options_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .mavsdk.rpc.camera.SettingOptions setting_options = 1; + {PROTOBUF_FIELD_OFFSET(PossibleSettingOptionsResponse, _impl_.setting_options_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SettingOptions>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.PossibleSettingOptionsResponse) - return target; -} +PROTOBUF_NOINLINE void PossibleSettingOptionsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.setting_options_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* PossibleSettingOptionsResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const PossibleSettingOptionsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* PossibleSettingOptionsResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const PossibleSettingOptionsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .mavsdk.rpc.camera.SettingOptions setting_options = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_setting_options_size()); + i < n; i++) { + const auto& repfield = this_._internal_setting_options().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t PossibleSettingOptionsResponse::ByteSizeLong(const MessageLite& base) -{ - const PossibleSettingOptionsResponse& this_ = - static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t PossibleSettingOptionsResponse::ByteSizeLong() const -{ - const PossibleSettingOptionsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) - ::size_t total_size = 0; + ::size_t PossibleSettingOptionsResponse::ByteSizeLong(const MessageLite& base) { + const PossibleSettingOptionsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t PossibleSettingOptionsResponse::ByteSizeLong() const { + const PossibleSettingOptionsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .mavsdk.rpc.camera.SettingOptions setting_options = 1; - { - total_size += 1UL * this_._internal_setting_options_size(); - for (const auto& msg : this_._internal_setting_options()) { + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .mavsdk.rpc.camera.SettingOptions setting_options = 1; + { + total_size += 1UL * this_._internal_setting_options_size(); + for (const auto& msg : this_._internal_setting_options()) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void PossibleSettingOptionsResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void PossibleSettingOptionsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - _this->_internal_mutable_setting_options()->MergeFrom(from._internal_setting_options()); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + _this->_internal_mutable_setting_options()->MergeFrom( + from._internal_setting_options()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void PossibleSettingOptionsResponse::CopyFrom(const PossibleSettingOptionsResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void PossibleSettingOptionsResponse::CopyFrom(const PossibleSettingOptionsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.PossibleSettingOptionsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void PossibleSettingOptionsResponse::InternalSwap( - PossibleSettingOptionsResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.setting_options_.InternalSwap(&other->_impl_.setting_options_); + +void PossibleSettingOptionsResponse::InternalSwap(PossibleSettingOptionsResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.setting_options_.InternalSwap(&other->_impl_.setting_options_); } -::google::protobuf::Metadata PossibleSettingOptionsResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata PossibleSettingOptionsResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetSettingRequest::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_._has_bits_); }; SetSettingRequest::SetSettingRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetSettingRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetSettingRequest) } inline PROTOBUF_NDEBUG_INLINE SetSettingRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::SetSettingRequest& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::SetSettingRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetSettingRequest::SetSettingRequest( - ::google::protobuf::Arena* arena, const SetSettingRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetSettingRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.setting_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( - arena, *from._impl_.setting_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SetSettingRequest) + ::google::protobuf::Arena* arena, + const SetSettingRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetSettingRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.setting_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( + arena, *from._impl_.setting_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SetSettingRequest) } inline PROTOBUF_NDEBUG_INLINE SetSettingRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetSettingRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.setting_ = {}; -} -SetSettingRequest::~SetSettingRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetSettingRequest) - SharedDtor(*this); -} -inline void SetSettingRequest::SharedDtor(MessageLite& self) -{ - SetSettingRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.setting_; - this_._impl_.~Impl_(); -} - -inline void* -SetSettingRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetSettingRequest(arena); -} -constexpr auto SetSettingRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetSettingRequest), alignof(SetSettingRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetSettingRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.setting_ = {}; +} +SetSettingRequest::~SetSettingRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetSettingRequest) + SharedDtor(*this); +} +inline void SetSettingRequest::SharedDtor(MessageLite& self) { + SetSettingRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.setting_; + this_._impl_.~Impl_(); +} + +inline void* SetSettingRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetSettingRequest(arena); +} +constexpr auto SetSettingRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetSettingRequest), + alignof(SetSettingRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -11013,281 +9871,249 @@ const ::google::protobuf::internal::ClassDataFull SetSettingRequest::_class_data ::google::protobuf::internal::ClassData{ &_SetSettingRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetSettingRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetSettingRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetSettingRequest::ByteSizeLong, - &SetSettingRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetSettingRequest::ByteSizeLong, + &SetSettingRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_._cached_size_), false, }, &SetSettingRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetSettingRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetSettingRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetSettingRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.Setting setting = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_.setting_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.Setting setting = 1; - {PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_.setting_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetSettingRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetSettingRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.setting_ != nullptr); - _impl_.setting_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetSettingRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetSettingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetSettingRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetSettingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetSettingRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetSettingRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetSettingRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetSettingRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.Setting setting = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.setting_, this_._impl_.setting_->GetCachedSize(), target, stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_.setting_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.Setting setting = 1; + {PROTOBUF_FIELD_OFFSET(SetSettingRequest, _impl_.setting_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetSettingRequest) - return target; -} +PROTOBUF_NOINLINE void SetSettingRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetSettingRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.setting_ != nullptr); + _impl_.setting_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetSettingRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetSettingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetSettingRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetSettingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetSettingRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.Setting setting = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.setting_, this_._impl_.setting_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetSettingRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetSettingRequest::ByteSizeLong(const MessageLite& base) -{ - const SetSettingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetSettingRequest::ByteSizeLong() const -{ - const SetSettingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetSettingRequest) - ::size_t total_size = 0; + ::size_t SetSettingRequest::ByteSizeLong(const MessageLite& base) { + const SetSettingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetSettingRequest::ByteSizeLong() const { + const SetSettingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetSettingRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.Setting setting = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.setting_); + { + // .mavsdk.rpc.camera.Setting setting = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.setting_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SetSettingRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetSettingRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.setting_ != nullptr); - if (_this->_impl_.setting_ == nullptr) { - _this->_impl_.setting_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( - arena, *from._impl_.setting_); - } else { - _this->_impl_.setting_->MergeFrom(*from._impl_.setting_); - } +void SetSettingRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetSettingRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.setting_ != nullptr); + if (_this->_impl_.setting_ == nullptr) { + _this->_impl_.setting_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>(arena, *from._impl_.setting_); + } else { + _this->_impl_.setting_->MergeFrom(*from._impl_.setting_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetSettingRequest::CopyFrom(const SetSettingRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetSettingRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetSettingRequest::CopyFrom(const SetSettingRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetSettingRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetSettingRequest::InternalSwap(SetSettingRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.setting_, other->_impl_.setting_); + +void SetSettingRequest::InternalSwap(SetSettingRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.setting_, other->_impl_.setting_); } -::google::protobuf::Metadata SetSettingRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetSettingRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SetSettingResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_._has_bits_); }; SetSettingResponse::SetSettingResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetSettingResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SetSettingResponse) } inline PROTOBUF_NDEBUG_INLINE SetSettingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::SetSettingResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::SetSettingResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SetSettingResponse::SetSettingResponse( - ::google::protobuf::Arena* arena, const SetSettingResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SetSettingResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SetSettingResponse) + ::google::protobuf::Arena* arena, + const SetSettingResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SetSettingResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SetSettingResponse) } inline PROTOBUF_NDEBUG_INLINE SetSettingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SetSettingResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -SetSettingResponse::~SetSettingResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetSettingResponse) - SharedDtor(*this); -} -inline void SetSettingResponse::SharedDtor(MessageLite& self) -{ - SetSettingResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -SetSettingResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SetSettingResponse(arena); -} -constexpr auto SetSettingResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetSettingResponse), alignof(SetSettingResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SetSettingResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +SetSettingResponse::~SetSettingResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SetSettingResponse) + SharedDtor(*this); +} +inline void SetSettingResponse::SharedDtor(MessageLite& self) { + SetSettingResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* SetSettingResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SetSettingResponse(arena); +} +constexpr auto SetSettingResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetSettingResponse), + alignof(SetSettingResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -11295,285 +10121,249 @@ const ::google::protobuf::internal::ClassDataFull SetSettingResponse::_class_dat ::google::protobuf::internal::ClassData{ &_SetSettingResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SetSettingResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SetSettingResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SetSettingResponse::ByteSizeLong, - &SetSettingResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SetSettingResponse::ByteSizeLong, + &SetSettingResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_._cached_size_), false, }, &SetSettingResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetSettingResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SetSettingResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetSettingResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SetSettingResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetSettingResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SetSettingResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SetSettingResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SetSettingResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SetSettingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetSettingResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SetSettingResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetSettingResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SetSettingResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(SetSettingResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetSettingResponse) - return target; -} +PROTOBUF_NOINLINE void SetSettingResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SetSettingResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SetSettingResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SetSettingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SetSettingResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SetSettingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SetSettingResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SetSettingResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SetSettingResponse::ByteSizeLong(const MessageLite& base) -{ - const SetSettingResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SetSettingResponse::ByteSizeLong() const -{ - const SetSettingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetSettingResponse) - ::size_t total_size = 0; + ::size_t SetSettingResponse::ByteSizeLong(const MessageLite& base) { + const SetSettingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SetSettingResponse::ByteSizeLong() const { + const SetSettingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SetSettingResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SetSettingResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetSettingResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void SetSettingResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SetSettingResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SetSettingResponse::CopyFrom(const SetSettingResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetSettingResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SetSettingResponse::CopyFrom(const SetSettingResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SetSettingResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SetSettingResponse::InternalSwap(SetSettingResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void SetSettingResponse::InternalSwap(SetSettingResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata SetSettingResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SetSettingResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetSettingRequest::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_._has_bits_); }; GetSettingRequest::GetSettingRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.GetSettingRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.GetSettingRequest) } inline PROTOBUF_NDEBUG_INLINE GetSettingRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::GetSettingRequest& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::GetSettingRequest& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} GetSettingRequest::GetSettingRequest( - ::google::protobuf::Arena* arena, const GetSettingRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetSettingRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.setting_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( - arena, *from._impl_.setting_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.GetSettingRequest) + ::google::protobuf::Arena* arena, + const GetSettingRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetSettingRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.setting_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( + arena, *from._impl_.setting_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.GetSettingRequest) } inline PROTOBUF_NDEBUG_INLINE GetSettingRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GetSettingRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.setting_ = {}; -} -GetSettingRequest::~GetSettingRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.GetSettingRequest) - SharedDtor(*this); -} -inline void GetSettingRequest::SharedDtor(MessageLite& self) -{ - GetSettingRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.setting_; - this_._impl_.~Impl_(); -} - -inline void* -GetSettingRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetSettingRequest(arena); -} -constexpr auto GetSettingRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetSettingRequest), alignof(GetSettingRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GetSettingRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.setting_ = {}; +} +GetSettingRequest::~GetSettingRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.GetSettingRequest) + SharedDtor(*this); +} +inline void GetSettingRequest::SharedDtor(MessageLite& self) { + GetSettingRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.setting_; + this_._impl_.~Impl_(); +} + +inline void* GetSettingRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetSettingRequest(arena); +} +constexpr auto GetSettingRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetSettingRequest), + alignof(GetSettingRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -11581,290 +10371,258 @@ const ::google::protobuf::internal::ClassDataFull GetSettingRequest::_class_data ::google::protobuf::internal::ClassData{ &_GetSettingRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetSettingRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetSettingRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GetSettingRequest::ByteSizeLong, - &GetSettingRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &GetSettingRequest::ByteSizeLong, + &GetSettingRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_._cached_size_), false, }, &GetSettingRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetSettingRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - GetSettingRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::GetSettingRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.Setting setting = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_.setting_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.Setting setting = 1; - {PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_.setting_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void GetSettingRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.GetSettingRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.setting_ != nullptr); - _impl_.setting_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GetSettingRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GetSettingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GetSettingRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GetSettingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.GetSettingRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetSettingRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetSettingRequest::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::GetSettingRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.Setting setting = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.setting_, this_._impl_.setting_->GetCachedSize(), target, stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_.setting_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.Setting setting = 1; + {PROTOBUF_FIELD_OFFSET(GetSettingRequest, _impl_.setting_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.GetSettingRequest) - return target; -} +PROTOBUF_NOINLINE void GetSettingRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.GetSettingRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.setting_ != nullptr); + _impl_.setting_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetSettingRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetSettingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetSettingRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetSettingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.GetSettingRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.Setting setting = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.setting_, this_._impl_.setting_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.GetSettingRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GetSettingRequest::ByteSizeLong(const MessageLite& base) -{ - const GetSettingRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GetSettingRequest::ByteSizeLong() const -{ - const GetSettingRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.GetSettingRequest) - ::size_t total_size = 0; + ::size_t GetSettingRequest::ByteSizeLong(const MessageLite& base) { + const GetSettingRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetSettingRequest::ByteSizeLong() const { + const GetSettingRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.GetSettingRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.Setting setting = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.setting_); + { + // .mavsdk.rpc.camera.Setting setting = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.setting_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void GetSettingRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.GetSettingRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.setting_ != nullptr); - if (_this->_impl_.setting_ == nullptr) { - _this->_impl_.setting_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( - arena, *from._impl_.setting_); - } else { - _this->_impl_.setting_->MergeFrom(*from._impl_.setting_); - } +void GetSettingRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.GetSettingRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.setting_ != nullptr); + if (_this->_impl_.setting_ == nullptr) { + _this->_impl_.setting_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>(arena, *from._impl_.setting_); + } else { + _this->_impl_.setting_->MergeFrom(*from._impl_.setting_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void GetSettingRequest::CopyFrom(const GetSettingRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.GetSettingRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void GetSettingRequest::CopyFrom(const GetSettingRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.GetSettingRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void GetSettingRequest::InternalSwap(GetSettingRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.setting_, other->_impl_.setting_); + +void GetSettingRequest::InternalSwap(GetSettingRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.setting_, other->_impl_.setting_); } -::google::protobuf::Metadata GetSettingRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata GetSettingRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class GetSettingResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_._has_bits_); }; GetSettingResponse::GetSettingResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.GetSettingResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.GetSettingResponse) } inline PROTOBUF_NDEBUG_INLINE GetSettingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::GetSettingResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::GetSettingResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} GetSettingResponse::GetSettingResponse( - ::google::protobuf::Arena* arena, const GetSettingResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - GetSettingResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - _impl_.setting_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( - arena, *from._impl_.setting_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.GetSettingResponse) + ::google::protobuf::Arena* arena, + const GetSettingResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + GetSettingResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + _impl_.setting_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( + arena, *from._impl_.setting_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.GetSettingResponse) } inline PROTOBUF_NDEBUG_INLINE GetSettingResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void GetSettingResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, camera_result_), - 0, - offsetof(Impl_, setting_) - offsetof(Impl_, camera_result_) + sizeof(Impl_::setting_)); -} -GetSettingResponse::~GetSettingResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.GetSettingResponse) - SharedDtor(*this); -} -inline void GetSettingResponse::SharedDtor(MessageLite& self) -{ - GetSettingResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - delete this_._impl_.setting_; - this_._impl_.~Impl_(); -} - -inline void* -GetSettingResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) GetSettingResponse(arena); -} -constexpr auto GetSettingResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetSettingResponse), alignof(GetSettingResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void GetSettingResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, camera_result_), + 0, + offsetof(Impl_, setting_) - + offsetof(Impl_, camera_result_) + + sizeof(Impl_::setting_)); +} +GetSettingResponse::~GetSettingResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.GetSettingResponse) + SharedDtor(*this); +} +inline void GetSettingResponse::SharedDtor(MessageLite& self) { + GetSettingResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + delete this_._impl_.setting_; + this_._impl_.~Impl_(); +} + +inline void* GetSettingResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) GetSettingResponse(arena); +} +constexpr auto GetSettingResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetSettingResponse), + alignof(GetSettingResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -11872,298 +10630,265 @@ const ::google::protobuf::internal::ClassDataFull GetSettingResponse::_class_dat ::google::protobuf::internal::ClassData{ &_GetSettingResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &GetSettingResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &GetSettingResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &GetSettingResponse::ByteSizeLong, - &GetSettingResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &GetSettingResponse::ByteSizeLong, + &GetSettingResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_._cached_size_), false, }, &GetSettingResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetSettingResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 2, 0, 2> - GetSettingResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::GetSettingResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.Setting setting = 2; - {::_pbi::TcParser::FastMtS1, - {18, 1, 1, PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.setting_)}}, - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.camera.Setting setting = 2; - {PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.setting_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void GetSettingResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.GetSettingResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.setting_ != nullptr); - _impl_.setting_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* GetSettingResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const GetSettingResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* GetSettingResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const GetSettingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.GetSettingResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* GetSettingResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> GetSettingResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::GetSettingResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .mavsdk.rpc.camera.Setting setting = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.setting_)}}, // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, // .mavsdk.rpc.camera.Setting setting = 2; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.setting_, this_._impl_.setting_->GetCachedSize(), target, stream); - } + {PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.setting_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Setting>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void GetSettingResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.GetSettingResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.GetSettingResponse) - return target; -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t GetSettingResponse::ByteSizeLong(const MessageLite& base) -{ - const GetSettingResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t GetSettingResponse::ByteSizeLong() const -{ - const GetSettingResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.GetSettingResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); - } - // .mavsdk.rpc.camera.Setting setting = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.setting_); + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.setting_ != nullptr); + _impl_.setting_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* GetSettingResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const GetSettingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* GetSettingResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const GetSettingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.GetSettingResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.camera.Setting setting = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.setting_, this_._impl_.setting_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.GetSettingResponse) + return target; } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void GetSettingResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.GetSettingResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t GetSettingResponse::ByteSizeLong(const MessageLite& base) { + const GetSettingResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t GetSettingResponse::ByteSizeLong() const { + const GetSettingResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.GetSettingResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.setting_ != nullptr); - if (_this->_impl_.setting_ == nullptr) { - _this->_impl_.setting_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>( - arena, *from._impl_.setting_); - } else { - _this->_impl_.setting_->MergeFrom(*from._impl_.setting_); + // .mavsdk.rpc.camera.Setting setting = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.setting_); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void GetSettingResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.GetSettingResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.setting_ != nullptr); + if (_this->_impl_.setting_ == nullptr) { + _this->_impl_.setting_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Setting>(arena, *from._impl_.setting_); + } else { + _this->_impl_.setting_->MergeFrom(*from._impl_.setting_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void GetSettingResponse::CopyFrom(const GetSettingResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.GetSettingResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void GetSettingResponse::CopyFrom(const GetSettingResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.GetSettingResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void GetSettingResponse::InternalSwap(GetSettingResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.setting_) + - sizeof(GetSettingResponse::_impl_.setting_) - - PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.camera_result_)>( - reinterpret_cast(&_impl_.camera_result_), - reinterpret_cast(&other->_impl_.camera_result_)); + +void GetSettingResponse::InternalSwap(GetSettingResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.setting_) + + sizeof(GetSettingResponse::_impl_.setting_) + - PROTOBUF_FIELD_OFFSET(GetSettingResponse, _impl_.camera_result_)>( + reinterpret_cast(&_impl_.camera_result_), + reinterpret_cast(&other->_impl_.camera_result_)); } -::google::protobuf::Metadata GetSettingResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata GetSettingResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FormatStorageRequest::_Internal { -public: + public: }; FormatStorageRequest::FormatStorageRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FormatStorageRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FormatStorageRequest) } FormatStorageRequest::FormatStorageRequest( - ::google::protobuf::Arena* arena, const FormatStorageRequest& from) : - FormatStorageRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const FormatStorageRequest& from) + : FormatStorageRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE FormatStorageRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FormatStorageRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.storage_id_ = {}; -} -FormatStorageRequest::~FormatStorageRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FormatStorageRequest) - SharedDtor(*this); -} -inline void FormatStorageRequest::SharedDtor(MessageLite& self) -{ - FormatStorageRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -FormatStorageRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FormatStorageRequest(arena); -} -constexpr auto FormatStorageRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FormatStorageRequest), alignof(FormatStorageRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FormatStorageRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.storage_id_ = {}; +} +FormatStorageRequest::~FormatStorageRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FormatStorageRequest) + SharedDtor(*this); +} +inline void FormatStorageRequest::SharedDtor(MessageLite& self) { + FormatStorageRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* FormatStorageRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FormatStorageRequest(arena); +} +constexpr auto FormatStorageRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FormatStorageRequest), + alignof(FormatStorageRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -12171,264 +10896,232 @@ const ::google::protobuf::internal::ClassDataFull FormatStorageRequest::_class_d ::google::protobuf::internal::ClassData{ &_FormatStorageRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FormatStorageRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FormatStorageRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FormatStorageRequest::ByteSizeLong, - &FormatStorageRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FormatStorageRequest::ByteSizeLong, + &FormatStorageRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FormatStorageRequest, _impl_._cached_size_), false, }, &FormatStorageRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FormatStorageRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - FormatStorageRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::FormatStorageRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // int32 storage_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(FormatStorageRequest, _impl_.storage_id_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(FormatStorageRequest, _impl_.storage_id_)}}, - }}, - {{65535, 65535}}, - {{ - // int32 storage_id = 1; - {PROTOBUF_FIELD_OFFSET(FormatStorageRequest, _impl_.storage_id_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void FormatStorageRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FormatStorageRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.storage_id_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FormatStorageRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FormatStorageRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FormatStorageRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FormatStorageRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FormatStorageRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FormatStorageRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> FormatStorageRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FormatStorageRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // int32 storage_id = 1; - if (this_._internal_storage_id() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( - stream, this_._internal_storage_id(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FormatStorageRequest, _impl_.storage_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(FormatStorageRequest, _impl_.storage_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 storage_id = 1; + {PROTOBUF_FIELD_OFFSET(FormatStorageRequest, _impl_.storage_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FormatStorageRequest) - return target; -} +PROTOBUF_NOINLINE void FormatStorageRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FormatStorageRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.storage_id_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FormatStorageRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FormatStorageRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FormatStorageRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FormatStorageRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FormatStorageRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 storage_id = 1; + if (this_._internal_storage_id() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_storage_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FormatStorageRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FormatStorageRequest::ByteSizeLong(const MessageLite& base) -{ - const FormatStorageRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FormatStorageRequest::ByteSizeLong() const -{ - const FormatStorageRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FormatStorageRequest) - ::size_t total_size = 0; + ::size_t FormatStorageRequest::ByteSizeLong(const MessageLite& base) { + const FormatStorageRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FormatStorageRequest::ByteSizeLong() const { + const FormatStorageRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FormatStorageRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // int32 storage_id = 1; - if (this_._internal_storage_id() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_storage_id()); + { + // int32 storage_id = 1; + if (this_._internal_storage_id() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_storage_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void FormatStorageRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FormatStorageRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void FormatStorageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FormatStorageRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_storage_id() != 0) { - _this->_impl_.storage_id_ = from._impl_.storage_id_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_storage_id() != 0) { + _this->_impl_.storage_id_ = from._impl_.storage_id_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FormatStorageRequest::CopyFrom(const FormatStorageRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FormatStorageRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FormatStorageRequest::CopyFrom(const FormatStorageRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FormatStorageRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FormatStorageRequest::InternalSwap(FormatStorageRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.storage_id_, other->_impl_.storage_id_); + +void FormatStorageRequest::InternalSwap(FormatStorageRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.storage_id_, other->_impl_.storage_id_); } -::google::protobuf::Metadata FormatStorageRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FormatStorageRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FormatStorageResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_._has_bits_); }; FormatStorageResponse::FormatStorageResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FormatStorageResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FormatStorageResponse) } inline PROTOBUF_NDEBUG_INLINE FormatStorageResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::FormatStorageResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::FormatStorageResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} FormatStorageResponse::FormatStorageResponse( - ::google::protobuf::Arena* arena, const FormatStorageResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FormatStorageResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FormatStorageResponse) + ::google::protobuf::Arena* arena, + const FormatStorageResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FormatStorageResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FormatStorageResponse) } inline PROTOBUF_NDEBUG_INLINE FormatStorageResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FormatStorageResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -FormatStorageResponse::~FormatStorageResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FormatStorageResponse) - SharedDtor(*this); -} -inline void FormatStorageResponse::SharedDtor(MessageLite& self) -{ - FormatStorageResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -FormatStorageResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FormatStorageResponse(arena); -} -constexpr auto FormatStorageResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FormatStorageResponse), alignof(FormatStorageResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FormatStorageResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +FormatStorageResponse::~FormatStorageResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FormatStorageResponse) + SharedDtor(*this); +} +inline void FormatStorageResponse::SharedDtor(MessageLite& self) { + FormatStorageResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* FormatStorageResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FormatStorageResponse(arena); +} +constexpr auto FormatStorageResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FormatStorageResponse), + alignof(FormatStorageResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -12436,286 +11129,249 @@ const ::google::protobuf::internal::ClassDataFull FormatStorageResponse::_class_ ::google::protobuf::internal::ClassData{ &_FormatStorageResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FormatStorageResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FormatStorageResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FormatStorageResponse::ByteSizeLong, - &FormatStorageResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FormatStorageResponse::ByteSizeLong, + &FormatStorageResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_._cached_size_), false, }, &FormatStorageResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FormatStorageResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - FormatStorageResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::FormatStorageResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void FormatStorageResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FormatStorageResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FormatStorageResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FormatStorageResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FormatStorageResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FormatStorageResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FormatStorageResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FormatStorageResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> FormatStorageResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FormatStorageResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(FormatStorageResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FormatStorageResponse) - return target; -} +PROTOBUF_NOINLINE void FormatStorageResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FormatStorageResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FormatStorageResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FormatStorageResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FormatStorageResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FormatStorageResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FormatStorageResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FormatStorageResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FormatStorageResponse::ByteSizeLong(const MessageLite& base) -{ - const FormatStorageResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FormatStorageResponse::ByteSizeLong() const -{ - const FormatStorageResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FormatStorageResponse) - ::size_t total_size = 0; + ::size_t FormatStorageResponse::ByteSizeLong(const MessageLite& base) { + const FormatStorageResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FormatStorageResponse::ByteSizeLong() const { + const FormatStorageResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FormatStorageResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void FormatStorageResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FormatStorageResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void FormatStorageResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FormatStorageResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FormatStorageResponse::CopyFrom(const FormatStorageResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FormatStorageResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FormatStorageResponse::CopyFrom(const FormatStorageResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FormatStorageResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FormatStorageResponse::InternalSwap(FormatStorageResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void FormatStorageResponse::InternalSwap(FormatStorageResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata FormatStorageResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FormatStorageResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SelectCameraResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_._has_bits_); }; SelectCameraResponse::SelectCameraResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SelectCameraResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SelectCameraResponse) } inline PROTOBUF_NDEBUG_INLINE SelectCameraResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::SelectCameraResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::SelectCameraResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} SelectCameraResponse::SelectCameraResponse( - ::google::protobuf::Arena* arena, const SelectCameraResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SelectCameraResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SelectCameraResponse) + ::google::protobuf::Arena* arena, + const SelectCameraResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SelectCameraResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.SelectCameraResponse) } inline PROTOBUF_NDEBUG_INLINE SelectCameraResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SelectCameraResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -SelectCameraResponse::~SelectCameraResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SelectCameraResponse) - SharedDtor(*this); -} -inline void SelectCameraResponse::SharedDtor(MessageLite& self) -{ - SelectCameraResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -SelectCameraResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SelectCameraResponse(arena); -} -constexpr auto SelectCameraResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SelectCameraResponse), alignof(SelectCameraResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SelectCameraResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +SelectCameraResponse::~SelectCameraResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SelectCameraResponse) + SharedDtor(*this); +} +inline void SelectCameraResponse::SharedDtor(MessageLite& self) { + SelectCameraResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* SelectCameraResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SelectCameraResponse(arena); +} +constexpr auto SelectCameraResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SelectCameraResponse), + alignof(SelectCameraResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -12723,255 +11379,223 @@ const ::google::protobuf::internal::ClassDataFull SelectCameraResponse::_class_d ::google::protobuf::internal::ClassData{ &_SelectCameraResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SelectCameraResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SelectCameraResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SelectCameraResponse::ByteSizeLong, - &SelectCameraResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SelectCameraResponse::ByteSizeLong, + &SelectCameraResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_._cached_size_), false, }, &SelectCameraResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SelectCameraResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - SelectCameraResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::SelectCameraResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void SelectCameraResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SelectCameraResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SelectCameraResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SelectCameraResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SelectCameraResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SelectCameraResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SelectCameraResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SelectCameraResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SelectCameraResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SelectCameraResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(SelectCameraResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SelectCameraResponse) - return target; -} +PROTOBUF_NOINLINE void SelectCameraResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SelectCameraResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SelectCameraResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SelectCameraResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SelectCameraResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SelectCameraResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SelectCameraResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SelectCameraResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SelectCameraResponse::ByteSizeLong(const MessageLite& base) -{ - const SelectCameraResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SelectCameraResponse::ByteSizeLong() const -{ - const SelectCameraResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SelectCameraResponse) - ::size_t total_size = 0; + ::size_t SelectCameraResponse::ByteSizeLong(const MessageLite& base) { + const SelectCameraResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SelectCameraResponse::ByteSizeLong() const { + const SelectCameraResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SelectCameraResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void SelectCameraResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SelectCameraResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void SelectCameraResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SelectCameraResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SelectCameraResponse::CopyFrom(const SelectCameraResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SelectCameraResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SelectCameraResponse::CopyFrom(const SelectCameraResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SelectCameraResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SelectCameraResponse::InternalSwap(SelectCameraResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void SelectCameraResponse::InternalSwap(SelectCameraResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata SelectCameraResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SelectCameraResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class SelectCameraRequest::_Internal { -public: + public: }; SelectCameraRequest::SelectCameraRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SelectCameraRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.SelectCameraRequest) } SelectCameraRequest::SelectCameraRequest( - ::google::protobuf::Arena* arena, const SelectCameraRequest& from) : - SelectCameraRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const SelectCameraRequest& from) + : SelectCameraRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SelectCameraRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void SelectCameraRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_id_ = {}; -} -SelectCameraRequest::~SelectCameraRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SelectCameraRequest) - SharedDtor(*this); -} -inline void SelectCameraRequest::SharedDtor(MessageLite& self) -{ - SelectCameraRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -SelectCameraRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) SelectCameraRequest(arena); -} -constexpr auto SelectCameraRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SelectCameraRequest), alignof(SelectCameraRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void SelectCameraRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_id_ = {}; +} +SelectCameraRequest::~SelectCameraRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.SelectCameraRequest) + SharedDtor(*this); +} +inline void SelectCameraRequest::SharedDtor(MessageLite& self) { + SelectCameraRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* SelectCameraRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SelectCameraRequest(arena); +} +constexpr auto SelectCameraRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SelectCameraRequest), + alignof(SelectCameraRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -12979,220 +11603,196 @@ const ::google::protobuf::internal::ClassDataFull SelectCameraRequest::_class_da ::google::protobuf::internal::ClassData{ &_SelectCameraRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &SelectCameraRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &SelectCameraRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &SelectCameraRequest::ByteSizeLong, - &SelectCameraRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &SelectCameraRequest::ByteSizeLong, + &SelectCameraRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(SelectCameraRequest, _impl_._cached_size_), false, }, &SelectCameraRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SelectCameraRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - SelectCameraRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SelectCameraRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // int32 camera_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(SelectCameraRequest, _impl_.camera_id_), - 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(SelectCameraRequest, _impl_.camera_id_)}}, - }}, - {{65535, 65535}}, - {{ - // int32 camera_id = 1; - {PROTOBUF_FIELD_OFFSET(SelectCameraRequest, _impl_.camera_id_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void SelectCameraRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SelectCameraRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.camera_id_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* SelectCameraRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const SelectCameraRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* SelectCameraRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const SelectCameraRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SelectCameraRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SelectCameraRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SelectCameraRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::SelectCameraRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // int32 camera_id = 1; - if (this_._internal_camera_id() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( - stream, this_._internal_camera_id(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SelectCameraRequest, _impl_.camera_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(SelectCameraRequest, _impl_.camera_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // int32 camera_id = 1; + {PROTOBUF_FIELD_OFFSET(SelectCameraRequest, _impl_.camera_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SelectCameraRequest) - return target; -} +PROTOBUF_NOINLINE void SelectCameraRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.SelectCameraRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.camera_id_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SelectCameraRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SelectCameraRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SelectCameraRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SelectCameraRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.SelectCameraRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // int32 camera_id = 1; + if (this_._internal_camera_id() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<1>( + stream, this_._internal_camera_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.SelectCameraRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t SelectCameraRequest::ByteSizeLong(const MessageLite& base) -{ - const SelectCameraRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t SelectCameraRequest::ByteSizeLong() const -{ - const SelectCameraRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SelectCameraRequest) - ::size_t total_size = 0; + ::size_t SelectCameraRequest::ByteSizeLong(const MessageLite& base) { + const SelectCameraRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SelectCameraRequest::ByteSizeLong() const { + const SelectCameraRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.SelectCameraRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // int32 camera_id = 1; - if (this_._internal_camera_id() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_camera_id()); + { + // int32 camera_id = 1; + if (this_._internal_camera_id() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_camera_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void SelectCameraRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SelectCameraRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void SelectCameraRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.SelectCameraRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (from._internal_camera_id() != 0) { - _this->_impl_.camera_id_ = from._impl_.camera_id_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (from._internal_camera_id() != 0) { + _this->_impl_.camera_id_ = from._impl_.camera_id_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void SelectCameraRequest::CopyFrom(const SelectCameraRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SelectCameraRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void SelectCameraRequest::CopyFrom(const SelectCameraRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.SelectCameraRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void SelectCameraRequest::InternalSwap(SelectCameraRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.camera_id_, other->_impl_.camera_id_); + +void SelectCameraRequest::InternalSwap(SelectCameraRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.camera_id_, other->_impl_.camera_id_); } -::google::protobuf::Metadata SelectCameraRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata SelectCameraRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ResetSettingsRequest::_Internal { -public: + public: }; ResetSettingsRequest::ResetSettingsRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ResetSettingsRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ResetSettingsRequest) } ResetSettingsRequest::ResetSettingsRequest( - ::google::protobuf::Arena* arena, const ResetSettingsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ResetSettingsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ResetSettingsRequest) -} - -inline void* -ResetSettingsRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ResetSettingsRequest(arena); -} -constexpr auto ResetSettingsRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ResetSettingsRequest), alignof(ResetSettingsRequest)); + ::google::protobuf::Arena* arena, + const ResetSettingsRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ResetSettingsRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ResetSettingsRequest) +} + +inline void* ResetSettingsRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ResetSettingsRequest(arena); +} +constexpr auto ResetSettingsRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ResetSettingsRequest), + alignof(ResetSettingsRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -13200,150 +11800,138 @@ const ::google::protobuf::internal::ClassDataFull ResetSettingsRequest::_class_d ::google::protobuf::internal::ClassData{ &_ResetSettingsRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ResetSettingsRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ResetSettingsRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ResetSettingsRequest::ByteSizeLong, - &ResetSettingsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ResetSettingsRequest::ByteSizeLong, + &ResetSettingsRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ResetSettingsRequest, _impl_._cached_size_), false, }, &ResetSettingsRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ResetSettingsRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ResetSettingsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::ResetSettingsRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ResetSettingsRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ResetSettingsRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ResetSettingsRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ResetSettingsRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ResetSettingsRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ResetSettingsResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_._has_bits_); }; ResetSettingsResponse::ResetSettingsResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ResetSettingsResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ResetSettingsResponse) } inline PROTOBUF_NDEBUG_INLINE ResetSettingsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::ResetSettingsResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::ResetSettingsResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} ResetSettingsResponse::ResetSettingsResponse( - ::google::protobuf::Arena* arena, const ResetSettingsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ResetSettingsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ResetSettingsResponse) + ::google::protobuf::Arena* arena, + const ResetSettingsResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ResetSettingsResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ResetSettingsResponse) } inline PROTOBUF_NDEBUG_INLINE ResetSettingsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ResetSettingsResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -ResetSettingsResponse::~ResetSettingsResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ResetSettingsResponse) - SharedDtor(*this); -} -inline void ResetSettingsResponse::SharedDtor(MessageLite& self) -{ - ResetSettingsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -ResetSettingsResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ResetSettingsResponse(arena); -} -constexpr auto ResetSettingsResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ResetSettingsResponse), alignof(ResetSettingsResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ResetSettingsResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +ResetSettingsResponse::~ResetSettingsResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ResetSettingsResponse) + SharedDtor(*this); +} +inline void ResetSettingsResponse::SharedDtor(MessageLite& self) { + ResetSettingsResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* ResetSettingsResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ResetSettingsResponse(arena); +} +constexpr auto ResetSettingsResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ResetSettingsResponse), + alignof(ResetSettingsResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -13351,243 +11939,213 @@ const ::google::protobuf::internal::ClassDataFull ResetSettingsResponse::_class_ ::google::protobuf::internal::ClassData{ &_ResetSettingsResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ResetSettingsResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ResetSettingsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ResetSettingsResponse::ByteSizeLong, - &ResetSettingsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ResetSettingsResponse::ByteSizeLong, + &ResetSettingsResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_._cached_size_), false, }, &ResetSettingsResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ResetSettingsResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ResetSettingsResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::ResetSettingsResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ResetSettingsResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ResetSettingsResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ResetSettingsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ResetSettingsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ResetSettingsResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ResetSettingsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ResetSettingsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ResetSettingsResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ResetSettingsResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ResetSettingsResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(ResetSettingsResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ResetSettingsResponse) - return target; -} +PROTOBUF_NOINLINE void ResetSettingsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ResetSettingsResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ResetSettingsResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ResetSettingsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ResetSettingsResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ResetSettingsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ResetSettingsResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ResetSettingsResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ResetSettingsResponse::ByteSizeLong(const MessageLite& base) -{ - const ResetSettingsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ResetSettingsResponse::ByteSizeLong() const -{ - const ResetSettingsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ResetSettingsResponse) - ::size_t total_size = 0; + ::size_t ResetSettingsResponse::ByteSizeLong(const MessageLite& base) { + const ResetSettingsResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ResetSettingsResponse::ByteSizeLong() const { + const ResetSettingsResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ResetSettingsResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ResetSettingsResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ResetSettingsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void ResetSettingsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ResetSettingsResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ResetSettingsResponse::CopyFrom(const ResetSettingsResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ResetSettingsResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ResetSettingsResponse::CopyFrom(const ResetSettingsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ResetSettingsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ResetSettingsResponse::InternalSwap(ResetSettingsResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void ResetSettingsResponse::InternalSwap(ResetSettingsResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata ResetSettingsResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ResetSettingsResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomInStartRequest::_Internal { -public: + public: }; ZoomInStartRequest::ZoomInStartRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomInStartRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomInStartRequest) } ZoomInStartRequest::ZoomInStartRequest( - ::google::protobuf::Arena* arena, const ZoomInStartRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ZoomInStartRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomInStartRequest) -} - -inline void* -ZoomInStartRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomInStartRequest(arena); -} -constexpr auto ZoomInStartRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomInStartRequest), alignof(ZoomInStartRequest)); + ::google::protobuf::Arena* arena, + const ZoomInStartRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ZoomInStartRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomInStartRequest) +} + +inline void* ZoomInStartRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomInStartRequest(arena); +} +constexpr auto ZoomInStartRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomInStartRequest), + alignof(ZoomInStartRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -13595,149 +12153,138 @@ const ::google::protobuf::internal::ClassDataFull ZoomInStartRequest::_class_dat ::google::protobuf::internal::ClassData{ &_ZoomInStartRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomInStartRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomInStartRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ZoomInStartRequest::ByteSizeLong, - &ZoomInStartRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ZoomInStartRequest::ByteSizeLong, + &ZoomInStartRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomInStartRequest, _impl_._cached_size_), false, }, &ZoomInStartRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomInStartRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ZoomInStartRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomInStartRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ZoomInStartRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomInStartRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ZoomInStartRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomInStartRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ZoomInStartRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomInStartResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_._has_bits_); }; ZoomInStartResponse::ZoomInStartResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomInStartResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomInStartResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomInStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::ZoomInStartResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::ZoomInStartResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} ZoomInStartResponse::ZoomInStartResponse( - ::google::protobuf::Arena* arena, const ZoomInStartResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ZoomInStartResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomInStartResponse) + ::google::protobuf::Arena* arena, + const ZoomInStartResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ZoomInStartResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomInStartResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomInStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ZoomInStartResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -ZoomInStartResponse::~ZoomInStartResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomInStartResponse) - SharedDtor(*this); -} -inline void ZoomInStartResponse::SharedDtor(MessageLite& self) -{ - ZoomInStartResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -ZoomInStartResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomInStartResponse(arena); -} -constexpr auto ZoomInStartResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomInStartResponse), alignof(ZoomInStartResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ZoomInStartResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +ZoomInStartResponse::~ZoomInStartResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomInStartResponse) + SharedDtor(*this); +} +inline void ZoomInStartResponse::SharedDtor(MessageLite& self) { + ZoomInStartResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* ZoomInStartResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomInStartResponse(arena); +} +constexpr auto ZoomInStartResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomInStartResponse), + alignof(ZoomInStartResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -13745,242 +12292,213 @@ const ::google::protobuf::internal::ClassDataFull ZoomInStartResponse::_class_da ::google::protobuf::internal::ClassData{ &_ZoomInStartResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomInStartResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomInStartResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ZoomInStartResponse::ByteSizeLong, - &ZoomInStartResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ZoomInStartResponse::ByteSizeLong, + &ZoomInStartResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_._cached_size_), false, }, &ZoomInStartResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomInStartResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ZoomInStartResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomInStartResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ZoomInStartResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomInStartResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ZoomInStartResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ZoomInStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ZoomInStartResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ZoomInStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomInStartResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomInStartResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ZoomInStartResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomInStartResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(ZoomInStartResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomInStartResponse) - return target; -} +PROTOBUF_NOINLINE void ZoomInStartResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomInStartResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ZoomInStartResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ZoomInStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ZoomInStartResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ZoomInStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomInStartResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomInStartResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ZoomInStartResponse::ByteSizeLong(const MessageLite& base) -{ - const ZoomInStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ZoomInStartResponse::ByteSizeLong() const -{ - const ZoomInStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomInStartResponse) - ::size_t total_size = 0; + ::size_t ZoomInStartResponse::ByteSizeLong(const MessageLite& base) { + const ZoomInStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ZoomInStartResponse::ByteSizeLong() const { + const ZoomInStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomInStartResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ZoomInStartResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomInStartResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void ZoomInStartResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomInStartResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ZoomInStartResponse::CopyFrom(const ZoomInStartResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomInStartResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ZoomInStartResponse::CopyFrom(const ZoomInStartResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomInStartResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ZoomInStartResponse::InternalSwap(ZoomInStartResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void ZoomInStartResponse::InternalSwap(ZoomInStartResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata ZoomInStartResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ZoomInStartResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomOutStartRequest::_Internal { -public: + public: }; ZoomOutStartRequest::ZoomOutStartRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomOutStartRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomOutStartRequest) } ZoomOutStartRequest::ZoomOutStartRequest( - ::google::protobuf::Arena* arena, const ZoomOutStartRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ZoomOutStartRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomOutStartRequest) -} - -inline void* -ZoomOutStartRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomOutStartRequest(arena); -} -constexpr auto ZoomOutStartRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomOutStartRequest), alignof(ZoomOutStartRequest)); + ::google::protobuf::Arena* arena, + const ZoomOutStartRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ZoomOutStartRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomOutStartRequest) +} + +inline void* ZoomOutStartRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomOutStartRequest(arena); +} +constexpr auto ZoomOutStartRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomOutStartRequest), + alignof(ZoomOutStartRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -13988,149 +12506,138 @@ const ::google::protobuf::internal::ClassDataFull ZoomOutStartRequest::_class_da ::google::protobuf::internal::ClassData{ &_ZoomOutStartRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomOutStartRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomOutStartRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ZoomOutStartRequest::ByteSizeLong, - &ZoomOutStartRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ZoomOutStartRequest::ByteSizeLong, + &ZoomOutStartRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomOutStartRequest, _impl_._cached_size_), false, }, &ZoomOutStartRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomOutStartRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ZoomOutStartRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomOutStartRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ZoomOutStartRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomOutStartRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ZoomOutStartRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomOutStartRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ZoomOutStartRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomOutStartResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_._has_bits_); }; ZoomOutStartResponse::ZoomOutStartResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomOutStartResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomOutStartResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomOutStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::ZoomOutStartResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::ZoomOutStartResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} ZoomOutStartResponse::ZoomOutStartResponse( - ::google::protobuf::Arena* arena, const ZoomOutStartResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ZoomOutStartResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomOutStartResponse) + ::google::protobuf::Arena* arena, + const ZoomOutStartResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ZoomOutStartResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomOutStartResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomOutStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ZoomOutStartResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -ZoomOutStartResponse::~ZoomOutStartResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomOutStartResponse) - SharedDtor(*this); -} -inline void ZoomOutStartResponse::SharedDtor(MessageLite& self) -{ - ZoomOutStartResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -ZoomOutStartResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomOutStartResponse(arena); -} -constexpr auto ZoomOutStartResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomOutStartResponse), alignof(ZoomOutStartResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ZoomOutStartResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +ZoomOutStartResponse::~ZoomOutStartResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomOutStartResponse) + SharedDtor(*this); +} +inline void ZoomOutStartResponse::SharedDtor(MessageLite& self) { + ZoomOutStartResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* ZoomOutStartResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomOutStartResponse(arena); +} +constexpr auto ZoomOutStartResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomOutStartResponse), + alignof(ZoomOutStartResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -14138,242 +12645,213 @@ const ::google::protobuf::internal::ClassDataFull ZoomOutStartResponse::_class_d ::google::protobuf::internal::ClassData{ &_ZoomOutStartResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomOutStartResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomOutStartResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ZoomOutStartResponse::ByteSizeLong, - &ZoomOutStartResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ZoomOutStartResponse::ByteSizeLong, + &ZoomOutStartResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_._cached_size_), false, }, &ZoomOutStartResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomOutStartResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ZoomOutStartResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::ZoomOutStartResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ZoomOutStartResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomOutStartResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ZoomOutStartResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ZoomOutStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ZoomOutStartResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ZoomOutStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomOutStartResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomOutStartResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ZoomOutStartResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomOutStartResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(ZoomOutStartResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomOutStartResponse) - return target; -} +PROTOBUF_NOINLINE void ZoomOutStartResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomOutStartResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ZoomOutStartResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ZoomOutStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ZoomOutStartResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ZoomOutStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomOutStartResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomOutStartResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ZoomOutStartResponse::ByteSizeLong(const MessageLite& base) -{ - const ZoomOutStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ZoomOutStartResponse::ByteSizeLong() const -{ - const ZoomOutStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomOutStartResponse) - ::size_t total_size = 0; + ::size_t ZoomOutStartResponse::ByteSizeLong(const MessageLite& base) { + const ZoomOutStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ZoomOutStartResponse::ByteSizeLong() const { + const ZoomOutStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomOutStartResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ZoomOutStartResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomOutStartResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void ZoomOutStartResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomOutStartResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ZoomOutStartResponse::CopyFrom(const ZoomOutStartResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomOutStartResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ZoomOutStartResponse::CopyFrom(const ZoomOutStartResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomOutStartResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ZoomOutStartResponse::InternalSwap(ZoomOutStartResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void ZoomOutStartResponse::InternalSwap(ZoomOutStartResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata ZoomOutStartResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ZoomOutStartResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomStopRequest::_Internal { -public: + public: }; ZoomStopRequest::ZoomStopRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomStopRequest) -} -ZoomStopRequest::ZoomStopRequest(::google::protobuf::Arena* arena, const ZoomStopRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ZoomStopRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomStopRequest) -} - -inline void* -ZoomStopRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomStopRequest(arena); -} -constexpr auto ZoomStopRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomStopRequest), alignof(ZoomStopRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomStopRequest) +} +ZoomStopRequest::ZoomStopRequest( + ::google::protobuf::Arena* arena, + const ZoomStopRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ZoomStopRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomStopRequest) +} + +inline void* ZoomStopRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomStopRequest(arena); +} +constexpr auto ZoomStopRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomStopRequest), + alignof(ZoomStopRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -14381,148 +12859,138 @@ const ::google::protobuf::internal::ClassDataFull ZoomStopRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_ZoomStopRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomStopRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomStopRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &ZoomStopRequest::ByteSizeLong, - &ZoomStopRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ZoomStopRequest::ByteSizeLong, + &ZoomStopRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomStopRequest, _impl_._cached_size_), false, }, &ZoomStopRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomStopRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - ZoomStopRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomStopRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata ZoomStopRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomStopRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ZoomStopRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomStopRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ZoomStopRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomStopResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_._has_bits_); }; ZoomStopResponse::ZoomStopResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomStopResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomStopResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomStopResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::ZoomStopResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +ZoomStopResponse::ZoomStopResponse( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::ZoomStopResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -ZoomStopResponse::ZoomStopResponse(::google::protobuf::Arena* arena, const ZoomStopResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ZoomStopResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomStopResponse) + const ZoomStopResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ZoomStopResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomStopResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomStopResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ZoomStopResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -ZoomStopResponse::~ZoomStopResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomStopResponse) - SharedDtor(*this); -} -inline void ZoomStopResponse::SharedDtor(MessageLite& self) -{ - ZoomStopResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -ZoomStopResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomStopResponse(arena); -} -constexpr auto ZoomStopResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomStopResponse), alignof(ZoomStopResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ZoomStopResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +ZoomStopResponse::~ZoomStopResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomStopResponse) + SharedDtor(*this); +} +inline void ZoomStopResponse::SharedDtor(MessageLite& self) { + ZoomStopResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* ZoomStopResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomStopResponse(arena); +} +constexpr auto ZoomStopResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomStopResponse), + alignof(ZoomStopResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -14530,253 +12998,223 @@ const ::google::protobuf::internal::ClassDataFull ZoomStopResponse::_class_data_ ::google::protobuf::internal::ClassData{ &_ZoomStopResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomStopResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomStopResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ZoomStopResponse::ByteSizeLong, - &ZoomStopResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ZoomStopResponse::ByteSizeLong, + &ZoomStopResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_._cached_size_), false, }, &ZoomStopResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomStopResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ZoomStopResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomStopResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ZoomStopResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomStopResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ZoomStopResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ZoomStopResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ZoomStopResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ZoomStopResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomStopResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomStopResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ZoomStopResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomStopResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(ZoomStopResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomStopResponse) - return target; -} +PROTOBUF_NOINLINE void ZoomStopResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomStopResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ZoomStopResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ZoomStopResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ZoomStopResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ZoomStopResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomStopResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomStopResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ZoomStopResponse::ByteSizeLong(const MessageLite& base) -{ - const ZoomStopResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ZoomStopResponse::ByteSizeLong() const -{ - const ZoomStopResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomStopResponse) - ::size_t total_size = 0; + ::size_t ZoomStopResponse::ByteSizeLong(const MessageLite& base) { + const ZoomStopResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ZoomStopResponse::ByteSizeLong() const { + const ZoomStopResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomStopResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void ZoomStopResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomStopResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void ZoomStopResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomStopResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ZoomStopResponse::CopyFrom(const ZoomStopResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomStopResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ZoomStopResponse::CopyFrom(const ZoomStopResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomStopResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ZoomStopResponse::InternalSwap(ZoomStopResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void ZoomStopResponse::InternalSwap(ZoomStopResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata ZoomStopResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ZoomStopResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomRangeRequest::_Internal { -public: + public: }; ZoomRangeRequest::ZoomRangeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomRangeRequest) -} -ZoomRangeRequest::ZoomRangeRequest(::google::protobuf::Arena* arena, const ZoomRangeRequest& from) : - ZoomRangeRequest(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomRangeRequest) +} +ZoomRangeRequest::ZoomRangeRequest( + ::google::protobuf::Arena* arena, const ZoomRangeRequest& from) + : ZoomRangeRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE ZoomRangeRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ZoomRangeRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.range_ = {}; -} -ZoomRangeRequest::~ZoomRangeRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomRangeRequest) - SharedDtor(*this); -} -inline void ZoomRangeRequest::SharedDtor(MessageLite& self) -{ - ZoomRangeRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -ZoomRangeRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomRangeRequest(arena); -} -constexpr auto ZoomRangeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomRangeRequest), alignof(ZoomRangeRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ZoomRangeRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.range_ = {}; +} +ZoomRangeRequest::~ZoomRangeRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomRangeRequest) + SharedDtor(*this); +} +inline void ZoomRangeRequest::SharedDtor(MessageLite& self) { + ZoomRangeRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ZoomRangeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomRangeRequest(arena); +} +constexpr auto ZoomRangeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomRangeRequest), + alignof(ZoomRangeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -14784,260 +13222,231 @@ const ::google::protobuf::internal::ClassDataFull ZoomRangeRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_ZoomRangeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomRangeRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomRangeRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ZoomRangeRequest::ByteSizeLong, - &ZoomRangeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ZoomRangeRequest::ByteSizeLong, + &ZoomRangeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomRangeRequest, _impl_._cached_size_), false, }, &ZoomRangeRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomRangeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - ZoomRangeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomRangeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float range = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(ZoomRangeRequest, _impl_.range_)}}, - }}, - {{65535, 65535}}, - {{ - // float range = 1; - {PROTOBUF_FIELD_OFFSET(ZoomRangeRequest, _impl_.range_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void ZoomRangeRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomRangeRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.range_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ZoomRangeRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ZoomRangeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ZoomRangeRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ZoomRangeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomRangeRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomRangeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> ZoomRangeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomRangeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // float range = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_range(), target); - } + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(ZoomRangeRequest, _impl_.range_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float range = 1; + {PROTOBUF_FIELD_OFFSET(ZoomRangeRequest, _impl_.range_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomRangeRequest) - return target; -} +PROTOBUF_NOINLINE void ZoomRangeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomRangeRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.range_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ZoomRangeRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ZoomRangeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ZoomRangeRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ZoomRangeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomRangeRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float range = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_range(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomRangeRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ZoomRangeRequest::ByteSizeLong(const MessageLite& base) -{ - const ZoomRangeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ZoomRangeRequest::ByteSizeLong() const -{ - const ZoomRangeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomRangeRequest) - ::size_t total_size = 0; + ::size_t ZoomRangeRequest::ByteSizeLong(const MessageLite& base) { + const ZoomRangeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ZoomRangeRequest::ByteSizeLong() const { + const ZoomRangeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomRangeRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // float range = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { - total_size += 5; + { + // float range = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ZoomRangeRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomRangeRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void ZoomRangeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomRangeRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_range()) != 0) { - _this->_impl_.range_ = from._impl_.range_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_range()) != 0) { + _this->_impl_.range_ = from._impl_.range_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ZoomRangeRequest::CopyFrom(const ZoomRangeRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomRangeRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ZoomRangeRequest::CopyFrom(const ZoomRangeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomRangeRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ZoomRangeRequest::InternalSwap(ZoomRangeRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.range_, other->_impl_.range_); + +void ZoomRangeRequest::InternalSwap(ZoomRangeRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.range_, other->_impl_.range_); } -::google::protobuf::Metadata ZoomRangeRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ZoomRangeRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class ZoomRangeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_._has_bits_); }; ZoomRangeResponse::ZoomRangeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomRangeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.ZoomRangeResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomRangeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::ZoomRangeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::ZoomRangeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} ZoomRangeResponse::ZoomRangeResponse( - ::google::protobuf::Arena* arena, const ZoomRangeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - ZoomRangeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomRangeResponse) + ::google::protobuf::Arena* arena, + const ZoomRangeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ZoomRangeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.ZoomRangeResponse) } inline PROTOBUF_NDEBUG_INLINE ZoomRangeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void ZoomRangeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -ZoomRangeResponse::~ZoomRangeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomRangeResponse) - SharedDtor(*this); -} -inline void ZoomRangeResponse::SharedDtor(MessageLite& self) -{ - ZoomRangeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -ZoomRangeResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) ZoomRangeResponse(arena); -} -constexpr auto ZoomRangeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(ZoomRangeResponse), alignof(ZoomRangeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ZoomRangeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +ZoomRangeResponse::~ZoomRangeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.ZoomRangeResponse) + SharedDtor(*this); +} +inline void ZoomRangeResponse::SharedDtor(MessageLite& self) { + ZoomRangeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* ZoomRangeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ZoomRangeResponse(arena); +} +constexpr auto ZoomRangeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ZoomRangeResponse), + alignof(ZoomRangeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -15045,257 +13454,228 @@ const ::google::protobuf::internal::ClassDataFull ZoomRangeResponse::_class_data ::google::protobuf::internal::ClassData{ &_ZoomRangeResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &ZoomRangeResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &ZoomRangeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &ZoomRangeResponse::ByteSizeLong, - &ZoomRangeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &ZoomRangeResponse::ByteSizeLong, + &ZoomRangeResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_._cached_size_), false, }, &ZoomRangeResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* ZoomRangeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - ZoomRangeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomRangeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void ZoomRangeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomRangeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* ZoomRangeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const ZoomRangeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* ZoomRangeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const ZoomRangeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomRangeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ZoomRangeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ZoomRangeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::ZoomRangeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(ZoomRangeResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomRangeResponse) - return target; -} +PROTOBUF_NOINLINE void ZoomRangeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.ZoomRangeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ZoomRangeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ZoomRangeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ZoomRangeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ZoomRangeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.ZoomRangeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.ZoomRangeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t ZoomRangeResponse::ByteSizeLong(const MessageLite& base) -{ - const ZoomRangeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t ZoomRangeResponse::ByteSizeLong() const -{ - const ZoomRangeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomRangeResponse) - ::size_t total_size = 0; + ::size_t ZoomRangeResponse::ByteSizeLong(const MessageLite& base) { + const ZoomRangeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ZoomRangeResponse::ByteSizeLong() const { + const ZoomRangeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.ZoomRangeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void ZoomRangeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomRangeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void ZoomRangeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.ZoomRangeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void ZoomRangeResponse::CopyFrom(const ZoomRangeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomRangeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void ZoomRangeResponse::CopyFrom(const ZoomRangeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.ZoomRangeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void ZoomRangeResponse::InternalSwap(ZoomRangeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void ZoomRangeResponse::InternalSwap(ZoomRangeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata ZoomRangeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata ZoomRangeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TrackPointRequest::_Internal { -public: + public: }; TrackPointRequest::TrackPointRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackPointRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackPointRequest) } TrackPointRequest::TrackPointRequest( - ::google::protobuf::Arena* arena, const TrackPointRequest& from) : - TrackPointRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const TrackPointRequest& from) + : TrackPointRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE TrackPointRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TrackPointRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, point_x_), - 0, - offsetof(Impl_, radius_) - offsetof(Impl_, point_x_) + sizeof(Impl_::radius_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TrackPointRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, point_x_), + 0, + offsetof(Impl_, radius_) - + offsetof(Impl_, point_x_) + + sizeof(Impl_::radius_)); } -TrackPointRequest::~TrackPointRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackPointRequest) - SharedDtor(*this); +TrackPointRequest::~TrackPointRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackPointRequest) + SharedDtor(*this); } -inline void TrackPointRequest::SharedDtor(MessageLite& self) -{ - TrackPointRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void TrackPointRequest::SharedDtor(MessageLite& self) { + TrackPointRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* -TrackPointRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TrackPointRequest(arena); +inline void* TrackPointRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TrackPointRequest(arena); } -constexpr auto TrackPointRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TrackPointRequest), alignof(TrackPointRequest)); +constexpr auto TrackPointRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TrackPointRequest), + alignof(TrackPointRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -15303,314 +13683,280 @@ const ::google::protobuf::internal::ClassDataFull TrackPointRequest::_class_data ::google::protobuf::internal::ClassData{ &_TrackPointRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TrackPointRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TrackPointRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TrackPointRequest::ByteSizeLong, - &TrackPointRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TrackPointRequest::ByteSizeLong, + &TrackPointRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_._cached_size_), false, }, &TrackPointRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TrackPointRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 0, 0, 2> - TrackPointRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 3, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackPointRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // float point_x = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_x_)}}, - // float point_y = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_y_)}}, - // float radius = 3; - {::_pbi::TcParser::FastF32S1, - {29, 63, 0, PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.radius_)}}, - }}, - {{65535, 65535}}, - {{ - // float point_x = 1; - {PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_x_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float point_y = 2; - {PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_y_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float radius = 3; - {PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.radius_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void TrackPointRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackPointRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.point_x_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.radius_) - reinterpret_cast(&_impl_.point_x_)) + - sizeof(_impl_.radius_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TrackPointRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TrackPointRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TrackPointRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TrackPointRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackPointRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TrackPointRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> TrackPointRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackPointRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // float point_x = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_point_x()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_point_x(), target); - } - + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_x_)}}, // float point_y = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_point_y()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_point_y(), target); - } - + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_y_)}}, // float radius = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_radius()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this_._internal_radius(), target); - } + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.radius_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float point_x = 1; + {PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_x_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float point_y = 2; + {PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_y_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float radius = 3; + {PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.radius_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackPointRequest) - return target; -} +PROTOBUF_NOINLINE void TrackPointRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackPointRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.point_x_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.radius_) - + reinterpret_cast(&_impl_.point_x_)) + sizeof(_impl_.radius_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TrackPointRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TrackPointRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TrackPointRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TrackPointRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackPointRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float point_x = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_point_x()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_point_x(), target); + } + + // float point_y = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_point_y()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_point_y(), target); + } + + // float radius = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_radius()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_radius(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackPointRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TrackPointRequest::ByteSizeLong(const MessageLite& base) -{ - const TrackPointRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TrackPointRequest::ByteSizeLong() const -{ - const TrackPointRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackPointRequest) - ::size_t total_size = 0; + ::size_t TrackPointRequest::ByteSizeLong(const MessageLite& base) { + const TrackPointRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TrackPointRequest::ByteSizeLong() const { + const TrackPointRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackPointRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // float point_x = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_point_x()) != 0) { - total_size += 5; - } - // float point_y = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_point_y()) != 0) { - total_size += 5; - } - // float radius = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_radius()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // float point_x = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_point_x()) != 0) { + total_size += 5; + } + // float point_y = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_point_y()) != 0) { + total_size += 5; + } + // float radius = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_radius()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void TrackPointRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackPointRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void TrackPointRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackPointRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_point_x()) != 0) { - _this->_impl_.point_x_ = from._impl_.point_x_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_point_y()) != 0) { - _this->_impl_.point_y_ = from._impl_.point_y_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_radius()) != 0) { - _this->_impl_.radius_ = from._impl_.radius_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_point_x()) != 0) { + _this->_impl_.point_x_ = from._impl_.point_x_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_point_y()) != 0) { + _this->_impl_.point_y_ = from._impl_.point_y_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_radius()) != 0) { + _this->_impl_.radius_ = from._impl_.radius_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TrackPointRequest::CopyFrom(const TrackPointRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackPointRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TrackPointRequest::CopyFrom(const TrackPointRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackPointRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TrackPointRequest::InternalSwap(TrackPointRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.radius_) + - sizeof(TrackPointRequest::_impl_.radius_) - - PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_x_)>( - reinterpret_cast(&_impl_.point_x_), - reinterpret_cast(&other->_impl_.point_x_)); + +void TrackPointRequest::InternalSwap(TrackPointRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.radius_) + + sizeof(TrackPointRequest::_impl_.radius_) + - PROTOBUF_FIELD_OFFSET(TrackPointRequest, _impl_.point_x_)>( + reinterpret_cast(&_impl_.point_x_), + reinterpret_cast(&other->_impl_.point_x_)); } -::google::protobuf::Metadata TrackPointRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TrackPointRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TrackPointResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_._has_bits_); }; TrackPointResponse::TrackPointResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackPointResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackPointResponse) } inline PROTOBUF_NDEBUG_INLINE TrackPointResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::TrackPointResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::TrackPointResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TrackPointResponse::TrackPointResponse( - ::google::protobuf::Arena* arena, const TrackPointResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TrackPointResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackPointResponse) + ::google::protobuf::Arena* arena, + const TrackPointResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TrackPointResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackPointResponse) } inline PROTOBUF_NDEBUG_INLINE TrackPointResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TrackPointResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -TrackPointResponse::~TrackPointResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackPointResponse) - SharedDtor(*this); -} -inline void TrackPointResponse::SharedDtor(MessageLite& self) -{ - TrackPointResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -TrackPointResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TrackPointResponse(arena); -} -constexpr auto TrackPointResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TrackPointResponse), alignof(TrackPointResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TrackPointResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +TrackPointResponse::~TrackPointResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackPointResponse) + SharedDtor(*this); +} +inline void TrackPointResponse::SharedDtor(MessageLite& self) { + TrackPointResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* TrackPointResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TrackPointResponse(arena); +} +constexpr auto TrackPointResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TrackPointResponse), + alignof(TrackPointResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -15618,258 +13964,228 @@ const ::google::protobuf::internal::ClassDataFull TrackPointResponse::_class_dat ::google::protobuf::internal::ClassData{ &_TrackPointResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TrackPointResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TrackPointResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TrackPointResponse::ByteSizeLong, - &TrackPointResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TrackPointResponse::ByteSizeLong, + &TrackPointResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_._cached_size_), false, }, &TrackPointResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TrackPointResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TrackPointResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackPointResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TrackPointResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackPointResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TrackPointResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TrackPointResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TrackPointResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TrackPointResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackPointResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TrackPointResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TrackPointResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackPointResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(TrackPointResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackPointResponse) - return target; -} +PROTOBUF_NOINLINE void TrackPointResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackPointResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TrackPointResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TrackPointResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TrackPointResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TrackPointResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackPointResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackPointResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TrackPointResponse::ByteSizeLong(const MessageLite& base) -{ - const TrackPointResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TrackPointResponse::ByteSizeLong() const -{ - const TrackPointResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackPointResponse) - ::size_t total_size = 0; + ::size_t TrackPointResponse::ByteSizeLong(const MessageLite& base) { + const TrackPointResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TrackPointResponse::ByteSizeLong() const { + const TrackPointResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackPointResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TrackPointResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackPointResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void TrackPointResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackPointResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TrackPointResponse::CopyFrom(const TrackPointResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackPointResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TrackPointResponse::CopyFrom(const TrackPointResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackPointResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TrackPointResponse::InternalSwap(TrackPointResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void TrackPointResponse::InternalSwap(TrackPointResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata TrackPointResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TrackPointResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TrackRectangleRequest::_Internal { -public: + public: }; TrackRectangleRequest::TrackRectangleRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackRectangleRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackRectangleRequest) } TrackRectangleRequest::TrackRectangleRequest( - ::google::protobuf::Arena* arena, const TrackRectangleRequest& from) : - TrackRectangleRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const TrackRectangleRequest& from) + : TrackRectangleRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE TrackRectangleRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TrackRectangleRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, top_left_x_), - 0, - offsetof(Impl_, bottom_right_y_) - offsetof(Impl_, top_left_x_) + - sizeof(Impl_::bottom_right_y_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TrackRectangleRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, top_left_x_), + 0, + offsetof(Impl_, bottom_right_y_) - + offsetof(Impl_, top_left_x_) + + sizeof(Impl_::bottom_right_y_)); } -TrackRectangleRequest::~TrackRectangleRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackRectangleRequest) - SharedDtor(*this); +TrackRectangleRequest::~TrackRectangleRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackRectangleRequest) + SharedDtor(*this); } -inline void TrackRectangleRequest::SharedDtor(MessageLite& self) -{ - TrackRectangleRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void TrackRectangleRequest::SharedDtor(MessageLite& self) { + TrackRectangleRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* -TrackRectangleRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TrackRectangleRequest(arena); +inline void* TrackRectangleRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TrackRectangleRequest(arena); } -constexpr auto TrackRectangleRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TrackRectangleRequest), alignof(TrackRectangleRequest)); +constexpr auto TrackRectangleRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TrackRectangleRequest), + alignof(TrackRectangleRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -15877,581 +14193,513 @@ const ::google::protobuf::internal::ClassDataFull TrackRectangleRequest::_class_ ::google::protobuf::internal::ClassData{ &_TrackRectangleRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TrackRectangleRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TrackRectangleRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TrackRectangleRequest::ByteSizeLong, - &TrackRectangleRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TrackRectangleRequest::ByteSizeLong, + &TrackRectangleRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_._cached_size_), false, }, &TrackRectangleRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TrackRectangleRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> - TrackRectangleRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 4, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967280, // skipmap - offsetof(decltype(_table_), field_entries), - 4, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::TrackRectangleRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float bottom_right_y = 4; - {::_pbi::TcParser::FastF32S1, - {37, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_y_)}}, - // float top_left_x = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_x_)}}, - // float top_left_y = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_y_)}}, - // float bottom_right_x = 3; - {::_pbi::TcParser::FastF32S1, - {29, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_x_)}}, - }}, - {{65535, 65535}}, - {{ - // float top_left_x = 1; - {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_x_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float top_left_y = 2; - {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_y_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float bottom_right_x = 3; - {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_x_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float bottom_right_y = 4; - {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_y_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void TrackRectangleRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackRectangleRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.top_left_x_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.bottom_right_y_) - - reinterpret_cast(&_impl_.top_left_x_)) + - sizeof(_impl_.bottom_right_y_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TrackRectangleRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TrackRectangleRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TrackRectangleRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TrackRectangleRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackRectangleRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TrackRectangleRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> TrackRectangleRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackRectangleRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float bottom_right_y = 4; + {::_pbi::TcParser::FastF32S1, + {37, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_y_)}}, // float top_left_x = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_x()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_top_left_x(), target); - } - + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_x_)}}, // float top_left_y = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_y()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_top_left_y(), target); - } - + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_y_)}}, // float bottom_right_x = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_x()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteFloatToArray(3, this_._internal_bottom_right_x(), target); - } - + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_x_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float top_left_x = 1; + {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_x_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float top_left_y = 2; + {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_y_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float bottom_right_x = 3; + {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_x_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float bottom_right_y = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_y()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteFloatToArray(4, this_._internal_bottom_right_y(), target); - } + {PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_y_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackRectangleRequest) - return target; -} +PROTOBUF_NOINLINE void TrackRectangleRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackRectangleRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.top_left_x_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.bottom_right_y_) - + reinterpret_cast(&_impl_.top_left_x_)) + sizeof(_impl_.bottom_right_y_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TrackRectangleRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TrackRectangleRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TrackRectangleRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TrackRectangleRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackRectangleRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float top_left_x = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_x()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_top_left_x(), target); + } + + // float top_left_y = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_y()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_top_left_y(), target); + } + + // float bottom_right_x = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_x()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_bottom_right_x(), target); + } + + // float bottom_right_y = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_y()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this_._internal_bottom_right_y(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackRectangleRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TrackRectangleRequest::ByteSizeLong(const MessageLite& base) -{ - const TrackRectangleRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TrackRectangleRequest::ByteSizeLong() const -{ - const TrackRectangleRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackRectangleRequest) - ::size_t total_size = 0; + ::size_t TrackRectangleRequest::ByteSizeLong(const MessageLite& base) { + const TrackRectangleRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TrackRectangleRequest::ByteSizeLong() const { + const TrackRectangleRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackRectangleRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // float top_left_x = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_x()) != 0) { - total_size += 5; - } - // float top_left_y = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_y()) != 0) { - total_size += 5; - } - // float bottom_right_x = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_x()) != 0) { - total_size += 5; - } - // float bottom_right_y = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_y()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // float top_left_x = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_x()) != 0) { + total_size += 5; + } + // float top_left_y = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_top_left_y()) != 0) { + total_size += 5; + } + // float bottom_right_x = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_x()) != 0) { + total_size += 5; + } + // float bottom_right_y = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_bottom_right_y()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TrackRectangleRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackRectangleRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_top_left_x()) != 0) { - _this->_impl_.top_left_x_ = from._impl_.top_left_x_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_top_left_y()) != 0) { - _this->_impl_.top_left_y_ = from._impl_.top_left_y_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_bottom_right_x()) != 0) { - _this->_impl_.bottom_right_x_ = from._impl_.bottom_right_x_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_bottom_right_y()) != 0) { - _this->_impl_.bottom_right_y_ = from._impl_.bottom_right_y_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void TrackRectangleRequest::CopyFrom(const TrackRectangleRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackRectangleRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void TrackRectangleRequest::InternalSwap(TrackRectangleRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_y_) + - sizeof(TrackRectangleRequest::_impl_.bottom_right_y_) - - PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_x_)>( - reinterpret_cast(&_impl_.top_left_x_), - reinterpret_cast(&other->_impl_.top_left_x_)); -} - -::google::protobuf::Metadata TrackRectangleRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void TrackRectangleRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackRectangleRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint32_t>(from._internal_top_left_x()) != 0) { + _this->_impl_.top_left_x_ = from._impl_.top_left_x_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_top_left_y()) != 0) { + _this->_impl_.top_left_y_ = from._impl_.top_left_y_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_bottom_right_x()) != 0) { + _this->_impl_.bottom_right_x_ = from._impl_.bottom_right_x_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_bottom_right_y()) != 0) { + _this->_impl_.bottom_right_y_ = from._impl_.bottom_right_y_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void TrackRectangleRequest::CopyFrom(const TrackRectangleRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackRectangleRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TrackRectangleRequest::InternalSwap(TrackRectangleRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.bottom_right_y_) + + sizeof(TrackRectangleRequest::_impl_.bottom_right_y_) + - PROTOBUF_FIELD_OFFSET(TrackRectangleRequest, _impl_.top_left_x_)>( + reinterpret_cast(&_impl_.top_left_x_), + reinterpret_cast(&other->_impl_.top_left_x_)); +} + +::google::protobuf::Metadata TrackRectangleRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TrackRectangleResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_._has_bits_); }; TrackRectangleResponse::TrackRectangleResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackRectangleResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackRectangleResponse) } inline PROTOBUF_NDEBUG_INLINE TrackRectangleResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::TrackRectangleResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::TrackRectangleResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TrackRectangleResponse::TrackRectangleResponse( - ::google::protobuf::Arena* arena, const TrackRectangleResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TrackRectangleResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackRectangleResponse) + ::google::protobuf::Arena* arena, + const TrackRectangleResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TrackRectangleResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackRectangleResponse) } inline PROTOBUF_NDEBUG_INLINE TrackRectangleResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TrackRectangleResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -TrackRectangleResponse::~TrackRectangleResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackRectangleResponse) - SharedDtor(*this); -} -inline void TrackRectangleResponse::SharedDtor(MessageLite& self) -{ - TrackRectangleResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -TrackRectangleResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TrackRectangleResponse(arena); -} -constexpr auto TrackRectangleResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TrackRectangleResponse), alignof(TrackRectangleResponse)); -} -PROTOBUF_CONSTINIT + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TrackRectangleResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +TrackRectangleResponse::~TrackRectangleResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackRectangleResponse) + SharedDtor(*this); +} +inline void TrackRectangleResponse::SharedDtor(MessageLite& self) { + TrackRectangleResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* TrackRectangleResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TrackRectangleResponse(arena); +} +constexpr auto TrackRectangleResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TrackRectangleResponse), + alignof(TrackRectangleResponse)); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull TrackRectangleResponse::_class_data_ = { ::google::protobuf::internal::ClassData{ &_TrackRectangleResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TrackRectangleResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TrackRectangleResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TrackRectangleResponse::ByteSizeLong, - &TrackRectangleResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TrackRectangleResponse::ByteSizeLong, + &TrackRectangleResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_._cached_size_), false, }, &TrackRectangleResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TrackRectangleResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TrackRectangleResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::TrackRectangleResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TrackRectangleResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackRectangleResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TrackRectangleResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TrackRectangleResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TrackRectangleResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TrackRectangleResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackRectangleResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TrackRectangleResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TrackRectangleResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackRectangleResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(TrackRectangleResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackRectangleResponse) - return target; -} +PROTOBUF_NOINLINE void TrackRectangleResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackRectangleResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TrackRectangleResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TrackRectangleResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TrackRectangleResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TrackRectangleResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackRectangleResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackRectangleResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TrackRectangleResponse::ByteSizeLong(const MessageLite& base) -{ - const TrackRectangleResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TrackRectangleResponse::ByteSizeLong() const -{ - const TrackRectangleResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackRectangleResponse) - ::size_t total_size = 0; + ::size_t TrackRectangleResponse::ByteSizeLong(const MessageLite& base) { + const TrackRectangleResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TrackRectangleResponse::ByteSizeLong() const { + const TrackRectangleResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackRectangleResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TrackRectangleResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackRectangleResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void TrackRectangleResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackRectangleResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TrackRectangleResponse::CopyFrom(const TrackRectangleResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackRectangleResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TrackRectangleResponse::CopyFrom(const TrackRectangleResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackRectangleResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TrackRectangleResponse::InternalSwap(TrackRectangleResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void TrackRectangleResponse::InternalSwap(TrackRectangleResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata TrackRectangleResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TrackRectangleResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TrackStopRequest::_Internal { -public: + public: }; TrackStopRequest::TrackStopRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackStopRequest) -} -TrackStopRequest::TrackStopRequest(::google::protobuf::Arena* arena, const TrackStopRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TrackStopRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackStopRequest) -} - -inline void* -TrackStopRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TrackStopRequest(arena); -} -constexpr auto TrackStopRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TrackStopRequest), alignof(TrackStopRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackStopRequest) +} +TrackStopRequest::TrackStopRequest( + ::google::protobuf::Arena* arena, + const TrackStopRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TrackStopRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackStopRequest) +} + +inline void* TrackStopRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TrackStopRequest(arena); +} +constexpr auto TrackStopRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TrackStopRequest), + alignof(TrackStopRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -16459,149 +14707,138 @@ const ::google::protobuf::internal::ClassDataFull TrackStopRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_TrackStopRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TrackStopRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TrackStopRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &TrackStopRequest::ByteSizeLong, - &TrackStopRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &TrackStopRequest::ByteSizeLong, + &TrackStopRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TrackStopRequest, _impl_._cached_size_), false, }, &TrackStopRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TrackStopRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - TrackStopRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackStopRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata TrackStopRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TrackStopRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> TrackStopRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackStopRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata TrackStopRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class TrackStopResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_._has_bits_); }; TrackStopResponse::TrackStopResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackStopResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.TrackStopResponse) } inline PROTOBUF_NDEBUG_INLINE TrackStopResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::TrackStopResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::TrackStopResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} TrackStopResponse::TrackStopResponse( - ::google::protobuf::Arena* arena, const TrackStopResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - TrackStopResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackStopResponse) + ::google::protobuf::Arena* arena, + const TrackStopResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TrackStopResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.TrackStopResponse) } inline PROTOBUF_NDEBUG_INLINE TrackStopResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void TrackStopResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -TrackStopResponse::~TrackStopResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackStopResponse) - SharedDtor(*this); -} -inline void TrackStopResponse::SharedDtor(MessageLite& self) -{ - TrackStopResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -TrackStopResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) TrackStopResponse(arena); -} -constexpr auto TrackStopResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(TrackStopResponse), alignof(TrackStopResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void TrackStopResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +TrackStopResponse::~TrackStopResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.TrackStopResponse) + SharedDtor(*this); +} +inline void TrackStopResponse::SharedDtor(MessageLite& self) { + TrackStopResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* TrackStopResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TrackStopResponse(arena); +} +constexpr auto TrackStopResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TrackStopResponse), + alignof(TrackStopResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -16609,242 +14846,213 @@ const ::google::protobuf::internal::ClassDataFull TrackStopResponse::_class_data ::google::protobuf::internal::ClassData{ &_TrackStopResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &TrackStopResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &TrackStopResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &TrackStopResponse::ByteSizeLong, - &TrackStopResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &TrackStopResponse::ByteSizeLong, + &TrackStopResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_._cached_size_), false, }, &TrackStopResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* TrackStopResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - TrackStopResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackStopResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void TrackStopResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackStopResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* TrackStopResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const TrackStopResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* TrackStopResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const TrackStopResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackStopResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TrackStopResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> TrackStopResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::TrackStopResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(TrackStopResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackStopResponse) - return target; -} +PROTOBUF_NOINLINE void TrackStopResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.TrackStopResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TrackStopResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TrackStopResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TrackStopResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TrackStopResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.TrackStopResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.TrackStopResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t TrackStopResponse::ByteSizeLong(const MessageLite& base) -{ - const TrackStopResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t TrackStopResponse::ByteSizeLong() const -{ - const TrackStopResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackStopResponse) - ::size_t total_size = 0; + ::size_t TrackStopResponse::ByteSizeLong(const MessageLite& base) { + const TrackStopResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TrackStopResponse::ByteSizeLong() const { + const TrackStopResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.TrackStopResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void TrackStopResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackStopResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void TrackStopResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.TrackStopResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void TrackStopResponse::CopyFrom(const TrackStopResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackStopResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void TrackStopResponse::CopyFrom(const TrackStopResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.TrackStopResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void TrackStopResponse::InternalSwap(TrackStopResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void TrackStopResponse::InternalSwap(TrackStopResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata TrackStopResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata TrackStopResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusInStartRequest::_Internal { -public: + public: }; FocusInStartRequest::FocusInStartRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusInStartRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusInStartRequest) } FocusInStartRequest::FocusInStartRequest( - ::google::protobuf::Arena* arena, const FocusInStartRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FocusInStartRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusInStartRequest) -} - -inline void* -FocusInStartRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusInStartRequest(arena); -} -constexpr auto FocusInStartRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusInStartRequest), alignof(FocusInStartRequest)); + ::google::protobuf::Arena* arena, + const FocusInStartRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FocusInStartRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusInStartRequest) +} + +inline void* FocusInStartRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusInStartRequest(arena); +} +constexpr auto FocusInStartRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusInStartRequest), + alignof(FocusInStartRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -16852,149 +15060,138 @@ const ::google::protobuf::internal::ClassDataFull FocusInStartRequest::_class_da ::google::protobuf::internal::ClassData{ &_FocusInStartRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusInStartRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusInStartRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &FocusInStartRequest::ByteSizeLong, - &FocusInStartRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &FocusInStartRequest::ByteSizeLong, + &FocusInStartRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusInStartRequest, _impl_._cached_size_), false, }, &FocusInStartRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusInStartRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - FocusInStartRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusInStartRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata FocusInStartRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusInStartRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> FocusInStartRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusInStartRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata FocusInStartRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusInStartResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_._has_bits_); }; FocusInStartResponse::FocusInStartResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusInStartResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusInStartResponse) } inline PROTOBUF_NDEBUG_INLINE FocusInStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::FocusInStartResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::FocusInStartResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} FocusInStartResponse::FocusInStartResponse( - ::google::protobuf::Arena* arena, const FocusInStartResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FocusInStartResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusInStartResponse) + ::google::protobuf::Arena* arena, + const FocusInStartResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FocusInStartResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusInStartResponse) } inline PROTOBUF_NDEBUG_INLINE FocusInStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FocusInStartResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -FocusInStartResponse::~FocusInStartResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusInStartResponse) - SharedDtor(*this); -} -inline void FocusInStartResponse::SharedDtor(MessageLite& self) -{ - FocusInStartResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -FocusInStartResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusInStartResponse(arena); -} -constexpr auto FocusInStartResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusInStartResponse), alignof(FocusInStartResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FocusInStartResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +FocusInStartResponse::~FocusInStartResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusInStartResponse) + SharedDtor(*this); +} +inline void FocusInStartResponse::SharedDtor(MessageLite& self) { + FocusInStartResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* FocusInStartResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusInStartResponse(arena); +} +constexpr auto FocusInStartResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusInStartResponse), + alignof(FocusInStartResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -17002,243 +15199,213 @@ const ::google::protobuf::internal::ClassDataFull FocusInStartResponse::_class_d ::google::protobuf::internal::ClassData{ &_FocusInStartResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusInStartResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusInStartResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FocusInStartResponse::ByteSizeLong, - &FocusInStartResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FocusInStartResponse::ByteSizeLong, + &FocusInStartResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_._cached_size_), false, }, &FocusInStartResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusInStartResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - FocusInStartResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::FocusInStartResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void FocusInStartResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusInStartResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FocusInStartResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FocusInStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FocusInStartResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FocusInStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusInStartResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusInStartResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> FocusInStartResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusInStartResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(FocusInStartResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusInStartResponse) - return target; -} +PROTOBUF_NOINLINE void FocusInStartResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusInStartResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FocusInStartResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FocusInStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FocusInStartResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FocusInStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusInStartResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusInStartResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FocusInStartResponse::ByteSizeLong(const MessageLite& base) -{ - const FocusInStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FocusInStartResponse::ByteSizeLong() const -{ - const FocusInStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusInStartResponse) - ::size_t total_size = 0; + ::size_t FocusInStartResponse::ByteSizeLong(const MessageLite& base) { + const FocusInStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FocusInStartResponse::ByteSizeLong() const { + const FocusInStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusInStartResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void FocusInStartResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusInStartResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void FocusInStartResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusInStartResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FocusInStartResponse::CopyFrom(const FocusInStartResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusInStartResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FocusInStartResponse::CopyFrom(const FocusInStartResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusInStartResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FocusInStartResponse::InternalSwap(FocusInStartResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void FocusInStartResponse::InternalSwap(FocusInStartResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata FocusInStartResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FocusInStartResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusOutStartRequest::_Internal { -public: + public: }; FocusOutStartRequest::FocusOutStartRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusOutStartRequest) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusOutStartRequest) } FocusOutStartRequest::FocusOutStartRequest( - ::google::protobuf::Arena* arena, const FocusOutStartRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FocusOutStartRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusOutStartRequest) -} - -inline void* -FocusOutStartRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusOutStartRequest(arena); -} -constexpr auto FocusOutStartRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusOutStartRequest), alignof(FocusOutStartRequest)); + ::google::protobuf::Arena* arena, + const FocusOutStartRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FocusOutStartRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusOutStartRequest) +} + +inline void* FocusOutStartRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusOutStartRequest(arena); +} +constexpr auto FocusOutStartRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusOutStartRequest), + alignof(FocusOutStartRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -17246,150 +15413,138 @@ const ::google::protobuf::internal::ClassDataFull FocusOutStartRequest::_class_d ::google::protobuf::internal::ClassData{ &_FocusOutStartRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusOutStartRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusOutStartRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &FocusOutStartRequest::ByteSizeLong, - &FocusOutStartRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &FocusOutStartRequest::ByteSizeLong, + &FocusOutStartRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusOutStartRequest, _impl_._cached_size_), false, }, &FocusOutStartRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusOutStartRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - FocusOutStartRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::FocusOutStartRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata FocusOutStartRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusOutStartRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> FocusOutStartRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusOutStartRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata FocusOutStartRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusOutStartResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_._has_bits_); }; FocusOutStartResponse::FocusOutStartResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusOutStartResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusOutStartResponse) } inline PROTOBUF_NDEBUG_INLINE FocusOutStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::FocusOutStartResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::FocusOutStartResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} FocusOutStartResponse::FocusOutStartResponse( - ::google::protobuf::Arena* arena, const FocusOutStartResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FocusOutStartResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusOutStartResponse) + ::google::protobuf::Arena* arena, + const FocusOutStartResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FocusOutStartResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusOutStartResponse) } inline PROTOBUF_NDEBUG_INLINE FocusOutStartResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FocusOutStartResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -FocusOutStartResponse::~FocusOutStartResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusOutStartResponse) - SharedDtor(*this); -} -inline void FocusOutStartResponse::SharedDtor(MessageLite& self) -{ - FocusOutStartResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -FocusOutStartResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusOutStartResponse(arena); -} -constexpr auto FocusOutStartResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusOutStartResponse), alignof(FocusOutStartResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FocusOutStartResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +FocusOutStartResponse::~FocusOutStartResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusOutStartResponse) + SharedDtor(*this); +} +inline void FocusOutStartResponse::SharedDtor(MessageLite& self) { + FocusOutStartResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* FocusOutStartResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusOutStartResponse(arena); +} +constexpr auto FocusOutStartResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusOutStartResponse), + alignof(FocusOutStartResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -17397,242 +15552,213 @@ const ::google::protobuf::internal::ClassDataFull FocusOutStartResponse::_class_ ::google::protobuf::internal::ClassData{ &_FocusOutStartResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusOutStartResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusOutStartResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FocusOutStartResponse::ByteSizeLong, - &FocusOutStartResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FocusOutStartResponse::ByteSizeLong, + &FocusOutStartResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_._cached_size_), false, }, &FocusOutStartResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusOutStartResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - FocusOutStartResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable< - ::mavsdk::rpc::camera::FocusOutStartResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void FocusOutStartResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusOutStartResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FocusOutStartResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FocusOutStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FocusOutStartResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FocusOutStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusOutStartResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusOutStartResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> FocusOutStartResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusOutStartResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(FocusOutStartResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusOutStartResponse) - return target; -} +PROTOBUF_NOINLINE void FocusOutStartResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusOutStartResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FocusOutStartResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FocusOutStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FocusOutStartResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FocusOutStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusOutStartResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusOutStartResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FocusOutStartResponse::ByteSizeLong(const MessageLite& base) -{ - const FocusOutStartResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FocusOutStartResponse::ByteSizeLong() const -{ - const FocusOutStartResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusOutStartResponse) - ::size_t total_size = 0; + ::size_t FocusOutStartResponse::ByteSizeLong(const MessageLite& base) { + const FocusOutStartResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FocusOutStartResponse::ByteSizeLong() const { + const FocusOutStartResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusOutStartResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void FocusOutStartResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusOutStartResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void FocusOutStartResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusOutStartResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FocusOutStartResponse::CopyFrom(const FocusOutStartResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusOutStartResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FocusOutStartResponse::CopyFrom(const FocusOutStartResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusOutStartResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FocusOutStartResponse::InternalSwap(FocusOutStartResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void FocusOutStartResponse::InternalSwap(FocusOutStartResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata FocusOutStartResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FocusOutStartResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusStopRequest::_Internal { -public: + public: }; FocusStopRequest::FocusStopRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusStopRequest) -} -FocusStopRequest::FocusStopRequest(::google::protobuf::Arena* arena, const FocusStopRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::internal::ZeroFieldsBase(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FocusStopRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusStopRequest) -} - -inline void* -FocusStopRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusStopRequest(arena); -} -constexpr auto FocusStopRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusStopRequest), alignof(FocusStopRequest)); + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusStopRequest) +} +FocusStopRequest::FocusStopRequest( + ::google::protobuf::Arena* arena, + const FocusStopRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FocusStopRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusStopRequest) +} + +inline void* FocusStopRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusStopRequest(arena); +} +constexpr auto FocusStopRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusStopRequest), + alignof(FocusStopRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -17640,149 +15766,138 @@ const ::google::protobuf::internal::ClassDataFull FocusStopRequest::_class_data_ ::google::protobuf::internal::ClassData{ &_FocusStopRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusStopRequest::MergeImpl, ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusStopRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), - &FocusStopRequest::ByteSizeLong, - &FocusStopRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &FocusStopRequest::ByteSizeLong, + &FocusStopRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusStopRequest, _impl_._cached_size_), false, }, &FocusStopRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusStopRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 0, 0, 0, 2> - FocusStopRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusStopRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - // no field_entries, or aux_entries - {{}}, - }; - -::google::protobuf::Metadata FocusStopRequest::GetMetadata() const -{ - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusStopRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> FocusStopRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusStopRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata FocusStopRequest::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusStopResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_._has_bits_); }; FocusStopResponse::FocusStopResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusStopResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusStopResponse) } inline PROTOBUF_NDEBUG_INLINE FocusStopResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::FocusStopResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::FocusStopResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} FocusStopResponse::FocusStopResponse( - ::google::protobuf::Arena* arena, const FocusStopResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FocusStopResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusStopResponse) + ::google::protobuf::Arena* arena, + const FocusStopResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FocusStopResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusStopResponse) } inline PROTOBUF_NDEBUG_INLINE FocusStopResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FocusStopResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -FocusStopResponse::~FocusStopResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusStopResponse) - SharedDtor(*this); -} -inline void FocusStopResponse::SharedDtor(MessageLite& self) -{ - FocusStopResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -FocusStopResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusStopResponse(arena); -} -constexpr auto FocusStopResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusStopResponse), alignof(FocusStopResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FocusStopResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +FocusStopResponse::~FocusStopResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusStopResponse) + SharedDtor(*this); +} +inline void FocusStopResponse::SharedDtor(MessageLite& self) { + FocusStopResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* FocusStopResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusStopResponse(arena); +} +constexpr auto FocusStopResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusStopResponse), + alignof(FocusStopResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -17790,254 +15905,223 @@ const ::google::protobuf::internal::ClassDataFull FocusStopResponse::_class_data ::google::protobuf::internal::ClassData{ &_FocusStopResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusStopResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusStopResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FocusStopResponse::ByteSizeLong, - &FocusStopResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FocusStopResponse::ByteSizeLong, + &FocusStopResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_._cached_size_), false, }, &FocusStopResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusStopResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - FocusStopResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusStopResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void FocusStopResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusStopResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FocusStopResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FocusStopResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FocusStopResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FocusStopResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusStopResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusStopResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> FocusStopResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusStopResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(FocusStopResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusStopResponse) - return target; -} +PROTOBUF_NOINLINE void FocusStopResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusStopResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FocusStopResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FocusStopResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FocusStopResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FocusStopResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusStopResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusStopResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FocusStopResponse::ByteSizeLong(const MessageLite& base) -{ - const FocusStopResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FocusStopResponse::ByteSizeLong() const -{ - const FocusStopResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusStopResponse) - ::size_t total_size = 0; + ::size_t FocusStopResponse::ByteSizeLong(const MessageLite& base) { + const FocusStopResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FocusStopResponse::ByteSizeLong() const { + const FocusStopResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusStopResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void FocusStopResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusStopResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void FocusStopResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusStopResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FocusStopResponse::CopyFrom(const FocusStopResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusStopResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FocusStopResponse::CopyFrom(const FocusStopResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusStopResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FocusStopResponse::InternalSwap(FocusStopResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void FocusStopResponse::InternalSwap(FocusStopResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata FocusStopResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FocusStopResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusRangeRequest::_Internal { -public: + public: }; FocusRangeRequest::FocusRangeRequest(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusRangeRequest) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusRangeRequest) } FocusRangeRequest::FocusRangeRequest( - ::google::protobuf::Arena* arena, const FocusRangeRequest& from) : - FocusRangeRequest(arena) -{ - MergeFrom(from); + ::google::protobuf::Arena* arena, const FocusRangeRequest& from) + : FocusRangeRequest(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE FocusRangeRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FocusRangeRequest::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.range_ = {}; -} -FocusRangeRequest::~FocusRangeRequest() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusRangeRequest) - SharedDtor(*this); -} -inline void FocusRangeRequest::SharedDtor(MessageLite& self) -{ - FocusRangeRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* -FocusRangeRequest::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusRangeRequest(arena); -} -constexpr auto FocusRangeRequest::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusRangeRequest), alignof(FocusRangeRequest)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FocusRangeRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.range_ = {}; +} +FocusRangeRequest::~FocusRangeRequest() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusRangeRequest) + SharedDtor(*this); +} +inline void FocusRangeRequest::SharedDtor(MessageLite& self) { + FocusRangeRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* FocusRangeRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusRangeRequest(arena); +} +constexpr auto FocusRangeRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusRangeRequest), + alignof(FocusRangeRequest)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -18045,260 +16129,231 @@ const ::google::protobuf::internal::ClassDataFull FocusRangeRequest::_class_data ::google::protobuf::internal::ClassData{ &_FocusRangeRequest_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusRangeRequest::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusRangeRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FocusRangeRequest::ByteSizeLong, - &FocusRangeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FocusRangeRequest::ByteSizeLong, + &FocusRangeRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusRangeRequest, _impl_._cached_size_), false, }, &FocusRangeRequest::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusRangeRequest::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> - FocusRangeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusRangeRequest>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float range = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(FocusRangeRequest, _impl_.range_)}}, - }}, - {{65535, 65535}}, - {{ - // float range = 1; - {PROTOBUF_FIELD_OFFSET(FocusRangeRequest, _impl_.range_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void FocusRangeRequest::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusRangeRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.range_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FocusRangeRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FocusRangeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FocusRangeRequest::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FocusRangeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusRangeRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusRangeRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> FocusRangeRequest::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusRangeRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // float range = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_range(), target); - } + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(FocusRangeRequest, _impl_.range_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float range = 1; + {PROTOBUF_FIELD_OFFSET(FocusRangeRequest, _impl_.range_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusRangeRequest) - return target; -} +PROTOBUF_NOINLINE void FocusRangeRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusRangeRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.range_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FocusRangeRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FocusRangeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FocusRangeRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FocusRangeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusRangeRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float range = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_range(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusRangeRequest) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FocusRangeRequest::ByteSizeLong(const MessageLite& base) -{ - const FocusRangeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FocusRangeRequest::ByteSizeLong() const -{ - const FocusRangeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusRangeRequest) - ::size_t total_size = 0; + ::size_t FocusRangeRequest::ByteSizeLong(const MessageLite& base) { + const FocusRangeRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FocusRangeRequest::ByteSizeLong() const { + const FocusRangeRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusRangeRequest) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // float range = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { - total_size += 5; + { + // float range = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_range()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void FocusRangeRequest::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusRangeRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void FocusRangeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusRangeRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_range()) != 0) { - _this->_impl_.range_ = from._impl_.range_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_range()) != 0) { + _this->_impl_.range_ = from._impl_.range_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FocusRangeRequest::CopyFrom(const FocusRangeRequest& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusRangeRequest) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FocusRangeRequest::CopyFrom(const FocusRangeRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusRangeRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FocusRangeRequest::InternalSwap(FocusRangeRequest* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.range_, other->_impl_.range_); + +void FocusRangeRequest::InternalSwap(FocusRangeRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.range_, other->_impl_.range_); } -::google::protobuf::Metadata FocusRangeRequest::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FocusRangeRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class FocusRangeResponse::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_._has_bits_); }; FocusRangeResponse::FocusRangeResponse(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusRangeResponse) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.FocusRangeResponse) } inline PROTOBUF_NDEBUG_INLINE FocusRangeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::FocusRangeResponse& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::FocusRangeResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} FocusRangeResponse::FocusRangeResponse( - ::google::protobuf::Arena* arena, const FocusRangeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - FocusRangeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.camera_result_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_) : - nullptr; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusRangeResponse) + ::google::protobuf::Arena* arena, + const FocusRangeResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FocusRangeResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.camera_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( + arena, *from._impl_.camera_result_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.FocusRangeResponse) } inline PROTOBUF_NDEBUG_INLINE FocusRangeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void FocusRangeResponse::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.camera_result_ = {}; -} -FocusRangeResponse::~FocusRangeResponse() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusRangeResponse) - SharedDtor(*this); -} -inline void FocusRangeResponse::SharedDtor(MessageLite& self) -{ - FocusRangeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.camera_result_; - this_._impl_.~Impl_(); -} - -inline void* -FocusRangeResponse::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) FocusRangeResponse(arena); -} -constexpr auto FocusRangeResponse::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(FocusRangeResponse), alignof(FocusRangeResponse)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FocusRangeResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.camera_result_ = {}; +} +FocusRangeResponse::~FocusRangeResponse() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.FocusRangeResponse) + SharedDtor(*this); +} +inline void FocusRangeResponse::SharedDtor(MessageLite& self) { + FocusRangeResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.camera_result_; + this_._impl_.~Impl_(); +} + +inline void* FocusRangeResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FocusRangeResponse(arena); +} +constexpr auto FocusRangeResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FocusRangeResponse), + alignof(FocusRangeResponse)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -18306,276 +16361,243 @@ const ::google::protobuf::internal::ClassDataFull FocusRangeResponse::_class_dat ::google::protobuf::internal::ClassData{ &_FocusRangeResponse_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &FocusRangeResponse::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &FocusRangeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &FocusRangeResponse::ByteSizeLong, - &FocusRangeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &FocusRangeResponse::ByteSizeLong, + &FocusRangeResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_._cached_size_), false, }, &FocusRangeResponse::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* FocusRangeResponse::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> - FocusRangeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, - 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusRangeResponse>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_.camera_result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - {PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_.camera_result_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void FocusRangeResponse::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusRangeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.camera_result_ != nullptr); - _impl_.camera_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* FocusRangeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const FocusRangeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* FocusRangeResponse::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const FocusRangeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusRangeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FocusRangeResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> FocusRangeResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::FocusRangeResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ // .mavsdk.rpc.camera.CameraResult camera_result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, - *this_._impl_.camera_result_, - this_._impl_.camera_result_->GetCachedSize(), - target, - stream); - } + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_.camera_result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + {PROTOBUF_FIELD_OFFSET(FocusRangeResponse, _impl_.camera_result_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusRangeResponse) - return target; -} +PROTOBUF_NOINLINE void FocusRangeResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.FocusRangeResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.camera_result_ != nullptr); + _impl_.camera_result_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FocusRangeResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FocusRangeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FocusRangeResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FocusRangeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.FocusRangeResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.camera_result_, this_._impl_.camera_result_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.FocusRangeResponse) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t FocusRangeResponse::ByteSizeLong(const MessageLite& base) -{ - const FocusRangeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t FocusRangeResponse::ByteSizeLong() const -{ - const FocusRangeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusRangeResponse) - ::size_t total_size = 0; + ::size_t FocusRangeResponse::ByteSizeLong(const MessageLite& base) { + const FocusRangeResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FocusRangeResponse::ByteSizeLong() const { + const FocusRangeResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.FocusRangeResponse) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - { - // .mavsdk.rpc.camera.CameraResult camera_result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.camera_result_); + { + // .mavsdk.rpc.camera.CameraResult camera_result = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.camera_result_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void FocusRangeResponse::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusRangeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.camera_result_ != nullptr); - if (_this->_impl_.camera_result_ == nullptr) { - _this->_impl_.camera_result_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>( - arena, *from._impl_.camera_result_); - } else { - _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); - } +void FocusRangeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.FocusRangeResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.camera_result_ != nullptr); + if (_this->_impl_.camera_result_ == nullptr) { + _this->_impl_.camera_result_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::CameraResult>(arena, *from._impl_.camera_result_); + } else { + _this->_impl_.camera_result_->MergeFrom(*from._impl_.camera_result_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void FocusRangeResponse::CopyFrom(const FocusRangeResponse& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusRangeResponse) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void FocusRangeResponse::CopyFrom(const FocusRangeResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.FocusRangeResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void FocusRangeResponse::InternalSwap(FocusRangeResponse* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.camera_result_, other->_impl_.camera_result_); + +void FocusRangeResponse::InternalSwap(FocusRangeResponse* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.camera_result_, other->_impl_.camera_result_); } -::google::protobuf::Metadata FocusRangeResponse::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata FocusRangeResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CameraResult::_Internal { -public: + public: }; CameraResult::CameraResult(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CameraResult) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CameraResult) } inline PROTOBUF_NDEBUG_INLINE CameraResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::CameraResult& from_msg) + : result_str_(arena, from.result_str_), + _cached_size_{0} {} + +CameraResult::CameraResult( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::CameraResult& from_msg) : - result_str_(arena, from.result_str_), - _cached_size_{0} -{} - -CameraResult::CameraResult(::google::protobuf::Arena* arena, const CameraResult& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CameraResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CameraResult) + const CameraResult& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CameraResult* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.result_ = from._impl_.result_; + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CameraResult) } inline PROTOBUF_NDEBUG_INLINE CameraResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - result_str_(arena), - _cached_size_{0} -{} - -inline void CameraResult::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -CameraResult::~CameraResult() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CameraResult) - SharedDtor(*this); -} -inline void CameraResult::SharedDtor(MessageLite& self) -{ - CameraResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.result_str_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* CameraResult::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CameraResult(arena); -} -constexpr auto CameraResult::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(CameraResult), alignof(CameraResult)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : result_str_(arena), + _cached_size_{0} {} + +inline void CameraResult::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.result_ = {}; +} +CameraResult::~CameraResult() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CameraResult) + SharedDtor(*this); +} +inline void CameraResult::SharedDtor(MessageLite& self) { + CameraResult& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.result_str_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* CameraResult::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CameraResult(arena); +} +constexpr auto CameraResult::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CameraResult), + alignof(CameraResult)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -18583,265 +16605,241 @@ const ::google::protobuf::internal::ClassDataFull CameraResult::_class_data_ = { ::google::protobuf::internal::ClassData{ &_CameraResult_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CameraResult::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CameraResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CameraResult::ByteSizeLong, - &CameraResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CameraResult::ByteSizeLong, + &CameraResult::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CameraResult, _impl_._cached_size_), false, }, &CameraResult::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CameraResult::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 49, 2> - CameraResult::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, - 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // string result_str = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_str_)}}, - // .mavsdk.rpc.camera.CameraResult.Result result = 1; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(CameraResult, _impl_.result_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.CameraResult.Result result = 1; - {PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string result_str = 2; - {PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_str_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{"\36\0\12\0\0\0\0\0" - "mavsdk.rpc.camera.CameraResult" - "result_str"}}, - }; - -PROTOBUF_NOINLINE void CameraResult::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CameraResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.result_str_.ClearToEmpty(); - _impl_.result_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CameraResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CameraResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CameraResult::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CameraResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CameraResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CameraResult::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 49, 2> CameraResult::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CameraResult>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string result_str = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_str_)}}, // .mavsdk.rpc.camera.CameraResult.Result result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(1, this_._internal_result(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CameraResult, _impl_.result_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.CameraResult.Result result = 1; + {PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, // string result_str = 2; - if (!this_._internal_result_str().empty()) { - const std::string& _s = this_._internal_result_str(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.camera.CameraResult.result_str"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } + {PROTOBUF_FIELD_OFFSET(CameraResult, _impl_.result_str_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\36\0\12\0\0\0\0\0" + "mavsdk.rpc.camera.CameraResult" + "result_str" + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CameraResult) - return target; -} +PROTOBUF_NOINLINE void CameraResult::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CameraResult) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.result_str_.ClearToEmpty(); + _impl_.result_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CameraResult::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CameraResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CameraResult::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CameraResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CameraResult) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .mavsdk.rpc.camera.CameraResult.Result result = 1; + if (this_._internal_result() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_result(), target); + } + + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + const std::string& _s = this_._internal_result_str(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.camera.CameraResult.result_str"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CameraResult) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CameraResult::ByteSizeLong(const MessageLite& base) -{ - const CameraResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CameraResult::ByteSizeLong() const -{ - const CameraResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CameraResult) - ::size_t total_size = 0; + ::size_t CameraResult::ByteSizeLong(const MessageLite& base) { + const CameraResult& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CameraResult::ByteSizeLong() const { + const CameraResult& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CameraResult) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string result_str = 2; - if (!this_._internal_result_str().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_result_str()); - } - // .mavsdk.rpc.camera.CameraResult.Result result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string result_str = 2; + if (!this_._internal_result_str().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_result_str()); + } + // .mavsdk.rpc.camera.CameraResult.Result result = 1; + if (this_._internal_result() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void CameraResult::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CameraResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void CameraResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CameraResult) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (!from._internal_result_str().empty()) { - _this->_internal_set_result_str(from._internal_result_str()); - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (!from._internal_result_str().empty()) { + _this->_internal_set_result_str(from._internal_result_str()); + } + if (from._internal_result() != 0) { + _this->_impl_.result_ = from._impl_.result_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void CameraResult::CopyFrom(const CameraResult& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CameraResult) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void CameraResult::CopyFrom(const CameraResult& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CameraResult) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void CameraResult::InternalSwap(CameraResult* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); - swap(_impl_.result_, other->_impl_.result_); + +void CameraResult::InternalSwap(CameraResult* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.result_str_, &other->_impl_.result_str_, arena); + swap(_impl_.result_, other->_impl_.result_); } -::google::protobuf::Metadata CameraResult::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata CameraResult::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class Position::_Internal { -public: + public: }; Position::Position(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Position) -} -Position::Position(::google::protobuf::Arena* arena, const Position& from) : Position(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Position) +} +Position::Position( + ::google::protobuf::Arena* arena, const Position& from) + : Position(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE Position::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void Position::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, latitude_deg_), - 0, - offsetof(Impl_, relative_altitude_m_) - offsetof(Impl_, latitude_deg_) + - sizeof(Impl_::relative_altitude_m_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Position::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, latitude_deg_), + 0, + offsetof(Impl_, relative_altitude_m_) - + offsetof(Impl_, latitude_deg_) + + sizeof(Impl_::relative_altitude_m_)); } -Position::~Position() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Position) - SharedDtor(*this); +Position::~Position() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Position) + SharedDtor(*this); } -inline void Position::SharedDtor(MessageLite& self) -{ - Position& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void Position::SharedDtor(MessageLite& self) { + Position& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* Position::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) Position(arena); +inline void* Position::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Position(arena); } -constexpr auto Position::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(Position), alignof(Position)); +constexpr auto Position::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Position), + alignof(Position)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -18849,308 +16847,278 @@ const ::google::protobuf::internal::ClassDataFull Position::_class_data_ = { ::google::protobuf::internal::ClassData{ &_Position_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &Position::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &Position::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &Position::ByteSizeLong, - &Position::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &Position::ByteSizeLong, + &Position::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(Position, _impl_._cached_size_), false, }, &Position::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Position::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> - Position::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 4, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967280, // skipmap - offsetof(decltype(_table_), field_entries), - 4, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Position>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float relative_altitude_m = 4; - {::_pbi::TcParser::FastF32S1, - {37, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.relative_altitude_m_)}}, - // double latitude_deg = 1; - {::_pbi::TcParser::FastF64S1, - {9, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_deg_)}}, - // double longitude_deg = 2; - {::_pbi::TcParser::FastF64S1, - {17, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.longitude_deg_)}}, - // float absolute_altitude_m = 3; - {::_pbi::TcParser::FastF32S1, - {29, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.absolute_altitude_m_)}}, - }}, - {{65535, 65535}}, - {{ - // double latitude_deg = 1; - {PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, - // double longitude_deg = 2; - {PROTOBUF_FIELD_OFFSET(Position, _impl_.longitude_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, - // float absolute_altitude_m = 3; - {PROTOBUF_FIELD_OFFSET(Position, _impl_.absolute_altitude_m_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float relative_altitude_m = 4; - {PROTOBUF_FIELD_OFFSET(Position, _impl_.relative_altitude_m_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void Position::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.Position) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.latitude_deg_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.relative_altitude_m_) - - reinterpret_cast(&_impl_.latitude_deg_)) + - sizeof(_impl_.relative_altitude_m_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* Position::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const Position& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* Position::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const Position& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.Position) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Position::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> Position::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Position>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float relative_altitude_m = 4; + {::_pbi::TcParser::FastF32S1, + {37, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.relative_altitude_m_)}}, // double latitude_deg = 1; - if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteDoubleToArray(1, this_._internal_latitude_deg(), target); - } - + {::_pbi::TcParser::FastF64S1, + {9, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_deg_)}}, // double longitude_deg = 2; - if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteDoubleToArray(2, this_._internal_longitude_deg(), target); - } - + {::_pbi::TcParser::FastF64S1, + {17, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.longitude_deg_)}}, // float absolute_altitude_m = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 3, this_._internal_absolute_altitude_m(), target); - } - + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(Position, _impl_.absolute_altitude_m_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // double latitude_deg = 1; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // double longitude_deg = 2; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.longitude_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kDouble)}, + // float absolute_altitude_m = 3; + {PROTOBUF_FIELD_OFFSET(Position, _impl_.absolute_altitude_m_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float relative_altitude_m = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 4, this_._internal_relative_altitude_m(), target); - } + {PROTOBUF_FIELD_OFFSET(Position, _impl_.relative_altitude_m_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.Position) - return target; -} +PROTOBUF_NOINLINE void Position::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.Position) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.latitude_deg_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.relative_altitude_m_) - + reinterpret_cast(&_impl_.latitude_deg_)) + sizeof(_impl_.relative_altitude_m_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Position::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Position& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Position::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Position& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.Position) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // double latitude_deg = 1; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 1, this_._internal_latitude_deg(), target); + } + + // double longitude_deg = 2; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteDoubleToArray( + 2, this_._internal_longitude_deg(), target); + } + + // float absolute_altitude_m = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_absolute_altitude_m(), target); + } + + // float relative_altitude_m = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this_._internal_relative_altitude_m(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.Position) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t Position::ByteSizeLong(const MessageLite& base) -{ - const Position& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t Position::ByteSizeLong() const -{ - const Position& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.Position) - ::size_t total_size = 0; + ::size_t Position::ByteSizeLong(const MessageLite& base) { + const Position& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Position::ByteSizeLong() const { + const Position& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.Position) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // double latitude_deg = 1; - if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { - total_size += 9; - } - // double longitude_deg = 2; - if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { - total_size += 9; - } - // float absolute_altitude_m = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { - total_size += 5; - } - // float relative_altitude_m = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // double latitude_deg = 1; + if (::absl::bit_cast<::uint64_t>(this_._internal_latitude_deg()) != 0) { + total_size += 9; + } + // double longitude_deg = 2; + if (::absl::bit_cast<::uint64_t>(this_._internal_longitude_deg()) != 0) { + total_size += 9; + } + // float absolute_altitude_m = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_absolute_altitude_m()) != 0) { + total_size += 5; + } + // float relative_altitude_m = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_relative_altitude_m()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void Position::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.Position) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - if (::absl::bit_cast<::uint64_t>(from._internal_latitude_deg()) != 0) { - _this->_impl_.latitude_deg_ = from._impl_.latitude_deg_; - } - if (::absl::bit_cast<::uint64_t>(from._internal_longitude_deg()) != 0) { - _this->_impl_.longitude_deg_ = from._impl_.longitude_deg_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_absolute_altitude_m()) != 0) { - _this->_impl_.absolute_altitude_m_ = from._impl_.absolute_altitude_m_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_relative_altitude_m()) != 0) { - _this->_impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void Position::CopyFrom(const Position& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.Position) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void Position::InternalSwap(Position* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Position, _impl_.relative_altitude_m_) + - sizeof(Position::_impl_.relative_altitude_m_) - - PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_deg_)>( - reinterpret_cast(&_impl_.latitude_deg_), - reinterpret_cast(&other->_impl_.latitude_deg_)); -} - -::google::protobuf::Metadata Position::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void Position::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.Position) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint64_t>(from._internal_latitude_deg()) != 0) { + _this->_impl_.latitude_deg_ = from._impl_.latitude_deg_; + } + if (::absl::bit_cast<::uint64_t>(from._internal_longitude_deg()) != 0) { + _this->_impl_.longitude_deg_ = from._impl_.longitude_deg_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_absolute_altitude_m()) != 0) { + _this->_impl_.absolute_altitude_m_ = from._impl_.absolute_altitude_m_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_relative_altitude_m()) != 0) { + _this->_impl_.relative_altitude_m_ = from._impl_.relative_altitude_m_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Position::CopyFrom(const Position& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.Position) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Position::InternalSwap(Position* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Position, _impl_.relative_altitude_m_) + + sizeof(Position::_impl_.relative_altitude_m_) + - PROTOBUF_FIELD_OFFSET(Position, _impl_.latitude_deg_)>( + reinterpret_cast(&_impl_.latitude_deg_), + reinterpret_cast(&other->_impl_.latitude_deg_)); +} + +::google::protobuf::Metadata Position::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class Quaternion::_Internal { -public: + public: }; Quaternion::Quaternion(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Quaternion) -} -Quaternion::Quaternion(::google::protobuf::Arena* arena, const Quaternion& from) : Quaternion(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Quaternion) +} +Quaternion::Quaternion( + ::google::protobuf::Arena* arena, const Quaternion& from) + : Quaternion(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE Quaternion::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void Quaternion::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, w_), - 0, - offsetof(Impl_, z_) - offsetof(Impl_, w_) + sizeof(Impl_::z_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Quaternion::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, w_), + 0, + offsetof(Impl_, z_) - + offsetof(Impl_, w_) + + sizeof(Impl_::z_)); } -Quaternion::~Quaternion() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Quaternion) - SharedDtor(*this); +Quaternion::~Quaternion() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Quaternion) + SharedDtor(*this); } -inline void Quaternion::SharedDtor(MessageLite& self) -{ - Quaternion& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void Quaternion::SharedDtor(MessageLite& self) { + Quaternion& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* Quaternion::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) Quaternion(arena); +inline void* Quaternion::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Quaternion(arena); } -constexpr auto Quaternion::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(Quaternion), alignof(Quaternion)); +constexpr auto Quaternion::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Quaternion), + alignof(Quaternion)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -19158,301 +17126,278 @@ const ::google::protobuf::internal::ClassDataFull Quaternion::_class_data_ = { ::google::protobuf::internal::ClassData{ &_Quaternion_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &Quaternion::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &Quaternion::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &Quaternion::ByteSizeLong, - &Quaternion::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &Quaternion::ByteSizeLong, + &Quaternion::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(Quaternion, _impl_._cached_size_), false, }, &Quaternion::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Quaternion::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 4, 0, 0, 2> - Quaternion::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 4, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967280, // skipmap - offsetof(decltype(_table_), field_entries), - 4, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Quaternion>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - // float z = 4; - {::_pbi::TcParser::FastF32S1, - {37, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.z_)}}, - // float w = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.w_)}}, - // float x = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.x_)}}, - // float y = 3; - {::_pbi::TcParser::FastF32S1, - {29, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.y_)}}, - }}, - {{65535, 65535}}, - {{ - // float w = 1; - {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.w_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float x = 2; - {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.x_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float y = 3; - {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.y_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float z = 4; - {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.z_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void Quaternion::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.Quaternion) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.w_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.z_) - reinterpret_cast(&_impl_.w_)) + - sizeof(_impl_.z_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* Quaternion::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const Quaternion& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* Quaternion::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const Quaternion& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.Quaternion) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Quaternion::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 0, 2> Quaternion::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Quaternion>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // float z = 4; + {::_pbi::TcParser::FastF32S1, + {37, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.z_)}}, // float w = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_w()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_w(), target); - } - + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.w_)}}, // float x = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_x()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_x(), target); - } - + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.x_)}}, // float y = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_y()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this_._internal_y(), target); - } - + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.y_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float w = 1; + {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.w_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float x = 2; + {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.x_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float y = 3; + {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.y_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, // float z = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_z()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(4, this_._internal_z(), target); - } + {PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.z_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.Quaternion) - return target; -} +PROTOBUF_NOINLINE void Quaternion::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.Quaternion) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.w_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.z_) - + reinterpret_cast(&_impl_.w_)) + sizeof(_impl_.z_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Quaternion::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Quaternion& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Quaternion::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Quaternion& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.Quaternion) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float w = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_w()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_w(), target); + } + + // float x = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_x()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_x(), target); + } + + // float y = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_y()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_y(), target); + } + + // float z = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_z()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this_._internal_z(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.Quaternion) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t Quaternion::ByteSizeLong(const MessageLite& base) -{ - const Quaternion& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t Quaternion::ByteSizeLong() const -{ - const Quaternion& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.Quaternion) - ::size_t total_size = 0; + ::size_t Quaternion::ByteSizeLong(const MessageLite& base) { + const Quaternion& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Quaternion::ByteSizeLong() const { + const Quaternion& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.Quaternion) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // float w = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_w()) != 0) { - total_size += 5; - } - // float x = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_x()) != 0) { - total_size += 5; - } - // float y = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_y()) != 0) { - total_size += 5; - } - // float z = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_z()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // float w = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_w()) != 0) { + total_size += 5; + } + // float x = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_x()) != 0) { + total_size += 5; + } + // float y = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_y()) != 0) { + total_size += 5; + } + // float z = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_z()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void Quaternion::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.Quaternion) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - if (::absl::bit_cast<::uint32_t>(from._internal_w()) != 0) { - _this->_impl_.w_ = from._impl_.w_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_x()) != 0) { - _this->_impl_.x_ = from._impl_.x_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_y()) != 0) { - _this->_impl_.y_ = from._impl_.y_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_z()) != 0) { - _this->_impl_.z_ = from._impl_.z_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void Quaternion::CopyFrom(const Quaternion& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.Quaternion) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void Quaternion::InternalSwap(Quaternion* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.z_) + sizeof(Quaternion::_impl_.z_) - - PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.w_)>( - reinterpret_cast(&_impl_.w_), reinterpret_cast(&other->_impl_.w_)); -} -::google::protobuf::Metadata Quaternion::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void Quaternion::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.Quaternion) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (::absl::bit_cast<::uint32_t>(from._internal_w()) != 0) { + _this->_impl_.w_ = from._impl_.w_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_x()) != 0) { + _this->_impl_.x_ = from._impl_.x_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_y()) != 0) { + _this->_impl_.y_ = from._impl_.y_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_z()) != 0) { + _this->_impl_.z_ = from._impl_.z_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Quaternion::CopyFrom(const Quaternion& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.Quaternion) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Quaternion::InternalSwap(Quaternion* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.z_) + + sizeof(Quaternion::_impl_.z_) + - PROTOBUF_FIELD_OFFSET(Quaternion, _impl_.w_)>( + reinterpret_cast(&_impl_.w_), + reinterpret_cast(&other->_impl_.w_)); +} + +::google::protobuf::Metadata Quaternion::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class EulerAngle::_Internal { -public: + public: }; EulerAngle::EulerAngle(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.EulerAngle) -} -EulerAngle::EulerAngle(::google::protobuf::Arena* arena, const EulerAngle& from) : EulerAngle(arena) -{ - MergeFrom(from); + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.EulerAngle) +} +EulerAngle::EulerAngle( + ::google::protobuf::Arena* arena, const EulerAngle& from) + : EulerAngle(arena) { + MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE EulerAngle::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void EulerAngle::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, roll_deg_), - 0, - offsetof(Impl_, yaw_deg_) - offsetof(Impl_, roll_deg_) + sizeof(Impl_::yaw_deg_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void EulerAngle::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, roll_deg_), + 0, + offsetof(Impl_, yaw_deg_) - + offsetof(Impl_, roll_deg_) + + sizeof(Impl_::yaw_deg_)); } -EulerAngle::~EulerAngle() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.EulerAngle) - SharedDtor(*this); +EulerAngle::~EulerAngle() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.EulerAngle) + SharedDtor(*this); } -inline void EulerAngle::SharedDtor(MessageLite& self) -{ - EulerAngle& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); +inline void EulerAngle::SharedDtor(MessageLite& self) { + EulerAngle& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); } -inline void* EulerAngle::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) EulerAngle(arena); +inline void* EulerAngle::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) EulerAngle(arena); } -constexpr auto EulerAngle::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(EulerAngle), alignof(EulerAngle)); +constexpr auto EulerAngle::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(EulerAngle), + alignof(EulerAngle)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -19460,334 +17405,303 @@ const ::google::protobuf::internal::ClassDataFull EulerAngle::_class_data_ = { ::google::protobuf::internal::ClassData{ &_EulerAngle_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &EulerAngle::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &EulerAngle::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &EulerAngle::ByteSizeLong, - &EulerAngle::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &EulerAngle::ByteSizeLong, + &EulerAngle::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_._cached_size_), false, }, &EulerAngle::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* EulerAngle::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 0, 0, 2> - EulerAngle::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 3, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::EulerAngle>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // float roll_deg = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.roll_deg_)}}, - // float pitch_deg = 2; - {::_pbi::TcParser::FastF32S1, - {21, 63, 0, PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.pitch_deg_)}}, - // float yaw_deg = 3; - {::_pbi::TcParser::FastF32S1, - {29, 63, 0, PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.yaw_deg_)}}, - }}, - {{65535, 65535}}, - {{ - // float roll_deg = 1; - {PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.roll_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float pitch_deg = 2; - {PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.pitch_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float yaw_deg = 3; - {PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.yaw_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{}}, - }; - -PROTOBUF_NOINLINE void EulerAngle::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.EulerAngle) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::memset( - &_impl_.roll_deg_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.yaw_deg_) - - reinterpret_cast(&_impl_.roll_deg_)) + - sizeof(_impl_.yaw_deg_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* EulerAngle::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const EulerAngle& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* EulerAngle::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const EulerAngle& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.EulerAngle) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* EulerAngle::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> EulerAngle::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::EulerAngle>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // float roll_deg = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_roll_deg()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_roll_deg(), target); - } - + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.roll_deg_)}}, // float pitch_deg = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_pitch_deg()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this_._internal_pitch_deg(), target); - } - + {::_pbi::TcParser::FastF32S1, + {21, 63, 0, PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.pitch_deg_)}}, // float yaw_deg = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this_._internal_yaw_deg(), target); - } + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.yaw_deg_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float roll_deg = 1; + {PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.roll_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float pitch_deg = 2; + {PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.pitch_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float yaw_deg = 3; + {PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.yaw_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.EulerAngle) - return target; -} +PROTOBUF_NOINLINE void EulerAngle::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.EulerAngle) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.roll_deg_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.yaw_deg_) - + reinterpret_cast(&_impl_.roll_deg_)) + sizeof(_impl_.yaw_deg_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* EulerAngle::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const EulerAngle& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* EulerAngle::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const EulerAngle& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.EulerAngle) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float roll_deg = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_roll_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_roll_deg(), target); + } + + // float pitch_deg = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_pitch_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 2, this_._internal_pitch_deg(), target); + } + + // float yaw_deg = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_yaw_deg(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.EulerAngle) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t EulerAngle::ByteSizeLong(const MessageLite& base) -{ - const EulerAngle& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t EulerAngle::ByteSizeLong() const -{ - const EulerAngle& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.EulerAngle) - ::size_t total_size = 0; + ::size_t EulerAngle::ByteSizeLong(const MessageLite& base) { + const EulerAngle& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t EulerAngle::ByteSizeLong() const { + const EulerAngle& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.EulerAngle) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // float roll_deg = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_roll_deg()) != 0) { - total_size += 5; - } - // float pitch_deg = 2; - if (::absl::bit_cast<::uint32_t>(this_._internal_pitch_deg()) != 0) { - total_size += 5; - } - // float yaw_deg = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // float roll_deg = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_roll_deg()) != 0) { + total_size += 5; + } + // float pitch_deg = 2; + if (::absl::bit_cast<::uint32_t>(this_._internal_pitch_deg()) != 0) { + total_size += 5; + } + // float yaw_deg = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_yaw_deg()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void EulerAngle::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.EulerAngle) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; +void EulerAngle::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.EulerAngle) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; - if (::absl::bit_cast<::uint32_t>(from._internal_roll_deg()) != 0) { - _this->_impl_.roll_deg_ = from._impl_.roll_deg_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_pitch_deg()) != 0) { - _this->_impl_.pitch_deg_ = from._impl_.pitch_deg_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_yaw_deg()) != 0) { - _this->_impl_.yaw_deg_ = from._impl_.yaw_deg_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + if (::absl::bit_cast<::uint32_t>(from._internal_roll_deg()) != 0) { + _this->_impl_.roll_deg_ = from._impl_.roll_deg_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_pitch_deg()) != 0) { + _this->_impl_.pitch_deg_ = from._impl_.pitch_deg_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_yaw_deg()) != 0) { + _this->_impl_.yaw_deg_ = from._impl_.yaw_deg_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void EulerAngle::CopyFrom(const EulerAngle& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.EulerAngle) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void EulerAngle::CopyFrom(const EulerAngle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.EulerAngle) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void EulerAngle::InternalSwap(EulerAngle* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.yaw_deg_) + sizeof(EulerAngle::_impl_.yaw_deg_) - - PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.roll_deg_)>( - reinterpret_cast(&_impl_.roll_deg_), - reinterpret_cast(&other->_impl_.roll_deg_)); + +void EulerAngle::InternalSwap(EulerAngle* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.yaw_deg_) + + sizeof(EulerAngle::_impl_.yaw_deg_) + - PROTOBUF_FIELD_OFFSET(EulerAngle, _impl_.roll_deg_)>( + reinterpret_cast(&_impl_.roll_deg_), + reinterpret_cast(&other->_impl_.roll_deg_)); } -::google::protobuf::Metadata EulerAngle::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata EulerAngle::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class CaptureInfo::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_._has_bits_); }; CaptureInfo::CaptureInfo(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CaptureInfo) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.CaptureInfo) } inline PROTOBUF_NDEBUG_INLINE CaptureInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::CaptureInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + file_url_(arena, from.file_url_) {} + +CaptureInfo::CaptureInfo( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::CaptureInfo& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0}, - file_url_(arena, from.file_url_) -{} - -CaptureInfo::CaptureInfo(::google::protobuf::Arena* arena, const CaptureInfo& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - CaptureInfo* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.position_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Position>( - arena, *from._impl_.position_) : - nullptr; - _impl_.attitude_quaternion_ = - (cached_has_bits & 0x00000002u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Quaternion>( - arena, *from._impl_.attitude_quaternion_) : - nullptr; - _impl_.attitude_euler_angle_ = - (cached_has_bits & 0x00000004u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::EulerAngle>( - arena, *from._impl_.attitude_euler_angle_) : - nullptr; - ::memcpy( - reinterpret_cast(&_impl_) + offsetof(Impl_, time_utc_us_), - reinterpret_cast(&from._impl_) + offsetof(Impl_, time_utc_us_), - offsetof(Impl_, index_) - offsetof(Impl_, time_utc_us_) + sizeof(Impl_::index_)); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CaptureInfo) + const CaptureInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CaptureInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.position_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Position>( + arena, *from._impl_.position_) + : nullptr; + _impl_.attitude_quaternion_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Quaternion>( + arena, *from._impl_.attitude_quaternion_) + : nullptr; + _impl_.attitude_euler_angle_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::EulerAngle>( + arena, *from._impl_.attitude_euler_angle_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, time_utc_us_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, time_utc_us_), + offsetof(Impl_, index_) - + offsetof(Impl_, time_utc_us_) + + sizeof(Impl_::index_)); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.CaptureInfo) } inline PROTOBUF_NDEBUG_INLINE CaptureInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0}, - file_url_(arena) -{} - -inline void CaptureInfo::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, position_), - 0, - offsetof(Impl_, index_) - offsetof(Impl_, position_) + sizeof(Impl_::index_)); -} -CaptureInfo::~CaptureInfo() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CaptureInfo) - SharedDtor(*this); -} -inline void CaptureInfo::SharedDtor(MessageLite& self) -{ - CaptureInfo& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.file_url_.Destroy(); - delete this_._impl_.position_; - delete this_._impl_.attitude_quaternion_; - delete this_._impl_.attitude_euler_angle_; - this_._impl_.~Impl_(); -} - -inline void* CaptureInfo::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) CaptureInfo(arena); -} -constexpr auto CaptureInfo::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(CaptureInfo), alignof(CaptureInfo)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + file_url_(arena) {} + +inline void CaptureInfo::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, position_), + 0, + offsetof(Impl_, index_) - + offsetof(Impl_, position_) + + sizeof(Impl_::index_)); +} +CaptureInfo::~CaptureInfo() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.CaptureInfo) + SharedDtor(*this); +} +inline void CaptureInfo::SharedDtor(MessageLite& self) { + CaptureInfo& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.file_url_.Destroy(); + delete this_._impl_.position_; + delete this_._impl_.attitude_quaternion_; + delete this_._impl_.attitude_euler_angle_; + this_._impl_.~Impl_(); +} + +inline void* CaptureInfo::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CaptureInfo(arena); +} +constexpr auto CaptureInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CaptureInfo), + alignof(CaptureInfo)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -19795,479 +17709,427 @@ const ::google::protobuf::internal::ClassDataFull CaptureInfo::_class_data_ = { ::google::protobuf::internal::ClassData{ &_CaptureInfo_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &CaptureInfo::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &CaptureInfo::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &CaptureInfo::ByteSizeLong, - &CaptureInfo::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &CaptureInfo::ByteSizeLong, + &CaptureInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_._cached_size_), false, }, &CaptureInfo::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CaptureInfo::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 7, 3, 46, 2> - CaptureInfo::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_._has_bits_), - 0, // no _extensions_ - 7, - 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap - offsetof(decltype(_table_), field_entries), - 7, // num_field_entries - 3, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfo>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // .mavsdk.rpc.camera.Position position = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.position_)}}, - // .mavsdk.rpc.camera.Quaternion attitude_quaternion = 2; - {::_pbi::TcParser::FastMtS1, - {18, 1, 1, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_quaternion_)}}, - // .mavsdk.rpc.camera.EulerAngle attitude_euler_angle = 3; - {::_pbi::TcParser::FastMtS1, - {26, 2, 2, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_euler_angle_)}}, - // uint64 time_utc_us = 4; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint64_t, offsetof(CaptureInfo, _impl_.time_utc_us_), 63>(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.time_utc_us_)}}, - // bool is_success = 5; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.is_success_)}}, - // int32 index = 6; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(CaptureInfo, _impl_.index_), 63>(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.index_)}}, - // string file_url = 7; - {::_pbi::TcParser::FastUS1, - {58, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.file_url_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.Position position = 1; - {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.position_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.camera.Quaternion attitude_quaternion = 2; - {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_quaternion_), - _Internal::kHasBitsOffset + 1, - 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.camera.EulerAngle attitude_euler_angle = 3; - {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_euler_angle_), - _Internal::kHasBitsOffset + 2, - 2, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // uint64 time_utc_us = 4; - {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.time_utc_us_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, - // bool is_success = 5; - {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.is_success_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // int32 index = 6; - {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.index_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // string file_url = 7; - {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.file_url_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Position>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Quaternion>()}, - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::EulerAngle>()}, - }}, - {{"\35\0\0\0\0\0\0\10" - "mavsdk.rpc.camera.CaptureInfo" - "file_url"}}, - }; - -PROTOBUF_NOINLINE void CaptureInfo::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CaptureInfo) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.file_url_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.position_ != nullptr); - _impl_.position_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.attitude_quaternion_ != nullptr); - _impl_.attitude_quaternion_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.attitude_euler_angle_ != nullptr); - _impl_.attitude_euler_angle_->Clear(); - } - } - ::memset( - &_impl_.time_utc_us_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.index_) - - reinterpret_cast(&_impl_.time_utc_us_)) + - sizeof(_impl_.index_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* CaptureInfo::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const CaptureInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* CaptureInfo::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const CaptureInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CaptureInfo) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CaptureInfo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 3, 46, 2> CaptureInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::CaptureInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // .mavsdk.rpc.camera.Position position = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.position_, this_._impl_.position_->GetCachedSize(), target, stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.position_)}}, // .mavsdk.rpc.camera.Quaternion attitude_quaternion = 2; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, - *this_._impl_.attitude_quaternion_, - this_._impl_.attitude_quaternion_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_quaternion_)}}, // .mavsdk.rpc.camera.EulerAngle attitude_euler_angle = 3; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, - *this_._impl_.attitude_euler_angle_, - this_._impl_.attitude_euler_angle_->GetCachedSize(), - target, - stream); - } - + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_euler_angle_)}}, // uint64 time_utc_us = 4; - if (this_._internal_time_utc_us() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this_._internal_time_utc_us(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CaptureInfo, _impl_.time_utc_us_), 63>(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.time_utc_us_)}}, // bool is_success = 5; - if (this_._internal_is_success() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this_._internal_is_success(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.is_success_)}}, // int32 index = 6; - if (this_._internal_index() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>( - stream, this_._internal_index(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CaptureInfo, _impl_.index_), 63>(), + {48, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.index_)}}, // string file_url = 7; - if (!this_._internal_file_url().empty()) { - const std::string& _s = this_._internal_file_url(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.camera.CaptureInfo.file_url"); - target = stream->WriteStringMaybeAliased(7, _s, target); - } + {::_pbi::TcParser::FastUS1, + {58, 63, 0, PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.file_url_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.Position position = 1; + {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.position_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.camera.Quaternion attitude_quaternion = 2; + {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_quaternion_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.camera.EulerAngle attitude_euler_angle = 3; + {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.attitude_euler_angle_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint64 time_utc_us = 4; + {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.time_utc_us_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, + // bool is_success = 5; + {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.is_success_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // int32 index = 6; + {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.index_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, + // string file_url = 7; + {PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.file_url_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Position>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Quaternion>()}, + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::EulerAngle>()}, + }}, {{ + "\35\0\0\0\0\0\0\10" + "mavsdk.rpc.camera.CaptureInfo" + "file_url" + }}, +}; + +PROTOBUF_NOINLINE void CaptureInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.CaptureInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); + _impl_.file_url_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.position_ != nullptr); + _impl_.position_->Clear(); } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CaptureInfo) - return target; -} + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.attitude_quaternion_ != nullptr); + _impl_.attitude_quaternion_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.attitude_euler_angle_ != nullptr); + _impl_.attitude_euler_angle_->Clear(); + } + } + ::memset(&_impl_.time_utc_us_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.index_) - + reinterpret_cast(&_impl_.time_utc_us_)) + sizeof(_impl_.index_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CaptureInfo::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CaptureInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CaptureInfo::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CaptureInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.CaptureInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.Position position = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.position_, this_._impl_.position_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.camera.Quaternion attitude_quaternion = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.attitude_quaternion_, this_._impl_.attitude_quaternion_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.camera.EulerAngle attitude_euler_angle = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.attitude_euler_angle_, this_._impl_.attitude_euler_angle_->GetCachedSize(), target, + stream); + } + + // uint64 time_utc_us = 4; + if (this_._internal_time_utc_us() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 4, this_._internal_time_utc_us(), target); + } + + // bool is_success = 5; + if (this_._internal_is_success() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 5, this_._internal_is_success(), target); + } + + // int32 index = 6; + if (this_._internal_index() != 0) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArrayWithField<6>( + stream, this_._internal_index(), target); + } + + // string file_url = 7; + if (!this_._internal_file_url().empty()) { + const std::string& _s = this_._internal_file_url(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.camera.CaptureInfo.file_url"); + target = stream->WriteStringMaybeAliased(7, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.CaptureInfo) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t CaptureInfo::ByteSizeLong(const MessageLite& base) -{ - const CaptureInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t CaptureInfo::ByteSizeLong() const -{ - const CaptureInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CaptureInfo) - ::size_t total_size = 0; + ::size_t CaptureInfo::ByteSizeLong(const MessageLite& base) { + const CaptureInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CaptureInfo::ByteSizeLong() const { + const CaptureInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.CaptureInfo) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string file_url = 7; - if (!this_._internal_file_url().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_file_url()); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // .mavsdk.rpc.camera.Position position = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.position_); - } - // .mavsdk.rpc.camera.Quaternion attitude_quaternion = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.attitude_quaternion_); - } - // .mavsdk.rpc.camera.EulerAngle attitude_euler_angle = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.attitude_euler_angle_); - } - } - { - // uint64 time_utc_us = 4; - if (this_._internal_time_utc_us() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this_._internal_time_utc_us()); - } - // bool is_success = 5; - if (this_._internal_is_success() != 0) { - total_size += 2; - } - // int32 index = 6; - if (this_._internal_index() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this_._internal_index()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void CaptureInfo::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CaptureInfo) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - if (!from._internal_file_url().empty()) { - _this->_internal_set_file_url(from._internal_file_url()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.position_ != nullptr); - if (_this->_impl_.position_ == nullptr) { - _this->_impl_.position_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Position>( - arena, *from._impl_.position_); - } else { - _this->_impl_.position_->MergeFrom(*from._impl_.position_); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string file_url = 7; + if (!this_._internal_file_url().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_file_url()); } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.attitude_quaternion_ != nullptr); - if (_this->_impl_.attitude_quaternion_ == nullptr) { - _this->_impl_.attitude_quaternion_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Quaternion>( - arena, *from._impl_.attitude_quaternion_); - } else { - _this->_impl_.attitude_quaternion_->MergeFrom(*from._impl_.attitude_quaternion_); + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .mavsdk.rpc.camera.Position position = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.position_); } - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.attitude_euler_angle_ != nullptr); - if (_this->_impl_.attitude_euler_angle_ == nullptr) { - _this->_impl_.attitude_euler_angle_ = - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::EulerAngle>( - arena, *from._impl_.attitude_euler_angle_); - } else { - _this->_impl_.attitude_euler_angle_->MergeFrom(*from._impl_.attitude_euler_angle_); + // .mavsdk.rpc.camera.Quaternion attitude_quaternion = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attitude_quaternion_); + } + // .mavsdk.rpc.camera.EulerAngle attitude_euler_angle = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.attitude_euler_angle_); + } + } + { + // uint64 time_utc_us = 4; + if (this_._internal_time_utc_us() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_time_utc_us()); + } + // bool is_success = 5; + if (this_._internal_is_success() != 0) { + total_size += 2; + } + // int32 index = 6; + if (this_._internal_index() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( + this_._internal_index()); } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } + +void CaptureInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.CaptureInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_file_url().empty()) { + _this->_internal_set_file_url(from._internal_file_url()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.position_ != nullptr); + if (_this->_impl_.position_ == nullptr) { + _this->_impl_.position_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Position>(arena, *from._impl_.position_); + } else { + _this->_impl_.position_->MergeFrom(*from._impl_.position_); + } } - if (from._internal_time_utc_us() != 0) { - _this->_impl_.time_utc_us_ = from._impl_.time_utc_us_; - } - if (from._internal_is_success() != 0) { - _this->_impl_.is_success_ = from._impl_.is_success_; - } - if (from._internal_index() != 0) { - _this->_impl_.index_ = from._impl_.index_; + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.attitude_quaternion_ != nullptr); + if (_this->_impl_.attitude_quaternion_ == nullptr) { + _this->_impl_.attitude_quaternion_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::Quaternion>(arena, *from._impl_.attitude_quaternion_); + } else { + _this->_impl_.attitude_quaternion_->MergeFrom(*from._impl_.attitude_quaternion_); + } } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void CaptureInfo::CopyFrom(const CaptureInfo& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CaptureInfo) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void CaptureInfo::InternalSwap(CaptureInfo* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.file_url_, &other->_impl_.file_url_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.index_) + sizeof(CaptureInfo::_impl_.index_) - - PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.position_)>( - reinterpret_cast(&_impl_.position_), - reinterpret_cast(&other->_impl_.position_)); -} - -::google::protobuf::Metadata CaptureInfo::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.attitude_euler_angle_ != nullptr); + if (_this->_impl_.attitude_euler_angle_ == nullptr) { + _this->_impl_.attitude_euler_angle_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::EulerAngle>(arena, *from._impl_.attitude_euler_angle_); + } else { + _this->_impl_.attitude_euler_angle_->MergeFrom(*from._impl_.attitude_euler_angle_); + } + } + } + if (from._internal_time_utc_us() != 0) { + _this->_impl_.time_utc_us_ = from._impl_.time_utc_us_; + } + if (from._internal_is_success() != 0) { + _this->_impl_.is_success_ = from._impl_.is_success_; + } + if (from._internal_index() != 0) { + _this->_impl_.index_ = from._impl_.index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CaptureInfo::CopyFrom(const CaptureInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.CaptureInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CaptureInfo::InternalSwap(CaptureInfo* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.file_url_, &other->_impl_.file_url_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.index_) + + sizeof(CaptureInfo::_impl_.index_) + - PROTOBUF_FIELD_OFFSET(CaptureInfo, _impl_.position_)>( + reinterpret_cast(&_impl_.position_), + reinterpret_cast(&other->_impl_.position_)); +} + +::google::protobuf::Metadata CaptureInfo::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class VideoStreamSettings::_Internal { -public: + public: }; VideoStreamSettings::VideoStreamSettings(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.VideoStreamSettings) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.VideoStreamSettings) } inline PROTOBUF_NDEBUG_INLINE VideoStreamSettings::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::VideoStreamSettings& from_msg) : - uri_(arena, from.uri_), - _cached_size_{0} -{} + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::VideoStreamSettings& from_msg) + : uri_(arena, from.uri_), + _cached_size_{0} {} VideoStreamSettings::VideoStreamSettings( - ::google::protobuf::Arena* arena, const VideoStreamSettings& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - VideoStreamSettings* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::memcpy( - reinterpret_cast(&_impl_) + offsetof(Impl_, frame_rate_hz_), - reinterpret_cast(&from._impl_) + offsetof(Impl_, frame_rate_hz_), - offsetof(Impl_, horizontal_fov_deg_) - offsetof(Impl_, frame_rate_hz_) + - sizeof(Impl_::horizontal_fov_deg_)); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.VideoStreamSettings) + ::google::protobuf::Arena* arena, + const VideoStreamSettings& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + VideoStreamSettings* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, frame_rate_hz_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, frame_rate_hz_), + offsetof(Impl_, horizontal_fov_deg_) - + offsetof(Impl_, frame_rate_hz_) + + sizeof(Impl_::horizontal_fov_deg_)); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.VideoStreamSettings) } inline PROTOBUF_NDEBUG_INLINE VideoStreamSettings::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - uri_(arena), - _cached_size_{0} -{} - -inline void VideoStreamSettings::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, frame_rate_hz_), - 0, - offsetof(Impl_, horizontal_fov_deg_) - offsetof(Impl_, frame_rate_hz_) + - sizeof(Impl_::horizontal_fov_deg_)); -} -VideoStreamSettings::~VideoStreamSettings() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.VideoStreamSettings) - SharedDtor(*this); -} -inline void VideoStreamSettings::SharedDtor(MessageLite& self) -{ - VideoStreamSettings& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.uri_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* -VideoStreamSettings::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) VideoStreamSettings(arena); -} -constexpr auto VideoStreamSettings::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(VideoStreamSettings), alignof(VideoStreamSettings)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : uri_(arena), + _cached_size_{0} {} + +inline void VideoStreamSettings::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, frame_rate_hz_), + 0, + offsetof(Impl_, horizontal_fov_deg_) - + offsetof(Impl_, frame_rate_hz_) + + sizeof(Impl_::horizontal_fov_deg_)); +} +VideoStreamSettings::~VideoStreamSettings() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.VideoStreamSettings) + SharedDtor(*this); +} +inline void VideoStreamSettings::SharedDtor(MessageLite& self) { + VideoStreamSettings& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.uri_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* VideoStreamSettings::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) VideoStreamSettings(arena); +} +constexpr auto VideoStreamSettings::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(VideoStreamSettings), + alignof(VideoStreamSettings)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -20275,443 +18137,385 @@ const ::google::protobuf::internal::ClassDataFull VideoStreamSettings::_class_da ::google::protobuf::internal::ClassData{ &_VideoStreamSettings_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &VideoStreamSettings::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &VideoStreamSettings::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &VideoStreamSettings::ByteSizeLong, - &VideoStreamSettings::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &VideoStreamSettings::ByteSizeLong, + &VideoStreamSettings::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_._cached_size_), false, }, &VideoStreamSettings::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* VideoStreamSettings::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 7, 0, 49, 2> - VideoStreamSettings::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 7, - 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap - offsetof(decltype(_table_), field_entries), - 7, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamSettings>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // float frame_rate_hz = 1; - {::_pbi::TcParser::FastF32S1, - {13, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.frame_rate_hz_)}}, - // uint32 horizontal_resolution_pix = 2; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(VideoStreamSettings, _impl_.horizontal_resolution_pix_), - 63>(), - {16, - 63, - 0, - PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_resolution_pix_)}}, - // uint32 vertical_resolution_pix = 3; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(VideoStreamSettings, _impl_.vertical_resolution_pix_), - 63>(), - {24, - 63, - 0, - PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.vertical_resolution_pix_)}}, - // uint32 bit_rate_b_s = 4; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(VideoStreamSettings, _impl_.bit_rate_b_s_), - 63>(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.bit_rate_b_s_)}}, - // uint32 rotation_deg = 5; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(VideoStreamSettings, _impl_.rotation_deg_), - 63>(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.rotation_deg_)}}, - // string uri = 6; - {::_pbi::TcParser::FastUS1, - {50, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.uri_)}}, - // float horizontal_fov_deg = 7; - {::_pbi::TcParser::FastF32S1, - {61, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_fov_deg_)}}, - }}, - {{65535, 65535}}, - {{ - // float frame_rate_hz = 1; - {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.frame_rate_hz_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // uint32 horizontal_resolution_pix = 2; - {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_resolution_pix_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // uint32 vertical_resolution_pix = 3; - {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.vertical_resolution_pix_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // uint32 bit_rate_b_s = 4; - {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.bit_rate_b_s_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // uint32 rotation_deg = 5; - {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.rotation_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // string uri = 6; - {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.uri_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // float horizontal_fov_deg = 7; - {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_fov_deg_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - }}, - // no aux_entries - {{"\45\0\0\0\0\0\3\0" - "mavsdk.rpc.camera.VideoStreamSettings" - "uri"}}, - }; - -PROTOBUF_NOINLINE void VideoStreamSettings::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.VideoStreamSettings) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.uri_.ClearToEmpty(); - ::memset( - &_impl_.frame_rate_hz_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.horizontal_fov_deg_) - - reinterpret_cast(&_impl_.frame_rate_hz_)) + - sizeof(_impl_.horizontal_fov_deg_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* VideoStreamSettings::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const VideoStreamSettings& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* VideoStreamSettings::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const VideoStreamSettings& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.VideoStreamSettings) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* VideoStreamSettings::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 0, 49, 2> VideoStreamSettings::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamSettings>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // float frame_rate_hz = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_frame_rate_hz()) != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteFloatToArray(1, this_._internal_frame_rate_hz(), target); - } - + {::_pbi::TcParser::FastF32S1, + {13, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.frame_rate_hz_)}}, // uint32 horizontal_resolution_pix = 2; - if (this_._internal_horizontal_resolution_pix() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 2, this_._internal_horizontal_resolution_pix(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VideoStreamSettings, _impl_.horizontal_resolution_pix_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_resolution_pix_)}}, // uint32 vertical_resolution_pix = 3; - if (this_._internal_vertical_resolution_pix() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 3, this_._internal_vertical_resolution_pix(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VideoStreamSettings, _impl_.vertical_resolution_pix_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.vertical_resolution_pix_)}}, // uint32 bit_rate_b_s = 4; - if (this_._internal_bit_rate_b_s() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this_._internal_bit_rate_b_s(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VideoStreamSettings, _impl_.bit_rate_b_s_), 63>(), + {32, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.bit_rate_b_s_)}}, // uint32 rotation_deg = 5; - if (this_._internal_rotation_deg() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this_._internal_rotation_deg(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VideoStreamSettings, _impl_.rotation_deg_), 63>(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.rotation_deg_)}}, // string uri = 6; - if (!this_._internal_uri().empty()) { - const std::string& _s = this_._internal_uri(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.camera.VideoStreamSettings.uri"); - target = stream->WriteStringMaybeAliased(6, _s, target); - } - + {::_pbi::TcParser::FastUS1, + {50, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.uri_)}}, // float horizontal_fov_deg = 7; - if (::absl::bit_cast<::uint32_t>(this_._internal_horizontal_fov_deg()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 7, this_._internal_horizontal_fov_deg(), target); - } + {::_pbi::TcParser::FastF32S1, + {61, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_fov_deg_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // float frame_rate_hz = 1; + {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.frame_rate_hz_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // uint32 horizontal_resolution_pix = 2; + {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_resolution_pix_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 vertical_resolution_pix = 3; + {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.vertical_resolution_pix_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 bit_rate_b_s = 4; + {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.bit_rate_b_s_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 rotation_deg = 5; + {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.rotation_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // string uri = 6; + {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.uri_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // float horizontal_fov_deg = 7; + {PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_fov_deg_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + }}, + // no aux_entries + {{ + "\45\0\0\0\0\0\3\0" + "mavsdk.rpc.camera.VideoStreamSettings" + "uri" + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.VideoStreamSettings) - return target; -} +PROTOBUF_NOINLINE void VideoStreamSettings::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.VideoStreamSettings) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.uri_.ClearToEmpty(); + ::memset(&_impl_.frame_rate_hz_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.horizontal_fov_deg_) - + reinterpret_cast(&_impl_.frame_rate_hz_)) + sizeof(_impl_.horizontal_fov_deg_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* VideoStreamSettings::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const VideoStreamSettings& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* VideoStreamSettings::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const VideoStreamSettings& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.VideoStreamSettings) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // float frame_rate_hz = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_frame_rate_hz()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 1, this_._internal_frame_rate_hz(), target); + } + + // uint32 horizontal_resolution_pix = 2; + if (this_._internal_horizontal_resolution_pix() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_horizontal_resolution_pix(), target); + } + + // uint32 vertical_resolution_pix = 3; + if (this_._internal_vertical_resolution_pix() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_vertical_resolution_pix(), target); + } + + // uint32 bit_rate_b_s = 4; + if (this_._internal_bit_rate_b_s() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 4, this_._internal_bit_rate_b_s(), target); + } + + // uint32 rotation_deg = 5; + if (this_._internal_rotation_deg() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_rotation_deg(), target); + } + + // string uri = 6; + if (!this_._internal_uri().empty()) { + const std::string& _s = this_._internal_uri(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.camera.VideoStreamSettings.uri"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + + // float horizontal_fov_deg = 7; + if (::absl::bit_cast<::uint32_t>(this_._internal_horizontal_fov_deg()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 7, this_._internal_horizontal_fov_deg(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.VideoStreamSettings) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t VideoStreamSettings::ByteSizeLong(const MessageLite& base) -{ - const VideoStreamSettings& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t VideoStreamSettings::ByteSizeLong() const -{ - const VideoStreamSettings& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.VideoStreamSettings) - ::size_t total_size = 0; + ::size_t VideoStreamSettings::ByteSizeLong(const MessageLite& base) { + const VideoStreamSettings& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t VideoStreamSettings::ByteSizeLong() const { + const VideoStreamSettings& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.VideoStreamSettings) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string uri = 6; - if (!this_._internal_uri().empty()) { - total_size += - 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this_._internal_uri()); - } - // float frame_rate_hz = 1; - if (::absl::bit_cast<::uint32_t>(this_._internal_frame_rate_hz()) != 0) { - total_size += 5; - } - // uint32 horizontal_resolution_pix = 2; - if (this_._internal_horizontal_resolution_pix() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_horizontal_resolution_pix()); - } - // uint32 vertical_resolution_pix = 3; - if (this_._internal_vertical_resolution_pix() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_vertical_resolution_pix()); - } - // uint32 bit_rate_b_s = 4; - if (this_._internal_bit_rate_b_s() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this_._internal_bit_rate_b_s()); - } - // uint32 rotation_deg = 5; - if (this_._internal_rotation_deg() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this_._internal_rotation_deg()); - } - // float horizontal_fov_deg = 7; - if (::absl::bit_cast<::uint32_t>(this_._internal_horizontal_fov_deg()) != 0) { - total_size += 5; + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string uri = 6; + if (!this_._internal_uri().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_uri()); + } + // float frame_rate_hz = 1; + if (::absl::bit_cast<::uint32_t>(this_._internal_frame_rate_hz()) != 0) { + total_size += 5; + } + // uint32 horizontal_resolution_pix = 2; + if (this_._internal_horizontal_resolution_pix() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_horizontal_resolution_pix()); + } + // uint32 vertical_resolution_pix = 3; + if (this_._internal_vertical_resolution_pix() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_vertical_resolution_pix()); + } + // uint32 bit_rate_b_s = 4; + if (this_._internal_bit_rate_b_s() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_bit_rate_b_s()); + } + // uint32 rotation_deg = 5; + if (this_._internal_rotation_deg() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rotation_deg()); + } + // float horizontal_fov_deg = 7; + if (::absl::bit_cast<::uint32_t>(this_._internal_horizontal_fov_deg()) != 0) { + total_size += 5; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} - -void VideoStreamSettings::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.VideoStreamSettings) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - if (!from._internal_uri().empty()) { - _this->_internal_set_uri(from._internal_uri()); - } - if (::absl::bit_cast<::uint32_t>(from._internal_frame_rate_hz()) != 0) { - _this->_impl_.frame_rate_hz_ = from._impl_.frame_rate_hz_; - } - if (from._internal_horizontal_resolution_pix() != 0) { - _this->_impl_.horizontal_resolution_pix_ = from._impl_.horizontal_resolution_pix_; - } - if (from._internal_vertical_resolution_pix() != 0) { - _this->_impl_.vertical_resolution_pix_ = from._impl_.vertical_resolution_pix_; - } - if (from._internal_bit_rate_b_s() != 0) { - _this->_impl_.bit_rate_b_s_ = from._impl_.bit_rate_b_s_; - } - if (from._internal_rotation_deg() != 0) { - _this->_impl_.rotation_deg_ = from._impl_.rotation_deg_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_horizontal_fov_deg()) != 0) { - _this->_impl_.horizontal_fov_deg_ = from._impl_.horizontal_fov_deg_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void VideoStreamSettings::CopyFrom(const VideoStreamSettings& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.VideoStreamSettings) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void VideoStreamSettings::InternalSwap(VideoStreamSettings* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uri_, &other->_impl_.uri_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_fov_deg_) + - sizeof(VideoStreamSettings::_impl_.horizontal_fov_deg_) - - PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.frame_rate_hz_)>( - reinterpret_cast(&_impl_.frame_rate_hz_), - reinterpret_cast(&other->_impl_.frame_rate_hz_)); -} - -::google::protobuf::Metadata VideoStreamSettings::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void VideoStreamSettings::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.VideoStreamSettings) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_uri().empty()) { + _this->_internal_set_uri(from._internal_uri()); + } + if (::absl::bit_cast<::uint32_t>(from._internal_frame_rate_hz()) != 0) { + _this->_impl_.frame_rate_hz_ = from._impl_.frame_rate_hz_; + } + if (from._internal_horizontal_resolution_pix() != 0) { + _this->_impl_.horizontal_resolution_pix_ = from._impl_.horizontal_resolution_pix_; + } + if (from._internal_vertical_resolution_pix() != 0) { + _this->_impl_.vertical_resolution_pix_ = from._impl_.vertical_resolution_pix_; + } + if (from._internal_bit_rate_b_s() != 0) { + _this->_impl_.bit_rate_b_s_ = from._impl_.bit_rate_b_s_; + } + if (from._internal_rotation_deg() != 0) { + _this->_impl_.rotation_deg_ = from._impl_.rotation_deg_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_horizontal_fov_deg()) != 0) { + _this->_impl_.horizontal_fov_deg_ = from._impl_.horizontal_fov_deg_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void VideoStreamSettings::CopyFrom(const VideoStreamSettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.VideoStreamSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void VideoStreamSettings::InternalSwap(VideoStreamSettings* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.uri_, &other->_impl_.uri_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.horizontal_fov_deg_) + + sizeof(VideoStreamSettings::_impl_.horizontal_fov_deg_) + - PROTOBUF_FIELD_OFFSET(VideoStreamSettings, _impl_.frame_rate_hz_)>( + reinterpret_cast(&_impl_.frame_rate_hz_), + reinterpret_cast(&other->_impl_.frame_rate_hz_)); +} + +::google::protobuf::Metadata VideoStreamSettings::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class VideoStreamInfo::_Internal { -public: - using HasBits = decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_._has_bits_); + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_._has_bits_); }; VideoStreamInfo::VideoStreamInfo(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.VideoStreamInfo) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.VideoStreamInfo) } inline PROTOBUF_NDEBUG_INLINE VideoStreamInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::VideoStreamInfo& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +VideoStreamInfo::VideoStreamInfo( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::VideoStreamInfo& from_msg) : - _has_bits_{from._has_bits_}, - _cached_size_{0} -{} - -VideoStreamInfo::VideoStreamInfo(::google::protobuf::Arena* arena, const VideoStreamInfo& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - VideoStreamInfo* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.settings_ = - (cached_has_bits & 0x00000001u) ? - ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::VideoStreamSettings>( - arena, *from._impl_.settings_) : - nullptr; - ::memcpy( - reinterpret_cast(&_impl_) + offsetof(Impl_, status_), - reinterpret_cast(&from._impl_) + offsetof(Impl_, status_), - offsetof(Impl_, spectrum_) - offsetof(Impl_, status_) + sizeof(Impl_::spectrum_)); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.VideoStreamInfo) + const VideoStreamInfo& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + VideoStreamInfo* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.settings_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::VideoStreamSettings>( + arena, *from._impl_.settings_) + : nullptr; + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, status_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, status_), + offsetof(Impl_, spectrum_) - + offsetof(Impl_, status_) + + sizeof(Impl_::spectrum_)); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.VideoStreamInfo) } inline PROTOBUF_NDEBUG_INLINE VideoStreamInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - _cached_size_{0} -{} - -inline void VideoStreamInfo::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, settings_), - 0, - offsetof(Impl_, spectrum_) - offsetof(Impl_, settings_) + sizeof(Impl_::spectrum_)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void VideoStreamInfo::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, settings_), + 0, + offsetof(Impl_, spectrum_) - + offsetof(Impl_, settings_) + + sizeof(Impl_::spectrum_)); } -VideoStreamInfo::~VideoStreamInfo() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.VideoStreamInfo) - SharedDtor(*this); +VideoStreamInfo::~VideoStreamInfo() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.VideoStreamInfo) + SharedDtor(*this); } -inline void VideoStreamInfo::SharedDtor(MessageLite& self) -{ - VideoStreamInfo& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.settings_; - this_._impl_.~Impl_(); +inline void VideoStreamInfo::SharedDtor(MessageLite& self) { + VideoStreamInfo& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.settings_; + this_._impl_.~Impl_(); } -inline void* -VideoStreamInfo::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) VideoStreamInfo(arena); +inline void* VideoStreamInfo::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) VideoStreamInfo(arena); } -constexpr auto VideoStreamInfo::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(VideoStreamInfo), alignof(VideoStreamInfo)); +constexpr auto VideoStreamInfo::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(VideoStreamInfo), + alignof(VideoStreamInfo)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -20719,337 +18523,308 @@ const ::google::protobuf::internal::ClassDataFull VideoStreamInfo::_class_data_ ::google::protobuf::internal::ClassData{ &_VideoStreamInfo_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &VideoStreamInfo::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &VideoStreamInfo::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &VideoStreamInfo::ByteSizeLong, - &VideoStreamInfo::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &VideoStreamInfo::ByteSizeLong, + &VideoStreamInfo::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_._cached_size_), false, }, &VideoStreamInfo::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* VideoStreamInfo::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<2, 3, 1, 0, 2> - VideoStreamInfo::_table_ = { - { - PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_._has_bits_), - 0, // no _extensions_ - 3, - 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamInfo>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // .mavsdk.rpc.camera.VideoStreamSettings settings = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.settings_)}}, - // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus status = 2; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(VideoStreamInfo, _impl_.status_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.status_)}}, - // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum spectrum = 3; - {::_pbi::TcParser::SingularVarintNoZag1< - ::uint32_t, - offsetof(VideoStreamInfo, _impl_.spectrum_), - 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.spectrum_)}}, - }}, - {{65535, 65535}}, - {{ - // .mavsdk.rpc.camera.VideoStreamSettings settings = 1; - {PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.settings_), - _Internal::kHasBitsOffset + 0, - 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus status = 2; - {PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.status_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum spectrum = 3; - {PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.spectrum_), - -1, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - {{ - {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamSettings>()}, - }}, - {{}}, - }; - -PROTOBUF_NOINLINE void VideoStreamInfo::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.VideoStreamInfo) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.settings_ != nullptr); - _impl_.settings_->Clear(); - } - ::memset( - &_impl_.status_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.spectrum_) - reinterpret_cast(&_impl_.status_)) + - sizeof(_impl_.spectrum_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* VideoStreamInfo::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const VideoStreamInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* VideoStreamInfo::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const VideoStreamInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.VideoStreamInfo) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* VideoStreamInfo::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 0, 2> VideoStreamInfo::_table_ = { + { + PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamInfo>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // .mavsdk.rpc.camera.VideoStreamSettings settings = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.settings_, this_._impl_.settings_->GetCachedSize(), target, stream); - } - + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.settings_)}}, // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus status = 2; - if (this_._internal_status() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(2, this_._internal_status(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VideoStreamInfo, _impl_.status_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.status_)}}, // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum spectrum = 3; - if (this_._internal_spectrum() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray(3, this_._internal_spectrum(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VideoStreamInfo, _impl_.spectrum_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.spectrum_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .mavsdk.rpc.camera.VideoStreamSettings settings = 1; + {PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.settings_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus status = 2; + {PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.status_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum spectrum = 3; + {PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.spectrum_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, {{ + {::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::VideoStreamSettings>()}, + }}, {{ + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.VideoStreamInfo) - return target; -} +PROTOBUF_NOINLINE void VideoStreamInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.VideoStreamInfo) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.settings_ != nullptr); + _impl_.settings_->Clear(); + } + ::memset(&_impl_.status_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.spectrum_) - + reinterpret_cast(&_impl_.status_)) + sizeof(_impl_.spectrum_)); + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* VideoStreamInfo::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const VideoStreamInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* VideoStreamInfo::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const VideoStreamInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.VideoStreamInfo) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .mavsdk.rpc.camera.VideoStreamSettings settings = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.settings_, this_._impl_.settings_->GetCachedSize(), target, + stream); + } + + // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus status = 2; + if (this_._internal_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_status(), target); + } + + // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum spectrum = 3; + if (this_._internal_spectrum() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this_._internal_spectrum(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.VideoStreamInfo) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t VideoStreamInfo::ByteSizeLong(const MessageLite& base) -{ - const VideoStreamInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t VideoStreamInfo::ByteSizeLong() const -{ - const VideoStreamInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.VideoStreamInfo) - ::size_t total_size = 0; + ::size_t VideoStreamInfo::ByteSizeLong(const MessageLite& base) { + const VideoStreamInfo& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t VideoStreamInfo::ByteSizeLong() const { + const VideoStreamInfo& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.VideoStreamInfo) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // .mavsdk.rpc.camera.VideoStreamSettings settings = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( - *this_._impl_.settings_); - } - } - { - // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus status = 2; - if (this_._internal_status() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_status()); - } - // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum spectrum = 3; - if (this_._internal_spectrum() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_spectrum()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .mavsdk.rpc.camera.VideoStreamSettings settings = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.settings_); + } + } + { + // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamStatus status = 2; + if (this_._internal_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_status()); + } + // .mavsdk.rpc.camera.VideoStreamInfo.VideoStreamSpectrum spectrum = 3; + if (this_._internal_spectrum() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_spectrum()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void VideoStreamInfo::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.VideoStreamInfo) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.settings_ != nullptr); - if (_this->_impl_.settings_ == nullptr) { - _this->_impl_.settings_ = ::google::protobuf::Message::CopyConstruct< - ::mavsdk::rpc::camera::VideoStreamSettings>(arena, *from._impl_.settings_); - } else { - _this->_impl_.settings_->MergeFrom(*from._impl_.settings_); - } - } - if (from._internal_status() != 0) { - _this->_impl_.status_ = from._impl_.status_; - } - if (from._internal_spectrum() != 0) { - _this->_impl_.spectrum_ = from._impl_.spectrum_; +void VideoStreamInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.VideoStreamInfo) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.settings_ != nullptr); + if (_this->_impl_.settings_ == nullptr) { + _this->_impl_.settings_ = + ::google::protobuf::Message::CopyConstruct<::mavsdk::rpc::camera::VideoStreamSettings>(arena, *from._impl_.settings_); + } else { + _this->_impl_.settings_->MergeFrom(*from._impl_.settings_); } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); + } + if (from._internal_status() != 0) { + _this->_impl_.status_ = from._impl_.status_; + } + if (from._internal_spectrum() != 0) { + _this->_impl_.spectrum_ = from._impl_.spectrum_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } -void VideoStreamInfo::CopyFrom(const VideoStreamInfo& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.VideoStreamInfo) - if (&from == this) - return; - Clear(); - MergeFrom(from); +void VideoStreamInfo::CopyFrom(const VideoStreamInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.VideoStreamInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); } -void VideoStreamInfo::InternalSwap(VideoStreamInfo* PROTOBUF_RESTRICT other) -{ - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.spectrum_) + - sizeof(VideoStreamInfo::_impl_.spectrum_) - - PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.settings_)>( - reinterpret_cast(&_impl_.settings_), - reinterpret_cast(&other->_impl_.settings_)); + +void VideoStreamInfo::InternalSwap(VideoStreamInfo* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.spectrum_) + + sizeof(VideoStreamInfo::_impl_.spectrum_) + - PROTOBUF_FIELD_OFFSET(VideoStreamInfo, _impl_.settings_)>( + reinterpret_cast(&_impl_.settings_), + reinterpret_cast(&other->_impl_.settings_)); } -::google::protobuf::Metadata VideoStreamInfo::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +::google::protobuf::Metadata VideoStreamInfo::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class Status::_Internal { -public: + public: }; Status::Status(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Status) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Status) } inline PROTOBUF_NDEBUG_INLINE Status::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::Status& from_msg) + : media_folder_name_(arena, from.media_folder_name_), + _cached_size_{0} {} + +Status::Status( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::Status& from_msg) : - media_folder_name_(arena, from.media_folder_name_), - _cached_size_{0} -{} - -Status::Status(::google::protobuf::Arena* arena, const Status& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - Status* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::memcpy( - reinterpret_cast(&_impl_) + offsetof(Impl_, video_on_), - reinterpret_cast(&from._impl_) + offsetof(Impl_, video_on_), - offsetof(Impl_, storage_type_) - offsetof(Impl_, video_on_) + sizeof(Impl_::storage_type_)); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.Status) + const Status& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Status* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, video_on_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, video_on_), + offsetof(Impl_, storage_type_) - + offsetof(Impl_, video_on_) + + sizeof(Impl_::storage_type_)); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.Status) } inline PROTOBUF_NDEBUG_INLINE Status::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - media_folder_name_(arena), - _cached_size_{0} -{} - -inline void Status::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset( - reinterpret_cast(&_impl_) + offsetof(Impl_, video_on_), - 0, - offsetof(Impl_, storage_type_) - offsetof(Impl_, video_on_) + sizeof(Impl_::storage_type_)); -} -Status::~Status() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Status) - SharedDtor(*this); -} -inline void Status::SharedDtor(MessageLite& self) -{ - Status& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.media_folder_name_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* Status::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) Status(arena); -} -constexpr auto Status::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Status), alignof(Status)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : media_folder_name_(arena), + _cached_size_{0} {} + +inline void Status::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, video_on_), + 0, + offsetof(Impl_, storage_type_) - + offsetof(Impl_, video_on_) + + sizeof(Impl_::storage_type_)); +} +Status::~Status() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Status) + SharedDtor(*this); +} +inline void Status::SharedDtor(MessageLite& self) { + Status& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.media_folder_name_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Status::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Status(arena); +} +constexpr auto Status::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Status), + alignof(Status)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -21057,482 +18832,432 @@ const ::google::protobuf::internal::ClassDataFull Status::_class_data_ = { ::google::protobuf::internal::ClassData{ &_Status_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &Status::MergeImpl, ::google::protobuf::Message::GetNewImpl(), #if defined(PROTOBUF_CUSTOM_VTABLE) &Status::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), - &Status::ByteSizeLong, - &Status::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE + ::google::protobuf::Message::GetClearImpl(), &Status::ByteSizeLong, + &Status::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE PROTOBUF_FIELD_OFFSET(Status, _impl_._cached_size_), false, }, &Status::kDescriptorMethods, &descriptor_table_camera_2fcamera_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Status::GetClassData() const -{ - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<4, 10, 0, 58, 2> - Status::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 10, - 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294966272, // skipmap - offsetof(decltype(_table_), field_entries), - 10, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback -#ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Status>(), // to_prefetch -#endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, - {{ - {::_pbi::TcParser::MiniParse, {}}, - // bool video_on = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.video_on_)}}, - // bool photo_interval_on = 2; - {::_pbi::TcParser:: - SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.photo_interval_on_)}}, - // float used_storage_mib = 3; - {::_pbi::TcParser::FastF32S1, - {29, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.used_storage_mib_)}}, - // float available_storage_mib = 4; - {::_pbi::TcParser::FastF32S1, - {37, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.available_storage_mib_)}}, - // float total_storage_mib = 5; - {::_pbi::TcParser::FastF32S1, - {45, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.total_storage_mib_)}}, - // float recording_time_s = 6; - {::_pbi::TcParser::FastF32S1, - {53, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.recording_time_s_)}}, - // string media_folder_name = 7; - {::_pbi::TcParser::FastUS1, - {58, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.media_folder_name_)}}, - // .mavsdk.rpc.camera.Status.StorageStatus storage_status = 8; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(Status, _impl_.storage_status_), 63>(), - {64, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_status_)}}, - // uint32 storage_id = 9; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(Status, _impl_.storage_id_), 63>(), - {72, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_id_)}}, - // .mavsdk.rpc.camera.Status.StorageType storage_type = 10; - {::_pbi::TcParser:: - SingularVarintNoZag1<::uint32_t, offsetof(Status, _impl_.storage_type_), 63>(), - {80, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_type_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, - {{65535, 65535}}, - {{ - // bool video_on = 1; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.video_on_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool photo_interval_on = 2; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.photo_interval_on_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // float used_storage_mib = 3; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.used_storage_mib_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float available_storage_mib = 4; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.available_storage_mib_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float total_storage_mib = 5; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.total_storage_mib_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // float recording_time_s = 6; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.recording_time_s_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, - // string media_folder_name = 7; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.media_folder_name_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .mavsdk.rpc.camera.Status.StorageStatus storage_status = 8; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_status_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // uint32 storage_id = 9; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_id_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // .mavsdk.rpc.camera.Status.StorageType storage_type = 10; - {PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_type_), - 0, - 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{"\30\0\0\0\0\0\0\21\0\0\0\0\0\0\0\0" - "mavsdk.rpc.camera.Status" - "media_folder_name"}}, - }; - -PROTOBUF_NOINLINE void Status::Clear() -{ - // @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.Status) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - _impl_.media_folder_name_.ClearToEmpty(); - ::memset( - &_impl_.video_on_, - 0, - static_cast<::size_t>( - reinterpret_cast(&_impl_.storage_type_) - - reinterpret_cast(&_impl_.video_on_)) + - sizeof(_impl_.storage_type_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) -::uint8_t* Status::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) -{ - const Status& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::uint8_t* Status::_InternalSerialize( - ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const -{ - const Status& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.Status) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Status::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<4, 10, 0, 58, 2> Status::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 10, 120, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294966272, // skipmap + offsetof(decltype(_table_), field_entries), + 10, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::mavsdk::rpc::camera::Status>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, // bool video_on = 1; - if (this_._internal_video_on() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this_._internal_video_on(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.video_on_)}}, // bool photo_interval_on = 2; - if (this_._internal_photo_interval_on() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_photo_interval_on(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.photo_interval_on_)}}, // float used_storage_mib = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_used_storage_mib()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 3, this_._internal_used_storage_mib(), target); - } - + {::_pbi::TcParser::FastF32S1, + {29, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.used_storage_mib_)}}, // float available_storage_mib = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_available_storage_mib()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 4, this_._internal_available_storage_mib(), target); - } - + {::_pbi::TcParser::FastF32S1, + {37, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.available_storage_mib_)}}, // float total_storage_mib = 5; - if (::absl::bit_cast<::uint32_t>(this_._internal_total_storage_mib()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 5, this_._internal_total_storage_mib(), target); - } - + {::_pbi::TcParser::FastF32S1, + {45, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.total_storage_mib_)}}, // float recording_time_s = 6; - if (::absl::bit_cast<::uint32_t>(this_._internal_recording_time_s()) != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteFloatToArray( - 6, this_._internal_recording_time_s(), target); - } - + {::_pbi::TcParser::FastF32S1, + {53, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.recording_time_s_)}}, // string media_folder_name = 7; - if (!this_._internal_media_folder_name().empty()) { - const std::string& _s = this_._internal_media_folder_name(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), - static_cast(_s.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "mavsdk.rpc.camera.Status.media_folder_name"); - target = stream->WriteStringMaybeAliased(7, _s, target); - } - + {::_pbi::TcParser::FastUS1, + {58, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.media_folder_name_)}}, // .mavsdk.rpc.camera.Status.StorageStatus storage_status = 8; - if (this_._internal_storage_status() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteEnumToArray(8, this_._internal_storage_status(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Status, _impl_.storage_status_), 63>(), + {64, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_status_)}}, // uint32 storage_id = 9; - if (this_._internal_storage_id() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteUInt32ToArray(9, this_._internal_storage_id(), target); - } - + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Status, _impl_.storage_id_), 63>(), + {72, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_id_)}}, // .mavsdk.rpc.camera.Status.StorageType storage_type = 10; - if (this_._internal_storage_type() != 0) { - target = stream->EnsureSpace(target); - target = - ::_pbi::WireFormatLite::WriteEnumToArray(10, this_._internal_storage_type(), target); - } + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Status, _impl_.storage_type_), 63>(), + {80, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_type_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // bool video_on = 1; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.video_on_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // bool photo_interval_on = 2; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.photo_interval_on_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBool)}, + // float used_storage_mib = 3; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.used_storage_mib_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float available_storage_mib = 4; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.available_storage_mib_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float total_storage_mib = 5; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.total_storage_mib_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // float recording_time_s = 6; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.recording_time_s_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kFloat)}, + // string media_folder_name = 7; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.media_folder_name_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .mavsdk.rpc.camera.Status.StorageStatus storage_status = 8; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_status_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // uint32 storage_id = 9; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // .mavsdk.rpc.camera.Status.StorageType storage_type = 10; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + }}, + // no aux_entries + {{ + "\30\0\0\0\0\0\0\21\0\0\0\0\0\0\0\0" + "mavsdk.rpc.camera.Status" + "media_folder_name" + }}, +}; - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>( - ::google::protobuf::UnknownFieldSet::default_instance), - target, - stream); - } - // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.Status) - return target; -} +PROTOBUF_NOINLINE void Status::Clear() { +// @@protoc_insertion_point(message_clear_start:mavsdk.rpc.camera.Status) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.media_folder_name_.ClearToEmpty(); + ::memset(&_impl_.video_on_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.storage_type_) - + reinterpret_cast(&_impl_.video_on_)) + sizeof(_impl_.storage_type_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Status::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Status& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Status::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Status& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:mavsdk.rpc.camera.Status) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bool video_on = 1; + if (this_._internal_video_on() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 1, this_._internal_video_on(), target); + } + + // bool photo_interval_on = 2; + if (this_._internal_photo_interval_on() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray( + 2, this_._internal_photo_interval_on(), target); + } + + // float used_storage_mib = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_used_storage_mib()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 3, this_._internal_used_storage_mib(), target); + } + + // float available_storage_mib = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_available_storage_mib()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 4, this_._internal_available_storage_mib(), target); + } + + // float total_storage_mib = 5; + if (::absl::bit_cast<::uint32_t>(this_._internal_total_storage_mib()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 5, this_._internal_total_storage_mib(), target); + } + + // float recording_time_s = 6; + if (::absl::bit_cast<::uint32_t>(this_._internal_recording_time_s()) != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray( + 6, this_._internal_recording_time_s(), target); + } + + // string media_folder_name = 7; + if (!this_._internal_media_folder_name().empty()) { + const std::string& _s = this_._internal_media_folder_name(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "mavsdk.rpc.camera.Status.media_folder_name"); + target = stream->WriteStringMaybeAliased(7, _s, target); + } + + // .mavsdk.rpc.camera.Status.StorageStatus storage_status = 8; + if (this_._internal_storage_status() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 8, this_._internal_storage_status(), target); + } + + // uint32 storage_id = 9; + if (this_._internal_storage_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 9, this_._internal_storage_id(), target); + } + + // .mavsdk.rpc.camera.Status.StorageType storage_type = 10; + if (this_._internal_storage_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 10, this_._internal_storage_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:mavsdk.rpc.camera.Status) + return target; + } #if defined(PROTOBUF_CUSTOM_VTABLE) -::size_t Status::ByteSizeLong(const MessageLite& base) -{ - const Status& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE -::size_t Status::ByteSizeLong() const -{ - const Status& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.Status) - ::size_t total_size = 0; + ::size_t Status::ByteSizeLong(const MessageLite& base) { + const Status& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Status::ByteSizeLong() const { + const Status& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:mavsdk.rpc.camera.Status) + ::size_t total_size = 0; - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string media_folder_name = 7; - if (!this_._internal_media_folder_name().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_media_folder_name()); - } - // bool video_on = 1; - if (this_._internal_video_on() != 0) { - total_size += 2; - } - // bool photo_interval_on = 2; - if (this_._internal_photo_interval_on() != 0) { - total_size += 2; - } - // float used_storage_mib = 3; - if (::absl::bit_cast<::uint32_t>(this_._internal_used_storage_mib()) != 0) { - total_size += 5; - } - // float available_storage_mib = 4; - if (::absl::bit_cast<::uint32_t>(this_._internal_available_storage_mib()) != 0) { - total_size += 5; - } - // float total_storage_mib = 5; - if (::absl::bit_cast<::uint32_t>(this_._internal_total_storage_mib()) != 0) { - total_size += 5; - } - // float recording_time_s = 6; - if (::absl::bit_cast<::uint32_t>(this_._internal_recording_time_s()) != 0) { - total_size += 5; - } - // .mavsdk.rpc.camera.Status.StorageStatus storage_status = 8; - if (this_._internal_storage_status() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_storage_status()); - } - // uint32 storage_id = 9; - if (this_._internal_storage_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this_._internal_storage_id()); - } - // .mavsdk.rpc.camera.Status.StorageType storage_type = 10; - if (this_._internal_storage_type() != 0) { - total_size += 1 + ::_pbi::WireFormatLite::EnumSize(this_._internal_storage_type()); + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string media_folder_name = 7; + if (!this_._internal_media_folder_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_media_folder_name()); + } + // bool video_on = 1; + if (this_._internal_video_on() != 0) { + total_size += 2; + } + // bool photo_interval_on = 2; + if (this_._internal_photo_interval_on() != 0) { + total_size += 2; + } + // float used_storage_mib = 3; + if (::absl::bit_cast<::uint32_t>(this_._internal_used_storage_mib()) != 0) { + total_size += 5; + } + // float available_storage_mib = 4; + if (::absl::bit_cast<::uint32_t>(this_._internal_available_storage_mib()) != 0) { + total_size += 5; + } + // float total_storage_mib = 5; + if (::absl::bit_cast<::uint32_t>(this_._internal_total_storage_mib()) != 0) { + total_size += 5; + } + // float recording_time_s = 6; + if (::absl::bit_cast<::uint32_t>(this_._internal_recording_time_s()) != 0) { + total_size += 5; + } + // .mavsdk.rpc.camera.Status.StorageStatus storage_status = 8; + if (this_._internal_storage_status() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_storage_status()); + } + // uint32 storage_id = 9; + if (this_._internal_storage_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_storage_id()); + } + // .mavsdk.rpc.camera.Status.StorageType storage_type = 10; + if (this_._internal_storage_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_storage_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, &this_._impl_._cached_size_); -} -void Status::MergeImpl( - ::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) -{ - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.Status) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - if (!from._internal_media_folder_name().empty()) { - _this->_internal_set_media_folder_name(from._internal_media_folder_name()); - } - if (from._internal_video_on() != 0) { - _this->_impl_.video_on_ = from._impl_.video_on_; - } - if (from._internal_photo_interval_on() != 0) { - _this->_impl_.photo_interval_on_ = from._impl_.photo_interval_on_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_used_storage_mib()) != 0) { - _this->_impl_.used_storage_mib_ = from._impl_.used_storage_mib_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_available_storage_mib()) != 0) { - _this->_impl_.available_storage_mib_ = from._impl_.available_storage_mib_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_total_storage_mib()) != 0) { - _this->_impl_.total_storage_mib_ = from._impl_.total_storage_mib_; - } - if (::absl::bit_cast<::uint32_t>(from._internal_recording_time_s()) != 0) { - _this->_impl_.recording_time_s_ = from._impl_.recording_time_s_; - } - if (from._internal_storage_status() != 0) { - _this->_impl_.storage_status_ = from._impl_.storage_status_; - } - if (from._internal_storage_id() != 0) { - _this->_impl_.storage_id_ = from._impl_.storage_id_; - } - if (from._internal_storage_type() != 0) { - _this->_impl_.storage_type_ = from._impl_.storage_type_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); -} - -void Status::CopyFrom(const Status& from) -{ - // @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.Status) - if (&from == this) - return; - Clear(); - MergeFrom(from); -} - -void Status::InternalSwap(Status* PROTOBUF_RESTRICT other) -{ - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap( - &_impl_.media_folder_name_, &other->_impl_.media_folder_name_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_type_) + sizeof(Status::_impl_.storage_type_) - - PROTOBUF_FIELD_OFFSET(Status, _impl_.video_on_)>( - reinterpret_cast(&_impl_.video_on_), - reinterpret_cast(&other->_impl_.video_on_)); -} - -::google::protobuf::Metadata Status::GetMetadata() const -{ - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +void Status::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:mavsdk.rpc.camera.Status) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_media_folder_name().empty()) { + _this->_internal_set_media_folder_name(from._internal_media_folder_name()); + } + if (from._internal_video_on() != 0) { + _this->_impl_.video_on_ = from._impl_.video_on_; + } + if (from._internal_photo_interval_on() != 0) { + _this->_impl_.photo_interval_on_ = from._impl_.photo_interval_on_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_used_storage_mib()) != 0) { + _this->_impl_.used_storage_mib_ = from._impl_.used_storage_mib_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_available_storage_mib()) != 0) { + _this->_impl_.available_storage_mib_ = from._impl_.available_storage_mib_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_total_storage_mib()) != 0) { + _this->_impl_.total_storage_mib_ = from._impl_.total_storage_mib_; + } + if (::absl::bit_cast<::uint32_t>(from._internal_recording_time_s()) != 0) { + _this->_impl_.recording_time_s_ = from._impl_.recording_time_s_; + } + if (from._internal_storage_status() != 0) { + _this->_impl_.storage_status_ = from._impl_.storage_status_; + } + if (from._internal_storage_id() != 0) { + _this->_impl_.storage_id_ = from._impl_.storage_id_; + } + if (from._internal_storage_type() != 0) { + _this->_impl_.storage_type_ = from._impl_.storage_type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Status::CopyFrom(const Status& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:mavsdk.rpc.camera.Status) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Status::InternalSwap(Status* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.media_folder_name_, &other->_impl_.media_folder_name_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Status, _impl_.storage_type_) + + sizeof(Status::_impl_.storage_type_) + - PROTOBUF_FIELD_OFFSET(Status, _impl_.video_on_)>( + reinterpret_cast(&_impl_.video_on_), + reinterpret_cast(&other->_impl_.video_on_)); +} + +::google::protobuf::Metadata Status::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); } // =================================================================== class Option::_Internal { -public: + public: }; Option::Option(::google::protobuf::Arena* arena) #if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Option) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:mavsdk.rpc.camera.Option) } inline PROTOBUF_NDEBUG_INLINE Option::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::mavsdk::rpc::camera::Option& from_msg) + : option_id_(arena, from.option_id_), + option_description_(arena, from.option_description_), + _cached_size_{0} {} + +Option::Option( ::google::protobuf::Arena* arena, - const Impl_& from, - const ::mavsdk::rpc::camera::Option& from_msg) : - option_id_(arena, from.option_id_), - option_description_(arena, from.option_description_), - _cached_size_{0} -{} - -Option::Option(::google::protobuf::Arena* arena, const Option& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : - ::google::protobuf::Message(arena, _class_data_.base()) -{ -#else // PROTOBUF_CUSTOM_VTABLE - : - ::google::protobuf::Message(arena) -{ -#endif // PROTOBUF_CUSTOM_VTABLE - Option* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - - // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.Option) + const Option& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Option* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:mavsdk.rpc.camera.Option) } inline PROTOBUF_NDEBUG_INLINE Option::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : - option_id_(arena), - option_description_(arena), - _cached_size_{0} -{} - -inline void Option::SharedCtor(::_pb::Arena* arena) -{ - new (&_impl_) Impl_(internal_visibility(), arena); -} -Option::~Option() -{ - // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Option) - SharedDtor(*this); -} -inline void Option::SharedDtor(MessageLite& self) -{ - Option& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.option_id_.Destroy(); - this_._impl_.option_description_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* Option::PlacementNew_(const void*, void* mem, ::google::protobuf::Arena* arena) -{ - return ::new (mem) Option(arena); -} -constexpr auto Option::InternalNewImpl_() -{ - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Option), alignof(Option)); + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : option_id_(arena), + option_description_(arena), + _cached_size_{0} {} + +inline void Option::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Option::~Option() { + // @@protoc_insertion_point(destructor:mavsdk.rpc.camera.Option) + SharedDtor(*this); +} +inline void Option::SharedDtor(MessageLite& self) { + Option& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.option_id_.Destroy(); + this_._impl_.option_description_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Option::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Option(arena); +} +constexpr auto Option::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Option), + alignof(Option)); } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 @@ -21540,309 +19265,276 @@ const ::google::protobuf::internal::ClassDataFull Option::_class_data_ = { ::google::protobuf::internal::ClassData{ &_Option_default_instance_._instance, &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized &Option::MergeImpl, ::google::protobuf::Message::GetNewImpl