Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
result.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/math_opt/result.proto
4// Protobuf C++ Version: 6.33.1
5
7
8#include <algorithm>
9#include <type_traits>
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"
19// @@protoc_insertion_point(includes)
20
21// Must be included last.
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
24namespace _pb = ::google::protobuf;
26namespace _fl = ::google::protobuf::internal::field_layout;
27namespace operations_research {
28namespace math_opt {
29
30inline constexpr ProblemStatusProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 primal_status_{static_cast< ::operations_research::math_opt::FeasibilityStatusProto >(0)},
34 dual_status_{static_cast< ::operations_research::math_opt::FeasibilityStatusProto >(0)},
35 primal_or_dual_infeasible_{false} {}
36
37template <typename>
38PROTOBUF_CONSTEXPR ProblemStatusProto::ProblemStatusProto(::_pbi::ConstantInitialized)
39#if defined(PROTOBUF_CUSTOM_VTABLE)
40 : ::google::protobuf::Message(ProblemStatusProto_class_data_.base()),
41#else // PROTOBUF_CUSTOM_VTABLE
42 : ::google::protobuf::Message(),
43#endif // PROTOBUF_CUSTOM_VTABLE
44 _impl_(::_pbi::ConstantInitialized()) {
45}
53
54PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
56
57inline constexpr ObjectiveBoundsProto::Impl_::Impl_(
58 ::_pbi::ConstantInitialized) noexcept
59 : _cached_size_{0},
60 primal_bound_{0},
61 dual_bound_{0} {}
62
63template <typename>
64PROTOBUF_CONSTEXPR ObjectiveBoundsProto::ObjectiveBoundsProto(::_pbi::ConstantInitialized)
65#if defined(PROTOBUF_CUSTOM_VTABLE)
66 : ::google::protobuf::Message(ObjectiveBoundsProto_class_data_.base()),
67#else // PROTOBUF_CUSTOM_VTABLE
68 : ::google::protobuf::Message(),
69#endif // PROTOBUF_CUSTOM_VTABLE
70 _impl_(::_pbi::ConstantInitialized()) {
71}
79
80PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
82
83inline constexpr TerminationProto::Impl_::Impl_(
84 ::_pbi::ConstantInitialized) noexcept
85 : _cached_size_{0},
86 detail_(
87 &::google::protobuf::internal::fixed_address_empty_string,
88 ::_pbi::ConstantInitialized()),
89 problem_status_{nullptr},
90 objective_bounds_{nullptr},
92 limit_{static_cast< ::operations_research::math_opt::LimitProto >(0)} {}
93
94template <typename>
95PROTOBUF_CONSTEXPR TerminationProto::TerminationProto(::_pbi::ConstantInitialized)
96#if defined(PROTOBUF_CUSTOM_VTABLE)
97 : ::google::protobuf::Message(TerminationProto_class_data_.base()),
98#else // PROTOBUF_CUSTOM_VTABLE
99 : ::google::protobuf::Message(),
100#endif // PROTOBUF_CUSTOM_VTABLE
101 _impl_(::_pbi::ConstantInitialized()) {
102}
110
111PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
113
114inline constexpr SolveStatsProto::Impl_::Impl_(
115 ::_pbi::ConstantInitialized) noexcept
116 : _cached_size_{0},
117 solve_time_{nullptr},
118 problem_status_{nullptr},
119 best_primal_bound_{0},
120 best_dual_bound_{0},
121 simplex_iterations_{::int64_t{0}},
122 barrier_iterations_{::int64_t{0}},
123 node_count_{::int64_t{0}},
124 first_order_iterations_{::int64_t{0}} {}
125
126template <typename>
127PROTOBUF_CONSTEXPR SolveStatsProto::SolveStatsProto(::_pbi::ConstantInitialized)
128#if defined(PROTOBUF_CUSTOM_VTABLE)
129 : ::google::protobuf::Message(SolveStatsProto_class_data_.base()),
130#else // PROTOBUF_CUSTOM_VTABLE
131 : ::google::protobuf::Message(),
132#endif // PROTOBUF_CUSTOM_VTABLE
133 _impl_(::_pbi::ConstantInitialized()) {
134}
142
143PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
145
146inline constexpr SolveResultProto_PdlpOutput::Impl_::Impl_(
147 ::_pbi::ConstantInitialized) noexcept
148 : _cached_size_{0},
149 convergence_information_{nullptr} {}
150
151template <typename>
152PROTOBUF_CONSTEXPR SolveResultProto_PdlpOutput::SolveResultProto_PdlpOutput(::_pbi::ConstantInitialized)
153#if defined(PROTOBUF_CUSTOM_VTABLE)
154 : ::google::protobuf::Message(SolveResultProto_PdlpOutput_class_data_.base()),
155#else // PROTOBUF_CUSTOM_VTABLE
156 : ::google::protobuf::Message(),
157#endif // PROTOBUF_CUSTOM_VTABLE
158 _impl_(::_pbi::ConstantInitialized()) {
159}
167
168PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
170
171inline constexpr SolveResultProto::Impl_::Impl_(
172 ::_pbi::ConstantInitialized) noexcept
173 : _cached_size_{0},
174 solutions_{},
175 primal_rays_{},
176 dual_rays_{},
177 termination_{nullptr},
178 solve_stats_{nullptr},
179 solver_specific_output_{},
180 _oneof_case_{} {}
181
182template <typename>
183PROTOBUF_CONSTEXPR SolveResultProto::SolveResultProto(::_pbi::ConstantInitialized)
184#if defined(PROTOBUF_CUSTOM_VTABLE)
185 : ::google::protobuf::Message(SolveResultProto_class_data_.base()),
186#else // PROTOBUF_CUSTOM_VTABLE
187 : ::google::protobuf::Message(),
188#endif // PROTOBUF_CUSTOM_VTABLE
189 _impl_(::_pbi::ConstantInitialized()) {
190}
198
199PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
201} // namespace math_opt
202} // namespace operations_research
203static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
205static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
207const ::uint32_t
209 protodesc_cold) = {
210 0x081, // bitmap
211 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ProblemStatusProto, _impl_._has_bits_),
212 6, // hasbit index offset
213 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ProblemStatusProto, _impl_.primal_status_),
214 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ProblemStatusProto, _impl_.dual_status_),
215 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ProblemStatusProto, _impl_.primal_or_dual_infeasible_),
216 0,
217 1,
218 2,
219 0x081, // bitmap
220 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_._has_bits_),
221 11, // hasbit index offset
222 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.solve_time_),
223 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.best_primal_bound_),
224 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.best_dual_bound_),
225 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.problem_status_),
226 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.simplex_iterations_),
227 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.barrier_iterations_),
228 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.first_order_iterations_),
229 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveStatsProto, _impl_.node_count_),
230 0,
231 2,
232 3,
233 1,
234 4,
235 5,
236 7,
237 6,
238 0x081, // bitmap
239 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ObjectiveBoundsProto, _impl_._has_bits_),
240 5, // hasbit index offset
241 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ObjectiveBoundsProto, _impl_.primal_bound_),
242 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ObjectiveBoundsProto, _impl_.dual_bound_),
243 0,
244 1,
245 0x081, // bitmap
246 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::TerminationProto, _impl_._has_bits_),
247 8, // hasbit index offset
248 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::TerminationProto, _impl_.reason_),
249 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::TerminationProto, _impl_.limit_),
250 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::TerminationProto, _impl_.detail_),
251 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::TerminationProto, _impl_.problem_status_),
252 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::TerminationProto, _impl_.objective_bounds_),
253 3,
254 4,
255 0,
256 1,
257 2,
258 0x081, // bitmap
259 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto_PdlpOutput, _impl_._has_bits_),
260 4, // hasbit index offset
261 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto_PdlpOutput, _impl_.convergence_information_),
262 0,
263 0x085, // bitmap
264 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_._has_bits_),
265 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_._oneof_case_[0]),
266 13, // hasbit index offset
267 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.termination_),
268 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.solutions_),
269 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.primal_rays_),
270 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.dual_rays_),
271 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.solve_stats_),
272 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.solver_specific_output_),
273 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.solver_specific_output_),
274 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.solver_specific_output_),
275 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_.solver_specific_output_),
276 3,
277 0,
278 1,
279 2,
280 4,
281 ~0u,
282 ~0u,
283 ~0u,
284};
285
286static const ::_pbi::MigrationSchema
287 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
294};
303const char descriptor_table_protodef_ortools_2fmath_5fopt_2fresult_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
304 protodesc_cold) = {
305 "\n\035ortools/math_opt/result.proto\022\034operati"
306 "ons_research.math_opt\032\036google/protobuf/d"
307 "uration.proto\032\034ortools/pdlp/solve_log.pr"
308 "oto\032\037ortools/math_opt/solution.proto\032*or"
309 "tools/math_opt/solvers/gscip/gscip.proto"
310 "\032#ortools/math_opt/solvers/osqp.proto\"\317\001"
311 "\n\022ProblemStatusProto\022K\n\rprimal_status\030\001 "
312 "\001(\01624.operations_research.math_opt.Feasi"
313 "bilityStatusProto\022I\n\013dual_status\030\002 \001(\01624"
314 ".operations_research.math_opt.Feasibilit"
315 "yStatusProto\022!\n\031primal_or_dual_infeasibl"
316 "e\030\003 \001(\010\"\266\002\n\017SolveStatsProto\022-\n\nsolve_tim"
317 "e\030\001 \001(\0132\031.google.protobuf.Duration\022\035\n\021be"
318 "st_primal_bound\030\002 \001(\001B\002\030\001\022\033\n\017best_dual_b"
319 "ound\030\003 \001(\001B\002\030\001\022L\n\016problem_status\030\004 \001(\01320"
320 ".operations_research.math_opt.ProblemSta"
321 "tusProtoB\002\030\001\022\032\n\022simplex_iterations\030\005 \001(\003"
322 "\022\032\n\022barrier_iterations\030\006 \001(\003\022\036\n\026first_or"
323 "der_iterations\030\010 \001(\003\022\022\n\nnode_count\030\007 \001(\003"
324 "\"@\n\024ObjectiveBoundsProto\022\024\n\014primal_bound"
325 "\030\002 \001(\001\022\022\n\ndual_bound\030\003 \001(\001\"\271\002\n\020Terminati"
326 "onProto\022D\n\006reason\030\001 \001(\01624.operations_res"
327 "earch.math_opt.TerminationReasonProto\0227\n"
328 "\005limit\030\002 \001(\0162(.operations_research.math_"
329 "opt.LimitProto\022\016\n\006detail\030\003 \001(\t\022H\n\016proble"
330 "m_status\030\004 \001(\01320.operations_research.mat"
331 "h_opt.ProblemStatusProto\022L\n\020objective_bo"
332 "unds\030\005 \001(\01322.operations_research.math_op"
333 "t.ObjectiveBoundsProto\"\253\005\n\020SolveResultPr"
334 "oto\022C\n\013termination\030\002 \001(\0132..operations_re"
335 "search.math_opt.TerminationProto\022>\n\tsolu"
336 "tions\030\003 \003(\0132+.operations_research.math_o"
337 "pt.SolutionProto\022A\n\013primal_rays\030\004 \003(\0132,."
338 "operations_research.math_opt.PrimalRayPr"
339 "oto\022=\n\tdual_rays\030\005 \003(\0132*.operations_rese"
340 "arch.math_opt.DualRayProto\022B\n\013solve_stat"
341 "s\030\006 \001(\0132-.operations_research.math_opt.S"
342 "olveStatsProto\0228\n\014gscip_output\030\007 \001(\0132 .o"
343 "perations_research.GScipOutputH\000\022\?\n\013osqp"
344 "_output\030\010 \001(\0132(.operations_research.math"
345 "_opt.OsqpOutputH\000\022P\n\013pdlp_output\030\t \001(\01329"
346 ".operations_research.math_opt.SolveResul"
347 "tProto.PdlpOutputH\000\032_\n\nPdlpOutput\022Q\n\027con"
348 "vergence_information\030\001 \001(\01320.operations_"
349 "research.pdlp.ConvergenceInformationB\030\n\026"
350 "solver_specific_outputJ\004\010\001\020\002*\245\001\n\026Feasibi"
351 "lityStatusProto\022\"\n\036FEASIBILITY_STATUS_UN"
352 "SPECIFIED\020\000\022#\n\037FEASIBILITY_STATUS_UNDETE"
353 "RMINED\020\001\022\037\n\033FEASIBILITY_STATUS_FEASIBLE\020"
354 "\002\022!\n\035FEASIBILITY_STATUS_INFEASIBLE\020\003*\212\003\n"
355 "\026TerminationReasonProto\022\"\n\036TERMINATION_R"
356 "EASON_UNSPECIFIED\020\000\022\036\n\032TERMINATION_REASO"
357 "N_OPTIMAL\020\001\022!\n\035TERMINATION_REASON_INFEAS"
358 "IBLE\020\002\022 \n\034TERMINATION_REASON_UNBOUNDED\020\003"
359 "\022.\n*TERMINATION_REASON_INFEASIBLE_OR_UNB"
360 "OUNDED\020\004\022 \n\034TERMINATION_REASON_IMPRECISE"
361 "\020\005\022\037\n\033TERMINATION_REASON_FEASIBLE\020\t\022(\n$T"
362 "ERMINATION_REASON_NO_SOLUTION_FOUND\020\006\022&\n"
363 "\"TERMINATION_REASON_NUMERICAL_ERROR\020\007\022\"\n"
364 "\036TERMINATION_REASON_OTHER_ERROR\020\010*\216\002\n\nLi"
365 "mitProto\022\025\n\021LIMIT_UNSPECIFIED\020\000\022\026\n\022LIMIT"
366 "_UNDETERMINED\020\001\022\023\n\017LIMIT_ITERATION\020\002\022\016\n\n"
367 "LIMIT_TIME\020\003\022\016\n\nLIMIT_NODE\020\004\022\022\n\016LIMIT_SO"
368 "LUTION\020\005\022\020\n\014LIMIT_MEMORY\020\006\022\020\n\014LIMIT_CUTO"
369 "FF\020\014\022\023\n\017LIMIT_OBJECTIVE\020\007\022\016\n\nLIMIT_NORM\020"
370 "\010\022\025\n\021LIMIT_INTERRUPTED\020\t\022\027\n\023LIMIT_SLOW_P"
371 "ROGRESS\020\n\022\017\n\013LIMIT_OTHER\020\013B\036\n\032com.google"
372 ".ortools.mathoptP\001b\006proto3"
373};
374static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
399namespace operations_research {
400namespace math_opt {
401const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL FeasibilityStatusProto_descriptor() {
402 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto);
404}
405PROTOBUF_CONSTINIT const uint32_t FeasibilityStatusProto_internal_data_[] = {
406 262144u, 0u, };
407const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL TerminationReasonProto_descriptor() {
408 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto);
410}
411PROTOBUF_CONSTINIT const uint32_t TerminationReasonProto_internal_data_[] = {
412 655360u, 0u, };
413const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL LimitProto_descriptor() {
414 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto);
416}
417PROTOBUF_CONSTINIT const uint32_t LimitProto_internal_data_[] = {
418 851968u, 0u, };
419// ===================================================================
420
421class ProblemStatusProto::_Internal {
422 public:
423 using HasBits =
424 decltype(::std::declval<ProblemStatusProto>()._impl_._has_bits_);
425 static constexpr ::int32_t kHasBitsOffset =
426 8 * PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_._has_bits_);
427};
428
429ProblemStatusProto::ProblemStatusProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
430#if defined(PROTOBUF_CUSTOM_VTABLE)
431 : ::google::protobuf::Message(arena, ProblemStatusProto_class_data_.base()) {
432#else // PROTOBUF_CUSTOM_VTABLE
433 : ::google::protobuf::Message(arena) {
434#endif // PROTOBUF_CUSTOM_VTABLE
435 SharedCtor(arena);
436 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.ProblemStatusProto)
437}
439 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ProblemStatusProto& from)
440#if defined(PROTOBUF_CUSTOM_VTABLE)
441 : ::google::protobuf::Message(arena, ProblemStatusProto_class_data_.base()),
442#else // PROTOBUF_CUSTOM_VTABLE
443 : ::google::protobuf::Message(arena),
444#endif // PROTOBUF_CUSTOM_VTABLE
445 _impl_(from._impl_) {
446 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
447 from._internal_metadata_);
448}
449PROTOBUF_NDEBUG_INLINE ProblemStatusProto::Impl_::Impl_(
450 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
451 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
452 : _cached_size_{0} {}
453
454inline void ProblemStatusProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
455 new (&_impl_) Impl_(internal_visibility(), arena);
456 ::memset(reinterpret_cast<char*>(&_impl_) +
457 offsetof(Impl_, primal_status_),
458 0,
459 offsetof(Impl_, primal_or_dual_infeasible_) -
460 offsetof(Impl_, primal_status_) +
461 sizeof(Impl_::primal_or_dual_infeasible_));
462}
464 // @@protoc_insertion_point(destructor:operations_research.math_opt.ProblemStatusProto)
465 SharedDtor(*this);
466}
467inline void ProblemStatusProto::SharedDtor(MessageLite& self) {
468 ProblemStatusProto& this_ = static_cast<ProblemStatusProto&>(self);
469 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
470 this_.CheckHasBitConsistency();
471 }
472 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
473 ABSL_DCHECK(this_.GetArena() == nullptr);
474 this_._impl_.~Impl_();
475}
476
477inline void* PROTOBUF_NONNULL ProblemStatusProto::PlacementNew_(
478 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
479 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
480 return ::new (mem) ProblemStatusProto(arena);
481}
482constexpr auto ProblemStatusProto::InternalNewImpl_() {
483 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ProblemStatusProto),
484 alignof(ProblemStatusProto));
485}
487 return ::google::protobuf::internal::ClassDataFull{
488 ::google::protobuf::internal::ClassData{
490 &_table_.header,
491 nullptr, // OnDemandRegisterArenaDtor
492 nullptr, // IsInitialized
493 &ProblemStatusProto::MergeImpl,
494 ::google::protobuf::Message::GetNewImpl<ProblemStatusProto>(),
495#if defined(PROTOBUF_CUSTOM_VTABLE)
496 &ProblemStatusProto::SharedDtor,
497 ::google::protobuf::Message::GetClearImpl<ProblemStatusProto>(), &ProblemStatusProto::ByteSizeLong,
499#endif // PROTOBUF_CUSTOM_VTABLE
500 PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_._cached_size_),
501 false,
502 },
503 &ProblemStatusProto::kDescriptorMethods,
505 nullptr, // tracker
506 };
507}
508
509PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
510 ::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_ =
512
513PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
514ProblemStatusProto::GetClassData() const {
515 ::google::protobuf::internal::PrefetchToLocalCache(&ProblemStatusProto_class_data_);
516 ::google::protobuf::internal::PrefetchToLocalCache(ProblemStatusProto_class_data_.tc_table);
517 return ProblemStatusProto_class_data_.base();
518}
519PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
520const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
521ProblemStatusProto::_table_ = {
522 {
523 PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_._has_bits_),
524 0, // no _extensions_
525 3, 24, // max_field_number, fast_idx_mask
526 offsetof(decltype(_table_), field_lookup_table),
527 4294967288, // skipmap
528 offsetof(decltype(_table_), field_entries),
529 3, // num_field_entries
530 0, // num_aux_entries
531 offsetof(decltype(_table_), field_names), // no aux_entries
533 nullptr, // post_loop_handler
534 ::_pbi::TcParser::GenericFallback, // fallback
535 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
536 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ProblemStatusProto>(), // to_prefetch
537 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
538 }, {{
539 {::_pbi::TcParser::MiniParse, {}},
540 // .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
541 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ProblemStatusProto, _impl_.primal_status_), 0>(),
542 {8, 0, 0,
543 PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.primal_status_)}},
544 // .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
545 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ProblemStatusProto, _impl_.dual_status_), 1>(),
546 {16, 1, 0,
547 PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.dual_status_)}},
548 // bool primal_or_dual_infeasible = 3;
549 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(ProblemStatusProto, _impl_.primal_or_dual_infeasible_), 2>(),
550 {24, 2, 0,
551 PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.primal_or_dual_infeasible_)}},
552 }}, {{
553 65535, 65535
554 }}, {{
555 // .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
556 {PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.primal_status_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
557 // .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
558 {PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.dual_status_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
559 // bool primal_or_dual_infeasible = 3;
560 {PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.primal_or_dual_infeasible_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
561 }},
562 // no aux_entries
563 {{
564 }},
565};
566PROTOBUF_NOINLINE void ProblemStatusProto::Clear() {
567// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.ProblemStatusProto)
568 ::google::protobuf::internal::TSanWrite(&_impl_);
569 ::uint32_t cached_has_bits = 0;
570 // Prevent compiler warnings about cached_has_bits being unused
571 (void) cached_has_bits;
572
573 cached_has_bits = _impl_._has_bits_[0];
574 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
575 ::memset(&_impl_.primal_status_, 0, static_cast<::size_t>(
576 reinterpret_cast<char*>(&_impl_.primal_or_dual_infeasible_) -
577 reinterpret_cast<char*>(&_impl_.primal_status_)) + sizeof(_impl_.primal_or_dual_infeasible_));
578 }
579 _impl_._has_bits_.Clear();
580 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
581}
582
583#if defined(PROTOBUF_CUSTOM_VTABLE)
584::uint8_t* PROTOBUF_NONNULL ProblemStatusProto::_InternalSerialize(
585 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
586 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
587 const ProblemStatusProto& this_ = static_cast<const ProblemStatusProto&>(base);
588#else // PROTOBUF_CUSTOM_VTABLE
589::uint8_t* PROTOBUF_NONNULL ProblemStatusProto::_InternalSerialize(
590 ::uint8_t* PROTOBUF_NONNULL target,
591 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
592 const ProblemStatusProto& this_ = *this;
593#endif // PROTOBUF_CUSTOM_VTABLE
594 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
595 this_.CheckHasBitConsistency();
596 }
597 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ProblemStatusProto)
598 ::uint32_t cached_has_bits = 0;
599 (void)cached_has_bits;
600
601 cached_has_bits = this_._impl_._has_bits_[0];
602 // .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
603 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
604 if (this_._internal_primal_status() != 0) {
605 target = stream->EnsureSpace(target);
606 target = ::_pbi::WireFormatLite::WriteEnumToArray(
607 1, this_._internal_primal_status(), target);
608 }
609 }
610
611 // .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
612 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
613 if (this_._internal_dual_status() != 0) {
614 target = stream->EnsureSpace(target);
615 target = ::_pbi::WireFormatLite::WriteEnumToArray(
616 2, this_._internal_dual_status(), target);
617 }
618 }
619
620 // bool primal_or_dual_infeasible = 3;
621 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
622 if (this_._internal_primal_or_dual_infeasible() != 0) {
623 target = stream->EnsureSpace(target);
624 target = ::_pbi::WireFormatLite::WriteBoolToArray(
625 3, this_._internal_primal_or_dual_infeasible(), target);
626 }
627 }
628
629 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
630 target =
631 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
632 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
633 }
634 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ProblemStatusProto)
635 return target;
636}
637
638#if defined(PROTOBUF_CUSTOM_VTABLE)
640 const ProblemStatusProto& this_ = static_cast<const ProblemStatusProto&>(base);
641#else // PROTOBUF_CUSTOM_VTABLE
642::size_t ProblemStatusProto::ByteSizeLong() const {
643 const ProblemStatusProto& this_ = *this;
644#endif // PROTOBUF_CUSTOM_VTABLE
645 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ProblemStatusProto)
646 ::size_t total_size = 0;
647
648 ::uint32_t cached_has_bits = 0;
649 // Prevent compiler warnings about cached_has_bits being unused
650 (void)cached_has_bits;
651
652 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
653 cached_has_bits = this_._impl_._has_bits_[0];
654 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
655 // .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
656 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
657 if (this_._internal_primal_status() != 0) {
658 total_size += 1 +
659 ::_pbi::WireFormatLite::EnumSize(this_._internal_primal_status());
660 }
661 }
662 // .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
663 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
664 if (this_._internal_dual_status() != 0) {
665 total_size += 1 +
666 ::_pbi::WireFormatLite::EnumSize(this_._internal_dual_status());
667 }
668 }
669 // bool primal_or_dual_infeasible = 3;
670 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
671 if (this_._internal_primal_or_dual_infeasible() != 0) {
672 total_size += 2;
673 }
674 }
675 }
676 return this_.MaybeComputeUnknownFieldsSize(total_size,
677 &this_._impl_._cached_size_);
678}
679
680void ProblemStatusProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
681 const ::google::protobuf::MessageLite& from_msg) {
682 auto* const _this =
683 static_cast<ProblemStatusProto*>(&to_msg);
684 auto& from = static_cast<const ProblemStatusProto&>(from_msg);
685 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
686 from.CheckHasBitConsistency();
687 }
688 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.ProblemStatusProto)
689 ABSL_DCHECK_NE(&from, _this);
690 ::uint32_t cached_has_bits = 0;
691 (void)cached_has_bits;
692
693 cached_has_bits = from._impl_._has_bits_[0];
694 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
695 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
696 if (from._internal_primal_status() != 0) {
697 _this->_impl_.primal_status_ = from._impl_.primal_status_;
698 }
699 }
700 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
701 if (from._internal_dual_status() != 0) {
702 _this->_impl_.dual_status_ = from._impl_.dual_status_;
703 }
704 }
705 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
706 if (from._internal_primal_or_dual_infeasible() != 0) {
707 _this->_impl_.primal_or_dual_infeasible_ = from._impl_.primal_or_dual_infeasible_;
708 }
709 }
710 }
711 _this->_impl_._has_bits_[0] |= cached_has_bits;
712 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
713 from._internal_metadata_);
714}
715
717 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ProblemStatusProto)
718 if (&from == this) return;
719 Clear();
720 MergeFrom(from);
721}
722
723
724void ProblemStatusProto::InternalSwap(ProblemStatusProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
725 using ::std::swap;
726 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
727 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
728 ::google::protobuf::internal::memswap<
729 PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.primal_or_dual_infeasible_)
730 + sizeof(ProblemStatusProto::_impl_.primal_or_dual_infeasible_)
731 - PROTOBUF_FIELD_OFFSET(ProblemStatusProto, _impl_.primal_status_)>(
732 reinterpret_cast<char*>(&_impl_.primal_status_),
733 reinterpret_cast<char*>(&other->_impl_.primal_status_));
734}
735
736::google::protobuf::Metadata ProblemStatusProto::GetMetadata() const {
737 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
738}
739// ===================================================================
740
742 public:
743 using HasBits =
744 decltype(::std::declval<SolveStatsProto>()._impl_._has_bits_);
745 static constexpr ::int32_t kHasBitsOffset =
746 8 * PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_._has_bits_);
748
750 ::google::protobuf::internal::TSanWrite(&_impl_);
751 if (_impl_.solve_time_ != nullptr) _impl_.solve_time_->Clear();
752 ClearHasBit(_impl_._has_bits_[0],
753 0x00000001U);
754}
755SolveStatsProto::SolveStatsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
756#if defined(PROTOBUF_CUSTOM_VTABLE)
757 : ::google::protobuf::Message(arena, SolveStatsProto_class_data_.base()) {
758#else // PROTOBUF_CUSTOM_VTABLE
759 : ::google::protobuf::Message(arena) {
760#endif // PROTOBUF_CUSTOM_VTABLE
761 SharedCtor(arena);
762 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolveStatsProto)
763}
764PROTOBUF_NDEBUG_INLINE SolveStatsProto::Impl_::Impl_(
765 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
766 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
767 [[maybe_unused]] const ::operations_research::math_opt::SolveStatsProto& from_msg)
768 : _has_bits_{from._has_bits_},
769 _cached_size_{0} {}
770
772 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
773 const SolveStatsProto& from)
774#if defined(PROTOBUF_CUSTOM_VTABLE)
775 : ::google::protobuf::Message(arena, SolveStatsProto_class_data_.base()) {
776#else // PROTOBUF_CUSTOM_VTABLE
777 : ::google::protobuf::Message(arena) {
778#endif // PROTOBUF_CUSTOM_VTABLE
779 SolveStatsProto* const _this = this;
780 (void)_this;
781 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
782 from._internal_metadata_);
783 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
784 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
785 _impl_.solve_time_ = (CheckHasBit(cached_has_bits, 0x00000001U))
786 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_time_)
787 : nullptr;
788 _impl_.problem_status_ = (CheckHasBit(cached_has_bits, 0x00000002U))
789 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_)
790 : nullptr;
791 ::memcpy(reinterpret_cast<char*>(&_impl_) +
792 offsetof(Impl_, best_primal_bound_),
793 reinterpret_cast<const char*>(&from._impl_) +
794 offsetof(Impl_, best_primal_bound_),
795 offsetof(Impl_, first_order_iterations_) -
796 offsetof(Impl_, best_primal_bound_) +
797 sizeof(Impl_::first_order_iterations_));
798
799 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolveStatsProto)
800}
801PROTOBUF_NDEBUG_INLINE SolveStatsProto::Impl_::Impl_(
802 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
803 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
804 : _cached_size_{0} {}
805
806inline void SolveStatsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
807 new (&_impl_) Impl_(internal_visibility(), arena);
808 ::memset(reinterpret_cast<char*>(&_impl_) +
809 offsetof(Impl_, solve_time_),
810 0,
811 offsetof(Impl_, first_order_iterations_) -
812 offsetof(Impl_, solve_time_) +
813 sizeof(Impl_::first_order_iterations_));
814}
816 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolveStatsProto)
817 SharedDtor(*this);
818}
819inline void SolveStatsProto::SharedDtor(MessageLite& self) {
820 SolveStatsProto& this_ = static_cast<SolveStatsProto&>(self);
821 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
822 this_.CheckHasBitConsistency();
823 }
824 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
825 ABSL_DCHECK(this_.GetArena() == nullptr);
826 delete this_._impl_.solve_time_;
827 delete this_._impl_.problem_status_;
828 this_._impl_.~Impl_();
829}
830
831inline void* PROTOBUF_NONNULL SolveStatsProto::PlacementNew_(
832 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
833 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
834 return ::new (mem) SolveStatsProto(arena);
835}
836constexpr auto SolveStatsProto::InternalNewImpl_() {
837 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SolveStatsProto),
838 alignof(SolveStatsProto));
839}
841 return ::google::protobuf::internal::ClassDataFull{
842 ::google::protobuf::internal::ClassData{
844 &_table_.header,
845 nullptr, // OnDemandRegisterArenaDtor
846 nullptr, // IsInitialized
847 &SolveStatsProto::MergeImpl,
848 ::google::protobuf::Message::GetNewImpl<SolveStatsProto>(),
849#if defined(PROTOBUF_CUSTOM_VTABLE)
850 &SolveStatsProto::SharedDtor,
851 ::google::protobuf::Message::GetClearImpl<SolveStatsProto>(), &SolveStatsProto::ByteSizeLong,
853#endif // PROTOBUF_CUSTOM_VTABLE
854 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_._cached_size_),
855 false,
856 },
857 &SolveStatsProto::kDescriptorMethods,
859 nullptr, // tracker
860 };
861}
862
863PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
864 ::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_ =
867PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
868SolveStatsProto::GetClassData() const {
869 ::google::protobuf::internal::PrefetchToLocalCache(&SolveStatsProto_class_data_);
870 ::google::protobuf::internal::PrefetchToLocalCache(SolveStatsProto_class_data_.tc_table);
871 return SolveStatsProto_class_data_.base();
872}
873PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
874const ::_pbi::TcParseTable<3, 8, 2, 0, 2>
875SolveStatsProto::_table_ = {
876 {
877 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_._has_bits_),
878 0, // no _extensions_
879 8, 56, // max_field_number, fast_idx_mask
880 offsetof(decltype(_table_), field_lookup_table),
881 4294967040, // skipmap
882 offsetof(decltype(_table_), field_entries),
883 8, // num_field_entries
884 2, // num_aux_entries
885 offsetof(decltype(_table_), aux_entries),
887 nullptr, // post_loop_handler
888 ::_pbi::TcParser::GenericFallback, // fallback
889 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
890 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveStatsProto>(), // to_prefetch
891 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
892 }, {{
893 // int64 first_order_iterations = 8;
894 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SolveStatsProto, _impl_.first_order_iterations_), 7>(),
895 {64, 7, 0,
896 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.first_order_iterations_)}},
897 // .google.protobuf.Duration solve_time = 1;
898 {::_pbi::TcParser::FastMtS1,
899 {10, 0, 0,
900 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.solve_time_)}},
901 // double best_primal_bound = 2 [deprecated = true];
902 {::_pbi::TcParser::FastF64S1,
903 {17, 2, 0,
904 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.best_primal_bound_)}},
905 // double best_dual_bound = 3 [deprecated = true];
906 {::_pbi::TcParser::FastF64S1,
907 {25, 3, 0,
908 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.best_dual_bound_)}},
909 // .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
910 {::_pbi::TcParser::FastMtS1,
911 {34, 1, 1,
912 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.problem_status_)}},
913 // int64 simplex_iterations = 5;
914 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SolveStatsProto, _impl_.simplex_iterations_), 4>(),
915 {40, 4, 0,
916 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.simplex_iterations_)}},
917 // int64 barrier_iterations = 6;
918 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SolveStatsProto, _impl_.barrier_iterations_), 5>(),
919 {48, 5, 0,
920 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.barrier_iterations_)}},
921 // int64 node_count = 7;
922 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SolveStatsProto, _impl_.node_count_), 6>(),
923 {56, 6, 0,
924 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.node_count_)}},
925 }}, {{
926 65535, 65535
927 }}, {{
928 // .google.protobuf.Duration solve_time = 1;
929 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.solve_time_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
930 // double best_primal_bound = 2 [deprecated = true];
931 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.best_primal_bound_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
932 // double best_dual_bound = 3 [deprecated = true];
933 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.best_dual_bound_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
934 // .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
935 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.problem_status_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
936 // int64 simplex_iterations = 5;
937 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.simplex_iterations_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
938 // int64 barrier_iterations = 6;
939 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.barrier_iterations_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
940 // int64 node_count = 7;
941 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.node_count_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
942 // int64 first_order_iterations = 8;
943 {PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.first_order_iterations_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
944 }},
945 {{
946 {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
947 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ProblemStatusProto>()},
948 }},
949 {{
950 }},
951};
952PROTOBUF_NOINLINE void SolveStatsProto::Clear() {
953// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolveStatsProto)
954 ::google::protobuf::internal::TSanWrite(&_impl_);
955 ::uint32_t cached_has_bits = 0;
956 // Prevent compiler warnings about cached_has_bits being unused
957 (void) cached_has_bits;
958
959 cached_has_bits = _impl_._has_bits_[0];
960 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
961 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
962 ABSL_DCHECK(_impl_.solve_time_ != nullptr);
963 _impl_.solve_time_->Clear();
964 }
965 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
966 ABSL_DCHECK(_impl_.problem_status_ != nullptr);
967 _impl_.problem_status_->Clear();
968 }
969 }
970 if (BatchCheckHasBit(cached_has_bits, 0x000000fcU)) {
971 ::memset(&_impl_.best_primal_bound_, 0, static_cast<::size_t>(
972 reinterpret_cast<char*>(&_impl_.first_order_iterations_) -
973 reinterpret_cast<char*>(&_impl_.best_primal_bound_)) + sizeof(_impl_.first_order_iterations_));
974 }
975 _impl_._has_bits_.Clear();
976 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
977}
978
979#if defined(PROTOBUF_CUSTOM_VTABLE)
980::uint8_t* PROTOBUF_NONNULL SolveStatsProto::_InternalSerialize(
981 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
982 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
983 const SolveStatsProto& this_ = static_cast<const SolveStatsProto&>(base);
984#else // PROTOBUF_CUSTOM_VTABLE
985::uint8_t* PROTOBUF_NONNULL SolveStatsProto::_InternalSerialize(
986 ::uint8_t* PROTOBUF_NONNULL target,
987 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
988 const SolveStatsProto& this_ = *this;
989#endif // PROTOBUF_CUSTOM_VTABLE
990 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
991 this_.CheckHasBitConsistency();
992 }
993 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolveStatsProto)
994 ::uint32_t cached_has_bits = 0;
995 (void)cached_has_bits;
996
997 cached_has_bits = this_._impl_._has_bits_[0];
998 // .google.protobuf.Duration solve_time = 1;
999 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1000 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1001 1, *this_._impl_.solve_time_, this_._impl_.solve_time_->GetCachedSize(), target,
1002 stream);
1003 }
1004
1005 // double best_primal_bound = 2 [deprecated = true];
1006 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1007 if (::absl::bit_cast<::uint64_t>(this_._internal_best_primal_bound()) != 0) {
1008 target = stream->EnsureSpace(target);
1009 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1010 2, this_._internal_best_primal_bound(), target);
1011 }
1012 }
1013
1014 // double best_dual_bound = 3 [deprecated = true];
1015 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1016 if (::absl::bit_cast<::uint64_t>(this_._internal_best_dual_bound()) != 0) {
1017 target = stream->EnsureSpace(target);
1018 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1019 3, this_._internal_best_dual_bound(), target);
1020 }
1021 }
1022
1023 // .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
1024 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1025 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1026 4, *this_._impl_.problem_status_, this_._impl_.problem_status_->GetCachedSize(), target,
1027 stream);
1028 }
1029
1030 // int64 simplex_iterations = 5;
1031 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1032 if (this_._internal_simplex_iterations() != 0) {
1033 target =
1034 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
1035 stream, this_._internal_simplex_iterations(), target);
1036 }
1037 }
1038
1039 // int64 barrier_iterations = 6;
1040 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1041 if (this_._internal_barrier_iterations() != 0) {
1042 target =
1043 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
1044 stream, this_._internal_barrier_iterations(), target);
1045 }
1046 }
1047
1048 // int64 node_count = 7;
1049 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1050 if (this_._internal_node_count() != 0) {
1051 target =
1052 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
1053 stream, this_._internal_node_count(), target);
1054 }
1055 }
1056
1057 // int64 first_order_iterations = 8;
1058 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1059 if (this_._internal_first_order_iterations() != 0) {
1060 target =
1061 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
1062 stream, this_._internal_first_order_iterations(), target);
1063 }
1064 }
1065
1066 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1067 target =
1068 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1069 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1070 }
1071 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolveStatsProto)
1072 return target;
1073}
1074
1075#if defined(PROTOBUF_CUSTOM_VTABLE)
1077 const SolveStatsProto& this_ = static_cast<const SolveStatsProto&>(base);
1078#else // PROTOBUF_CUSTOM_VTABLE
1079::size_t SolveStatsProto::ByteSizeLong() const {
1080 const SolveStatsProto& this_ = *this;
1081#endif // PROTOBUF_CUSTOM_VTABLE
1082 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolveStatsProto)
1083 ::size_t total_size = 0;
1084
1085 ::uint32_t cached_has_bits = 0;
1086 // Prevent compiler warnings about cached_has_bits being unused
1087 (void)cached_has_bits;
1088
1089 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1090 cached_has_bits = this_._impl_._has_bits_[0];
1091 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1092 // .google.protobuf.Duration solve_time = 1;
1093 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1094 total_size += 1 +
1095 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solve_time_);
1096 }
1097 // .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
1098 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1099 total_size += 1 +
1100 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.problem_status_);
1101 }
1102 // double best_primal_bound = 2 [deprecated = true];
1103 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1104 if (::absl::bit_cast<::uint64_t>(this_._internal_best_primal_bound()) != 0) {
1105 total_size += 9;
1106 }
1107 }
1108 // double best_dual_bound = 3 [deprecated = true];
1109 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1110 if (::absl::bit_cast<::uint64_t>(this_._internal_best_dual_bound()) != 0) {
1111 total_size += 9;
1112 }
1113 }
1114 // int64 simplex_iterations = 5;
1115 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1116 if (this_._internal_simplex_iterations() != 0) {
1117 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1118 this_._internal_simplex_iterations());
1119 }
1120 }
1121 // int64 barrier_iterations = 6;
1122 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1123 if (this_._internal_barrier_iterations() != 0) {
1124 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1125 this_._internal_barrier_iterations());
1126 }
1127 }
1128 // int64 node_count = 7;
1129 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1130 if (this_._internal_node_count() != 0) {
1131 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1132 this_._internal_node_count());
1133 }
1134 }
1135 // int64 first_order_iterations = 8;
1136 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1137 if (this_._internal_first_order_iterations() != 0) {
1138 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1139 this_._internal_first_order_iterations());
1140 }
1141 }
1142 }
1143 return this_.MaybeComputeUnknownFieldsSize(total_size,
1144 &this_._impl_._cached_size_);
1145}
1146
1147void SolveStatsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1148 const ::google::protobuf::MessageLite& from_msg) {
1149 auto* const _this =
1150 static_cast<SolveStatsProto*>(&to_msg);
1151 auto& from = static_cast<const SolveStatsProto&>(from_msg);
1152 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1153 from.CheckHasBitConsistency();
1154 }
1155 ::google::protobuf::Arena* arena = _this->GetArena();
1156 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolveStatsProto)
1157 ABSL_DCHECK_NE(&from, _this);
1158 ::uint32_t cached_has_bits = 0;
1159 (void)cached_has_bits;
1160
1161 cached_has_bits = from._impl_._has_bits_[0];
1162 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1163 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1164 ABSL_DCHECK(from._impl_.solve_time_ != nullptr);
1165 if (_this->_impl_.solve_time_ == nullptr) {
1166 _this->_impl_.solve_time_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_time_);
1167 } else {
1168 _this->_impl_.solve_time_->MergeFrom(*from._impl_.solve_time_);
1169 }
1170 }
1171 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1172 ABSL_DCHECK(from._impl_.problem_status_ != nullptr);
1173 if (_this->_impl_.problem_status_ == nullptr) {
1174 _this->_impl_.problem_status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_);
1175 } else {
1176 _this->_impl_.problem_status_->MergeFrom(*from._impl_.problem_status_);
1177 }
1178 }
1179 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1180 if (::absl::bit_cast<::uint64_t>(from._internal_best_primal_bound()) != 0) {
1181 _this->_impl_.best_primal_bound_ = from._impl_.best_primal_bound_;
1182 }
1183 }
1184 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1185 if (::absl::bit_cast<::uint64_t>(from._internal_best_dual_bound()) != 0) {
1186 _this->_impl_.best_dual_bound_ = from._impl_.best_dual_bound_;
1187 }
1188 }
1189 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1190 if (from._internal_simplex_iterations() != 0) {
1191 _this->_impl_.simplex_iterations_ = from._impl_.simplex_iterations_;
1192 }
1193 }
1194 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1195 if (from._internal_barrier_iterations() != 0) {
1196 _this->_impl_.barrier_iterations_ = from._impl_.barrier_iterations_;
1197 }
1198 }
1199 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1200 if (from._internal_node_count() != 0) {
1201 _this->_impl_.node_count_ = from._impl_.node_count_;
1202 }
1203 }
1204 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1205 if (from._internal_first_order_iterations() != 0) {
1206 _this->_impl_.first_order_iterations_ = from._impl_.first_order_iterations_;
1207 }
1208 }
1209 }
1210 _this->_impl_._has_bits_[0] |= cached_has_bits;
1211 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1212 from._internal_metadata_);
1213}
1214
1216 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolveStatsProto)
1217 if (&from == this) return;
1218 Clear();
1219 MergeFrom(from);
1220}
1221
1222
1223void SolveStatsProto::InternalSwap(SolveStatsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1224 using ::std::swap;
1225 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1226 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1227 ::google::protobuf::internal::memswap<
1228 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.first_order_iterations_)
1229 + sizeof(SolveStatsProto::_impl_.first_order_iterations_)
1230 - PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.solve_time_)>(
1231 reinterpret_cast<char*>(&_impl_.solve_time_),
1232 reinterpret_cast<char*>(&other->_impl_.solve_time_));
1233}
1234
1235::google::protobuf::Metadata SolveStatsProto::GetMetadata() const {
1236 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1238// ===================================================================
1239
1241 public:
1242 using HasBits =
1243 decltype(::std::declval<ObjectiveBoundsProto>()._impl_._has_bits_);
1244 static constexpr ::int32_t kHasBitsOffset =
1245 8 * PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_._has_bits_);
1246};
1248ObjectiveBoundsProto::ObjectiveBoundsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1249#if defined(PROTOBUF_CUSTOM_VTABLE)
1250 : ::google::protobuf::Message(arena, ObjectiveBoundsProto_class_data_.base()) {
1251#else // PROTOBUF_CUSTOM_VTABLE
1252 : ::google::protobuf::Message(arena) {
1253#endif // PROTOBUF_CUSTOM_VTABLE
1254 SharedCtor(arena);
1255 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.ObjectiveBoundsProto)
1256}
1258 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ObjectiveBoundsProto& from)
1259#if defined(PROTOBUF_CUSTOM_VTABLE)
1260 : ::google::protobuf::Message(arena, ObjectiveBoundsProto_class_data_.base()),
1261#else // PROTOBUF_CUSTOM_VTABLE
1262 : ::google::protobuf::Message(arena),
1263#endif // PROTOBUF_CUSTOM_VTABLE
1264 _impl_(from._impl_) {
1265 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1266 from._internal_metadata_);
1267}
1268PROTOBUF_NDEBUG_INLINE ObjectiveBoundsProto::Impl_::Impl_(
1269 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1270 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1271 : _cached_size_{0} {}
1272
1273inline void ObjectiveBoundsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1274 new (&_impl_) Impl_(internal_visibility(), arena);
1275 ::memset(reinterpret_cast<char*>(&_impl_) +
1276 offsetof(Impl_, primal_bound_),
1277 0,
1278 offsetof(Impl_, dual_bound_) -
1279 offsetof(Impl_, primal_bound_) +
1280 sizeof(Impl_::dual_bound_));
1281}
1283 // @@protoc_insertion_point(destructor:operations_research.math_opt.ObjectiveBoundsProto)
1284 SharedDtor(*this);
1286inline void ObjectiveBoundsProto::SharedDtor(MessageLite& self) {
1287 ObjectiveBoundsProto& this_ = static_cast<ObjectiveBoundsProto&>(self);
1288 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1289 this_.CheckHasBitConsistency();
1290 }
1291 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1292 ABSL_DCHECK(this_.GetArena() == nullptr);
1293 this_._impl_.~Impl_();
1294}
1295
1296inline void* PROTOBUF_NONNULL ObjectiveBoundsProto::PlacementNew_(
1297 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1298 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1299 return ::new (mem) ObjectiveBoundsProto(arena);
1300}
1301constexpr auto ObjectiveBoundsProto::InternalNewImpl_() {
1302 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ObjectiveBoundsProto),
1303 alignof(ObjectiveBoundsProto));
1304}
1306 return ::google::protobuf::internal::ClassDataFull{
1307 ::google::protobuf::internal::ClassData{
1309 &_table_.header,
1310 nullptr, // OnDemandRegisterArenaDtor
1311 nullptr, // IsInitialized
1312 &ObjectiveBoundsProto::MergeImpl,
1313 ::google::protobuf::Message::GetNewImpl<ObjectiveBoundsProto>(),
1314#if defined(PROTOBUF_CUSTOM_VTABLE)
1315 &ObjectiveBoundsProto::SharedDtor,
1316 ::google::protobuf::Message::GetClearImpl<ObjectiveBoundsProto>(), &ObjectiveBoundsProto::ByteSizeLong,
1318#endif // PROTOBUF_CUSTOM_VTABLE
1319 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_._cached_size_),
1320 false,
1321 },
1322 &ObjectiveBoundsProto::kDescriptorMethods,
1324 nullptr, // tracker
1325 };
1326}
1327
1328PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1329 ::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_ =
1331
1332PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1333ObjectiveBoundsProto::GetClassData() const {
1334 ::google::protobuf::internal::PrefetchToLocalCache(&ObjectiveBoundsProto_class_data_);
1335 ::google::protobuf::internal::PrefetchToLocalCache(ObjectiveBoundsProto_class_data_.tc_table);
1337}
1338PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1339const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
1340ObjectiveBoundsProto::_table_ = {
1341 {
1342 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_._has_bits_),
1343 0, // no _extensions_
1344 3, 8, // max_field_number, fast_idx_mask
1345 offsetof(decltype(_table_), field_lookup_table),
1346 4294967289, // skipmap
1347 offsetof(decltype(_table_), field_entries),
1348 2, // num_field_entries
1349 0, // num_aux_entries
1350 offsetof(decltype(_table_), field_names), // no aux_entries
1352 nullptr, // post_loop_handler
1353 ::_pbi::TcParser::GenericFallback, // fallback
1354 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1355 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveBoundsProto>(), // to_prefetch
1356 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1357 }, {{
1358 // double primal_bound = 2;
1359 {::_pbi::TcParser::FastF64S1,
1360 {17, 0, 0,
1361 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_.primal_bound_)}},
1362 // double dual_bound = 3;
1363 {::_pbi::TcParser::FastF64S1,
1364 {25, 1, 0,
1365 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_.dual_bound_)}},
1366 }}, {{
1367 65535, 65535
1368 }}, {{
1369 // double primal_bound = 2;
1370 {PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_.primal_bound_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1371 // double dual_bound = 3;
1372 {PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_.dual_bound_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1373 }},
1374 // no aux_entries
1375 {{
1376 }},
1377};
1378PROTOBUF_NOINLINE void ObjectiveBoundsProto::Clear() {
1379// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.ObjectiveBoundsProto)
1380 ::google::protobuf::internal::TSanWrite(&_impl_);
1381 ::uint32_t cached_has_bits = 0;
1382 // Prevent compiler warnings about cached_has_bits being unused
1383 (void) cached_has_bits;
1384
1385 cached_has_bits = _impl_._has_bits_[0];
1386 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1387 ::memset(&_impl_.primal_bound_, 0, static_cast<::size_t>(
1388 reinterpret_cast<char*>(&_impl_.dual_bound_) -
1389 reinterpret_cast<char*>(&_impl_.primal_bound_)) + sizeof(_impl_.dual_bound_));
1390 }
1391 _impl_._has_bits_.Clear();
1392 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1393}
1394
1395#if defined(PROTOBUF_CUSTOM_VTABLE)
1396::uint8_t* PROTOBUF_NONNULL ObjectiveBoundsProto::_InternalSerialize(
1397 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1398 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1399 const ObjectiveBoundsProto& this_ = static_cast<const ObjectiveBoundsProto&>(base);
1400#else // PROTOBUF_CUSTOM_VTABLE
1401::uint8_t* PROTOBUF_NONNULL ObjectiveBoundsProto::_InternalSerialize(
1402 ::uint8_t* PROTOBUF_NONNULL target,
1403 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1404 const ObjectiveBoundsProto& this_ = *this;
1405#endif // PROTOBUF_CUSTOM_VTABLE
1406 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1407 this_.CheckHasBitConsistency();
1408 }
1409 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ObjectiveBoundsProto)
1410 ::uint32_t cached_has_bits = 0;
1411 (void)cached_has_bits;
1412
1413 cached_has_bits = this_._impl_._has_bits_[0];
1414 // double primal_bound = 2;
1415 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1416 if (::absl::bit_cast<::uint64_t>(this_._internal_primal_bound()) != 0) {
1417 target = stream->EnsureSpace(target);
1418 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1419 2, this_._internal_primal_bound(), target);
1420 }
1421 }
1422
1423 // double dual_bound = 3;
1424 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1425 if (::absl::bit_cast<::uint64_t>(this_._internal_dual_bound()) != 0) {
1426 target = stream->EnsureSpace(target);
1427 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1428 3, this_._internal_dual_bound(), target);
1429 }
1430 }
1431
1432 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1433 target =
1434 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1435 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1436 }
1437 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ObjectiveBoundsProto)
1438 return target;
1439}
1440
1441#if defined(PROTOBUF_CUSTOM_VTABLE)
1442::size_t ObjectiveBoundsProto::ByteSizeLong(const MessageLite& base) {
1443 const ObjectiveBoundsProto& this_ = static_cast<const ObjectiveBoundsProto&>(base);
1444#else // PROTOBUF_CUSTOM_VTABLE
1445::size_t ObjectiveBoundsProto::ByteSizeLong() const {
1446 const ObjectiveBoundsProto& this_ = *this;
1447#endif // PROTOBUF_CUSTOM_VTABLE
1448 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ObjectiveBoundsProto)
1449 ::size_t total_size = 0;
1450
1451 ::uint32_t cached_has_bits = 0;
1452 // Prevent compiler warnings about cached_has_bits being unused
1453 (void)cached_has_bits;
1454
1455 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1456 cached_has_bits = this_._impl_._has_bits_[0];
1457 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1458 // double primal_bound = 2;
1459 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1460 if (::absl::bit_cast<::uint64_t>(this_._internal_primal_bound()) != 0) {
1461 total_size += 9;
1462 }
1463 }
1464 // double dual_bound = 3;
1465 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1466 if (::absl::bit_cast<::uint64_t>(this_._internal_dual_bound()) != 0) {
1467 total_size += 9;
1468 }
1469 }
1470 }
1471 return this_.MaybeComputeUnknownFieldsSize(total_size,
1472 &this_._impl_._cached_size_);
1473}
1474
1475void ObjectiveBoundsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1476 const ::google::protobuf::MessageLite& from_msg) {
1477 auto* const _this =
1478 static_cast<ObjectiveBoundsProto*>(&to_msg);
1479 auto& from = static_cast<const ObjectiveBoundsProto&>(from_msg);
1480 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1481 from.CheckHasBitConsistency();
1482 }
1483 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.ObjectiveBoundsProto)
1484 ABSL_DCHECK_NE(&from, _this);
1485 ::uint32_t cached_has_bits = 0;
1486 (void)cached_has_bits;
1487
1488 cached_has_bits = from._impl_._has_bits_[0];
1489 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1490 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1491 if (::absl::bit_cast<::uint64_t>(from._internal_primal_bound()) != 0) {
1492 _this->_impl_.primal_bound_ = from._impl_.primal_bound_;
1493 }
1494 }
1495 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1496 if (::absl::bit_cast<::uint64_t>(from._internal_dual_bound()) != 0) {
1497 _this->_impl_.dual_bound_ = from._impl_.dual_bound_;
1498 }
1499 }
1500 }
1501 _this->_impl_._has_bits_[0] |= cached_has_bits;
1502 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1503 from._internal_metadata_);
1504}
1505
1506void ObjectiveBoundsProto::CopyFrom(const ObjectiveBoundsProto& from) {
1507 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ObjectiveBoundsProto)
1508 if (&from == this) return;
1510 MergeFrom(from);
1511}
1512
1513
1514void ObjectiveBoundsProto::InternalSwap(ObjectiveBoundsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1515 using ::std::swap;
1516 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1517 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1518 ::google::protobuf::internal::memswap<
1519 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_.dual_bound_)
1520 + sizeof(ObjectiveBoundsProto::_impl_.dual_bound_)
1521 - PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto, _impl_.primal_bound_)>(
1522 reinterpret_cast<char*>(&_impl_.primal_bound_),
1523 reinterpret_cast<char*>(&other->_impl_.primal_bound_));
1524}
1525
1526::google::protobuf::Metadata ObjectiveBoundsProto::GetMetadata() const {
1527 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1528}
1529// ===================================================================
1530
1532 public:
1533 using HasBits =
1534 decltype(::std::declval<TerminationProto>()._impl_._has_bits_);
1535 static constexpr ::int32_t kHasBitsOffset =
1536 8 * PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_._has_bits_);
1538
1539TerminationProto::TerminationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1540#if defined(PROTOBUF_CUSTOM_VTABLE)
1541 : ::google::protobuf::Message(arena, TerminationProto_class_data_.base()) {
1542#else // PROTOBUF_CUSTOM_VTABLE
1543 : ::google::protobuf::Message(arena) {
1544#endif // PROTOBUF_CUSTOM_VTABLE
1545 SharedCtor(arena);
1546 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.TerminationProto)
1547}
1548PROTOBUF_NDEBUG_INLINE TerminationProto::Impl_::Impl_(
1549 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1550 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1551 [[maybe_unused]] const ::operations_research::math_opt::TerminationProto& from_msg)
1552 : _has_bits_{from._has_bits_},
1553 _cached_size_{0},
1554 detail_(arena, from.detail_) {}
1555
1557 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1558 const TerminationProto& from)
1559#if defined(PROTOBUF_CUSTOM_VTABLE)
1560 : ::google::protobuf::Message(arena, TerminationProto_class_data_.base()) {
1561#else // PROTOBUF_CUSTOM_VTABLE
1562 : ::google::protobuf::Message(arena) {
1563#endif // PROTOBUF_CUSTOM_VTABLE
1564 TerminationProto* const _this = this;
1565 (void)_this;
1566 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1567 from._internal_metadata_);
1568 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1569 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1570 _impl_.problem_status_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1571 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_)
1572 : nullptr;
1573 _impl_.objective_bounds_ = (CheckHasBit(cached_has_bits, 0x00000004U))
1574 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.objective_bounds_)
1575 : nullptr;
1576 ::memcpy(reinterpret_cast<char*>(&_impl_) +
1577 offsetof(Impl_, reason_),
1578 reinterpret_cast<const char*>(&from._impl_) +
1579 offsetof(Impl_, reason_),
1580 offsetof(Impl_, limit_) -
1581 offsetof(Impl_, reason_) +
1582 sizeof(Impl_::limit_));
1583
1584 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.TerminationProto)
1585}
1586PROTOBUF_NDEBUG_INLINE TerminationProto::Impl_::Impl_(
1587 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1588 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1589 : _cached_size_{0},
1590 detail_(arena) {}
1591
1592inline void TerminationProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1593 new (&_impl_) Impl_(internal_visibility(), arena);
1594 ::memset(reinterpret_cast<char*>(&_impl_) +
1595 offsetof(Impl_, problem_status_),
1596 0,
1597 offsetof(Impl_, limit_) -
1598 offsetof(Impl_, problem_status_) +
1599 sizeof(Impl_::limit_));
1600}
1602 // @@protoc_insertion_point(destructor:operations_research.math_opt.TerminationProto)
1603 SharedDtor(*this);
1604}
1605inline void TerminationProto::SharedDtor(MessageLite& self) {
1606 TerminationProto& this_ = static_cast<TerminationProto&>(self);
1607 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1608 this_.CheckHasBitConsistency();
1609 }
1610 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1611 ABSL_DCHECK(this_.GetArena() == nullptr);
1612 this_._impl_.detail_.Destroy();
1613 delete this_._impl_.problem_status_;
1614 delete this_._impl_.objective_bounds_;
1615 this_._impl_.~Impl_();
1616}
1617
1618inline void* PROTOBUF_NONNULL TerminationProto::PlacementNew_(
1619 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1620 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1621 return ::new (mem) TerminationProto(arena);
1622}
1623constexpr auto TerminationProto::InternalNewImpl_() {
1624 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TerminationProto),
1625 alignof(TerminationProto));
1626}
1628 return ::google::protobuf::internal::ClassDataFull{
1629 ::google::protobuf::internal::ClassData{
1631 &_table_.header,
1632 nullptr, // OnDemandRegisterArenaDtor
1633 nullptr, // IsInitialized
1634 &TerminationProto::MergeImpl,
1635 ::google::protobuf::Message::GetNewImpl<TerminationProto>(),
1636#if defined(PROTOBUF_CUSTOM_VTABLE)
1637 &TerminationProto::SharedDtor,
1638 ::google::protobuf::Message::GetClearImpl<TerminationProto>(), &TerminationProto::ByteSizeLong,
1640#endif // PROTOBUF_CUSTOM_VTABLE
1641 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_._cached_size_),
1642 false,
1643 },
1644 &TerminationProto::kDescriptorMethods,
1646 nullptr, // tracker
1647 };
1648}
1649
1650PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1651 ::google::protobuf::internal::ClassDataFull TerminationProto_class_data_ =
1653
1654PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1655TerminationProto::GetClassData() const {
1656 ::google::protobuf::internal::PrefetchToLocalCache(&TerminationProto_class_data_);
1657 ::google::protobuf::internal::PrefetchToLocalCache(TerminationProto_class_data_.tc_table);
1658 return TerminationProto_class_data_.base();
1659}
1660PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1661const ::_pbi::TcParseTable<3, 5, 2, 60, 2>
1662TerminationProto::_table_ = {
1663 {
1664 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_._has_bits_),
1665 0, // no _extensions_
1666 5, 56, // max_field_number, fast_idx_mask
1667 offsetof(decltype(_table_), field_lookup_table),
1668 4294967264, // skipmap
1669 offsetof(decltype(_table_), field_entries),
1670 5, // num_field_entries
1671 2, // num_aux_entries
1672 offsetof(decltype(_table_), aux_entries),
1674 nullptr, // post_loop_handler
1675 ::_pbi::TcParser::GenericFallback, // fallback
1676 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1677 ::_pbi::TcParser::GetTable<::operations_research::math_opt::TerminationProto>(), // to_prefetch
1678 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1679 }, {{
1680 {::_pbi::TcParser::MiniParse, {}},
1681 // .operations_research.math_opt.TerminationReasonProto reason = 1;
1682 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TerminationProto, _impl_.reason_), 3>(),
1683 {8, 3, 0,
1684 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.reason_)}},
1685 // .operations_research.math_opt.LimitProto limit = 2;
1686 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TerminationProto, _impl_.limit_), 4>(),
1687 {16, 4, 0,
1688 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.limit_)}},
1689 // string detail = 3;
1690 {::_pbi::TcParser::FastUS1,
1691 {26, 0, 0,
1692 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.detail_)}},
1693 // .operations_research.math_opt.ProblemStatusProto problem_status = 4;
1694 {::_pbi::TcParser::FastMtS1,
1695 {34, 1, 0,
1696 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.problem_status_)}},
1697 // .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
1698 {::_pbi::TcParser::FastMtS1,
1699 {42, 2, 1,
1700 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.objective_bounds_)}},
1701 {::_pbi::TcParser::MiniParse, {}},
1702 {::_pbi::TcParser::MiniParse, {}},
1703 }}, {{
1704 65535, 65535
1705 }}, {{
1706 // .operations_research.math_opt.TerminationReasonProto reason = 1;
1707 {PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.reason_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1708 // .operations_research.math_opt.LimitProto limit = 2;
1709 {PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.limit_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1710 // string detail = 3;
1711 {PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.detail_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1712 // .operations_research.math_opt.ProblemStatusProto problem_status = 4;
1713 {PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.problem_status_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1714 // .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
1715 {PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.objective_bounds_), _Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1716 }},
1717 {{
1718 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ProblemStatusProto>()},
1719 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveBoundsProto>()},
1720 }},
1721 {{
1722 "\55\0\0\6\0\0\0\0"
1723 "operations_research.math_opt.TerminationProto"
1724 "detail"
1725 }},
1726};
1727PROTOBUF_NOINLINE void TerminationProto::Clear() {
1728// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.TerminationProto)
1729 ::google::protobuf::internal::TSanWrite(&_impl_);
1730 ::uint32_t cached_has_bits = 0;
1731 // Prevent compiler warnings about cached_has_bits being unused
1732 (void) cached_has_bits;
1733
1734 cached_has_bits = _impl_._has_bits_[0];
1735 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1736 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1737 _impl_.detail_.ClearNonDefaultToEmpty();
1738 }
1739 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1740 ABSL_DCHECK(_impl_.problem_status_ != nullptr);
1741 _impl_.problem_status_->Clear();
1742 }
1743 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1744 ABSL_DCHECK(_impl_.objective_bounds_ != nullptr);
1745 _impl_.objective_bounds_->Clear();
1746 }
1747 }
1748 if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
1749 ::memset(&_impl_.reason_, 0, static_cast<::size_t>(
1750 reinterpret_cast<char*>(&_impl_.limit_) -
1751 reinterpret_cast<char*>(&_impl_.reason_)) + sizeof(_impl_.limit_));
1752 }
1753 _impl_._has_bits_.Clear();
1754 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1755}
1756
1757#if defined(PROTOBUF_CUSTOM_VTABLE)
1758::uint8_t* PROTOBUF_NONNULL TerminationProto::_InternalSerialize(
1759 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1760 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1761 const TerminationProto& this_ = static_cast<const TerminationProto&>(base);
1762#else // PROTOBUF_CUSTOM_VTABLE
1763::uint8_t* PROTOBUF_NONNULL TerminationProto::_InternalSerialize(
1764 ::uint8_t* PROTOBUF_NONNULL target,
1765 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1766 const TerminationProto& this_ = *this;
1767#endif // PROTOBUF_CUSTOM_VTABLE
1768 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1769 this_.CheckHasBitConsistency();
1770 }
1771 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.TerminationProto)
1772 ::uint32_t cached_has_bits = 0;
1773 (void)cached_has_bits;
1774
1775 cached_has_bits = this_._impl_._has_bits_[0];
1776 // .operations_research.math_opt.TerminationReasonProto reason = 1;
1777 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1778 if (this_._internal_reason() != 0) {
1779 target = stream->EnsureSpace(target);
1780 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1781 1, this_._internal_reason(), target);
1782 }
1783 }
1784
1785 // .operations_research.math_opt.LimitProto limit = 2;
1786 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1787 if (this_._internal_limit() != 0) {
1788 target = stream->EnsureSpace(target);
1789 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1790 2, this_._internal_limit(), target);
1791 }
1792 }
1793
1794 // string detail = 3;
1795 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1796 if (!this_._internal_detail().empty()) {
1797 const ::std::string& _s = this_._internal_detail();
1798 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1799 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.TerminationProto.detail");
1800 target = stream->WriteStringMaybeAliased(3, _s, target);
1801 }
1802 }
1803
1804 // .operations_research.math_opt.ProblemStatusProto problem_status = 4;
1805 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1806 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1807 4, *this_._impl_.problem_status_, this_._impl_.problem_status_->GetCachedSize(), target,
1808 stream);
1809 }
1810
1811 // .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
1812 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1813 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1814 5, *this_._impl_.objective_bounds_, this_._impl_.objective_bounds_->GetCachedSize(), target,
1815 stream);
1816 }
1817
1818 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1819 target =
1820 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1821 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1822 }
1823 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.TerminationProto)
1824 return target;
1825}
1826
1827#if defined(PROTOBUF_CUSTOM_VTABLE)
1828::size_t TerminationProto::ByteSizeLong(const MessageLite& base) {
1829 const TerminationProto& this_ = static_cast<const TerminationProto&>(base);
1830#else // PROTOBUF_CUSTOM_VTABLE
1831::size_t TerminationProto::ByteSizeLong() const {
1832 const TerminationProto& this_ = *this;
1833#endif // PROTOBUF_CUSTOM_VTABLE
1834 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.TerminationProto)
1835 ::size_t total_size = 0;
1836
1837 ::uint32_t cached_has_bits = 0;
1838 // Prevent compiler warnings about cached_has_bits being unused
1839 (void)cached_has_bits;
1840
1841 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1842 cached_has_bits = this_._impl_._has_bits_[0];
1843 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1844 // string detail = 3;
1845 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1846 if (!this_._internal_detail().empty()) {
1847 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1848 this_._internal_detail());
1849 }
1850 }
1851 // .operations_research.math_opt.ProblemStatusProto problem_status = 4;
1852 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1853 total_size += 1 +
1854 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.problem_status_);
1855 }
1856 // .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
1857 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1858 total_size += 1 +
1859 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.objective_bounds_);
1860 }
1861 // .operations_research.math_opt.TerminationReasonProto reason = 1;
1862 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1863 if (this_._internal_reason() != 0) {
1864 total_size += 1 +
1865 ::_pbi::WireFormatLite::EnumSize(this_._internal_reason());
1866 }
1867 }
1868 // .operations_research.math_opt.LimitProto limit = 2;
1869 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1870 if (this_._internal_limit() != 0) {
1871 total_size += 1 +
1872 ::_pbi::WireFormatLite::EnumSize(this_._internal_limit());
1873 }
1874 }
1875 }
1876 return this_.MaybeComputeUnknownFieldsSize(total_size,
1877 &this_._impl_._cached_size_);
1878}
1879
1880void TerminationProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1881 const ::google::protobuf::MessageLite& from_msg) {
1882 auto* const _this =
1883 static_cast<TerminationProto*>(&to_msg);
1884 auto& from = static_cast<const TerminationProto&>(from_msg);
1885 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1886 from.CheckHasBitConsistency();
1887 }
1888 ::google::protobuf::Arena* arena = _this->GetArena();
1889 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.TerminationProto)
1890 ABSL_DCHECK_NE(&from, _this);
1891 ::uint32_t cached_has_bits = 0;
1892 (void)cached_has_bits;
1893
1894 cached_has_bits = from._impl_._has_bits_[0];
1895 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1896 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1897 if (!from._internal_detail().empty()) {
1898 _this->_internal_set_detail(from._internal_detail());
1899 } else {
1900 if (_this->_impl_.detail_.IsDefault()) {
1901 _this->_internal_set_detail("");
1902 }
1903 }
1904 }
1905 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1906 ABSL_DCHECK(from._impl_.problem_status_ != nullptr);
1907 if (_this->_impl_.problem_status_ == nullptr) {
1908 _this->_impl_.problem_status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_);
1909 } else {
1910 _this->_impl_.problem_status_->MergeFrom(*from._impl_.problem_status_);
1911 }
1912 }
1913 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1914 ABSL_DCHECK(from._impl_.objective_bounds_ != nullptr);
1915 if (_this->_impl_.objective_bounds_ == nullptr) {
1916 _this->_impl_.objective_bounds_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.objective_bounds_);
1917 } else {
1918 _this->_impl_.objective_bounds_->MergeFrom(*from._impl_.objective_bounds_);
1919 }
1920 }
1921 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1922 if (from._internal_reason() != 0) {
1923 _this->_impl_.reason_ = from._impl_.reason_;
1924 }
1925 }
1926 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1927 if (from._internal_limit() != 0) {
1928 _this->_impl_.limit_ = from._impl_.limit_;
1929 }
1930 }
1931 }
1932 _this->_impl_._has_bits_[0] |= cached_has_bits;
1933 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1934 from._internal_metadata_);
1935}
1936
1937void TerminationProto::CopyFrom(const TerminationProto& from) {
1938 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.TerminationProto)
1939 if (&from == this) return;
1940 Clear();
1942}
1943
1944
1945void TerminationProto::InternalSwap(TerminationProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1946 using ::std::swap;
1947 auto* arena = GetArena();
1948 ABSL_DCHECK_EQ(arena, other->GetArena());
1949 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1950 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1951 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.detail_, &other->_impl_.detail_, arena);
1952 ::google::protobuf::internal::memswap<
1953 PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.limit_)
1954 + sizeof(TerminationProto::_impl_.limit_)
1955 - PROTOBUF_FIELD_OFFSET(TerminationProto, _impl_.problem_status_)>(
1956 reinterpret_cast<char*>(&_impl_.problem_status_),
1957 reinterpret_cast<char*>(&other->_impl_.problem_status_));
1958}
1959
1960::google::protobuf::Metadata TerminationProto::GetMetadata() const {
1961 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1962}
1963// ===================================================================
1967 using HasBits =
1968 decltype(::std::declval<SolveResultProto_PdlpOutput>()._impl_._has_bits_);
1969 static constexpr ::int32_t kHasBitsOffset =
1970 8 * PROTOBUF_FIELD_OFFSET(SolveResultProto_PdlpOutput, _impl_._has_bits_);
1971};
1974 ::google::protobuf::internal::TSanWrite(&_impl_);
1975 if (_impl_.convergence_information_ != nullptr) _impl_.convergence_information_->Clear();
1976 ClearHasBit(_impl_._has_bits_[0],
1977 0x00000001U);
1979SolveResultProto_PdlpOutput::SolveResultProto_PdlpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1980#if defined(PROTOBUF_CUSTOM_VTABLE)
1981 : ::google::protobuf::Message(arena, SolveResultProto_PdlpOutput_class_data_.base()) {
1982#else // PROTOBUF_CUSTOM_VTABLE
1983 : ::google::protobuf::Message(arena) {
1984#endif // PROTOBUF_CUSTOM_VTABLE
1985 SharedCtor(arena);
1986 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolveResultProto.PdlpOutput)
1987}
1988PROTOBUF_NDEBUG_INLINE SolveResultProto_PdlpOutput::Impl_::Impl_(
1989 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1990 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1991 [[maybe_unused]] const ::operations_research::math_opt::SolveResultProto_PdlpOutput& from_msg)
1992 : _has_bits_{from._has_bits_},
1993 _cached_size_{0} {}
1994
1996 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1997 const SolveResultProto_PdlpOutput& from)
1998#if defined(PROTOBUF_CUSTOM_VTABLE)
1999 : ::google::protobuf::Message(arena, SolveResultProto_PdlpOutput_class_data_.base()) {
2000#else // PROTOBUF_CUSTOM_VTABLE
2001 : ::google::protobuf::Message(arena) {
2002#endif // PROTOBUF_CUSTOM_VTABLE
2003 SolveResultProto_PdlpOutput* const _this = this;
2004 (void)_this;
2005 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2006 from._internal_metadata_);
2007 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2008 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2009 _impl_.convergence_information_ = (CheckHasBit(cached_has_bits, 0x00000001U))
2010 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.convergence_information_)
2011 : nullptr;
2012
2013 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolveResultProto.PdlpOutput)
2014}
2015PROTOBUF_NDEBUG_INLINE SolveResultProto_PdlpOutput::Impl_::Impl_(
2016 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2017 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2018 : _cached_size_{0} {}
2019
2020inline void SolveResultProto_PdlpOutput::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2021 new (&_impl_) Impl_(internal_visibility(), arena);
2022 _impl_.convergence_information_ = {};
2023}
2025 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolveResultProto.PdlpOutput)
2026 SharedDtor(*this);
2027}
2028inline void SolveResultProto_PdlpOutput::SharedDtor(MessageLite& self) {
2030 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2031 this_.CheckHasBitConsistency();
2032 }
2033 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2034 ABSL_DCHECK(this_.GetArena() == nullptr);
2035 delete this_._impl_.convergence_information_;
2036 this_._impl_.~Impl_();
2037}
2038
2039inline void* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::PlacementNew_(
2040 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2041 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2042 return ::new (mem) SolveResultProto_PdlpOutput(arena);
2043}
2044constexpr auto SolveResultProto_PdlpOutput::InternalNewImpl_() {
2045 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SolveResultProto_PdlpOutput),
2047}
2049 return ::google::protobuf::internal::ClassDataFull{
2050 ::google::protobuf::internal::ClassData{
2052 &_table_.header,
2053 nullptr, // OnDemandRegisterArenaDtor
2054 nullptr, // IsInitialized
2055 &SolveResultProto_PdlpOutput::MergeImpl,
2056 ::google::protobuf::Message::GetNewImpl<SolveResultProto_PdlpOutput>(),
2057#if defined(PROTOBUF_CUSTOM_VTABLE)
2058 &SolveResultProto_PdlpOutput::SharedDtor,
2059 ::google::protobuf::Message::GetClearImpl<SolveResultProto_PdlpOutput>(), &SolveResultProto_PdlpOutput::ByteSizeLong,
2061#endif // PROTOBUF_CUSTOM_VTABLE
2062 PROTOBUF_FIELD_OFFSET(SolveResultProto_PdlpOutput, _impl_._cached_size_),
2063 false,
2064 },
2065 &SolveResultProto_PdlpOutput::kDescriptorMethods,
2067 nullptr, // tracker
2068 };
2069}
2070
2071PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2072 ::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_ =
2074
2075PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2076SolveResultProto_PdlpOutput::GetClassData() const {
2077 ::google::protobuf::internal::PrefetchToLocalCache(&SolveResultProto_PdlpOutput_class_data_);
2078 ::google::protobuf::internal::PrefetchToLocalCache(SolveResultProto_PdlpOutput_class_data_.tc_table);
2080}
2081PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2082const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
2083SolveResultProto_PdlpOutput::_table_ = {
2084 {
2085 PROTOBUF_FIELD_OFFSET(SolveResultProto_PdlpOutput, _impl_._has_bits_),
2086 0, // no _extensions_
2087 1, 0, // max_field_number, fast_idx_mask
2088 offsetof(decltype(_table_), field_lookup_table),
2089 4294967294, // skipmap
2090 offsetof(decltype(_table_), field_entries),
2091 1, // num_field_entries
2092 1, // num_aux_entries
2093 offsetof(decltype(_table_), aux_entries),
2095 nullptr, // post_loop_handler
2096 ::_pbi::TcParser::GenericFallback, // fallback
2097 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2098 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto_PdlpOutput>(), // to_prefetch
2099 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2100 }, {{
2101 // .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
2102 {::_pbi::TcParser::FastMtS1,
2103 {10, 0, 0,
2104 PROTOBUF_FIELD_OFFSET(SolveResultProto_PdlpOutput, _impl_.convergence_information_)}},
2105 }}, {{
2106 65535, 65535
2107 }}, {{
2108 // .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
2109 {PROTOBUF_FIELD_OFFSET(SolveResultProto_PdlpOutput, _impl_.convergence_information_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2110 }},
2111 {{
2112 {::_pbi::TcParser::GetTable<::operations_research::pdlp::ConvergenceInformation>()},
2113 }},
2114 {{
2115 }},
2116};
2117PROTOBUF_NOINLINE void SolveResultProto_PdlpOutput::Clear() {
2118// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolveResultProto.PdlpOutput)
2119 ::google::protobuf::internal::TSanWrite(&_impl_);
2120 ::uint32_t cached_has_bits = 0;
2121 // Prevent compiler warnings about cached_has_bits being unused
2122 (void) cached_has_bits;
2123
2124 cached_has_bits = _impl_._has_bits_[0];
2125 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2126 ABSL_DCHECK(_impl_.convergence_information_ != nullptr);
2127 _impl_.convergence_information_->Clear();
2128 }
2129 _impl_._has_bits_.Clear();
2130 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2131}
2132
2133#if defined(PROTOBUF_CUSTOM_VTABLE)
2134::uint8_t* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::_InternalSerialize(
2135 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2136 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2137 const SolveResultProto_PdlpOutput& this_ = static_cast<const SolveResultProto_PdlpOutput&>(base);
2138#else // PROTOBUF_CUSTOM_VTABLE
2139::uint8_t* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::_InternalSerialize(
2140 ::uint8_t* PROTOBUF_NONNULL target,
2141 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2142 const SolveResultProto_PdlpOutput& this_ = *this;
2143#endif // PROTOBUF_CUSTOM_VTABLE
2144 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2145 this_.CheckHasBitConsistency();
2146 }
2147 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolveResultProto.PdlpOutput)
2148 ::uint32_t cached_has_bits = 0;
2149 (void)cached_has_bits;
2150
2151 cached_has_bits = this_._impl_._has_bits_[0];
2152 // .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
2153 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2154 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2155 1, *this_._impl_.convergence_information_, this_._impl_.convergence_information_->GetCachedSize(), target,
2156 stream);
2157 }
2158
2159 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2160 target =
2161 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2162 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2163 }
2164 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolveResultProto.PdlpOutput)
2165 return target;
2166}
2167
2168#if defined(PROTOBUF_CUSTOM_VTABLE)
2170 const SolveResultProto_PdlpOutput& this_ = static_cast<const SolveResultProto_PdlpOutput&>(base);
2171#else // PROTOBUF_CUSTOM_VTABLE
2173 const SolveResultProto_PdlpOutput& this_ = *this;
2174#endif // PROTOBUF_CUSTOM_VTABLE
2175 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolveResultProto.PdlpOutput)
2176 ::size_t total_size = 0;
2178 ::uint32_t cached_has_bits = 0;
2179 // Prevent compiler warnings about cached_has_bits being unused
2180 (void)cached_has_bits;
2181
2182 {
2183 // .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
2184 cached_has_bits = this_._impl_._has_bits_[0];
2185 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2186 total_size += 1 +
2187 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.convergence_information_);
2188 }
2189 }
2190 return this_.MaybeComputeUnknownFieldsSize(total_size,
2191 &this_._impl_._cached_size_);
2192}
2193
2194void SolveResultProto_PdlpOutput::MergeImpl(::google::protobuf::MessageLite& to_msg,
2195 const ::google::protobuf::MessageLite& from_msg) {
2196 auto* const _this =
2197 static_cast<SolveResultProto_PdlpOutput*>(&to_msg);
2198 auto& from = static_cast<const SolveResultProto_PdlpOutput&>(from_msg);
2199 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2200 from.CheckHasBitConsistency();
2201 }
2202 ::google::protobuf::Arena* arena = _this->GetArena();
2203 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolveResultProto.PdlpOutput)
2204 ABSL_DCHECK_NE(&from, _this);
2205 ::uint32_t cached_has_bits = 0;
2206 (void)cached_has_bits;
2207
2208 cached_has_bits = from._impl_._has_bits_[0];
2209 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2210 ABSL_DCHECK(from._impl_.convergence_information_ != nullptr);
2211 if (_this->_impl_.convergence_information_ == nullptr) {
2212 _this->_impl_.convergence_information_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.convergence_information_);
2213 } else {
2214 _this->_impl_.convergence_information_->MergeFrom(*from._impl_.convergence_information_);
2215 }
2216 }
2217 _this->_impl_._has_bits_[0] |= cached_has_bits;
2218 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2219 from._internal_metadata_);
2220}
2221
2223 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolveResultProto.PdlpOutput)
2224 if (&from == this) return;
2225 Clear();
2226 MergeFrom(from);
2228
2229
2230void SolveResultProto_PdlpOutput::InternalSwap(SolveResultProto_PdlpOutput* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2231 using ::std::swap;
2232 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2233 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2234 swap(_impl_.convergence_information_, other->_impl_.convergence_information_);
2235}
2236
2237::google::protobuf::Metadata SolveResultProto_PdlpOutput::GetMetadata() const {
2238 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2239}
2240// ===================================================================
2241
2243 public:
2244 using HasBits =
2245 decltype(::std::declval<SolveResultProto>()._impl_._has_bits_);
2246 static constexpr ::int32_t kHasBitsOffset =
2247 8 * PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_._has_bits_);
2248 static constexpr ::int32_t kOneofCaseOffset =
2249 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResultProto, _impl_._oneof_case_);
2251
2253 ::google::protobuf::internal::TSanWrite(&_impl_);
2254 _impl_.solutions_.Clear();
2255 ClearHasBitForRepeated(_impl_._has_bits_[0],
2256 0x00000001U);
2257}
2259 ::google::protobuf::internal::TSanWrite(&_impl_);
2260 _impl_.primal_rays_.Clear();
2261 ClearHasBitForRepeated(_impl_._has_bits_[0],
2262 0x00000002U);
2263}
2265 ::google::protobuf::internal::TSanWrite(&_impl_);
2266 _impl_.dual_rays_.Clear();
2267 ClearHasBitForRepeated(_impl_._has_bits_[0],
2268 0x00000004U);
2269}
2271 ::google::protobuf::Arena* message_arena = GetArena();
2273 if (gscip_output) {
2274 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(gscip_output)->GetArena();
2275 if (message_arena != submessage_arena) {
2276 gscip_output = ::google::protobuf::internal::GetOwnedMessage(message_arena, gscip_output, submessage_arena);
2277 }
2278 set_has_gscip_output();
2279 _impl_.solver_specific_output_.gscip_output_ = gscip_output;
2280 }
2281 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.gscip_output)
2282}
2284 ::google::protobuf::internal::TSanWrite(&_impl_);
2285 if (solver_specific_output_case() == kGscipOutput) {
2286 if (GetArena() == nullptr) {
2287 delete _impl_.solver_specific_output_.gscip_output_;
2288 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2289 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.solver_specific_output_.gscip_output_);
2290 }
2291 clear_has_solver_specific_output();
2292 }
2293}
2295 ::google::protobuf::Arena* message_arena = GetArena();
2296 clear_solver_specific_output();
2297 if (osqp_output) {
2298 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(osqp_output)->GetArena();
2299 if (message_arena != submessage_arena) {
2300 osqp_output = ::google::protobuf::internal::GetOwnedMessage(message_arena, osqp_output, submessage_arena);
2301 }
2302 set_has_osqp_output();
2303 _impl_.solver_specific_output_.osqp_output_ = osqp_output;
2304 }
2305 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.osqp_output)
2306}
2308 ::google::protobuf::internal::TSanWrite(&_impl_);
2309 if (solver_specific_output_case() == kOsqpOutput) {
2310 if (GetArena() == nullptr) {
2311 delete _impl_.solver_specific_output_.osqp_output_;
2312 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2313 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.solver_specific_output_.osqp_output_);
2314 }
2315 clear_has_solver_specific_output();
2316 }
2317}
2319 ::google::protobuf::Arena* message_arena = GetArena();
2320 clear_solver_specific_output();
2321 if (pdlp_output) {
2322 ::google::protobuf::Arena* submessage_arena = pdlp_output->GetArena();
2323 if (message_arena != submessage_arena) {
2324 pdlp_output = ::google::protobuf::internal::GetOwnedMessage(message_arena, pdlp_output, submessage_arena);
2325 }
2326 set_has_pdlp_output();
2327 _impl_.solver_specific_output_.pdlp_output_ = pdlp_output;
2328 }
2329 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.pdlp_output)
2330}
2331SolveResultProto::SolveResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2332#if defined(PROTOBUF_CUSTOM_VTABLE)
2333 : ::google::protobuf::Message(arena, SolveResultProto_class_data_.base()) {
2334#else // PROTOBUF_CUSTOM_VTABLE
2335 : ::google::protobuf::Message(arena) {
2336#endif // PROTOBUF_CUSTOM_VTABLE
2337 SharedCtor(arena);
2338 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolveResultProto)
2339}
2340PROTOBUF_NDEBUG_INLINE SolveResultProto::Impl_::Impl_(
2341 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2342 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2343 [[maybe_unused]] const ::operations_research::math_opt::SolveResultProto& from_msg)
2344 : _has_bits_{from._has_bits_},
2345 _cached_size_{0},
2346 solutions_{visibility, arena, from.solutions_},
2347 primal_rays_{visibility, arena, from.primal_rays_},
2348 dual_rays_{visibility, arena, from.dual_rays_},
2349 solver_specific_output_{},
2350 _oneof_case_{from._oneof_case_[0]} {}
2351
2353 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2354 const SolveResultProto& from)
2355#if defined(PROTOBUF_CUSTOM_VTABLE)
2356 : ::google::protobuf::Message(arena, SolveResultProto_class_data_.base()) {
2357#else // PROTOBUF_CUSTOM_VTABLE
2358 : ::google::protobuf::Message(arena) {
2359#endif // PROTOBUF_CUSTOM_VTABLE
2360 SolveResultProto* const _this = this;
2361 (void)_this;
2362 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2363 from._internal_metadata_);
2364 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2365 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2366 _impl_.termination_ = (CheckHasBit(cached_has_bits, 0x00000008U))
2367 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.termination_)
2368 : nullptr;
2369 _impl_.solve_stats_ = (CheckHasBit(cached_has_bits, 0x00000010U))
2370 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_stats_)
2371 : nullptr;
2372 switch (solver_specific_output_case()) {
2373 case SOLVER_SPECIFIC_OUTPUT_NOT_SET:
2374 break;
2375 case kGscipOutput:
2376 _impl_.solver_specific_output_.gscip_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.gscip_output_);
2377 break;
2378 case kOsqpOutput:
2379 _impl_.solver_specific_output_.osqp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.osqp_output_);
2380 break;
2381 case kPdlpOutput:
2382 _impl_.solver_specific_output_.pdlp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.pdlp_output_);
2383 break;
2384 }
2385
2386 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolveResultProto)
2387}
2388PROTOBUF_NDEBUG_INLINE SolveResultProto::Impl_::Impl_(
2389 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2390 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2391 : _cached_size_{0},
2392 solutions_{visibility, arena},
2393 primal_rays_{visibility, arena},
2394 dual_rays_{visibility, arena},
2395 solver_specific_output_{},
2396 _oneof_case_{} {}
2397
2398inline void SolveResultProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2399 new (&_impl_) Impl_(internal_visibility(), arena);
2400 ::memset(reinterpret_cast<char*>(&_impl_) +
2401 offsetof(Impl_, termination_),
2402 0,
2403 offsetof(Impl_, solve_stats_) -
2404 offsetof(Impl_, termination_) +
2405 sizeof(Impl_::solve_stats_));
2406}
2408 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolveResultProto)
2409 SharedDtor(*this);
2410}
2411inline void SolveResultProto::SharedDtor(MessageLite& self) {
2412 SolveResultProto& this_ = static_cast<SolveResultProto&>(self);
2413 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2414 this_.CheckHasBitConsistency();
2415 }
2416 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2417 ABSL_DCHECK(this_.GetArena() == nullptr);
2418 delete this_._impl_.termination_;
2419 delete this_._impl_.solve_stats_;
2420 if (this_.has_solver_specific_output()) {
2421 this_.clear_solver_specific_output();
2422 }
2423 this_._impl_.~Impl_();
2424}
2425
2427// @@protoc_insertion_point(one_of_clear_start:operations_research.math_opt.SolveResultProto)
2428 ::google::protobuf::internal::TSanWrite(&_impl_);
2429 switch (solver_specific_output_case()) {
2430 case kGscipOutput: {
2431 if (GetArena() == nullptr) {
2432 delete _impl_.solver_specific_output_.gscip_output_;
2433 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2434 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.solver_specific_output_.gscip_output_);
2435 }
2436 break;
2437 }
2438 case kOsqpOutput: {
2439 if (GetArena() == nullptr) {
2440 delete _impl_.solver_specific_output_.osqp_output_;
2441 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2442 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.solver_specific_output_.osqp_output_);
2443 }
2444 break;
2445 }
2446 case kPdlpOutput: {
2447 if (GetArena() == nullptr) {
2448 delete _impl_.solver_specific_output_.pdlp_output_;
2449 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2450 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.solver_specific_output_.pdlp_output_);
2451 }
2452 break;
2453 }
2455 break;
2456 }
2457 }
2458 _impl_._oneof_case_[0] = SOLVER_SPECIFIC_OUTPUT_NOT_SET;
2459}
2460
2461
2462inline void* PROTOBUF_NONNULL SolveResultProto::PlacementNew_(
2463 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2464 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2465 return ::new (mem) SolveResultProto(arena);
2466}
2467constexpr auto SolveResultProto::InternalNewImpl_() {
2468 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2469 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solutions_) +
2470 decltype(SolveResultProto::_impl_.solutions_)::
2471 InternalGetArenaOffset(
2472 ::google::protobuf::Message::internal_visibility()),
2473 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.primal_rays_) +
2474 decltype(SolveResultProto::_impl_.primal_rays_)::
2475 InternalGetArenaOffset(
2476 ::google::protobuf::Message::internal_visibility()),
2477 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.dual_rays_) +
2478 decltype(SolveResultProto::_impl_.dual_rays_)::
2479 InternalGetArenaOffset(
2480 ::google::protobuf::Message::internal_visibility()),
2481 });
2482 if (arena_bits.has_value()) {
2483 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2484 sizeof(SolveResultProto), alignof(SolveResultProto), *arena_bits);
2485 } else {
2486 return ::google::protobuf::internal::MessageCreator(&SolveResultProto::PlacementNew_,
2487 sizeof(SolveResultProto),
2488 alignof(SolveResultProto));
2489 }
2490}
2492 return ::google::protobuf::internal::ClassDataFull{
2493 ::google::protobuf::internal::ClassData{
2495 &_table_.header,
2496 nullptr, // OnDemandRegisterArenaDtor
2497 nullptr, // IsInitialized
2498 &SolveResultProto::MergeImpl,
2499 ::google::protobuf::Message::GetNewImpl<SolveResultProto>(),
2500#if defined(PROTOBUF_CUSTOM_VTABLE)
2501 &SolveResultProto::SharedDtor,
2502 ::google::protobuf::Message::GetClearImpl<SolveResultProto>(), &SolveResultProto::ByteSizeLong,
2504#endif // PROTOBUF_CUSTOM_VTABLE
2505 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_._cached_size_),
2506 false,
2507 },
2508 &SolveResultProto::kDescriptorMethods,
2510 nullptr, // tracker
2511 };
2512}
2513
2514PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2515 ::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_ =
2517
2518PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2519SolveResultProto::GetClassData() const {
2520 ::google::protobuf::internal::PrefetchToLocalCache(&SolveResultProto_class_data_);
2521 ::google::protobuf::internal::PrefetchToLocalCache(SolveResultProto_class_data_.tc_table);
2522 return SolveResultProto_class_data_.base();
2523}
2524PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2525const ::_pbi::TcParseTable<3, 8, 8, 0, 2>
2526SolveResultProto::_table_ = {
2527 {
2528 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_._has_bits_),
2529 0, // no _extensions_
2530 9, 56, // max_field_number, fast_idx_mask
2531 offsetof(decltype(_table_), field_lookup_table),
2532 4294966785, // skipmap
2533 offsetof(decltype(_table_), field_entries),
2534 8, // num_field_entries
2535 8, // num_aux_entries
2536 offsetof(decltype(_table_), aux_entries),
2538 nullptr, // post_loop_handler
2539 ::_pbi::TcParser::GenericFallback, // fallback
2540 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2541 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto>(), // to_prefetch
2542 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2543 }, {{
2544 {::_pbi::TcParser::MiniParse, {}},
2545 {::_pbi::TcParser::MiniParse, {}},
2546 // .operations_research.math_opt.TerminationProto termination = 2;
2547 {::_pbi::TcParser::FastMtS1,
2548 {18, 3, 0,
2549 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.termination_)}},
2550 // repeated .operations_research.math_opt.SolutionProto solutions = 3;
2551 {::_pbi::TcParser::FastMtR1,
2552 {26, 0, 1,
2553 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solutions_)}},
2554 // repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
2555 {::_pbi::TcParser::FastMtR1,
2556 {34, 1, 2,
2557 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.primal_rays_)}},
2558 // repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
2559 {::_pbi::TcParser::FastMtR1,
2560 {42, 2, 3,
2561 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.dual_rays_)}},
2562 // .operations_research.math_opt.SolveStatsProto solve_stats = 6;
2563 {::_pbi::TcParser::FastMtS1,
2564 {50, 4, 4,
2565 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solve_stats_)}},
2566 {::_pbi::TcParser::MiniParse, {}},
2567 }}, {{
2568 65535, 65535
2569 }}, {{
2570 // .operations_research.math_opt.TerminationProto termination = 2;
2571 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.termination_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2572 // repeated .operations_research.math_opt.SolutionProto solutions = 3;
2573 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solutions_), _Internal::kHasBitsOffset + 0, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2574 // repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
2575 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.primal_rays_), _Internal::kHasBitsOffset + 1, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2576 // repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
2577 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.dual_rays_), _Internal::kHasBitsOffset + 2, 3, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2578 // .operations_research.math_opt.SolveStatsProto solve_stats = 6;
2579 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solve_stats_), _Internal::kHasBitsOffset + 4, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2580 // .operations_research.GScipOutput gscip_output = 7;
2581 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solver_specific_output_.gscip_output_), _Internal::kOneofCaseOffset + 0, 5, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2582 // .operations_research.math_opt.OsqpOutput osqp_output = 8;
2583 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solver_specific_output_.osqp_output_), _Internal::kOneofCaseOffset + 0, 6, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2584 // .operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
2585 {PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solver_specific_output_.pdlp_output_), _Internal::kOneofCaseOffset + 0, 7, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2586 }},
2587 {{
2588 {::_pbi::TcParser::GetTable<::operations_research::math_opt::TerminationProto>()},
2589 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolutionProto>()},
2590 {::_pbi::TcParser::GetTable<::operations_research::math_opt::PrimalRayProto>()},
2591 {::_pbi::TcParser::GetTable<::operations_research::math_opt::DualRayProto>()},
2592 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveStatsProto>()},
2593 {::_pbi::TcParser::GetTable<::operations_research::GScipOutput>()},
2594 {::_pbi::TcParser::GetTable<::operations_research::math_opt::OsqpOutput>()},
2595 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto_PdlpOutput>()},
2596 }},
2597 {{
2598 }},
2599};
2600PROTOBUF_NOINLINE void SolveResultProto::Clear() {
2601// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolveResultProto)
2602 ::google::protobuf::internal::TSanWrite(&_impl_);
2603 ::uint32_t cached_has_bits = 0;
2604 // Prevent compiler warnings about cached_has_bits being unused
2605 (void) cached_has_bits;
2607 cached_has_bits = _impl_._has_bits_[0];
2608 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2609 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2610 _impl_.solutions_.Clear();
2611 }
2612 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2613 _impl_.primal_rays_.Clear();
2614 }
2615 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2616 _impl_.dual_rays_.Clear();
2617 }
2618 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2619 ABSL_DCHECK(_impl_.termination_ != nullptr);
2620 _impl_.termination_->Clear();
2621 }
2622 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2623 ABSL_DCHECK(_impl_.solve_stats_ != nullptr);
2624 _impl_.solve_stats_->Clear();
2625 }
2626 }
2628 _impl_._has_bits_.Clear();
2629 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2630}
2631
2632#if defined(PROTOBUF_CUSTOM_VTABLE)
2633::uint8_t* PROTOBUF_NONNULL SolveResultProto::_InternalSerialize(
2634 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2635 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2636 const SolveResultProto& this_ = static_cast<const SolveResultProto&>(base);
2637#else // PROTOBUF_CUSTOM_VTABLE
2638::uint8_t* PROTOBUF_NONNULL SolveResultProto::_InternalSerialize(
2639 ::uint8_t* PROTOBUF_NONNULL target,
2640 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2641 const SolveResultProto& this_ = *this;
2642#endif // PROTOBUF_CUSTOM_VTABLE
2643 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2644 this_.CheckHasBitConsistency();
2645 }
2646 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolveResultProto)
2647 ::uint32_t cached_has_bits = 0;
2648 (void)cached_has_bits;
2649
2650 cached_has_bits = this_._impl_._has_bits_[0];
2651 // .operations_research.math_opt.TerminationProto termination = 2;
2652 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2653 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2654 2, *this_._impl_.termination_, this_._impl_.termination_->GetCachedSize(), target,
2655 stream);
2656 }
2657
2658 // repeated .operations_research.math_opt.SolutionProto solutions = 3;
2659 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2660 for (unsigned i = 0, n = static_cast<unsigned>(
2661 this_._internal_solutions_size());
2662 i < n; i++) {
2663 const auto& repfield = this_._internal_solutions().Get(i);
2664 target =
2665 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2666 3, repfield, repfield.GetCachedSize(),
2667 target, stream);
2668 }
2669 }
2670
2671 // repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
2672 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2673 for (unsigned i = 0, n = static_cast<unsigned>(
2674 this_._internal_primal_rays_size());
2675 i < n; i++) {
2676 const auto& repfield = this_._internal_primal_rays().Get(i);
2677 target =
2678 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2679 4, repfield, repfield.GetCachedSize(),
2680 target, stream);
2681 }
2682 }
2683
2684 // repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
2685 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2686 for (unsigned i = 0, n = static_cast<unsigned>(
2687 this_._internal_dual_rays_size());
2688 i < n; i++) {
2689 const auto& repfield = this_._internal_dual_rays().Get(i);
2690 target =
2691 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2692 5, repfield, repfield.GetCachedSize(),
2693 target, stream);
2694 }
2695 }
2696
2697 // .operations_research.math_opt.SolveStatsProto solve_stats = 6;
2698 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2699 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2700 6, *this_._impl_.solve_stats_, this_._impl_.solve_stats_->GetCachedSize(), target,
2701 stream);
2702 }
2703
2704 switch (this_.solver_specific_output_case()) {
2705 case kGscipOutput: {
2706 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2707 7, *this_._impl_.solver_specific_output_.gscip_output_, this_._impl_.solver_specific_output_.gscip_output_->GetCachedSize(), target,
2708 stream);
2709 break;
2710 }
2711 case kOsqpOutput: {
2712 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2713 8, *this_._impl_.solver_specific_output_.osqp_output_, this_._impl_.solver_specific_output_.osqp_output_->GetCachedSize(), target,
2714 stream);
2715 break;
2716 }
2717 case kPdlpOutput: {
2718 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2719 9, *this_._impl_.solver_specific_output_.pdlp_output_, this_._impl_.solver_specific_output_.pdlp_output_->GetCachedSize(), target,
2720 stream);
2721 break;
2722 }
2723 default:
2724 break;
2725 }
2726 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2727 target =
2728 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2729 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2730 }
2731 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolveResultProto)
2732 return target;
2733}
2734
2735#if defined(PROTOBUF_CUSTOM_VTABLE)
2736::size_t SolveResultProto::ByteSizeLong(const MessageLite& base) {
2737 const SolveResultProto& this_ = static_cast<const SolveResultProto&>(base);
2738#else // PROTOBUF_CUSTOM_VTABLE
2739::size_t SolveResultProto::ByteSizeLong() const {
2740 const SolveResultProto& this_ = *this;
2741#endif // PROTOBUF_CUSTOM_VTABLE
2742 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolveResultProto)
2743 ::size_t total_size = 0;
2744
2745 ::uint32_t cached_has_bits = 0;
2746 // Prevent compiler warnings about cached_has_bits being unused
2747 (void)cached_has_bits;
2748
2749 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2750 cached_has_bits = this_._impl_._has_bits_[0];
2751 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2752 // repeated .operations_research.math_opt.SolutionProto solutions = 3;
2753 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2754 total_size += 1UL * this_._internal_solutions_size();
2755 for (const auto& msg : this_._internal_solutions()) {
2756 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2757 }
2758 }
2759 // repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
2760 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2761 total_size += 1UL * this_._internal_primal_rays_size();
2762 for (const auto& msg : this_._internal_primal_rays()) {
2763 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2764 }
2765 }
2766 // repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
2767 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2768 total_size += 1UL * this_._internal_dual_rays_size();
2769 for (const auto& msg : this_._internal_dual_rays()) {
2770 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2771 }
2772 }
2773 // .operations_research.math_opt.TerminationProto termination = 2;
2774 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2775 total_size += 1 +
2776 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.termination_);
2777 }
2778 // .operations_research.math_opt.SolveStatsProto solve_stats = 6;
2779 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2780 total_size += 1 +
2781 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solve_stats_);
2782 }
2783 }
2784 switch (this_.solver_specific_output_case()) {
2785 // .operations_research.GScipOutput gscip_output = 7;
2786 case kGscipOutput: {
2787 total_size += 1 +
2788 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solver_specific_output_.gscip_output_);
2789 break;
2790 }
2791 // .operations_research.math_opt.OsqpOutput osqp_output = 8;
2792 case kOsqpOutput: {
2793 total_size += 1 +
2794 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solver_specific_output_.osqp_output_);
2795 break;
2796 }
2797 // .operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
2798 case kPdlpOutput: {
2799 total_size += 1 +
2800 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solver_specific_output_.pdlp_output_);
2801 break;
2802 }
2804 break;
2805 }
2806 }
2807 return this_.MaybeComputeUnknownFieldsSize(total_size,
2808 &this_._impl_._cached_size_);
2809}
2810
2811void SolveResultProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2812 const ::google::protobuf::MessageLite& from_msg) {
2813 auto* const _this =
2814 static_cast<SolveResultProto*>(&to_msg);
2815 auto& from = static_cast<const SolveResultProto&>(from_msg);
2816 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2817 from.CheckHasBitConsistency();
2818 }
2819 ::google::protobuf::Arena* arena = _this->GetArena();
2820 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolveResultProto)
2821 ABSL_DCHECK_NE(&from, _this);
2822 ::uint32_t cached_has_bits = 0;
2823 (void)cached_has_bits;
2824
2825 cached_has_bits = from._impl_._has_bits_[0];
2826 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2827 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2828 _this->_internal_mutable_solutions()->InternalMergeFromWithArena(
2829 ::google::protobuf::MessageLite::internal_visibility(), arena,
2830 from._internal_solutions());
2831 }
2832 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2833 _this->_internal_mutable_primal_rays()->InternalMergeFromWithArena(
2834 ::google::protobuf::MessageLite::internal_visibility(), arena,
2835 from._internal_primal_rays());
2836 }
2837 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2838 _this->_internal_mutable_dual_rays()->InternalMergeFromWithArena(
2839 ::google::protobuf::MessageLite::internal_visibility(), arena,
2840 from._internal_dual_rays());
2841 }
2842 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2843 ABSL_DCHECK(from._impl_.termination_ != nullptr);
2844 if (_this->_impl_.termination_ == nullptr) {
2845 _this->_impl_.termination_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.termination_);
2846 } else {
2847 _this->_impl_.termination_->MergeFrom(*from._impl_.termination_);
2848 }
2849 }
2850 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2851 ABSL_DCHECK(from._impl_.solve_stats_ != nullptr);
2852 if (_this->_impl_.solve_stats_ == nullptr) {
2853 _this->_impl_.solve_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_stats_);
2854 } else {
2855 _this->_impl_.solve_stats_->MergeFrom(*from._impl_.solve_stats_);
2856 }
2857 }
2858 }
2859 _this->_impl_._has_bits_[0] |= cached_has_bits;
2860 if (const uint32_t oneof_from_case =
2861 from._impl_._oneof_case_[0]) {
2862 const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
2863 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
2864 if (oneof_needs_init) {
2865 if (oneof_to_case != 0) {
2866 _this->clear_solver_specific_output();
2867 }
2868 _this->_impl_._oneof_case_[0] = oneof_from_case;
2869 }
2870
2871 switch (oneof_from_case) {
2872 case kGscipOutput: {
2873 if (oneof_needs_init) {
2874 _this->_impl_.solver_specific_output_.gscip_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.gscip_output_);
2875 } else {
2876 _this->_impl_.solver_specific_output_.gscip_output_->MergeFrom(*from._impl_.solver_specific_output_.gscip_output_);
2877 }
2878 break;
2879 }
2880 case kOsqpOutput: {
2881 if (oneof_needs_init) {
2882 _this->_impl_.solver_specific_output_.osqp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.osqp_output_);
2883 } else {
2884 _this->_impl_.solver_specific_output_.osqp_output_->MergeFrom(*from._impl_.solver_specific_output_.osqp_output_);
2885 }
2886 break;
2887 }
2888 case kPdlpOutput: {
2889 if (oneof_needs_init) {
2890 _this->_impl_.solver_specific_output_.pdlp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.pdlp_output_);
2891 } else {
2892 _this->_impl_.solver_specific_output_.pdlp_output_->MergeFrom(*from._impl_.solver_specific_output_.pdlp_output_);
2893 }
2894 break;
2895 }
2897 break;
2898 }
2899 }
2900 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2901 from._internal_metadata_);
2902}
2903
2905 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolveResultProto)
2906 if (&from == this) return;
2907 Clear();
2908 MergeFrom(from);
2909}
2911
2912void SolveResultProto::InternalSwap(SolveResultProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2913 using ::std::swap;
2914 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2915 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2916 _impl_.solutions_.InternalSwap(&other->_impl_.solutions_);
2917 _impl_.primal_rays_.InternalSwap(&other->_impl_.primal_rays_);
2918 _impl_.dual_rays_.InternalSwap(&other->_impl_.dual_rays_);
2919 ::google::protobuf::internal::memswap<
2920 PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.solve_stats_)
2921 + sizeof(SolveResultProto::_impl_.solve_stats_)
2922 - PROTOBUF_FIELD_OFFSET(SolveResultProto, _impl_.termination_)>(
2923 reinterpret_cast<char*>(&_impl_.termination_),
2924 reinterpret_cast<char*>(&other->_impl_.termination_));
2925 swap(_impl_.solver_specific_output_, other->_impl_.solver_specific_output_);
2926 swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
2927}
2928
2929::google::protobuf::Metadata SolveResultProto::GetMetadata() const {
2930 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2931}
2932// @@protoc_insertion_point(namespace_scope)
2933} // namespace math_opt
2934} // namespace operations_research
2935namespace google {
2936namespace protobuf {
2937} // namespace protobuf
2938} // namespace google
2939// @@protoc_insertion_point(global_scope)
2940PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2941 _static_init2_ [[maybe_unused]] =
2943 ::std::false_type{});
2944#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[]
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:496
void CopyFrom(const ObjectiveBoundsProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
decltype(::std::declval< ProblemStatusProto >()._impl_._has_bits_) HasBits
Definition result.pb.cc:424
friend class ::google::protobuf::MessageLite
Definition result.pb.h:433
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition result.pb.cc:590
friend void swap(ProblemStatusProto &a, ProblemStatusProto &b)
Definition result.pb.h:304
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:281
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition result.pb.cc:567
::google::protobuf::Metadata GetMetadata() const
Definition result.pb.cc:737
void CopyFrom(const ProblemStatusProto &from)
Definition result.pb.cc:717
void MergeFrom(const ProblemStatusProto &from)
Definition result.pb.h:327
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const SolveResultProto_PdlpOutput &from)
Definition result.pb.h:1284
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(SolveResultProto_PdlpOutput &a, SolveResultProto_PdlpOutput &b)
Definition result.pb.h:1261
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const SolveResultProto_PdlpOutput &from)
friend class ::google::protobuf::MessageLite
Definition result.pb.h:1713
void set_allocated_osqp_output(::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE value)
friend void swap(SolveResultProto &a, SolveResultProto &b)
Definition result.pb.h:1463
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const SolveResultProto &from)
Definition result.pb.h:1486
void set_allocated_pdlp_output(::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::OsqpOutput & osqp_output() const
Definition result.pb.h:3115
void CopyFrom(const SolveResultProto &from)
const ::operations_research::math_opt::SolveResultProto_PdlpOutput & pdlp_output() const
Definition result.pb.h:3197
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
SolverSpecificOutputCase solver_specific_output_case() const
Definition result.pb.h:3246
void set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
const ::operations_research::GScipOutput & gscip_output() const
Definition result.pb.h:3044
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
Definition result.pb.h:1714
decltype(::std::declval< SolveStatsProto >()._impl_._has_bits_) HasBits
Definition result.pb.cc:745
friend class ::google::protobuf::MessageLite
Definition result.pb.h:1170
static constexpr auto InternalGenerateClassData_()
Definition result.pb.cc:842
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition result.pb.cc:987
void CopyFrom(const SolveStatsProto &from)
void MergeFrom(const SolveStatsProto &from)
Definition result.pb.h:999
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:953
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition result.pb.cc:954
::google::protobuf::Metadata GetMetadata() const
friend void swap(SolveStatsProto &a, SolveStatsProto &b)
Definition result.pb.h:976
friend class ::google::protobuf::Arena
Definition result.pb.h:1171
friend class ::google::protobuf::MessageLite
Definition result.pb.h:888
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const TerminationProto &from)
Definition result.pb.h:745
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const TerminationProto &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_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fgscip_2fgscip_2eproto
Definition gscip.pb.cc:460
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TerminationReasonProto_descriptor()
Definition result.pb.cc:407
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL FeasibilityStatusProto_descriptor()
Definition result.pb.cc:401
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveStatsProtoDefaultTypeInternal _SolveStatsProto_default_instance_
Definition result.pb.cc:144
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_
Definition result.pb.cc:866
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProto_PdlpOutputDefaultTypeInternal _SolveResultProto_PdlpOutput_default_instance_
Definition result.pb.cc:169
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LimitProto_descriptor()
Definition result.pb.cc:413
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProtoDefaultTypeInternal _SolveResultProto_default_instance_
Definition result.pb.cc:200
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_
PROTOBUF_CONSTINIT const uint32_t LimitProto_internal_data_[]
Definition result.pb.cc:417
PROTOBUF_CONSTINIT const uint32_t TerminationReasonProto_internal_data_[]
Definition result.pb.cc:411
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TerminationProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProblemStatusProtoDefaultTypeInternal _ProblemStatusProto_default_instance_
Definition result.pb.cc:55
PROTOBUF_CONSTINIT const uint32_t FeasibilityStatusProto_internal_data_[]
Definition result.pb.cc:405
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveBoundsProtoDefaultTypeInternal _ObjectiveBoundsProto_default_instance_
Definition result.pb.cc:81
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminationProtoDefaultTypeInternal _TerminationProto_default_instance_
Definition result.pb.cc:112
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_
Definition result.pb.cc:511
OR-Tools root namespace.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
Definition osqp.pb.cc:199
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto_once
Definition result.pb.cc:382
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fresult_2eproto
Definition result.pb.cc:206
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fmath_5fopt_2fresult_2eproto[3]
Definition result.pb.cc:204
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fresult_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto
Definition result.pb.cc:383
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto_deps[5]
Definition result.pb.cc:375
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fpdlp_2fsolve_5flog_2eproto