10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
30inline constexpr OsqpSettingsProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
35 scaling_{::int64_t{0}},
36 adaptive_rho_interval_{::int64_t{0}},
37 adaptive_rho_tolerance_{0},
38 adaptive_rho_fraction_{0},
39 max_iter_{::int64_t{0}},
49 scaled_termination_{
false},
51 polish_refine_iter_{::int64_t{0}},
52 check_termination_{::int64_t{0}},
57#if defined(PROTOBUF_CUSTOM_VTABLE)
60 : ::google::protobuf::Message(),
62 _impl_(::_pbi::ConstantInitialized()) {
72PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
75inline constexpr OsqpOutput::Impl_::Impl_(
76 ::_pbi::ConstantInitialized) noexcept
78 initialized_underlying_solver_{
false} {}
82#if defined(PROTOBUF_CUSTOM_VTABLE)
85 : ::google::protobuf::Message(),
87 _impl_(::_pbi::ConstantInitialized()) {
97PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
101static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
103static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
160static const ::_pbi::MigrationSchema
171 "\n#ortools/math_opt/solvers/osqp.proto\022\034o"
172 "perations_research.math_opt\"\211\007\n\021OsqpSett"
173 "ingsProto\022\020\n\003rho\030\001 \001(\001H\000\210\001\001\022\022\n\005sigma\030\002 \001"
174 "(\001H\001\210\001\001\022\024\n\007scaling\030\003 \001(\003H\002\210\001\001\022\031\n\014adaptiv"
175 "e_rho\030\004 \001(\010H\003\210\001\001\022\"\n\025adaptive_rho_interva"
176 "l\030\005 \001(\003H\004\210\001\001\022#\n\026adaptive_rho_tolerance\030\006"
177 " \001(\001H\005\210\001\001\022\"\n\025adaptive_rho_fraction\030\007 \001(\001"
178 "H\006\210\001\001\022\025\n\010max_iter\030\010 \001(\003H\007\210\001\001\022\024\n\007eps_abs\030"
179 "\t \001(\001H\010\210\001\001\022\024\n\007eps_rel\030\n \001(\001H\t\210\001\001\022\031\n\014eps_"
180 "prim_inf\030\013 \001(\001H\n\210\001\001\022\031\n\014eps_dual_inf\030\014 \001("
181 "\001H\013\210\001\001\022\022\n\005alpha\030\r \001(\001H\014\210\001\001\022\022\n\005delta\030\016 \001("
182 "\001H\r\210\001\001\022\023\n\006polish\030\017 \001(\010H\016\210\001\001\022\037\n\022polish_re"
183 "fine_iter\030\020 \001(\003H\017\210\001\001\022\024\n\007verbose\030\021 \001(\010H\020\210"
184 "\001\001\022\037\n\022scaled_termination\030\022 \001(\010H\021\210\001\001\022\036\n\021c"
185 "heck_termination\030\023 \001(\003H\022\210\001\001\022\027\n\nwarm_star"
186 "t\030\024 \001(\010H\023\210\001\001\022\027\n\ntime_limit\030\025 \001(\001H\024\210\001\001B\006\n"
187 "\004_rhoB\010\n\006_sigmaB\n\n\010_scalingB\017\n\r_adaptive"
188 "_rhoB\030\n\026_adaptive_rho_intervalB\031\n\027_adapt"
189 "ive_rho_toleranceB\030\n\026_adaptive_rho_fract"
190 "ionB\013\n\t_max_iterB\n\n\010_eps_absB\n\n\010_eps_rel"
191 "B\017\n\r_eps_prim_infB\017\n\r_eps_dual_infB\010\n\006_a"
192 "lphaB\010\n\006_deltaB\t\n\007_polishB\025\n\023_polish_ref"
193 "ine_iterB\n\n\010_verboseB\025\n\023_scaled_terminat"
194 "ionB\024\n\022_check_terminationB\r\n\013_warm_start"
195 "B\r\n\013_time_limit\"3\n\nOsqpOutput\022%\n\035initial"
196 "ized_underlying_solver\030\001 \001(\010b\006proto3"
203 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto,
204 "ortools/math_opt/solvers/osqp.proto",
222 decltype(::std::declval<OsqpSettingsProto>()._impl_._has_bits_);
228#if defined(PROTOBUF_CUSTOM_VTABLE)
231 : ::google::protobuf::Message(arena) {
237 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const OsqpSettingsProto& from)
238#if defined(PROTOBUF_CUSTOM_VTABLE)
241 : ::google::protobuf::Message(arena),
244 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
245 from._internal_metadata_);
247PROTOBUF_NDEBUG_INLINE OsqpSettingsProto::Impl_::Impl_(
248 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
249 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
250 : _cached_size_{0} {}
252inline void OsqpSettingsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
253 new (&
_impl_) Impl_(internal_visibility(), arena);
254 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
255 offsetof(Impl_, rho_),
257 offsetof(Impl_, time_limit_) -
258 offsetof(Impl_, rho_) +
259 sizeof(Impl_::time_limit_));
265inline void OsqpSettingsProto::SharedDtor(
MessageLite& self) {
267 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
268 this_.CheckHasBitConsistency();
270 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
271 ABSL_DCHECK(this_.GetArena() ==
nullptr);
275inline void* PROTOBUF_NONNULL OsqpSettingsProto::PlacementNew_(
276 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
277 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
280constexpr auto OsqpSettingsProto::InternalNewImpl_() {
281 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
OsqpSettingsProto),
285 return ::google::protobuf::internal::ClassDataFull{
286 ::google::protobuf::internal::ClassData{
291 &OsqpSettingsProto::MergeImpl,
292 ::google::protobuf::Message::GetNewImpl<OsqpSettingsProto>(),
293#if defined(PROTOBUF_CUSTOM_VTABLE)
294 &OsqpSettingsProto::SharedDtor,
301 &OsqpSettingsProto::kDescriptorMethods,
307PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
311PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
312OsqpSettingsProto::GetClassData()
const {
317PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
318const ::_pbi::TcParseTable<5, 21, 0, 0, 2>
319OsqpSettingsProto::_table_ = {
324 offsetof(
decltype(_table_), field_lookup_table),
326 offsetof(
decltype(_table_), field_entries),
329 offsetof(
decltype(_table_), field_names),
332 ::_pbi::TcParser::GenericFallback,
333 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
334 ::_pbi::TcParser::GetTable<::operations_research::math_opt::OsqpSettingsProto>(),
337 {::_pbi::TcParser::MiniParse, {}},
339 {::_pbi::TcParser::FastF64S1,
343 {::_pbi::TcParser::FastF64S1,
355 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
OsqpSettingsProto,
_impl_.adaptive_rho_interval_), 3>(),
359 {::_pbi::TcParser::FastF64S1,
363 {::_pbi::TcParser::FastF64S1,
371 {::_pbi::TcParser::FastF64S1,
375 {::_pbi::TcParser::FastF64S1,
379 {::_pbi::TcParser::FastF64S1,
383 {::_pbi::TcParser::FastF64S1,
387 {::_pbi::TcParser::FastF64S1,
391 {::_pbi::TcParser::FastF64S1,
399 {::_pbi::TcParser::FastV64S2,
403 {::_pbi::TcParser::FastV8S2,
407 {::_pbi::TcParser::FastV8S2,
411 {::_pbi::TcParser::FastV64S2,
415 {::_pbi::TcParser::FastV8S2,
419 {::_pbi::TcParser::FastF64S2,
422 {::_pbi::TcParser::MiniParse, {}},
423 {::_pbi::TcParser::MiniParse, {}},
424 {::_pbi::TcParser::MiniParse, {}},
425 {::_pbi::TcParser::MiniParse, {}},
426 {::_pbi::TcParser::MiniParse, {}},
427 {::_pbi::TcParser::MiniParse, {}},
428 {::_pbi::TcParser::MiniParse, {}},
429 {::_pbi::TcParser::MiniParse, {}},
430 {::_pbi::TcParser::MiniParse, {}},
431 {::_pbi::TcParser::MiniParse, {}},
484 ::google::protobuf::internal::TSanWrite(&
_impl_);
485 ::uint32_t cached_has_bits = 0;
487 (void) cached_has_bits;
489 cached_has_bits =
_impl_._has_bits_[0];
490 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
491 ::memset(&
_impl_.rho_, 0,
static_cast<::
size_t>(
492 reinterpret_cast<char*
>(&
_impl_.eps_abs_) -
493 reinterpret_cast<char*
>(&
_impl_.rho_)) +
sizeof(
_impl_.eps_abs_));
495 if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
496 ::memset(&
_impl_.eps_rel_, 0,
static_cast<::
size_t>(
497 reinterpret_cast<char*
>(&
_impl_.verbose_) -
498 reinterpret_cast<char*
>(&
_impl_.eps_rel_)) +
sizeof(
_impl_.verbose_));
500 if (BatchCheckHasBit(cached_has_bits, 0x001f0000U)) {
501 ::memset(&
_impl_.scaled_termination_, 0,
static_cast<::
size_t>(
502 reinterpret_cast<char*
>(&
_impl_.time_limit_) -
503 reinterpret_cast<char*
>(&
_impl_.scaled_termination_)) +
sizeof(
_impl_.time_limit_));
505 _impl_._has_bits_.Clear();
506 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
509#if defined(PROTOBUF_CUSTOM_VTABLE)
511 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
512 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
516 ::uint8_t* PROTOBUF_NONNULL target,
517 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
520 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
521 this_.CheckHasBitConsistency();
524 ::uint32_t cached_has_bits = 0;
525 (void)cached_has_bits;
527 cached_has_bits = this_.
_impl_._has_bits_[0];
529 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
530 target = stream->EnsureSpace(target);
531 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
532 1, this_._internal_rho(), target);
536 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
537 target = stream->EnsureSpace(target);
538 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
539 2, this_._internal_sigma(), target);
543 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
545 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
546 stream, this_._internal_scaling(), target);
550 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
551 target = stream->EnsureSpace(target);
552 target = ::_pbi::WireFormatLite::WriteBoolToArray(
553 4, this_._internal_adaptive_rho(), target);
557 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
559 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
560 stream, this_._internal_adaptive_rho_interval(), target);
564 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
565 target = stream->EnsureSpace(target);
566 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
567 6, this_._internal_adaptive_rho_tolerance(), target);
571 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
572 target = stream->EnsureSpace(target);
573 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
574 7, this_._internal_adaptive_rho_fraction(), target);
578 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
580 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
581 stream, this_._internal_max_iter(), target);
585 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
586 target = stream->EnsureSpace(target);
587 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
588 9, this_._internal_eps_abs(), target);
592 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
593 target = stream->EnsureSpace(target);
594 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
595 10, this_._internal_eps_rel(), target);
599 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
600 target = stream->EnsureSpace(target);
601 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
602 11, this_._internal_eps_prim_inf(), target);
606 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
607 target = stream->EnsureSpace(target);
608 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
609 12, this_._internal_eps_dual_inf(), target);
613 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
614 target = stream->EnsureSpace(target);
615 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
616 13, this_._internal_alpha(), target);
620 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
621 target = stream->EnsureSpace(target);
622 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
623 14, this_._internal_delta(), target);
627 if (CheckHasBit(cached_has_bits, 0x00004000U)) {
628 target = stream->EnsureSpace(target);
629 target = ::_pbi::WireFormatLite::WriteBoolToArray(
630 15, this_._internal_polish(), target);
634 if (CheckHasBit(cached_has_bits, 0x00040000U)) {
635 target = stream->EnsureSpace(target);
636 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
637 16, this_._internal_polish_refine_iter(), target);
641 if (CheckHasBit(cached_has_bits, 0x00008000U)) {
642 target = stream->EnsureSpace(target);
643 target = ::_pbi::WireFormatLite::WriteBoolToArray(
644 17, this_._internal_verbose(), target);
648 if (CheckHasBit(cached_has_bits, 0x00010000U)) {
649 target = stream->EnsureSpace(target);
650 target = ::_pbi::WireFormatLite::WriteBoolToArray(
651 18, this_._internal_scaled_termination(), target);
655 if (CheckHasBit(cached_has_bits, 0x00080000U)) {
656 target = stream->EnsureSpace(target);
657 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
658 19, this_._internal_check_termination(), target);
662 if (CheckHasBit(cached_has_bits, 0x00020000U)) {
663 target = stream->EnsureSpace(target);
664 target = ::_pbi::WireFormatLite::WriteBoolToArray(
665 20, this_._internal_warm_start(), target);
669 if (CheckHasBit(cached_has_bits, 0x00100000U)) {
670 target = stream->EnsureSpace(target);
671 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
672 21, this_._internal_time_limit(), target);
675 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
677 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
678 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
684#if defined(PROTOBUF_CUSTOM_VTABLE)
692 ::size_t total_size = 0;
694 ::uint32_t cached_has_bits = 0;
696 (void)cached_has_bits;
698 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
699 cached_has_bits = this_.
_impl_._has_bits_[0];
700 total_size +=
static_cast<bool>(0x00100000U & cached_has_bits) * 10;
701 total_size += ::absl::popcount(0x00001fb3U & cached_has_bits) * 9;
702 total_size += ::absl::popcount(0x00038000U & cached_has_bits) * 3;
703 total_size += ::absl::popcount(0x00006000U & cached_has_bits) * 2;
704 if (BatchCheckHasBit(cached_has_bits, 0x0000004cU)) {
706 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
707 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
708 this_._internal_scaling());
711 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
712 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
713 this_._internal_adaptive_rho_interval());
716 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
717 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
718 this_._internal_max_iter());
721 if (BatchCheckHasBit(cached_has_bits, 0x000c0000U)) {
723 if (CheckHasBit(cached_has_bits, 0x00040000U)) {
724 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
725 this_._internal_polish_refine_iter());
728 if (CheckHasBit(cached_has_bits, 0x00080000U)) {
729 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
730 this_._internal_check_termination());
733 return this_.MaybeComputeUnknownFieldsSize(total_size,
734 &this_.
_impl_._cached_size_);
737void OsqpSettingsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
738 const ::google::protobuf::MessageLite& from_msg) {
742 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
743 from.CheckHasBitConsistency();
746 ABSL_DCHECK_NE(&from, _this);
747 ::uint32_t cached_has_bits = 0;
748 (void)cached_has_bits;
750 cached_has_bits = from.
_impl_._has_bits_[0];
751 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
752 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
753 _this->_impl_.rho_ = from.
_impl_.rho_;
755 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
756 _this->_impl_.sigma_ = from.
_impl_.sigma_;
758 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
759 _this->_impl_.scaling_ = from.
_impl_.scaling_;
761 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
762 _this->_impl_.adaptive_rho_interval_ = from.
_impl_.adaptive_rho_interval_;
764 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
765 _this->_impl_.adaptive_rho_tolerance_ = from.
_impl_.adaptive_rho_tolerance_;
767 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
768 _this->_impl_.adaptive_rho_fraction_ = from.
_impl_.adaptive_rho_fraction_;
770 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
771 _this->_impl_.max_iter_ = from.
_impl_.max_iter_;
773 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
774 _this->_impl_.eps_abs_ = from.
_impl_.eps_abs_;
777 if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
778 if (CheckHasBit(cached_has_bits, 0x00000100U)) {
779 _this->_impl_.eps_rel_ = from.
_impl_.eps_rel_;
781 if (CheckHasBit(cached_has_bits, 0x00000200U)) {
782 _this->_impl_.eps_prim_inf_ = from.
_impl_.eps_prim_inf_;
784 if (CheckHasBit(cached_has_bits, 0x00000400U)) {
785 _this->_impl_.eps_dual_inf_ = from.
_impl_.eps_dual_inf_;
787 if (CheckHasBit(cached_has_bits, 0x00000800U)) {
788 _this->_impl_.alpha_ = from.
_impl_.alpha_;
790 if (CheckHasBit(cached_has_bits, 0x00001000U)) {
791 _this->_impl_.delta_ = from.
_impl_.delta_;
793 if (CheckHasBit(cached_has_bits, 0x00002000U)) {
794 _this->_impl_.adaptive_rho_ = from.
_impl_.adaptive_rho_;
796 if (CheckHasBit(cached_has_bits, 0x00004000U)) {
797 _this->_impl_.polish_ = from.
_impl_.polish_;
799 if (CheckHasBit(cached_has_bits, 0x00008000U)) {
800 _this->_impl_.verbose_ = from.
_impl_.verbose_;
803 if (BatchCheckHasBit(cached_has_bits, 0x001f0000U)) {
804 if (CheckHasBit(cached_has_bits, 0x00010000U)) {
805 _this->_impl_.scaled_termination_ = from.
_impl_.scaled_termination_;
807 if (CheckHasBit(cached_has_bits, 0x00020000U)) {
808 _this->_impl_.warm_start_ = from.
_impl_.warm_start_;
810 if (CheckHasBit(cached_has_bits, 0x00040000U)) {
811 _this->_impl_.polish_refine_iter_ = from.
_impl_.polish_refine_iter_;
813 if (CheckHasBit(cached_has_bits, 0x00080000U)) {
814 _this->_impl_.check_termination_ = from.
_impl_.check_termination_;
816 if (CheckHasBit(cached_has_bits, 0x00100000U)) {
817 _this->_impl_.time_limit_ = from.
_impl_.time_limit_;
820 _this->_impl_._has_bits_[0] |= cached_has_bits;
821 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
822 from._internal_metadata_);
827 if (&from ==
this)
return;
833void OsqpSettingsProto::InternalSwap(
OsqpSettingsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
835 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
836 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
837 ::google::protobuf::internal::memswap<
841 reinterpret_cast<char*
>(&
_impl_.rho_),
842 reinterpret_cast<char*
>(&other->_impl_.rho_));
846 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
853 decltype(::std::declval<OsqpOutput>()._impl_._has_bits_);
859#if defined(PROTOBUF_CUSTOM_VTABLE)
862 : ::google::protobuf::Message(arena) {
868 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const OsqpOutput& from)
869#if defined(PROTOBUF_CUSTOM_VTABLE)
872 : ::google::protobuf::Message(arena),
875 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
876 from._internal_metadata_);
878PROTOBUF_NDEBUG_INLINE OsqpOutput::Impl_::Impl_(
879 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
880 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
881 : _cached_size_{0} {}
883inline void OsqpOutput::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
884 new (&
_impl_) Impl_(internal_visibility(), arena);
885 _impl_.initialized_underlying_solver_ = {};
891inline void OsqpOutput::SharedDtor(
MessageLite& self) {
893 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
894 this_.CheckHasBitConsistency();
896 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
897 ABSL_DCHECK(this_.GetArena() ==
nullptr);
901inline void* PROTOBUF_NONNULL OsqpOutput::PlacementNew_(
902 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
903 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
906constexpr auto OsqpOutput::InternalNewImpl_() {
907 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
OsqpOutput),
911 return ::google::protobuf::internal::ClassDataFull{
912 ::google::protobuf::internal::ClassData{
917 &OsqpOutput::MergeImpl,
918 ::google::protobuf::Message::GetNewImpl<OsqpOutput>(),
919#if defined(PROTOBUF_CUSTOM_VTABLE)
920 &OsqpOutput::SharedDtor,
927 &OsqpOutput::kDescriptorMethods,
933PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
937PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
938OsqpOutput::GetClassData()
const {
943PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
944const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
945OsqpOutput::_table_ = {
950 offsetof(
decltype(_table_), field_lookup_table),
952 offsetof(
decltype(_table_), field_entries),
955 offsetof(
decltype(_table_), field_names),
958 ::_pbi::TcParser::GenericFallback,
959 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
960 ::_pbi::TcParser::GetTable<::operations_research::math_opt::OsqpOutput>(),
964 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
OsqpOutput,
_impl_.initialized_underlying_solver_), 0>(),
979 ::google::protobuf::internal::TSanWrite(&
_impl_);
980 ::uint32_t cached_has_bits = 0;
982 (void) cached_has_bits;
984 _impl_.initialized_underlying_solver_ =
false;
985 _impl_._has_bits_.Clear();
986 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
989#if defined(PROTOBUF_CUSTOM_VTABLE)
991 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
992 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
996 ::uint8_t* PROTOBUF_NONNULL target,
997 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1000 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1001 this_.CheckHasBitConsistency();
1004 ::uint32_t cached_has_bits = 0;
1005 (void)cached_has_bits;
1007 cached_has_bits = this_.
_impl_._has_bits_[0];
1009 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1010 if (this_._internal_initialized_underlying_solver() != 0) {
1011 target = stream->EnsureSpace(target);
1012 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1013 1, this_._internal_initialized_underlying_solver(), target);
1017 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1019 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1020 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1026#if defined(PROTOBUF_CUSTOM_VTABLE)
1034 ::size_t total_size = 0;
1036 ::uint32_t cached_has_bits = 0;
1038 (void)cached_has_bits;
1042 cached_has_bits = this_.
_impl_._has_bits_[0];
1043 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1044 if (this_._internal_initialized_underlying_solver() != 0) {
1049 return this_.MaybeComputeUnknownFieldsSize(total_size,
1050 &this_.
_impl_._cached_size_);
1053void OsqpOutput::MergeImpl(::google::protobuf::MessageLite& to_msg,
1054 const ::google::protobuf::MessageLite& from_msg) {
1057 auto& from =
static_cast<const OsqpOutput&
>(from_msg);
1058 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1059 from.CheckHasBitConsistency();
1062 ABSL_DCHECK_NE(&from, _this);
1063 ::uint32_t cached_has_bits = 0;
1064 (void)cached_has_bits;
1066 cached_has_bits = from.
_impl_._has_bits_[0];
1067 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1068 if (from._internal_initialized_underlying_solver() != 0) {
1069 _this->_impl_.initialized_underlying_solver_ = from.
_impl_.initialized_underlying_solver_;
1072 _this->_impl_._has_bits_[0] |= cached_has_bits;
1073 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1074 from._internal_metadata_);
1079 if (&from ==
this)
return;
1085void OsqpOutput::InternalSwap(
OsqpOutput* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1087 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1088 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1089 swap(
_impl_.initialized_underlying_solver_, other->_impl_.initialized_underlying_solver_);
1093 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1103PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1106 ::std::false_type{});
1107#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< OsqpOutput >()._impl_._has_bits_) HasBits
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::MessageLite
~OsqpOutput() PROTOBUF_FINAL
void MergeFrom(const OsqpOutput &from)
::size_t ByteSizeLong() const final
friend void swap(OsqpOutput &a, OsqpOutput &b)
void CopyFrom(const OsqpOutput &from)
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< OsqpSettingsProto >()._impl_._has_bits_) HasBits
void CopyFrom(const OsqpSettingsProto &from)
friend class ::google::protobuf::MessageLite
friend void swap(OsqpSettingsProto &a, OsqpSettingsProto &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
~OsqpSettingsProto() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
void MergeFrom(const OsqpSettingsProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpOutputDefaultTypeInternal _OsqpOutput_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpSettingsProtoDefaultTypeInternal _OsqpSettingsProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_once
~OsqpOutputDefaultTypeInternal()
PROTOBUF_CONSTEXPR OsqpOutputDefaultTypeInternal()
~OsqpSettingsProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR OsqpSettingsProtoDefaultTypeInternal()
OsqpSettingsProto _instance