Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
callback.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/callback.proto
4// Protobuf C++ Version: 6.31.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 CallbackDataProto_SimplexStats::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 iteration_count_{::int64_t{0}},
34 objective_value_{0},
35 primal_infeasibility_{0},
36 dual_infeasibility_{0},
37 is_pertubated_{false} {}
38
39template <typename>
40PROTOBUF_CONSTEXPR CallbackDataProto_SimplexStats::CallbackDataProto_SimplexStats(::_pbi::ConstantInitialized)
41#if defined(PROTOBUF_CUSTOM_VTABLE)
42 : ::google::protobuf::Message(CallbackDataProto_SimplexStats_class_data_.base()),
43#else // PROTOBUF_CUSTOM_VTABLE
44 : ::google::protobuf::Message(),
45#endif // PROTOBUF_CUSTOM_VTABLE
46 _impl_(::_pbi::ConstantInitialized()) {
47}
55
56PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
58
59inline constexpr CallbackDataProto_PresolveStats::Impl_::Impl_(
60 ::_pbi::ConstantInitialized) noexcept
61 : _cached_size_{0},
62 removed_variables_{::int64_t{0}},
63 removed_constraints_{::int64_t{0}},
64 bound_changes_{::int64_t{0}},
65 coefficient_changes_{::int64_t{0}} {}
66
67template <typename>
68PROTOBUF_CONSTEXPR CallbackDataProto_PresolveStats::CallbackDataProto_PresolveStats(::_pbi::ConstantInitialized)
69#if defined(PROTOBUF_CUSTOM_VTABLE)
70 : ::google::protobuf::Message(CallbackDataProto_PresolveStats_class_data_.base()),
71#else // PROTOBUF_CUSTOM_VTABLE
72 : ::google::protobuf::Message(),
73#endif // PROTOBUF_CUSTOM_VTABLE
74 _impl_(::_pbi::ConstantInitialized()) {
75}
83
84PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
86
87inline constexpr CallbackDataProto_MipStats::Impl_::Impl_(
88 ::_pbi::ConstantInitialized) noexcept
89 : _cached_size_{0},
90 primal_bound_{0},
91 dual_bound_{0},
92 explored_nodes_{::int64_t{0}},
93 open_nodes_{::int64_t{0}},
94 simplex_iterations_{::int64_t{0}},
95 number_of_solutions_found_{0},
96 cutting_planes_in_lp_{0} {}
97
98template <typename>
99PROTOBUF_CONSTEXPR CallbackDataProto_MipStats::CallbackDataProto_MipStats(::_pbi::ConstantInitialized)
100#if defined(PROTOBUF_CUSTOM_VTABLE)
101 : ::google::protobuf::Message(CallbackDataProto_MipStats_class_data_.base()),
102#else // PROTOBUF_CUSTOM_VTABLE
103 : ::google::protobuf::Message(),
104#endif // PROTOBUF_CUSTOM_VTABLE
105 _impl_(::_pbi::ConstantInitialized()) {
106}
114
115PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
117
118inline constexpr CallbackDataProto_BarrierStats::Impl_::Impl_(
119 ::_pbi::ConstantInitialized) noexcept
120 : _cached_size_{0},
121 primal_objective_{0},
122 dual_objective_{0},
123 complementarity_{0},
124 primal_infeasibility_{0},
125 dual_infeasibility_{0},
126 iteration_count_{0} {}
127
128template <typename>
129PROTOBUF_CONSTEXPR CallbackDataProto_BarrierStats::CallbackDataProto_BarrierStats(::_pbi::ConstantInitialized)
130#if defined(PROTOBUF_CUSTOM_VTABLE)
131 : ::google::protobuf::Message(CallbackDataProto_BarrierStats_class_data_.base()),
132#else // PROTOBUF_CUSTOM_VTABLE
133 : ::google::protobuf::Message(),
134#endif // PROTOBUF_CUSTOM_VTABLE
135 _impl_(::_pbi::ConstantInitialized()) {
136}
144
145PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
147
148inline constexpr CallbackResultProto_GeneratedLinearConstraint::Impl_::Impl_(
149 ::_pbi::ConstantInitialized) noexcept
150 : _cached_size_{0},
151 linear_expression_{nullptr},
152 lower_bound_{0},
153 upper_bound_{0},
154 is_lazy_{false} {}
155
156template <typename>
158#if defined(PROTOBUF_CUSTOM_VTABLE)
159 : ::google::protobuf::Message(CallbackResultProto_GeneratedLinearConstraint_class_data_.base()),
160#else // PROTOBUF_CUSTOM_VTABLE
161 : ::google::protobuf::Message(),
162#endif // PROTOBUF_CUSTOM_VTABLE
163 _impl_(::_pbi::ConstantInitialized()) {
164}
172
173PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
175
176inline constexpr CallbackRegistrationProto::Impl_::Impl_(
177 ::_pbi::ConstantInitialized) noexcept
178 : _cached_size_{0},
179 request_registration_{},
180 _request_registration_cached_byte_size_{0},
181 mip_solution_filter_{nullptr},
182 mip_node_filter_{nullptr},
183 add_cuts_{false},
184 add_lazy_constraints_{false} {}
185
186template <typename>
187PROTOBUF_CONSTEXPR CallbackRegistrationProto::CallbackRegistrationProto(::_pbi::ConstantInitialized)
188#if defined(PROTOBUF_CUSTOM_VTABLE)
189 : ::google::protobuf::Message(CallbackRegistrationProto_class_data_.base()),
190#else // PROTOBUF_CUSTOM_VTABLE
191 : ::google::protobuf::Message(),
192#endif // PROTOBUF_CUSTOM_VTABLE
193 _impl_(::_pbi::ConstantInitialized()) {
194}
202
203PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
205
206inline constexpr CallbackDataProto::Impl_::Impl_(
207 ::_pbi::ConstantInitialized) noexcept
208 : _cached_size_{0},
209 primal_solution_vector_{nullptr},
210 runtime_{nullptr},
211 presolve_stats_{nullptr},
212 simplex_stats_{nullptr},
213 barrier_stats_{nullptr},
214 mip_stats_{nullptr},
215 event_{static_cast< ::operations_research::math_opt::CallbackEventProto >(0)} {}
216
217template <typename>
218PROTOBUF_CONSTEXPR CallbackDataProto::CallbackDataProto(::_pbi::ConstantInitialized)
219#if defined(PROTOBUF_CUSTOM_VTABLE)
220 : ::google::protobuf::Message(CallbackDataProto_class_data_.base()),
221#else // PROTOBUF_CUSTOM_VTABLE
222 : ::google::protobuf::Message(),
223#endif // PROTOBUF_CUSTOM_VTABLE
224 _impl_(::_pbi::ConstantInitialized()) {
225}
233
234PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
236
237inline constexpr CallbackResultProto::Impl_::Impl_(
238 ::_pbi::ConstantInitialized) noexcept
239 : _cached_size_{0},
240 cuts_{},
241 suggested_solutions_{},
242 terminate_{false} {}
243
244template <typename>
245PROTOBUF_CONSTEXPR CallbackResultProto::CallbackResultProto(::_pbi::ConstantInitialized)
246#if defined(PROTOBUF_CUSTOM_VTABLE)
247 : ::google::protobuf::Message(CallbackResultProto_class_data_.base()),
248#else // PROTOBUF_CUSTOM_VTABLE
249 : ::google::protobuf::Message(),
250#endif // PROTOBUF_CUSTOM_VTABLE
251 _impl_(::_pbi::ConstantInitialized()) {
252}
260
261PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
263} // namespace math_opt
264} // namespace operations_research
265static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
267static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
269const ::uint32_t
271 protodesc_cold) = {
272 0x081, // bitmap
273 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_PresolveStats, _impl_._has_bits_),
274 7, // hasbit index offset
275 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_PresolveStats, _impl_.removed_variables_),
276 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_PresolveStats, _impl_.removed_constraints_),
277 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_PresolveStats, _impl_.bound_changes_),
278 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_PresolveStats, _impl_.coefficient_changes_),
279 0,
280 1,
281 2,
282 3,
283 0x081, // bitmap
284 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_SimplexStats, _impl_._has_bits_),
285 8, // hasbit index offset
286 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_SimplexStats, _impl_.iteration_count_),
287 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_SimplexStats, _impl_.objective_value_),
288 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_SimplexStats, _impl_.primal_infeasibility_),
289 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_SimplexStats, _impl_.dual_infeasibility_),
290 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_SimplexStats, _impl_.is_pertubated_),
291 0,
292 1,
293 2,
294 3,
295 4,
296 0x081, // bitmap
297 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_BarrierStats, _impl_._has_bits_),
298 9, // hasbit index offset
299 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_BarrierStats, _impl_.iteration_count_),
300 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_BarrierStats, _impl_.primal_objective_),
301 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_BarrierStats, _impl_.dual_objective_),
302 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_BarrierStats, _impl_.complementarity_),
303 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_BarrierStats, _impl_.primal_infeasibility_),
304 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_BarrierStats, _impl_.dual_infeasibility_),
305 5,
306 0,
307 1,
308 2,
309 3,
310 4,
311 0x081, // bitmap
312 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_._has_bits_),
313 10, // hasbit index offset
314 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_.primal_bound_),
315 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_.dual_bound_),
316 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_.explored_nodes_),
317 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_.open_nodes_),
318 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_.simplex_iterations_),
319 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_.number_of_solutions_found_),
320 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto_MipStats, _impl_.cutting_planes_in_lp_),
321 0,
322 1,
323 2,
324 3,
325 4,
326 5,
327 6,
328 0x081, // bitmap
329 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_._has_bits_),
330 10, // hasbit index offset
331 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_.event_),
332 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_.primal_solution_vector_),
333 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_.runtime_),
334 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_.presolve_stats_),
335 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_.simplex_stats_),
336 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_.barrier_stats_),
337 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackDataProto, _impl_.mip_stats_),
338 6,
339 0,
340 1,
341 2,
342 3,
343 4,
344 5,
345 0x081, // bitmap
347 7, // hasbit index offset
348 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint, _impl_.linear_expression_),
352 0,
353 1,
354 2,
355 3,
356 0x081, // bitmap
357 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackResultProto, _impl_._has_bits_),
358 6, // hasbit index offset
359 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackResultProto, _impl_.terminate_),
360 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackResultProto, _impl_.cuts_),
361 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackResultProto, _impl_.suggested_solutions_),
362 0,
363 ~0u,
364 ~0u,
365 0x081, // bitmap
366 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackRegistrationProto, _impl_._has_bits_),
367 8, // hasbit index offset
368 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackRegistrationProto, _impl_.request_registration_),
369 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackRegistrationProto, _impl_.mip_solution_filter_),
370 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackRegistrationProto, _impl_.mip_node_filter_),
371 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackRegistrationProto, _impl_.add_cuts_),
372 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::CallbackRegistrationProto, _impl_.add_lazy_constraints_),
373 ~0u,
374 0,
375 1,
376 2,
377 3,
378};
379
380static const ::_pbi::MigrationSchema
381 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
390};
401const char descriptor_table_protodef_ortools_2fmath_5fopt_2fcallback_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
402 protodesc_cold) = {
403 "\n\037ortools/math_opt/callback.proto\022\034opera"
404 "tions_research.math_opt\032\036google/protobuf"
405 "/duration.proto\032(ortools/math_opt/sparse"
406 "_containers.proto\"\346\r\n\021CallbackDataProto\022"
407 "\?\n\005event\030\001 \001(\01620.operations_research.mat"
408 "h_opt.CallbackEventProto\022U\n\026primal_solut"
409 "ion_vector\030\002 \001(\01325.operations_research.m"
410 "ath_opt.SparseDoubleVectorProto\022*\n\007runti"
411 "me\030\003 \001(\0132\031.google.protobuf.Duration\022U\n\016p"
412 "resolve_stats\030\004 \001(\0132=.operations_researc"
413 "h.math_opt.CallbackDataProto.PresolveSta"
414 "ts\022S\n\rsimplex_stats\030\005 \001(\0132<.operations_r"
415 "esearch.math_opt.CallbackDataProto.Simpl"
416 "exStats\022S\n\rbarrier_stats\030\006 \001(\0132<.operati"
417 "ons_research.math_opt.CallbackDataProto."
418 "BarrierStats\022K\n\tmip_stats\030\007 \001(\01328.operat"
419 "ions_research.math_opt.CallbackDataProto"
420 ".MipStats\032\347\001\n\rPresolveStats\022\036\n\021removed_v"
421 "ariables\030\001 \001(\003H\000\210\001\001\022 \n\023removed_constrain"
422 "ts\030\002 \001(\003H\001\210\001\001\022\032\n\rbound_changes\030\003 \001(\003H\002\210\001"
423 "\001\022 \n\023coefficient_changes\030\004 \001(\003H\003\210\001\001B\024\n\022_"
424 "removed_variablesB\026\n\024_removed_constraint"
425 "sB\020\n\016_bound_changesB\026\n\024_coefficient_chan"
426 "ges\032\224\002\n\014SimplexStats\022\034\n\017iteration_count\030"
427 "\001 \001(\003H\000\210\001\001\022\034\n\017objective_value\030\002 \001(\001H\001\210\001\001"
428 "\022!\n\024primal_infeasibility\030\003 \001(\001H\002\210\001\001\022\037\n\022d"
429 "ual_infeasibility\030\004 \001(\001H\003\210\001\001\022\032\n\ris_pertu"
430 "bated\030\005 \001(\010H\004\210\001\001B\022\n\020_iteration_countB\022\n\020"
431 "_objective_valueB\027\n\025_primal_infeasibilit"
432 "yB\025\n\023_dual_infeasibilityB\020\n\016_is_pertubat"
433 "ed\032\312\002\n\014BarrierStats\022\034\n\017iteration_count\030\001"
434 " \001(\005H\000\210\001\001\022\035\n\020primal_objective\030\002 \001(\001H\001\210\001\001"
435 "\022\033\n\016dual_objective\030\003 \001(\001H\002\210\001\001\022\034\n\017complem"
436 "entarity\030\004 \001(\001H\003\210\001\001\022!\n\024primal_infeasibil"
437 "ity\030\005 \001(\001H\004\210\001\001\022\037\n\022dual_infeasibility\030\006 \001"
438 "(\001H\005\210\001\001B\022\n\020_iteration_countB\023\n\021_primal_o"
439 "bjectiveB\021\n\017_dual_objectiveB\022\n\020_compleme"
440 "ntarityB\027\n\025_primal_infeasibilityB\025\n\023_dua"
441 "l_infeasibility\032\360\002\n\010MipStats\022\031\n\014primal_b"
442 "ound\030\001 \001(\001H\000\210\001\001\022\027\n\ndual_bound\030\002 \001(\001H\001\210\001\001"
443 "\022\033\n\016explored_nodes\030\003 \001(\003H\002\210\001\001\022\027\n\nopen_no"
444 "des\030\004 \001(\003H\003\210\001\001\022\037\n\022simplex_iterations\030\005 \001"
445 "(\003H\004\210\001\001\022&\n\031number_of_solutions_found\030\006 \001"
446 "(\005H\005\210\001\001\022!\n\024cutting_planes_in_lp\030\007 \001(\005H\006\210"
447 "\001\001B\017\n\r_primal_boundB\r\n\013_dual_boundB\021\n\017_e"
448 "xplored_nodesB\r\n\013_open_nodesB\025\n\023_simplex"
449 "_iterationsB\034\n\032_number_of_solutions_foun"
450 "dB\027\n\025_cutting_planes_in_lp\"\202\003\n\023CallbackR"
451 "esultProto\022\021\n\tterminate\030\001 \001(\010\022Y\n\004cuts\030\004 "
452 "\003(\0132K.operations_research.math_opt.Callb"
453 "ackResultProto.GeneratedLinearConstraint"
454 "\022R\n\023suggested_solutions\030\005 \003(\01325.operatio"
455 "ns_research.math_opt.SparseDoubleVectorP"
456 "roto\032\250\001\n\031GeneratedLinearConstraint\022P\n\021li"
457 "near_expression\030\001 \001(\01325.operations_resea"
458 "rch.math_opt.SparseDoubleVectorProto\022\023\n\013"
459 "lower_bound\030\002 \001(\001\022\023\n\013upper_bound\030\003 \001(\001\022\017"
460 "\n\007is_lazy\030\004 \001(\010\"\277\002\n\031CallbackRegistration"
461 "Proto\022N\n\024request_registration\030\001 \003(\01620.op"
462 "erations_research.math_opt.CallbackEvent"
463 "Proto\022R\n\023mip_solution_filter\030\002 \001(\01325.ope"
464 "rations_research.math_opt.SparseVectorFi"
465 "lterProto\022N\n\017mip_node_filter\030\003 \001(\01325.ope"
466 "rations_research.math_opt.SparseVectorFi"
467 "lterProto\022\020\n\010add_cuts\030\004 \001(\010\022\034\n\024add_lazy_"
468 "constraints\030\005 \001(\010*\337\001\n\022CallbackEventProto"
469 "\022\036\n\032CALLBACK_EVENT_UNSPECIFIED\020\000\022\033\n\027CALL"
470 "BACK_EVENT_PRESOLVE\020\001\022\032\n\026CALLBACK_EVENT_"
471 "SIMPLEX\020\002\022\026\n\022CALLBACK_EVENT_MIP\020\003\022\037\n\033CAL"
472 "LBACK_EVENT_MIP_SOLUTION\020\004\022\033\n\027CALLBACK_E"
473 "VENT_MIP_NODE\020\005\022\032\n\026CALLBACK_EVENT_BARRIE"
474 "R\020\006B\036\n\032com.google.ortools.mathoptP\001b\006pro"
475 "to3"
476};
477static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
499namespace operations_research {
500namespace math_opt {
501const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL CallbackEventProto_descriptor() {
502 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto);
504}
505PROTOBUF_CONSTINIT const uint32_t CallbackEventProto_internal_data_[] = {
506 458752u, 0u, };
507// ===================================================================
508
509class CallbackDataProto_PresolveStats::_Internal {
510 public:
511 using HasBits =
512 decltype(::std::declval<CallbackDataProto_PresolveStats>()._impl_._has_bits_);
513 static constexpr ::int32_t kHasBitsOffset =
514 8 * PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_._has_bits_);
515};
516
517CallbackDataProto_PresolveStats::CallbackDataProto_PresolveStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
518#if defined(PROTOBUF_CUSTOM_VTABLE)
519 : ::google::protobuf::Message(arena, CallbackDataProto_PresolveStats_class_data_.base()) {
520#else // PROTOBUF_CUSTOM_VTABLE
521 : ::google::protobuf::Message(arena) {
522#endif // PROTOBUF_CUSTOM_VTABLE
523 SharedCtor(arena);
524 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackDataProto.PresolveStats)
525}
527 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_PresolveStats& from)
528#if defined(PROTOBUF_CUSTOM_VTABLE)
529 : ::google::protobuf::Message(arena, CallbackDataProto_PresolveStats_class_data_.base()),
530#else // PROTOBUF_CUSTOM_VTABLE
531 : ::google::protobuf::Message(arena),
532#endif // PROTOBUF_CUSTOM_VTABLE
533 _impl_(from._impl_) {
534 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
535 from._internal_metadata_);
536}
537PROTOBUF_NDEBUG_INLINE CallbackDataProto_PresolveStats::Impl_::Impl_(
538 ::google::protobuf::internal::InternalVisibility visibility,
539 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
540 : _cached_size_{0} {}
541
542inline void CallbackDataProto_PresolveStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
543 new (&_impl_) Impl_(internal_visibility(), arena);
544 ::memset(reinterpret_cast<char *>(&_impl_) +
545 offsetof(Impl_, removed_variables_),
546 0,
547 offsetof(Impl_, coefficient_changes_) -
548 offsetof(Impl_, removed_variables_) +
549 sizeof(Impl_::coefficient_changes_));
550}
552 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackDataProto.PresolveStats)
553 SharedDtor(*this);
554}
555inline void CallbackDataProto_PresolveStats::SharedDtor(MessageLite& self) {
557 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
558 ABSL_DCHECK(this_.GetArena() == nullptr);
559 this_._impl_.~Impl_();
560}
561
562inline void* PROTOBUF_NONNULL CallbackDataProto_PresolveStats::PlacementNew_(
563 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
564 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
565 return ::new (mem) CallbackDataProto_PresolveStats(arena);
566}
568 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CallbackDataProto_PresolveStats),
570}
572 return ::google::protobuf::internal::ClassDataFull{
573 ::google::protobuf::internal::ClassData{
575 &_table_.header,
576 nullptr, // OnDemandRegisterArenaDtor
577 nullptr, // IsInitialized
578 &CallbackDataProto_PresolveStats::MergeImpl,
579 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_PresolveStats>(),
580#if defined(PROTOBUF_CUSTOM_VTABLE)
581 &CallbackDataProto_PresolveStats::SharedDtor,
582 ::google::protobuf::Message::GetClearImpl<CallbackDataProto_PresolveStats>(), &CallbackDataProto_PresolveStats::ByteSizeLong,
584#endif // PROTOBUF_CUSTOM_VTABLE
585 PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_._cached_size_),
586 false,
587 },
588 &CallbackDataProto_PresolveStats::kDescriptorMethods,
590 nullptr, // tracker
591 };
592}
593
594PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
595 ::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_ =
597
598PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
600 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackDataProto_PresolveStats_class_data_);
601 ::google::protobuf::internal::PrefetchToLocalCache(CallbackDataProto_PresolveStats_class_data_.tc_table);
603}
604PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
605const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
606CallbackDataProto_PresolveStats::_table_ = {
607 {
608 PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_._has_bits_),
609 0, // no _extensions_
610 4, 24, // max_field_number, fast_idx_mask
611 offsetof(decltype(_table_), field_lookup_table),
612 4294967280, // skipmap
613 offsetof(decltype(_table_), field_entries),
614 4, // num_field_entries
615 0, // num_aux_entries
616 offsetof(decltype(_table_), field_names), // no aux_entries
618 nullptr, // post_loop_handler
619 ::_pbi::TcParser::GenericFallback, // fallback
620 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
621 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_PresolveStats>(), // to_prefetch
622 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
623 }, {{
624 // optional int64 coefficient_changes = 4;
625 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_PresolveStats, _impl_.coefficient_changes_), 3>(),
626 {32, 3, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.coefficient_changes_)}},
627 // optional int64 removed_variables = 1;
628 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_PresolveStats, _impl_.removed_variables_), 0>(),
629 {8, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.removed_variables_)}},
630 // optional int64 removed_constraints = 2;
631 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_PresolveStats, _impl_.removed_constraints_), 1>(),
632 {16, 1, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.removed_constraints_)}},
633 // optional int64 bound_changes = 3;
634 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_PresolveStats, _impl_.bound_changes_), 2>(),
635 {24, 2, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.bound_changes_)}},
636 }}, {{
637 65535, 65535
638 }}, {{
639 // optional int64 removed_variables = 1;
640 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.removed_variables_), _Internal::kHasBitsOffset + 0, 0,
641 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
642 // optional int64 removed_constraints = 2;
643 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.removed_constraints_), _Internal::kHasBitsOffset + 1, 0,
644 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
645 // optional int64 bound_changes = 3;
646 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.bound_changes_), _Internal::kHasBitsOffset + 2, 0,
647 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
648 // optional int64 coefficient_changes = 4;
649 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.coefficient_changes_), _Internal::kHasBitsOffset + 3, 0,
650 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
651 }},
652 // no aux_entries
653 {{
654 }},
655};
656PROTOBUF_NOINLINE void CallbackDataProto_PresolveStats::Clear() {
657// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackDataProto.PresolveStats)
658 ::google::protobuf::internal::TSanWrite(&_impl_);
659 ::uint32_t cached_has_bits = 0;
660 // Prevent compiler warnings about cached_has_bits being unused
661 (void) cached_has_bits;
662
663 cached_has_bits = _impl_._has_bits_[0];
664 if ((cached_has_bits & 0x0000000fu) != 0) {
665 ::memset(&_impl_.removed_variables_, 0, static_cast<::size_t>(
666 reinterpret_cast<char*>(&_impl_.coefficient_changes_) -
667 reinterpret_cast<char*>(&_impl_.removed_variables_)) + sizeof(_impl_.coefficient_changes_));
668 }
669 _impl_._has_bits_.Clear();
670 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
671}
672
673#if defined(PROTOBUF_CUSTOM_VTABLE)
675 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
676 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
677 const CallbackDataProto_PresolveStats& this_ = static_cast<const CallbackDataProto_PresolveStats&>(base);
678#else // PROTOBUF_CUSTOM_VTABLE
680 ::uint8_t* PROTOBUF_NONNULL target,
681 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
682 const CallbackDataProto_PresolveStats& this_ = *this;
683#endif // PROTOBUF_CUSTOM_VTABLE
684 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackDataProto.PresolveStats)
685 ::uint32_t cached_has_bits = 0;
686 (void)cached_has_bits;
687
688 cached_has_bits = this_._impl_._has_bits_[0];
689 // optional int64 removed_variables = 1;
690 if ((cached_has_bits & 0x00000001u) != 0) {
691 target =
692 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
693 stream, this_._internal_removed_variables(), target);
694 }
695
696 // optional int64 removed_constraints = 2;
697 if ((cached_has_bits & 0x00000002u) != 0) {
698 target =
699 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
700 stream, this_._internal_removed_constraints(), target);
701 }
702
703 // optional int64 bound_changes = 3;
704 if ((cached_has_bits & 0x00000004u) != 0) {
705 target =
706 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
707 stream, this_._internal_bound_changes(), target);
708 }
709
710 // optional int64 coefficient_changes = 4;
711 if ((cached_has_bits & 0x00000008u) != 0) {
712 target =
713 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
714 stream, this_._internal_coefficient_changes(), target);
715 }
716
717 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
718 target =
719 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
720 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
721 }
722 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackDataProto.PresolveStats)
723 return target;
724}
725
726#if defined(PROTOBUF_CUSTOM_VTABLE)
728 const CallbackDataProto_PresolveStats& this_ = static_cast<const CallbackDataProto_PresolveStats&>(base);
729#else // PROTOBUF_CUSTOM_VTABLE
732#endif // PROTOBUF_CUSTOM_VTABLE
733 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackDataProto.PresolveStats)
734 ::size_t total_size = 0;
735
736 ::uint32_t cached_has_bits = 0;
737 // Prevent compiler warnings about cached_has_bits being unused
738 (void)cached_has_bits;
739
740 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
741 cached_has_bits = this_._impl_._has_bits_[0];
742 if ((cached_has_bits & 0x0000000fu) != 0) {
743 // optional int64 removed_variables = 1;
744 if ((cached_has_bits & 0x00000001u) != 0) {
745 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
746 this_._internal_removed_variables());
747 }
748 // optional int64 removed_constraints = 2;
749 if ((cached_has_bits & 0x00000002u) != 0) {
750 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
751 this_._internal_removed_constraints());
752 }
753 // optional int64 bound_changes = 3;
754 if ((cached_has_bits & 0x00000004u) != 0) {
755 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
756 this_._internal_bound_changes());
757 }
758 // optional int64 coefficient_changes = 4;
759 if ((cached_has_bits & 0x00000008u) != 0) {
760 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
761 this_._internal_coefficient_changes());
762 }
763 }
764 return this_.MaybeComputeUnknownFieldsSize(total_size,
765 &this_._impl_._cached_size_);
766}
767
768void CallbackDataProto_PresolveStats::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
769 auto* const _this = static_cast<CallbackDataProto_PresolveStats*>(&to_msg);
770 auto& from = static_cast<const CallbackDataProto_PresolveStats&>(from_msg);
771 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackDataProto.PresolveStats)
772 ABSL_DCHECK_NE(&from, _this);
773 ::uint32_t cached_has_bits = 0;
774 (void) cached_has_bits;
775
776 cached_has_bits = from._impl_._has_bits_[0];
777 if ((cached_has_bits & 0x0000000fu) != 0) {
778 if ((cached_has_bits & 0x00000001u) != 0) {
779 _this->_impl_.removed_variables_ = from._impl_.removed_variables_;
780 }
781 if ((cached_has_bits & 0x00000002u) != 0) {
782 _this->_impl_.removed_constraints_ = from._impl_.removed_constraints_;
783 }
784 if ((cached_has_bits & 0x00000004u) != 0) {
785 _this->_impl_.bound_changes_ = from._impl_.bound_changes_;
786 }
787 if ((cached_has_bits & 0x00000008u) != 0) {
788 _this->_impl_.coefficient_changes_ = from._impl_.coefficient_changes_;
789 }
790 }
791 _this->_impl_._has_bits_[0] |= cached_has_bits;
792 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
793}
794
796// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackDataProto.PresolveStats)
797 if (&from == this) return;
798 Clear();
799 MergeFrom(from);
800}
801
802
803void CallbackDataProto_PresolveStats::InternalSwap(CallbackDataProto_PresolveStats* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
804 using ::std::swap;
805 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
806 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
807 ::google::protobuf::internal::memswap<
808 PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.coefficient_changes_)
809 + sizeof(CallbackDataProto_PresolveStats::_impl_.coefficient_changes_)
810 - PROTOBUF_FIELD_OFFSET(CallbackDataProto_PresolveStats, _impl_.removed_variables_)>(
811 reinterpret_cast<char*>(&_impl_.removed_variables_),
812 reinterpret_cast<char*>(&other->_impl_.removed_variables_));
813}
814
815::google::protobuf::Metadata CallbackDataProto_PresolveStats::GetMetadata() const {
816 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
817}
818// ===================================================================
819
821 public:
822 using HasBits =
823 decltype(::std::declval<CallbackDataProto_SimplexStats>()._impl_._has_bits_);
824 static constexpr ::int32_t kHasBitsOffset =
825 8 * PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_._has_bits_);
827
828CallbackDataProto_SimplexStats::CallbackDataProto_SimplexStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
829#if defined(PROTOBUF_CUSTOM_VTABLE)
830 : ::google::protobuf::Message(arena, CallbackDataProto_SimplexStats_class_data_.base()) {
831#else // PROTOBUF_CUSTOM_VTABLE
832 : ::google::protobuf::Message(arena) {
833#endif // PROTOBUF_CUSTOM_VTABLE
834 SharedCtor(arena);
835 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackDataProto.SimplexStats)
836}
838 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_SimplexStats& from)
839#if defined(PROTOBUF_CUSTOM_VTABLE)
840 : ::google::protobuf::Message(arena, CallbackDataProto_SimplexStats_class_data_.base()),
841#else // PROTOBUF_CUSTOM_VTABLE
842 : ::google::protobuf::Message(arena),
843#endif // PROTOBUF_CUSTOM_VTABLE
844 _impl_(from._impl_) {
845 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
846 from._internal_metadata_);
847}
848PROTOBUF_NDEBUG_INLINE CallbackDataProto_SimplexStats::Impl_::Impl_(
849 ::google::protobuf::internal::InternalVisibility visibility,
850 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
851 : _cached_size_{0} {}
852
853inline void CallbackDataProto_SimplexStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
854 new (&_impl_) Impl_(internal_visibility(), arena);
855 ::memset(reinterpret_cast<char *>(&_impl_) +
856 offsetof(Impl_, iteration_count_),
857 0,
858 offsetof(Impl_, is_pertubated_) -
859 offsetof(Impl_, iteration_count_) +
860 sizeof(Impl_::is_pertubated_));
861}
863 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackDataProto.SimplexStats)
864 SharedDtor(*this);
865}
866inline void CallbackDataProto_SimplexStats::SharedDtor(MessageLite& self) {
868 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
869 ABSL_DCHECK(this_.GetArena() == nullptr);
870 this_._impl_.~Impl_();
871}
872
873inline void* PROTOBUF_NONNULL CallbackDataProto_SimplexStats::PlacementNew_(
874 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
875 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
876 return ::new (mem) CallbackDataProto_SimplexStats(arena);
877}
879 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CallbackDataProto_SimplexStats),
881}
883 return ::google::protobuf::internal::ClassDataFull{
884 ::google::protobuf::internal::ClassData{
886 &_table_.header,
887 nullptr, // OnDemandRegisterArenaDtor
888 nullptr, // IsInitialized
889 &CallbackDataProto_SimplexStats::MergeImpl,
890 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_SimplexStats>(),
891#if defined(PROTOBUF_CUSTOM_VTABLE)
892 &CallbackDataProto_SimplexStats::SharedDtor,
893 ::google::protobuf::Message::GetClearImpl<CallbackDataProto_SimplexStats>(), &CallbackDataProto_SimplexStats::ByteSizeLong,
895#endif // PROTOBUF_CUSTOM_VTABLE
896 PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_._cached_size_),
897 false,
898 },
899 &CallbackDataProto_SimplexStats::kDescriptorMethods,
901 nullptr, // tracker
902 };
903}
904
905PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
906 ::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_ =
909PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
911 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackDataProto_SimplexStats_class_data_);
912 ::google::protobuf::internal::PrefetchToLocalCache(CallbackDataProto_SimplexStats_class_data_.tc_table);
914}
915PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
916const ::_pbi::TcParseTable<3, 5, 0, 0, 2>
917CallbackDataProto_SimplexStats::_table_ = {
918 {
919 PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_._has_bits_),
920 0, // no _extensions_
921 5, 56, // max_field_number, fast_idx_mask
922 offsetof(decltype(_table_), field_lookup_table),
923 4294967264, // skipmap
924 offsetof(decltype(_table_), field_entries),
925 5, // num_field_entries
926 0, // num_aux_entries
927 offsetof(decltype(_table_), field_names), // no aux_entries
929 nullptr, // post_loop_handler
930 ::_pbi::TcParser::GenericFallback, // fallback
931 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
932 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_SimplexStats>(), // to_prefetch
933 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
934 }, {{
935 {::_pbi::TcParser::MiniParse, {}},
936 // optional int64 iteration_count = 1;
937 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_SimplexStats, _impl_.iteration_count_), 0>(),
938 {8, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.iteration_count_)}},
939 // optional double objective_value = 2;
940 {::_pbi::TcParser::FastF64S1,
941 {17, 1, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.objective_value_)}},
942 // optional double primal_infeasibility = 3;
943 {::_pbi::TcParser::FastF64S1,
944 {25, 2, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.primal_infeasibility_)}},
945 // optional double dual_infeasibility = 4;
946 {::_pbi::TcParser::FastF64S1,
947 {33, 3, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.dual_infeasibility_)}},
948 // optional bool is_pertubated = 5;
949 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackDataProto_SimplexStats, _impl_.is_pertubated_), 4>(),
950 {40, 4, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.is_pertubated_)}},
951 {::_pbi::TcParser::MiniParse, {}},
952 {::_pbi::TcParser::MiniParse, {}},
953 }}, {{
954 65535, 65535
955 }}, {{
956 // optional int64 iteration_count = 1;
957 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.iteration_count_), _Internal::kHasBitsOffset + 0, 0,
958 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
959 // optional double objective_value = 2;
960 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.objective_value_), _Internal::kHasBitsOffset + 1, 0,
961 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
962 // optional double primal_infeasibility = 3;
963 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.primal_infeasibility_), _Internal::kHasBitsOffset + 2, 0,
964 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
965 // optional double dual_infeasibility = 4;
966 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.dual_infeasibility_), _Internal::kHasBitsOffset + 3, 0,
967 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
968 // optional bool is_pertubated = 5;
969 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.is_pertubated_), _Internal::kHasBitsOffset + 4, 0,
970 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
971 }},
972 // no aux_entries
973 {{
974 }},
975};
976PROTOBUF_NOINLINE void CallbackDataProto_SimplexStats::Clear() {
977// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackDataProto.SimplexStats)
978 ::google::protobuf::internal::TSanWrite(&_impl_);
979 ::uint32_t cached_has_bits = 0;
980 // Prevent compiler warnings about cached_has_bits being unused
981 (void) cached_has_bits;
982
983 cached_has_bits = _impl_._has_bits_[0];
984 if ((cached_has_bits & 0x0000001fu) != 0) {
985 ::memset(&_impl_.iteration_count_, 0, static_cast<::size_t>(
986 reinterpret_cast<char*>(&_impl_.is_pertubated_) -
987 reinterpret_cast<char*>(&_impl_.iteration_count_)) + sizeof(_impl_.is_pertubated_));
988 }
989 _impl_._has_bits_.Clear();
990 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
991}
992
993#if defined(PROTOBUF_CUSTOM_VTABLE)
995 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
996 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
997 const CallbackDataProto_SimplexStats& this_ = static_cast<const CallbackDataProto_SimplexStats&>(base);
998#else // PROTOBUF_CUSTOM_VTABLE
1000 ::uint8_t* PROTOBUF_NONNULL target,
1001 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1002 const CallbackDataProto_SimplexStats& this_ = *this;
1003#endif // PROTOBUF_CUSTOM_VTABLE
1004 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackDataProto.SimplexStats)
1005 ::uint32_t cached_has_bits = 0;
1006 (void)cached_has_bits;
1007
1008 cached_has_bits = this_._impl_._has_bits_[0];
1009 // optional int64 iteration_count = 1;
1010 if ((cached_has_bits & 0x00000001u) != 0) {
1011 target =
1012 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
1013 stream, this_._internal_iteration_count(), target);
1014 }
1015
1016 // optional double objective_value = 2;
1017 if ((cached_has_bits & 0x00000002u) != 0) {
1018 target = stream->EnsureSpace(target);
1019 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1020 2, this_._internal_objective_value(), target);
1021 }
1022
1023 // optional double primal_infeasibility = 3;
1024 if ((cached_has_bits & 0x00000004u) != 0) {
1025 target = stream->EnsureSpace(target);
1026 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1027 3, this_._internal_primal_infeasibility(), target);
1028 }
1029
1030 // optional double dual_infeasibility = 4;
1031 if ((cached_has_bits & 0x00000008u) != 0) {
1032 target = stream->EnsureSpace(target);
1033 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1034 4, this_._internal_dual_infeasibility(), target);
1035 }
1036
1037 // optional bool is_pertubated = 5;
1038 if ((cached_has_bits & 0x00000010u) != 0) {
1039 target = stream->EnsureSpace(target);
1040 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1041 5, this_._internal_is_pertubated(), target);
1042 }
1043
1044 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1045 target =
1046 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1047 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1048 }
1049 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackDataProto.SimplexStats)
1050 return target;
1051}
1052
1053#if defined(PROTOBUF_CUSTOM_VTABLE)
1055 const CallbackDataProto_SimplexStats& this_ = static_cast<const CallbackDataProto_SimplexStats&>(base);
1056#else // PROTOBUF_CUSTOM_VTABLE
1058 const CallbackDataProto_SimplexStats& this_ = *this;
1059#endif // PROTOBUF_CUSTOM_VTABLE
1060 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackDataProto.SimplexStats)
1061 ::size_t total_size = 0;
1062
1063 ::uint32_t cached_has_bits = 0;
1064 // Prevent compiler warnings about cached_has_bits being unused
1065 (void)cached_has_bits;
1066
1067 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1068 cached_has_bits = this_._impl_._has_bits_[0];
1069 total_size += ::absl::popcount(0x0000000eu & cached_has_bits) * 9;
1070 total_size += static_cast<bool>(0x00000010u & cached_has_bits) * 2;
1071 {
1072 // optional int64 iteration_count = 1;
1073 if ((cached_has_bits & 0x00000001u) != 0) {
1074 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1075 this_._internal_iteration_count());
1076 }
1077 }
1078 return this_.MaybeComputeUnknownFieldsSize(total_size,
1079 &this_._impl_._cached_size_);
1080}
1081
1082void CallbackDataProto_SimplexStats::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1083 auto* const _this = static_cast<CallbackDataProto_SimplexStats*>(&to_msg);
1084 auto& from = static_cast<const CallbackDataProto_SimplexStats&>(from_msg);
1085 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackDataProto.SimplexStats)
1086 ABSL_DCHECK_NE(&from, _this);
1087 ::uint32_t cached_has_bits = 0;
1088 (void) cached_has_bits;
1089
1090 cached_has_bits = from._impl_._has_bits_[0];
1091 if ((cached_has_bits & 0x0000001fu) != 0) {
1092 if ((cached_has_bits & 0x00000001u) != 0) {
1093 _this->_impl_.iteration_count_ = from._impl_.iteration_count_;
1094 }
1095 if ((cached_has_bits & 0x00000002u) != 0) {
1096 _this->_impl_.objective_value_ = from._impl_.objective_value_;
1097 }
1098 if ((cached_has_bits & 0x00000004u) != 0) {
1099 _this->_impl_.primal_infeasibility_ = from._impl_.primal_infeasibility_;
1100 }
1101 if ((cached_has_bits & 0x00000008u) != 0) {
1102 _this->_impl_.dual_infeasibility_ = from._impl_.dual_infeasibility_;
1103 }
1104 if ((cached_has_bits & 0x00000010u) != 0) {
1105 _this->_impl_.is_pertubated_ = from._impl_.is_pertubated_;
1106 }
1107 }
1108 _this->_impl_._has_bits_[0] |= cached_has_bits;
1109 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1110}
1111
1113// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackDataProto.SimplexStats)
1114 if (&from == this) return;
1115 Clear();
1116 MergeFrom(from);
1117}
1118
1119
1120void CallbackDataProto_SimplexStats::InternalSwap(CallbackDataProto_SimplexStats* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1121 using ::std::swap;
1122 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1123 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1124 ::google::protobuf::internal::memswap<
1125 PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.is_pertubated_)
1126 + sizeof(CallbackDataProto_SimplexStats::_impl_.is_pertubated_)
1127 - PROTOBUF_FIELD_OFFSET(CallbackDataProto_SimplexStats, _impl_.iteration_count_)>(
1128 reinterpret_cast<char*>(&_impl_.iteration_count_),
1129 reinterpret_cast<char*>(&other->_impl_.iteration_count_));
1130}
1131
1132::google::protobuf::Metadata CallbackDataProto_SimplexStats::GetMetadata() const {
1133 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1135// ===================================================================
1136
1138 public:
1139 using HasBits =
1140 decltype(::std::declval<CallbackDataProto_BarrierStats>()._impl_._has_bits_);
1141 static constexpr ::int32_t kHasBitsOffset =
1142 8 * PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_._has_bits_);
1143};
1145CallbackDataProto_BarrierStats::CallbackDataProto_BarrierStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1146#if defined(PROTOBUF_CUSTOM_VTABLE)
1147 : ::google::protobuf::Message(arena, CallbackDataProto_BarrierStats_class_data_.base()) {
1148#else // PROTOBUF_CUSTOM_VTABLE
1149 : ::google::protobuf::Message(arena) {
1150#endif // PROTOBUF_CUSTOM_VTABLE
1151 SharedCtor(arena);
1152 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackDataProto.BarrierStats)
1153}
1155 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_BarrierStats& from)
1156#if defined(PROTOBUF_CUSTOM_VTABLE)
1157 : ::google::protobuf::Message(arena, CallbackDataProto_BarrierStats_class_data_.base()),
1158#else // PROTOBUF_CUSTOM_VTABLE
1159 : ::google::protobuf::Message(arena),
1160#endif // PROTOBUF_CUSTOM_VTABLE
1161 _impl_(from._impl_) {
1162 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1163 from._internal_metadata_);
1164}
1165PROTOBUF_NDEBUG_INLINE CallbackDataProto_BarrierStats::Impl_::Impl_(
1166 ::google::protobuf::internal::InternalVisibility visibility,
1167 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1168 : _cached_size_{0} {}
1169
1170inline void CallbackDataProto_BarrierStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1171 new (&_impl_) Impl_(internal_visibility(), arena);
1172 ::memset(reinterpret_cast<char *>(&_impl_) +
1173 offsetof(Impl_, primal_objective_),
1174 0,
1175 offsetof(Impl_, iteration_count_) -
1176 offsetof(Impl_, primal_objective_) +
1177 sizeof(Impl_::iteration_count_));
1178}
1180 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackDataProto.BarrierStats)
1181 SharedDtor(*this);
1183inline void CallbackDataProto_BarrierStats::SharedDtor(MessageLite& self) {
1185 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1186 ABSL_DCHECK(this_.GetArena() == nullptr);
1187 this_._impl_.~Impl_();
1188}
1189
1190inline void* PROTOBUF_NONNULL CallbackDataProto_BarrierStats::PlacementNew_(
1191 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1192 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1193 return ::new (mem) CallbackDataProto_BarrierStats(arena);
1194}
1196 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CallbackDataProto_BarrierStats),
1200 return ::google::protobuf::internal::ClassDataFull{
1201 ::google::protobuf::internal::ClassData{
1203 &_table_.header,
1204 nullptr, // OnDemandRegisterArenaDtor
1205 nullptr, // IsInitialized
1206 &CallbackDataProto_BarrierStats::MergeImpl,
1207 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_BarrierStats>(),
1208#if defined(PROTOBUF_CUSTOM_VTABLE)
1209 &CallbackDataProto_BarrierStats::SharedDtor,
1210 ::google::protobuf::Message::GetClearImpl<CallbackDataProto_BarrierStats>(), &CallbackDataProto_BarrierStats::ByteSizeLong,
1212#endif // PROTOBUF_CUSTOM_VTABLE
1213 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_._cached_size_),
1214 false,
1215 },
1216 &CallbackDataProto_BarrierStats::kDescriptorMethods,
1218 nullptr, // tracker
1219 };
1220}
1221
1222PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1223 ::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_ =
1225
1226PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1228 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackDataProto_BarrierStats_class_data_);
1229 ::google::protobuf::internal::PrefetchToLocalCache(CallbackDataProto_BarrierStats_class_data_.tc_table);
1231}
1232PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1233const ::_pbi::TcParseTable<3, 6, 0, 0, 2>
1234CallbackDataProto_BarrierStats::_table_ = {
1235 {
1236 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_._has_bits_),
1237 0, // no _extensions_
1238 6, 56, // max_field_number, fast_idx_mask
1239 offsetof(decltype(_table_), field_lookup_table),
1240 4294967232, // skipmap
1241 offsetof(decltype(_table_), field_entries),
1242 6, // num_field_entries
1243 0, // num_aux_entries
1244 offsetof(decltype(_table_), field_names), // no aux_entries
1246 nullptr, // post_loop_handler
1247 ::_pbi::TcParser::GenericFallback, // fallback
1248 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1249 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_BarrierStats>(), // to_prefetch
1250 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1251 }, {{
1252 {::_pbi::TcParser::MiniParse, {}},
1253 // optional int32 iteration_count = 1;
1254 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CallbackDataProto_BarrierStats, _impl_.iteration_count_), 5>(),
1255 {8, 5, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.iteration_count_)}},
1256 // optional double primal_objective = 2;
1257 {::_pbi::TcParser::FastF64S1,
1258 {17, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.primal_objective_)}},
1259 // optional double dual_objective = 3;
1260 {::_pbi::TcParser::FastF64S1,
1261 {25, 1, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.dual_objective_)}},
1262 // optional double complementarity = 4;
1263 {::_pbi::TcParser::FastF64S1,
1264 {33, 2, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.complementarity_)}},
1265 // optional double primal_infeasibility = 5;
1266 {::_pbi::TcParser::FastF64S1,
1267 {41, 3, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.primal_infeasibility_)}},
1268 // optional double dual_infeasibility = 6;
1269 {::_pbi::TcParser::FastF64S1,
1270 {49, 4, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.dual_infeasibility_)}},
1271 {::_pbi::TcParser::MiniParse, {}},
1272 }}, {{
1273 65535, 65535
1274 }}, {{
1275 // optional int32 iteration_count = 1;
1276 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.iteration_count_), _Internal::kHasBitsOffset + 5, 0,
1277 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1278 // optional double primal_objective = 2;
1279 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.primal_objective_), _Internal::kHasBitsOffset + 0, 0,
1280 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1281 // optional double dual_objective = 3;
1282 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.dual_objective_), _Internal::kHasBitsOffset + 1, 0,
1283 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1284 // optional double complementarity = 4;
1285 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.complementarity_), _Internal::kHasBitsOffset + 2, 0,
1286 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1287 // optional double primal_infeasibility = 5;
1288 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.primal_infeasibility_), _Internal::kHasBitsOffset + 3, 0,
1289 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1290 // optional double dual_infeasibility = 6;
1291 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.dual_infeasibility_), _Internal::kHasBitsOffset + 4, 0,
1292 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1293 }},
1294 // no aux_entries
1295 {{
1296 }},
1297};
1298PROTOBUF_NOINLINE void CallbackDataProto_BarrierStats::Clear() {
1299// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackDataProto.BarrierStats)
1300 ::google::protobuf::internal::TSanWrite(&_impl_);
1301 ::uint32_t cached_has_bits = 0;
1302 // Prevent compiler warnings about cached_has_bits being unused
1303 (void) cached_has_bits;
1304
1305 cached_has_bits = _impl_._has_bits_[0];
1306 if ((cached_has_bits & 0x0000003fu) != 0) {
1307 ::memset(&_impl_.primal_objective_, 0, static_cast<::size_t>(
1308 reinterpret_cast<char*>(&_impl_.iteration_count_) -
1309 reinterpret_cast<char*>(&_impl_.primal_objective_)) + sizeof(_impl_.iteration_count_));
1310 }
1311 _impl_._has_bits_.Clear();
1312 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1313}
1314
1315#if defined(PROTOBUF_CUSTOM_VTABLE)
1316::uint8_t* PROTOBUF_NONNULL CallbackDataProto_BarrierStats::_InternalSerialize(
1317 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1318 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1319 const CallbackDataProto_BarrierStats& this_ = static_cast<const CallbackDataProto_BarrierStats&>(base);
1320#else // PROTOBUF_CUSTOM_VTABLE
1321::uint8_t* PROTOBUF_NONNULL CallbackDataProto_BarrierStats::_InternalSerialize(
1322 ::uint8_t* PROTOBUF_NONNULL target,
1323 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1325#endif // PROTOBUF_CUSTOM_VTABLE
1326 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackDataProto.BarrierStats)
1327 ::uint32_t cached_has_bits = 0;
1328 (void)cached_has_bits;
1329
1330 cached_has_bits = this_._impl_._has_bits_[0];
1331 // optional int32 iteration_count = 1;
1332 if ((cached_has_bits & 0x00000020u) != 0) {
1333 target =
1334 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
1335 stream, this_._internal_iteration_count(), target);
1336 }
1337
1338 // optional double primal_objective = 2;
1339 if ((cached_has_bits & 0x00000001u) != 0) {
1340 target = stream->EnsureSpace(target);
1341 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1342 2, this_._internal_primal_objective(), target);
1343 }
1344
1345 // optional double dual_objective = 3;
1346 if ((cached_has_bits & 0x00000002u) != 0) {
1347 target = stream->EnsureSpace(target);
1348 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1349 3, this_._internal_dual_objective(), target);
1350 }
1351
1352 // optional double complementarity = 4;
1353 if ((cached_has_bits & 0x00000004u) != 0) {
1354 target = stream->EnsureSpace(target);
1355 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1356 4, this_._internal_complementarity(), target);
1357 }
1358
1359 // optional double primal_infeasibility = 5;
1360 if ((cached_has_bits & 0x00000008u) != 0) {
1361 target = stream->EnsureSpace(target);
1362 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1363 5, this_._internal_primal_infeasibility(), target);
1364 }
1365
1366 // optional double dual_infeasibility = 6;
1367 if ((cached_has_bits & 0x00000010u) != 0) {
1368 target = stream->EnsureSpace(target);
1369 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1370 6, this_._internal_dual_infeasibility(), target);
1371 }
1372
1373 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1374 target =
1375 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1376 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1377 }
1378 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackDataProto.BarrierStats)
1379 return target;
1380}
1381
1382#if defined(PROTOBUF_CUSTOM_VTABLE)
1384 const CallbackDataProto_BarrierStats& this_ = static_cast<const CallbackDataProto_BarrierStats&>(base);
1385#else // PROTOBUF_CUSTOM_VTABLE
1387 const CallbackDataProto_BarrierStats& this_ = *this;
1388#endif // PROTOBUF_CUSTOM_VTABLE
1389 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackDataProto.BarrierStats)
1390 ::size_t total_size = 0;
1391
1392 ::uint32_t cached_has_bits = 0;
1393 // Prevent compiler warnings about cached_has_bits being unused
1394 (void)cached_has_bits;
1395
1396 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1397 cached_has_bits = this_._impl_._has_bits_[0];
1398 total_size += ::absl::popcount(0x0000001fu & cached_has_bits) * 9;
1399 {
1400 // optional int32 iteration_count = 1;
1401 if ((cached_has_bits & 0x00000020u) != 0) {
1402 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1403 this_._internal_iteration_count());
1404 }
1405 }
1406 return this_.MaybeComputeUnknownFieldsSize(total_size,
1407 &this_._impl_._cached_size_);
1408}
1409
1410void CallbackDataProto_BarrierStats::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1411 auto* const _this = static_cast<CallbackDataProto_BarrierStats*>(&to_msg);
1412 auto& from = static_cast<const CallbackDataProto_BarrierStats&>(from_msg);
1413 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackDataProto.BarrierStats)
1414 ABSL_DCHECK_NE(&from, _this);
1415 ::uint32_t cached_has_bits = 0;
1416 (void) cached_has_bits;
1417
1418 cached_has_bits = from._impl_._has_bits_[0];
1419 if ((cached_has_bits & 0x0000003fu) != 0) {
1420 if ((cached_has_bits & 0x00000001u) != 0) {
1421 _this->_impl_.primal_objective_ = from._impl_.primal_objective_;
1422 }
1423 if ((cached_has_bits & 0x00000002u) != 0) {
1424 _this->_impl_.dual_objective_ = from._impl_.dual_objective_;
1425 }
1426 if ((cached_has_bits & 0x00000004u) != 0) {
1427 _this->_impl_.complementarity_ = from._impl_.complementarity_;
1428 }
1429 if ((cached_has_bits & 0x00000008u) != 0) {
1430 _this->_impl_.primal_infeasibility_ = from._impl_.primal_infeasibility_;
1431 }
1432 if ((cached_has_bits & 0x00000010u) != 0) {
1433 _this->_impl_.dual_infeasibility_ = from._impl_.dual_infeasibility_;
1434 }
1435 if ((cached_has_bits & 0x00000020u) != 0) {
1436 _this->_impl_.iteration_count_ = from._impl_.iteration_count_;
1437 }
1438 }
1439 _this->_impl_._has_bits_[0] |= cached_has_bits;
1440 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1441}
1442
1444// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackDataProto.BarrierStats)
1445 if (&from == this) return;
1447 MergeFrom(from);
1448}
1449
1450
1451void CallbackDataProto_BarrierStats::InternalSwap(CallbackDataProto_BarrierStats* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1452 using ::std::swap;
1453 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1454 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1455 ::google::protobuf::internal::memswap<
1456 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.iteration_count_)
1457 + sizeof(CallbackDataProto_BarrierStats::_impl_.iteration_count_)
1458 - PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats, _impl_.primal_objective_)>(
1459 reinterpret_cast<char*>(&_impl_.primal_objective_),
1460 reinterpret_cast<char*>(&other->_impl_.primal_objective_));
1461}
1462
1463::google::protobuf::Metadata CallbackDataProto_BarrierStats::GetMetadata() const {
1464 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1465}
1466// ===================================================================
1467
1469 public:
1470 using HasBits =
1471 decltype(::std::declval<CallbackDataProto_MipStats>()._impl_._has_bits_);
1472 static constexpr ::int32_t kHasBitsOffset =
1473 8 * PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_._has_bits_);
1475
1476CallbackDataProto_MipStats::CallbackDataProto_MipStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1477#if defined(PROTOBUF_CUSTOM_VTABLE)
1478 : ::google::protobuf::Message(arena, CallbackDataProto_MipStats_class_data_.base()) {
1479#else // PROTOBUF_CUSTOM_VTABLE
1480 : ::google::protobuf::Message(arena) {
1481#endif // PROTOBUF_CUSTOM_VTABLE
1482 SharedCtor(arena);
1483 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackDataProto.MipStats)
1484}
1486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_MipStats& from)
1487#if defined(PROTOBUF_CUSTOM_VTABLE)
1488 : ::google::protobuf::Message(arena, CallbackDataProto_MipStats_class_data_.base()),
1489#else // PROTOBUF_CUSTOM_VTABLE
1490 : ::google::protobuf::Message(arena),
1491#endif // PROTOBUF_CUSTOM_VTABLE
1492 _impl_(from._impl_) {
1493 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1494 from._internal_metadata_);
1495}
1496PROTOBUF_NDEBUG_INLINE CallbackDataProto_MipStats::Impl_::Impl_(
1497 ::google::protobuf::internal::InternalVisibility visibility,
1498 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1499 : _cached_size_{0} {}
1500
1501inline void CallbackDataProto_MipStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1502 new (&_impl_) Impl_(internal_visibility(), arena);
1503 ::memset(reinterpret_cast<char *>(&_impl_) +
1504 offsetof(Impl_, primal_bound_),
1505 0,
1506 offsetof(Impl_, cutting_planes_in_lp_) -
1507 offsetof(Impl_, primal_bound_) +
1508 sizeof(Impl_::cutting_planes_in_lp_));
1509}
1511 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackDataProto.MipStats)
1512 SharedDtor(*this);
1513}
1514inline void CallbackDataProto_MipStats::SharedDtor(MessageLite& self) {
1515 CallbackDataProto_MipStats& this_ = static_cast<CallbackDataProto_MipStats&>(self);
1516 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1517 ABSL_DCHECK(this_.GetArena() == nullptr);
1518 this_._impl_.~Impl_();
1519}
1520
1521inline void* PROTOBUF_NONNULL CallbackDataProto_MipStats::PlacementNew_(
1522 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1523 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1524 return ::new (mem) CallbackDataProto_MipStats(arena);
1527 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CallbackDataProto_MipStats),
1529}
1531 return ::google::protobuf::internal::ClassDataFull{
1532 ::google::protobuf::internal::ClassData{
1534 &_table_.header,
1535 nullptr, // OnDemandRegisterArenaDtor
1536 nullptr, // IsInitialized
1537 &CallbackDataProto_MipStats::MergeImpl,
1538 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_MipStats>(),
1539#if defined(PROTOBUF_CUSTOM_VTABLE)
1540 &CallbackDataProto_MipStats::SharedDtor,
1541 ::google::protobuf::Message::GetClearImpl<CallbackDataProto_MipStats>(), &CallbackDataProto_MipStats::ByteSizeLong,
1543#endif // PROTOBUF_CUSTOM_VTABLE
1544 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_._cached_size_),
1545 false,
1546 },
1547 &CallbackDataProto_MipStats::kDescriptorMethods,
1549 nullptr, // tracker
1550 };
1551}
1552
1553PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1554 ::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_ =
1556
1557PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1559 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackDataProto_MipStats_class_data_);
1560 ::google::protobuf::internal::PrefetchToLocalCache(CallbackDataProto_MipStats_class_data_.tc_table);
1563PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1564const ::_pbi::TcParseTable<3, 7, 0, 0, 2>
1565CallbackDataProto_MipStats::_table_ = {
1566 {
1567 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_._has_bits_),
1568 0, // no _extensions_
1569 7, 56, // max_field_number, fast_idx_mask
1570 offsetof(decltype(_table_), field_lookup_table),
1571 4294967168, // skipmap
1572 offsetof(decltype(_table_), field_entries),
1573 7, // num_field_entries
1574 0, // num_aux_entries
1575 offsetof(decltype(_table_), field_names), // no aux_entries
1577 nullptr, // post_loop_handler
1578 ::_pbi::TcParser::GenericFallback, // fallback
1579 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1580 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_MipStats>(), // to_prefetch
1581 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1582 }, {{
1583 {::_pbi::TcParser::MiniParse, {}},
1584 // optional double primal_bound = 1;
1585 {::_pbi::TcParser::FastF64S1,
1586 {9, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.primal_bound_)}},
1587 // optional double dual_bound = 2;
1588 {::_pbi::TcParser::FastF64S1,
1589 {17, 1, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.dual_bound_)}},
1590 // optional int64 explored_nodes = 3;
1591 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_MipStats, _impl_.explored_nodes_), 2>(),
1592 {24, 2, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.explored_nodes_)}},
1593 // optional int64 open_nodes = 4;
1594 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_MipStats, _impl_.open_nodes_), 3>(),
1595 {32, 3, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.open_nodes_)}},
1596 // optional int64 simplex_iterations = 5;
1597 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_MipStats, _impl_.simplex_iterations_), 4>(),
1598 {40, 4, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.simplex_iterations_)}},
1599 // optional int32 number_of_solutions_found = 6;
1600 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CallbackDataProto_MipStats, _impl_.number_of_solutions_found_), 5>(),
1601 {48, 5, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.number_of_solutions_found_)}},
1602 // optional int32 cutting_planes_in_lp = 7;
1603 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CallbackDataProto_MipStats, _impl_.cutting_planes_in_lp_), 6>(),
1604 {56, 6, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.cutting_planes_in_lp_)}},
1605 }}, {{
1606 65535, 65535
1607 }}, {{
1608 // optional double primal_bound = 1;
1609 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.primal_bound_), _Internal::kHasBitsOffset + 0, 0,
1610 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1611 // optional double dual_bound = 2;
1612 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.dual_bound_), _Internal::kHasBitsOffset + 1, 0,
1613 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1614 // optional int64 explored_nodes = 3;
1615 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.explored_nodes_), _Internal::kHasBitsOffset + 2, 0,
1616 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1617 // optional int64 open_nodes = 4;
1618 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.open_nodes_), _Internal::kHasBitsOffset + 3, 0,
1619 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1620 // optional int64 simplex_iterations = 5;
1621 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.simplex_iterations_), _Internal::kHasBitsOffset + 4, 0,
1622 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1623 // optional int32 number_of_solutions_found = 6;
1624 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.number_of_solutions_found_), _Internal::kHasBitsOffset + 5, 0,
1625 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1626 // optional int32 cutting_planes_in_lp = 7;
1627 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.cutting_planes_in_lp_), _Internal::kHasBitsOffset + 6, 0,
1628 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1629 }},
1630 // no aux_entries
1631 {{
1632 }},
1633};
1634PROTOBUF_NOINLINE void CallbackDataProto_MipStats::Clear() {
1635// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackDataProto.MipStats)
1636 ::google::protobuf::internal::TSanWrite(&_impl_);
1637 ::uint32_t cached_has_bits = 0;
1638 // Prevent compiler warnings about cached_has_bits being unused
1639 (void) cached_has_bits;
1640
1641 cached_has_bits = _impl_._has_bits_[0];
1642 if ((cached_has_bits & 0x0000007fu) != 0) {
1643 ::memset(&_impl_.primal_bound_, 0, static_cast<::size_t>(
1644 reinterpret_cast<char*>(&_impl_.cutting_planes_in_lp_) -
1645 reinterpret_cast<char*>(&_impl_.primal_bound_)) + sizeof(_impl_.cutting_planes_in_lp_));
1646 }
1647 _impl_._has_bits_.Clear();
1648 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1649}
1650
1651#if defined(PROTOBUF_CUSTOM_VTABLE)
1652::uint8_t* PROTOBUF_NONNULL CallbackDataProto_MipStats::_InternalSerialize(
1653 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1654 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1655 const CallbackDataProto_MipStats& this_ = static_cast<const CallbackDataProto_MipStats&>(base);
1656#else // PROTOBUF_CUSTOM_VTABLE
1657::uint8_t* PROTOBUF_NONNULL CallbackDataProto_MipStats::_InternalSerialize(
1658 ::uint8_t* PROTOBUF_NONNULL target,
1659 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1660 const CallbackDataProto_MipStats& this_ = *this;
1661#endif // PROTOBUF_CUSTOM_VTABLE
1662 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackDataProto.MipStats)
1663 ::uint32_t cached_has_bits = 0;
1664 (void)cached_has_bits;
1665
1666 cached_has_bits = this_._impl_._has_bits_[0];
1667 // optional double primal_bound = 1;
1668 if ((cached_has_bits & 0x00000001u) != 0) {
1669 target = stream->EnsureSpace(target);
1670 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1671 1, this_._internal_primal_bound(), target);
1672 }
1673
1674 // optional double dual_bound = 2;
1675 if ((cached_has_bits & 0x00000002u) != 0) {
1676 target = stream->EnsureSpace(target);
1677 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1678 2, this_._internal_dual_bound(), target);
1679 }
1680
1681 // optional int64 explored_nodes = 3;
1682 if ((cached_has_bits & 0x00000004u) != 0) {
1683 target =
1684 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
1685 stream, this_._internal_explored_nodes(), target);
1686 }
1687
1688 // optional int64 open_nodes = 4;
1689 if ((cached_has_bits & 0x00000008u) != 0) {
1690 target =
1691 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
1692 stream, this_._internal_open_nodes(), target);
1693 }
1694
1695 // optional int64 simplex_iterations = 5;
1696 if ((cached_has_bits & 0x00000010u) != 0) {
1697 target =
1698 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
1699 stream, this_._internal_simplex_iterations(), target);
1700 }
1701
1702 // optional int32 number_of_solutions_found = 6;
1703 if ((cached_has_bits & 0x00000020u) != 0) {
1704 target =
1705 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
1706 stream, this_._internal_number_of_solutions_found(), target);
1707 }
1708
1709 // optional int32 cutting_planes_in_lp = 7;
1710 if ((cached_has_bits & 0x00000040u) != 0) {
1711 target =
1712 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
1713 stream, this_._internal_cutting_planes_in_lp(), target);
1714 }
1715
1716 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1717 target =
1718 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1719 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1720 }
1721 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackDataProto.MipStats)
1722 return target;
1723}
1724
1725#if defined(PROTOBUF_CUSTOM_VTABLE)
1727 const CallbackDataProto_MipStats& this_ = static_cast<const CallbackDataProto_MipStats&>(base);
1728#else // PROTOBUF_CUSTOM_VTABLE
1730 const CallbackDataProto_MipStats& this_ = *this;
1731#endif // PROTOBUF_CUSTOM_VTABLE
1732 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackDataProto.MipStats)
1733 ::size_t total_size = 0;
1734
1735 ::uint32_t cached_has_bits = 0;
1736 // Prevent compiler warnings about cached_has_bits being unused
1737 (void)cached_has_bits;
1738
1739 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1740 cached_has_bits = this_._impl_._has_bits_[0];
1741 total_size += ::absl::popcount(0x00000003u & cached_has_bits) * 9;
1742 if ((cached_has_bits & 0x0000007cu) != 0) {
1743 // optional int64 explored_nodes = 3;
1744 if ((cached_has_bits & 0x00000004u) != 0) {
1745 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1746 this_._internal_explored_nodes());
1747 }
1748 // optional int64 open_nodes = 4;
1749 if ((cached_has_bits & 0x00000008u) != 0) {
1750 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1751 this_._internal_open_nodes());
1752 }
1753 // optional int64 simplex_iterations = 5;
1754 if ((cached_has_bits & 0x00000010u) != 0) {
1755 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1756 this_._internal_simplex_iterations());
1757 }
1758 // optional int32 number_of_solutions_found = 6;
1759 if ((cached_has_bits & 0x00000020u) != 0) {
1760 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1761 this_._internal_number_of_solutions_found());
1762 }
1763 // optional int32 cutting_planes_in_lp = 7;
1764 if ((cached_has_bits & 0x00000040u) != 0) {
1765 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1766 this_._internal_cutting_planes_in_lp());
1767 }
1768 }
1769 return this_.MaybeComputeUnknownFieldsSize(total_size,
1770 &this_._impl_._cached_size_);
1771}
1772
1773void CallbackDataProto_MipStats::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1774 auto* const _this = static_cast<CallbackDataProto_MipStats*>(&to_msg);
1775 auto& from = static_cast<const CallbackDataProto_MipStats&>(from_msg);
1776 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackDataProto.MipStats)
1777 ABSL_DCHECK_NE(&from, _this);
1778 ::uint32_t cached_has_bits = 0;
1779 (void) cached_has_bits;
1780
1781 cached_has_bits = from._impl_._has_bits_[0];
1782 if ((cached_has_bits & 0x0000007fu) != 0) {
1783 if ((cached_has_bits & 0x00000001u) != 0) {
1784 _this->_impl_.primal_bound_ = from._impl_.primal_bound_;
1785 }
1786 if ((cached_has_bits & 0x00000002u) != 0) {
1787 _this->_impl_.dual_bound_ = from._impl_.dual_bound_;
1788 }
1789 if ((cached_has_bits & 0x00000004u) != 0) {
1790 _this->_impl_.explored_nodes_ = from._impl_.explored_nodes_;
1791 }
1792 if ((cached_has_bits & 0x00000008u) != 0) {
1793 _this->_impl_.open_nodes_ = from._impl_.open_nodes_;
1794 }
1795 if ((cached_has_bits & 0x00000010u) != 0) {
1796 _this->_impl_.simplex_iterations_ = from._impl_.simplex_iterations_;
1797 }
1798 if ((cached_has_bits & 0x00000020u) != 0) {
1799 _this->_impl_.number_of_solutions_found_ = from._impl_.number_of_solutions_found_;
1800 }
1801 if ((cached_has_bits & 0x00000040u) != 0) {
1802 _this->_impl_.cutting_planes_in_lp_ = from._impl_.cutting_planes_in_lp_;
1803 }
1804 }
1805 _this->_impl_._has_bits_[0] |= cached_has_bits;
1806 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1807}
1808
1810// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackDataProto.MipStats)
1811 if (&from == this) return;
1812 Clear();
1814}
1815
1816
1817void CallbackDataProto_MipStats::InternalSwap(CallbackDataProto_MipStats* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1818 using ::std::swap;
1819 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1820 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1821 ::google::protobuf::internal::memswap<
1822 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.cutting_planes_in_lp_)
1823 + sizeof(CallbackDataProto_MipStats::_impl_.cutting_planes_in_lp_)
1824 - PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats, _impl_.primal_bound_)>(
1825 reinterpret_cast<char*>(&_impl_.primal_bound_),
1826 reinterpret_cast<char*>(&other->_impl_.primal_bound_));
1827}
1828
1829::google::protobuf::Metadata CallbackDataProto_MipStats::GetMetadata() const {
1830 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1831}
1832// ===================================================================
1835 public:
1836 using HasBits =
1837 decltype(::std::declval<CallbackDataProto>()._impl_._has_bits_);
1838 static constexpr ::int32_t kHasBitsOffset =
1839 8 * PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_._has_bits_);
1840};
1843 ::google::protobuf::internal::TSanWrite(&_impl_);
1844 if (_impl_.primal_solution_vector_ != nullptr) _impl_.primal_solution_vector_->Clear();
1845 _impl_._has_bits_[0] &= ~0x00000001u;
1846}
1848 ::google::protobuf::internal::TSanWrite(&_impl_);
1849 if (_impl_.runtime_ != nullptr) _impl_.runtime_->Clear();
1850 _impl_._has_bits_[0] &= ~0x00000002u;
1851}
1852CallbackDataProto::CallbackDataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1853#if defined(PROTOBUF_CUSTOM_VTABLE)
1854 : ::google::protobuf::Message(arena, CallbackDataProto_class_data_.base()) {
1855#else // PROTOBUF_CUSTOM_VTABLE
1856 : ::google::protobuf::Message(arena) {
1857#endif // PROTOBUF_CUSTOM_VTABLE
1858 SharedCtor(arena);
1859 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackDataProto)
1860}
1861PROTOBUF_NDEBUG_INLINE CallbackDataProto::Impl_::Impl_(
1862 ::google::protobuf::internal::InternalVisibility visibility,
1863 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1864 const ::operations_research::math_opt::CallbackDataProto& from_msg)
1865 : _has_bits_{from._has_bits_},
1866 _cached_size_{0} {}
1867
1869 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1870 const CallbackDataProto& from)
1871#if defined(PROTOBUF_CUSTOM_VTABLE)
1872 : ::google::protobuf::Message(arena, CallbackDataProto_class_data_.base()) {
1873#else // PROTOBUF_CUSTOM_VTABLE
1874 : ::google::protobuf::Message(arena) {
1875#endif // PROTOBUF_CUSTOM_VTABLE
1876 CallbackDataProto* const _this = this;
1877 (void)_this;
1878 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1879 from._internal_metadata_);
1880 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1881 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1882 _impl_.primal_solution_vector_ = ((cached_has_bits & 0x00000001u) != 0)
1883 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primal_solution_vector_)
1884 : nullptr;
1885 _impl_.runtime_ = ((cached_has_bits & 0x00000002u) != 0)
1886 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.runtime_)
1887 : nullptr;
1888 _impl_.presolve_stats_ = ((cached_has_bits & 0x00000004u) != 0)
1889 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.presolve_stats_)
1890 : nullptr;
1891 _impl_.simplex_stats_ = ((cached_has_bits & 0x00000008u) != 0)
1892 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.simplex_stats_)
1893 : nullptr;
1894 _impl_.barrier_stats_ = ((cached_has_bits & 0x00000010u) != 0)
1895 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.barrier_stats_)
1896 : nullptr;
1897 _impl_.mip_stats_ = ((cached_has_bits & 0x00000020u) != 0)
1898 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_stats_)
1899 : nullptr;
1900 _impl_.event_ = from._impl_.event_;
1901
1902 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.CallbackDataProto)
1903}
1904PROTOBUF_NDEBUG_INLINE CallbackDataProto::Impl_::Impl_(
1905 ::google::protobuf::internal::InternalVisibility visibility,
1906 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1907 : _cached_size_{0} {}
1908
1909inline void CallbackDataProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1910 new (&_impl_) Impl_(internal_visibility(), arena);
1911 ::memset(reinterpret_cast<char *>(&_impl_) +
1912 offsetof(Impl_, primal_solution_vector_),
1913 0,
1914 offsetof(Impl_, event_) -
1915 offsetof(Impl_, primal_solution_vector_) +
1916 sizeof(Impl_::event_));
1917}
1919 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackDataProto)
1920 SharedDtor(*this);
1921}
1922inline void CallbackDataProto::SharedDtor(MessageLite& self) {
1923 CallbackDataProto& this_ = static_cast<CallbackDataProto&>(self);
1924 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1925 ABSL_DCHECK(this_.GetArena() == nullptr);
1926 delete this_._impl_.primal_solution_vector_;
1927 delete this_._impl_.runtime_;
1928 delete this_._impl_.presolve_stats_;
1929 delete this_._impl_.simplex_stats_;
1930 delete this_._impl_.barrier_stats_;
1931 delete this_._impl_.mip_stats_;
1932 this_._impl_.~Impl_();
1933}
1934
1935inline void* PROTOBUF_NONNULL CallbackDataProto::PlacementNew_(
1936 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1937 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1938 return ::new (mem) CallbackDataProto(arena);
1939}
1941 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CallbackDataProto),
1942 alignof(CallbackDataProto));
1943}
1945 return ::google::protobuf::internal::ClassDataFull{
1946 ::google::protobuf::internal::ClassData{
1948 &_table_.header,
1949 nullptr, // OnDemandRegisterArenaDtor
1950 nullptr, // IsInitialized
1951 &CallbackDataProto::MergeImpl,
1952 ::google::protobuf::Message::GetNewImpl<CallbackDataProto>(),
1953#if defined(PROTOBUF_CUSTOM_VTABLE)
1954 &CallbackDataProto::SharedDtor,
1955 ::google::protobuf::Message::GetClearImpl<CallbackDataProto>(), &CallbackDataProto::ByteSizeLong,
1957#endif // PROTOBUF_CUSTOM_VTABLE
1958 PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_._cached_size_),
1959 false,
1960 },
1961 &CallbackDataProto::kDescriptorMethods,
1963 nullptr, // tracker
1964 };
1965}
1966
1967PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1968 ::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_ =
1970
1971PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1973 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackDataProto_class_data_);
1974 ::google::protobuf::internal::PrefetchToLocalCache(CallbackDataProto_class_data_.tc_table);
1975 return CallbackDataProto_class_data_.base();
1976}
1977PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1978const ::_pbi::TcParseTable<3, 7, 6, 0, 2>
1979CallbackDataProto::_table_ = {
1980 {
1981 PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_._has_bits_),
1982 0, // no _extensions_
1983 7, 56, // max_field_number, fast_idx_mask
1984 offsetof(decltype(_table_), field_lookup_table),
1985 4294967168, // skipmap
1986 offsetof(decltype(_table_), field_entries),
1987 7, // num_field_entries
1988 6, // num_aux_entries
1989 offsetof(decltype(_table_), aux_entries),
1991 nullptr, // post_loop_handler
1992 ::_pbi::TcParser::GenericFallback, // fallback
1993 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1994 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto>(), // to_prefetch
1995 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1996 }, {{
1997 {::_pbi::TcParser::MiniParse, {}},
1998 // .operations_research.math_opt.CallbackEventProto event = 1;
1999 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CallbackDataProto, _impl_.event_), 6>(),
2000 {8, 6, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.event_)}},
2001 // .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
2002 {::_pbi::TcParser::FastMtS1,
2003 {18, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.primal_solution_vector_)}},
2004 // .google.protobuf.Duration runtime = 3;
2005 {::_pbi::TcParser::FastMtS1,
2006 {26, 1, 1, PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.runtime_)}},
2007 // .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
2008 {::_pbi::TcParser::FastMtS1,
2009 {34, 2, 2, PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.presolve_stats_)}},
2010 // .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
2011 {::_pbi::TcParser::FastMtS1,
2012 {42, 3, 3, PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.simplex_stats_)}},
2013 // .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
2014 {::_pbi::TcParser::FastMtS1,
2015 {50, 4, 4, PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.barrier_stats_)}},
2016 // .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
2017 {::_pbi::TcParser::FastMtS1,
2018 {58, 5, 5, PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.mip_stats_)}},
2019 }}, {{
2020 65535, 65535
2021 }}, {{
2022 // .operations_research.math_opt.CallbackEventProto event = 1;
2023 {PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.event_), _Internal::kHasBitsOffset + 6, 0,
2024 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
2025 // .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
2026 {PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.primal_solution_vector_), _Internal::kHasBitsOffset + 0, 0,
2027 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2028 // .google.protobuf.Duration runtime = 3;
2029 {PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.runtime_), _Internal::kHasBitsOffset + 1, 1,
2030 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2031 // .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
2032 {PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.presolve_stats_), _Internal::kHasBitsOffset + 2, 2,
2033 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2034 // .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
2035 {PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.simplex_stats_), _Internal::kHasBitsOffset + 3, 3,
2036 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2037 // .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
2038 {PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.barrier_stats_), _Internal::kHasBitsOffset + 4, 4,
2039 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2040 // .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
2041 {PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.mip_stats_), _Internal::kHasBitsOffset + 5, 5,
2042 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2043 }},
2044 {{
2045 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
2046 {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
2047 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_PresolveStats>()},
2048 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_SimplexStats>()},
2049 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_BarrierStats>()},
2050 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_MipStats>()},
2051 }},
2052 {{
2053 }},
2054};
2055PROTOBUF_NOINLINE void CallbackDataProto::Clear() {
2056// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackDataProto)
2057 ::google::protobuf::internal::TSanWrite(&_impl_);
2058 ::uint32_t cached_has_bits = 0;
2059 // Prevent compiler warnings about cached_has_bits being unused
2060 (void) cached_has_bits;
2061
2062 cached_has_bits = _impl_._has_bits_[0];
2063 if ((cached_has_bits & 0x0000003fu) != 0) {
2064 if ((cached_has_bits & 0x00000001u) != 0) {
2065 ABSL_DCHECK(_impl_.primal_solution_vector_ != nullptr);
2066 _impl_.primal_solution_vector_->Clear();
2067 }
2068 if ((cached_has_bits & 0x00000002u) != 0) {
2069 ABSL_DCHECK(_impl_.runtime_ != nullptr);
2070 _impl_.runtime_->Clear();
2071 }
2072 if ((cached_has_bits & 0x00000004u) != 0) {
2073 ABSL_DCHECK(_impl_.presolve_stats_ != nullptr);
2074 _impl_.presolve_stats_->Clear();
2075 }
2076 if ((cached_has_bits & 0x00000008u) != 0) {
2077 ABSL_DCHECK(_impl_.simplex_stats_ != nullptr);
2078 _impl_.simplex_stats_->Clear();
2079 }
2080 if ((cached_has_bits & 0x00000010u) != 0) {
2081 ABSL_DCHECK(_impl_.barrier_stats_ != nullptr);
2082 _impl_.barrier_stats_->Clear();
2083 }
2084 if ((cached_has_bits & 0x00000020u) != 0) {
2085 ABSL_DCHECK(_impl_.mip_stats_ != nullptr);
2086 _impl_.mip_stats_->Clear();
2087 }
2088 }
2089 _impl_.event_ = 0;
2090 _impl_._has_bits_.Clear();
2091 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2092}
2093
2094#if defined(PROTOBUF_CUSTOM_VTABLE)
2095::uint8_t* PROTOBUF_NONNULL CallbackDataProto::_InternalSerialize(
2096 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2097 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2098 const CallbackDataProto& this_ = static_cast<const CallbackDataProto&>(base);
2099#else // PROTOBUF_CUSTOM_VTABLE
2100::uint8_t* PROTOBUF_NONNULL CallbackDataProto::_InternalSerialize(
2101 ::uint8_t* PROTOBUF_NONNULL target,
2102 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2103 const CallbackDataProto& this_ = *this;
2104#endif // PROTOBUF_CUSTOM_VTABLE
2105 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackDataProto)
2106 ::uint32_t cached_has_bits = 0;
2107 (void)cached_has_bits;
2108
2109 // .operations_research.math_opt.CallbackEventProto event = 1;
2110 if ((this_._impl_._has_bits_[0] & 0x00000040u) != 0) {
2111 if (this_._internal_event() != 0) {
2112 target = stream->EnsureSpace(target);
2113 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2114 1, this_._internal_event(), target);
2115 }
2116 }
2117
2118 cached_has_bits = this_._impl_._has_bits_[0];
2119 // .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
2120 if ((cached_has_bits & 0x00000001u) != 0) {
2121 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2122 2, *this_._impl_.primal_solution_vector_, this_._impl_.primal_solution_vector_->GetCachedSize(), target,
2123 stream);
2124 }
2125
2126 // .google.protobuf.Duration runtime = 3;
2127 if ((cached_has_bits & 0x00000002u) != 0) {
2128 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2129 3, *this_._impl_.runtime_, this_._impl_.runtime_->GetCachedSize(), target,
2130 stream);
2131 }
2132
2133 // .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
2134 if ((cached_has_bits & 0x00000004u) != 0) {
2135 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2136 4, *this_._impl_.presolve_stats_, this_._impl_.presolve_stats_->GetCachedSize(), target,
2137 stream);
2138 }
2139
2140 // .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
2141 if ((cached_has_bits & 0x00000008u) != 0) {
2142 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2143 5, *this_._impl_.simplex_stats_, this_._impl_.simplex_stats_->GetCachedSize(), target,
2144 stream);
2145 }
2146
2147 // .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
2148 if ((cached_has_bits & 0x00000010u) != 0) {
2149 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2150 6, *this_._impl_.barrier_stats_, this_._impl_.barrier_stats_->GetCachedSize(), target,
2151 stream);
2152 }
2153
2154 // .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
2155 if ((cached_has_bits & 0x00000020u) != 0) {
2156 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2157 7, *this_._impl_.mip_stats_, this_._impl_.mip_stats_->GetCachedSize(), target,
2158 stream);
2159 }
2160
2161 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2162 target =
2163 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2164 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2165 }
2166 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackDataProto)
2167 return target;
2168}
2169
2170#if defined(PROTOBUF_CUSTOM_VTABLE)
2171::size_t CallbackDataProto::ByteSizeLong(const MessageLite& base) {
2172 const CallbackDataProto& this_ = static_cast<const CallbackDataProto&>(base);
2173#else // PROTOBUF_CUSTOM_VTABLE
2174::size_t CallbackDataProto::ByteSizeLong() const {
2175 const CallbackDataProto& this_ = *this;
2176#endif // PROTOBUF_CUSTOM_VTABLE
2177 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackDataProto)
2178 ::size_t total_size = 0;
2180 ::uint32_t cached_has_bits = 0;
2181 // Prevent compiler warnings about cached_has_bits being unused
2182 (void)cached_has_bits;
2183
2184 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2185 cached_has_bits = this_._impl_._has_bits_[0];
2186 if ((cached_has_bits & 0x0000007fu) != 0) {
2187 // .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
2188 if ((cached_has_bits & 0x00000001u) != 0) {
2189 total_size += 1 +
2190 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primal_solution_vector_);
2191 }
2192 // .google.protobuf.Duration runtime = 3;
2193 if ((cached_has_bits & 0x00000002u) != 0) {
2194 total_size += 1 +
2195 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.runtime_);
2196 }
2197 // .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
2198 if ((cached_has_bits & 0x00000004u) != 0) {
2199 total_size += 1 +
2200 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.presolve_stats_);
2201 }
2202 // .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
2203 if ((cached_has_bits & 0x00000008u) != 0) {
2204 total_size += 1 +
2205 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.simplex_stats_);
2206 }
2207 // .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
2208 if ((cached_has_bits & 0x00000010u) != 0) {
2209 total_size += 1 +
2210 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.barrier_stats_);
2211 }
2212 // .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
2213 if ((cached_has_bits & 0x00000020u) != 0) {
2214 total_size += 1 +
2215 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mip_stats_);
2216 }
2217 // .operations_research.math_opt.CallbackEventProto event = 1;
2218 if ((cached_has_bits & 0x00000040u) != 0) {
2219 if (this_._internal_event() != 0) {
2220 total_size += 1 +
2221 ::_pbi::WireFormatLite::EnumSize(this_._internal_event());
2222 }
2223 }
2224 }
2225 return this_.MaybeComputeUnknownFieldsSize(total_size,
2226 &this_._impl_._cached_size_);
2227}
2228
2229void CallbackDataProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2230 auto* const _this = static_cast<CallbackDataProto*>(&to_msg);
2231 auto& from = static_cast<const CallbackDataProto&>(from_msg);
2232 ::google::protobuf::Arena* arena = _this->GetArena();
2233 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackDataProto)
2234 ABSL_DCHECK_NE(&from, _this);
2235 ::uint32_t cached_has_bits = 0;
2236 (void) cached_has_bits;
2237
2238 cached_has_bits = from._impl_._has_bits_[0];
2239 if ((cached_has_bits & 0x0000007fu) != 0) {
2240 if ((cached_has_bits & 0x00000001u) != 0) {
2241 ABSL_DCHECK(from._impl_.primal_solution_vector_ != nullptr);
2242 if (_this->_impl_.primal_solution_vector_ == nullptr) {
2243 _this->_impl_.primal_solution_vector_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primal_solution_vector_);
2244 } else {
2245 _this->_impl_.primal_solution_vector_->MergeFrom(*from._impl_.primal_solution_vector_);
2246 }
2247 }
2248 if ((cached_has_bits & 0x00000002u) != 0) {
2249 ABSL_DCHECK(from._impl_.runtime_ != nullptr);
2250 if (_this->_impl_.runtime_ == nullptr) {
2251 _this->_impl_.runtime_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.runtime_);
2252 } else {
2253 _this->_impl_.runtime_->MergeFrom(*from._impl_.runtime_);
2254 }
2255 }
2256 if ((cached_has_bits & 0x00000004u) != 0) {
2257 ABSL_DCHECK(from._impl_.presolve_stats_ != nullptr);
2258 if (_this->_impl_.presolve_stats_ == nullptr) {
2259 _this->_impl_.presolve_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.presolve_stats_);
2260 } else {
2261 _this->_impl_.presolve_stats_->MergeFrom(*from._impl_.presolve_stats_);
2262 }
2263 }
2264 if ((cached_has_bits & 0x00000008u) != 0) {
2265 ABSL_DCHECK(from._impl_.simplex_stats_ != nullptr);
2266 if (_this->_impl_.simplex_stats_ == nullptr) {
2267 _this->_impl_.simplex_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.simplex_stats_);
2268 } else {
2269 _this->_impl_.simplex_stats_->MergeFrom(*from._impl_.simplex_stats_);
2270 }
2271 }
2272 if ((cached_has_bits & 0x00000010u) != 0) {
2273 ABSL_DCHECK(from._impl_.barrier_stats_ != nullptr);
2274 if (_this->_impl_.barrier_stats_ == nullptr) {
2275 _this->_impl_.barrier_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.barrier_stats_);
2276 } else {
2277 _this->_impl_.barrier_stats_->MergeFrom(*from._impl_.barrier_stats_);
2278 }
2279 }
2280 if ((cached_has_bits & 0x00000020u) != 0) {
2281 ABSL_DCHECK(from._impl_.mip_stats_ != nullptr);
2282 if (_this->_impl_.mip_stats_ == nullptr) {
2283 _this->_impl_.mip_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_stats_);
2284 } else {
2285 _this->_impl_.mip_stats_->MergeFrom(*from._impl_.mip_stats_);
2286 }
2287 }
2288 if ((cached_has_bits & 0x00000040u) != 0) {
2289 if (from._internal_event() != 0) {
2290 _this->_impl_.event_ = from._impl_.event_;
2291 }
2292 }
2293 }
2294 _this->_impl_._has_bits_[0] |= cached_has_bits;
2295 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2296}
2297
2299// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackDataProto)
2300 if (&from == this) return;
2301 Clear();
2302 MergeFrom(from);
2304
2305
2306void CallbackDataProto::InternalSwap(CallbackDataProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2307 using ::std::swap;
2308 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2309 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2310 ::google::protobuf::internal::memswap<
2311 PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.event_)
2312 + sizeof(CallbackDataProto::_impl_.event_)
2313 - PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_.primal_solution_vector_)>(
2314 reinterpret_cast<char*>(&_impl_.primal_solution_vector_),
2315 reinterpret_cast<char*>(&other->_impl_.primal_solution_vector_));
2316}
2317
2318::google::protobuf::Metadata CallbackDataProto::GetMetadata() const {
2319 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2320}
2321// ===================================================================
2322
2324 public:
2325 using HasBits =
2326 decltype(::std::declval<CallbackResultProto_GeneratedLinearConstraint>()._impl_._has_bits_);
2327 static constexpr ::int32_t kHasBitsOffset =
2328 8 * PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_._has_bits_);
2330
2332 ::google::protobuf::internal::TSanWrite(&_impl_);
2333 if (_impl_.linear_expression_ != nullptr) _impl_.linear_expression_->Clear();
2334 _impl_._has_bits_[0] &= ~0x00000001u;
2335}
2337#if defined(PROTOBUF_CUSTOM_VTABLE)
2338 : ::google::protobuf::Message(arena, CallbackResultProto_GeneratedLinearConstraint_class_data_.base()) {
2339#else // PROTOBUF_CUSTOM_VTABLE
2340 : ::google::protobuf::Message(arena) {
2341#endif // PROTOBUF_CUSTOM_VTABLE
2342 SharedCtor(arena);
2343 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2344}
2345PROTOBUF_NDEBUG_INLINE CallbackResultProto_GeneratedLinearConstraint::Impl_::Impl_(
2346 ::google::protobuf::internal::InternalVisibility visibility,
2347 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2348 const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint& from_msg)
2349 : _has_bits_{from._has_bits_},
2350 _cached_size_{0} {}
2351
2353 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2354 const CallbackResultProto_GeneratedLinearConstraint& from)
2355#if defined(PROTOBUF_CUSTOM_VTABLE)
2356 : ::google::protobuf::Message(arena, CallbackResultProto_GeneratedLinearConstraint_class_data_.base()) {
2357#else // PROTOBUF_CUSTOM_VTABLE
2358 : ::google::protobuf::Message(arena) {
2359#endif // PROTOBUF_CUSTOM_VTABLE
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_.linear_expression_ = ((cached_has_bits & 0x00000001u) != 0)
2367 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_expression_)
2368 : nullptr;
2369 ::memcpy(reinterpret_cast<char *>(&_impl_) +
2370 offsetof(Impl_, lower_bound_),
2371 reinterpret_cast<const char *>(&from._impl_) +
2372 offsetof(Impl_, lower_bound_),
2373 offsetof(Impl_, is_lazy_) -
2374 offsetof(Impl_, lower_bound_) +
2375 sizeof(Impl_::is_lazy_));
2376
2377 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2378}
2379PROTOBUF_NDEBUG_INLINE CallbackResultProto_GeneratedLinearConstraint::Impl_::Impl_(
2380 ::google::protobuf::internal::InternalVisibility visibility,
2381 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2382 : _cached_size_{0} {}
2383
2384inline void CallbackResultProto_GeneratedLinearConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2385 new (&_impl_) Impl_(internal_visibility(), arena);
2386 ::memset(reinterpret_cast<char *>(&_impl_) +
2387 offsetof(Impl_, linear_expression_),
2388 0,
2389 offsetof(Impl_, is_lazy_) -
2390 offsetof(Impl_, linear_expression_) +
2391 sizeof(Impl_::is_lazy_));
2392}
2394 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2395 SharedDtor(*this);
2396}
2397inline void CallbackResultProto_GeneratedLinearConstraint::SharedDtor(MessageLite& self) {
2399 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2400 ABSL_DCHECK(this_.GetArena() == nullptr);
2401 delete this_._impl_.linear_expression_;
2402 this_._impl_.~Impl_();
2403}
2404
2406 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2407 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2408 return ::new (mem) CallbackResultProto_GeneratedLinearConstraint(arena);
2409}
2411 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CallbackResultProto_GeneratedLinearConstraint),
2413}
2415 return ::google::protobuf::internal::ClassDataFull{
2416 ::google::protobuf::internal::ClassData{
2418 &_table_.header,
2419 nullptr, // OnDemandRegisterArenaDtor
2420 nullptr, // IsInitialized
2421 &CallbackResultProto_GeneratedLinearConstraint::MergeImpl,
2422 ::google::protobuf::Message::GetNewImpl<CallbackResultProto_GeneratedLinearConstraint>(),
2423#if defined(PROTOBUF_CUSTOM_VTABLE)
2424 &CallbackResultProto_GeneratedLinearConstraint::SharedDtor,
2425 ::google::protobuf::Message::GetClearImpl<CallbackResultProto_GeneratedLinearConstraint>(), &CallbackResultProto_GeneratedLinearConstraint::ByteSizeLong,
2427#endif // PROTOBUF_CUSTOM_VTABLE
2428 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_._cached_size_),
2429 false,
2430 },
2431 &CallbackResultProto_GeneratedLinearConstraint::kDescriptorMethods,
2433 nullptr, // tracker
2434 };
2435}
2436
2437PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2438 ::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_ =
2440
2441PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2443 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackResultProto_GeneratedLinearConstraint_class_data_);
2444 ::google::protobuf::internal::PrefetchToLocalCache(CallbackResultProto_GeneratedLinearConstraint_class_data_.tc_table);
2446}
2447PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2448const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
2449CallbackResultProto_GeneratedLinearConstraint::_table_ = {
2450 {
2451 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_._has_bits_),
2452 0, // no _extensions_
2453 4, 24, // max_field_number, fast_idx_mask
2454 offsetof(decltype(_table_), field_lookup_table),
2455 4294967280, // skipmap
2456 offsetof(decltype(_table_), field_entries),
2457 4, // num_field_entries
2458 1, // num_aux_entries
2459 offsetof(decltype(_table_), aux_entries),
2461 nullptr, // post_loop_handler
2462 ::_pbi::TcParser::GenericFallback, // fallback
2463 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2464 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>(), // to_prefetch
2465 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2466 }, {{
2467 // bool is_lazy = 4;
2468 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackResultProto_GeneratedLinearConstraint, _impl_.is_lazy_), 3>(),
2469 {32, 3, 0, PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.is_lazy_)}},
2470 // .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
2471 {::_pbi::TcParser::FastMtS1,
2472 {10, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.linear_expression_)}},
2473 // double lower_bound = 2;
2474 {::_pbi::TcParser::FastF64S1,
2475 {17, 1, 0, PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.lower_bound_)}},
2476 // double upper_bound = 3;
2477 {::_pbi::TcParser::FastF64S1,
2478 {25, 2, 0, PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.upper_bound_)}},
2479 }}, {{
2480 65535, 65535
2481 }}, {{
2482 // .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
2483 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.linear_expression_), _Internal::kHasBitsOffset + 0, 0,
2484 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2485 // double lower_bound = 2;
2486 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.lower_bound_), _Internal::kHasBitsOffset + 1, 0,
2487 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2488 // double upper_bound = 3;
2489 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.upper_bound_), _Internal::kHasBitsOffset + 2, 0,
2490 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2491 // bool is_lazy = 4;
2492 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.is_lazy_), _Internal::kHasBitsOffset + 3, 0,
2493 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2494 }},
2495 {{
2496 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
2497 }},
2498 {{
2499 }},
2500};
2502// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2503 ::google::protobuf::internal::TSanWrite(&_impl_);
2504 ::uint32_t cached_has_bits = 0;
2505 // Prevent compiler warnings about cached_has_bits being unused
2506 (void) cached_has_bits;
2508 cached_has_bits = _impl_._has_bits_[0];
2509 if ((cached_has_bits & 0x00000001u) != 0) {
2510 ABSL_DCHECK(_impl_.linear_expression_ != nullptr);
2511 _impl_.linear_expression_->Clear();
2512 }
2513 if ((cached_has_bits & 0x0000000eu) != 0) {
2514 ::memset(&_impl_.lower_bound_, 0, static_cast<::size_t>(
2515 reinterpret_cast<char*>(&_impl_.is_lazy_) -
2516 reinterpret_cast<char*>(&_impl_.lower_bound_)) + sizeof(_impl_.is_lazy_));
2517 }
2518 _impl_._has_bits_.Clear();
2519 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2520}
2521
2522#if defined(PROTOBUF_CUSTOM_VTABLE)
2524 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2525 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2527#else // PROTOBUF_CUSTOM_VTABLE
2529 ::uint8_t* PROTOBUF_NONNULL target,
2530 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2532#endif // PROTOBUF_CUSTOM_VTABLE
2533 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2534 ::uint32_t cached_has_bits = 0;
2535 (void)cached_has_bits;
2536
2537 cached_has_bits = this_._impl_._has_bits_[0];
2538 // .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
2539 if ((cached_has_bits & 0x00000001u) != 0) {
2540 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2541 1, *this_._impl_.linear_expression_, this_._impl_.linear_expression_->GetCachedSize(), target,
2542 stream);
2543 }
2544
2545 // double lower_bound = 2;
2546 if ((cached_has_bits & 0x00000002u) != 0) {
2547 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
2548 target = stream->EnsureSpace(target);
2549 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2550 2, this_._internal_lower_bound(), target);
2551 }
2552 }
2553
2554 // double upper_bound = 3;
2555 if ((cached_has_bits & 0x00000004u) != 0) {
2556 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
2557 target = stream->EnsureSpace(target);
2558 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2559 3, this_._internal_upper_bound(), target);
2560 }
2561 }
2562
2563 // bool is_lazy = 4;
2564 if ((cached_has_bits & 0x00000008u) != 0) {
2565 if (this_._internal_is_lazy() != 0) {
2566 target = stream->EnsureSpace(target);
2567 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2568 4, this_._internal_is_lazy(), target);
2569 }
2570 }
2571
2572 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2573 target =
2574 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2575 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2576 }
2577 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2578 return target;
2579}
2580
2581#if defined(PROTOBUF_CUSTOM_VTABLE)
2584#else // PROTOBUF_CUSTOM_VTABLE
2587#endif // PROTOBUF_CUSTOM_VTABLE
2588 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2589 ::size_t total_size = 0;
2590
2591 ::uint32_t cached_has_bits = 0;
2592 // Prevent compiler warnings about cached_has_bits being unused
2593 (void)cached_has_bits;
2594
2595 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2596 cached_has_bits = this_._impl_._has_bits_[0];
2597 if ((cached_has_bits & 0x0000000fu) != 0) {
2598 // .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
2599 if ((cached_has_bits & 0x00000001u) != 0) {
2600 total_size += 1 +
2601 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_expression_);
2602 }
2603 // double lower_bound = 2;
2604 if ((cached_has_bits & 0x00000002u) != 0) {
2605 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
2606 total_size += 9;
2607 }
2608 }
2609 // double upper_bound = 3;
2610 if ((cached_has_bits & 0x00000004u) != 0) {
2611 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
2612 total_size += 9;
2613 }
2614 }
2615 // bool is_lazy = 4;
2616 if ((cached_has_bits & 0x00000008u) != 0) {
2617 if (this_._internal_is_lazy() != 0) {
2618 total_size += 2;
2619 }
2620 }
2621 }
2622 return this_.MaybeComputeUnknownFieldsSize(total_size,
2623 &this_._impl_._cached_size_);
2624}
2625
2626void CallbackResultProto_GeneratedLinearConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2627 auto* const _this = static_cast<CallbackResultProto_GeneratedLinearConstraint*>(&to_msg);
2628 auto& from = static_cast<const CallbackResultProto_GeneratedLinearConstraint&>(from_msg);
2629 ::google::protobuf::Arena* arena = _this->GetArena();
2630 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2631 ABSL_DCHECK_NE(&from, _this);
2632 ::uint32_t cached_has_bits = 0;
2633 (void) cached_has_bits;
2634
2635 cached_has_bits = from._impl_._has_bits_[0];
2636 if ((cached_has_bits & 0x0000000fu) != 0) {
2637 if ((cached_has_bits & 0x00000001u) != 0) {
2638 ABSL_DCHECK(from._impl_.linear_expression_ != nullptr);
2639 if (_this->_impl_.linear_expression_ == nullptr) {
2640 _this->_impl_.linear_expression_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_expression_);
2641 } else {
2642 _this->_impl_.linear_expression_->MergeFrom(*from._impl_.linear_expression_);
2643 }
2644 }
2645 if ((cached_has_bits & 0x00000002u) != 0) {
2646 if (::absl::bit_cast<::uint64_t>(from._internal_lower_bound()) != 0) {
2647 _this->_impl_.lower_bound_ = from._impl_.lower_bound_;
2648 }
2649 }
2650 if ((cached_has_bits & 0x00000004u) != 0) {
2651 if (::absl::bit_cast<::uint64_t>(from._internal_upper_bound()) != 0) {
2652 _this->_impl_.upper_bound_ = from._impl_.upper_bound_;
2653 }
2654 }
2655 if ((cached_has_bits & 0x00000008u) != 0) {
2656 if (from._internal_is_lazy() != 0) {
2657 _this->_impl_.is_lazy_ = from._impl_.is_lazy_;
2658 }
2659 }
2660 }
2661 _this->_impl_._has_bits_[0] |= cached_has_bits;
2662 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2663}
2664
2666// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
2667 if (&from == this) return;
2668 Clear();
2669 MergeFrom(from);
2670}
2672
2673void CallbackResultProto_GeneratedLinearConstraint::InternalSwap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2674 using ::std::swap;
2675 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2676 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2677 ::google::protobuf::internal::memswap<
2678 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.is_lazy_)
2680 - PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint, _impl_.linear_expression_)>(
2681 reinterpret_cast<char*>(&_impl_.linear_expression_),
2682 reinterpret_cast<char*>(&other->_impl_.linear_expression_));
2683}
2684
2685::google::protobuf::Metadata CallbackResultProto_GeneratedLinearConstraint::GetMetadata() const {
2686 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2687}
2688// ===================================================================
2689
2690class CallbackResultProto::_Internal {
2691 public:
2692 using HasBits =
2693 decltype(::std::declval<CallbackResultProto>()._impl_._has_bits_);
2694 static constexpr ::int32_t kHasBitsOffset =
2695 8 * PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_._has_bits_);
2696};
2699 ::google::protobuf::internal::TSanWrite(&_impl_);
2700 _impl_.suggested_solutions_.Clear();
2702CallbackResultProto::CallbackResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2703#if defined(PROTOBUF_CUSTOM_VTABLE)
2704 : ::google::protobuf::Message(arena, CallbackResultProto_class_data_.base()) {
2705#else // PROTOBUF_CUSTOM_VTABLE
2706 : ::google::protobuf::Message(arena) {
2707#endif // PROTOBUF_CUSTOM_VTABLE
2708 SharedCtor(arena);
2709 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackResultProto)
2710}
2711PROTOBUF_NDEBUG_INLINE CallbackResultProto::Impl_::Impl_(
2712 ::google::protobuf::internal::InternalVisibility visibility,
2713 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2714 const ::operations_research::math_opt::CallbackResultProto& from_msg)
2715 : _has_bits_{from._has_bits_},
2716 _cached_size_{0},
2717 cuts_{visibility, arena, from.cuts_},
2718 suggested_solutions_{visibility, arena, from.suggested_solutions_} {}
2719
2721 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2722 const CallbackResultProto& from)
2723#if defined(PROTOBUF_CUSTOM_VTABLE)
2724 : ::google::protobuf::Message(arena, CallbackResultProto_class_data_.base()) {
2725#else // PROTOBUF_CUSTOM_VTABLE
2726 : ::google::protobuf::Message(arena) {
2727#endif // PROTOBUF_CUSTOM_VTABLE
2728 CallbackResultProto* const _this = this;
2729 (void)_this;
2730 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2731 from._internal_metadata_);
2732 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2733 _impl_.terminate_ = from._impl_.terminate_;
2734
2735 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.CallbackResultProto)
2736}
2737PROTOBUF_NDEBUG_INLINE CallbackResultProto::Impl_::Impl_(
2738 ::google::protobuf::internal::InternalVisibility visibility,
2739 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2740 : _cached_size_{0},
2741 cuts_{visibility, arena},
2742 suggested_solutions_{visibility, arena} {}
2743
2744inline void CallbackResultProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2745 new (&_impl_) Impl_(internal_visibility(), arena);
2746 _impl_.terminate_ = {};
2747}
2749 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackResultProto)
2750 SharedDtor(*this);
2751}
2752inline void CallbackResultProto::SharedDtor(MessageLite& self) {
2753 CallbackResultProto& this_ = static_cast<CallbackResultProto&>(self);
2754 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2755 ABSL_DCHECK(this_.GetArena() == nullptr);
2756 this_._impl_.~Impl_();
2757}
2758
2759inline void* PROTOBUF_NONNULL CallbackResultProto::PlacementNew_(
2760 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2761 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2762 return ::new (mem) CallbackResultProto(arena);
2763}
2765 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2766 PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_.cuts_) +
2767 decltype(CallbackResultProto::_impl_.cuts_)::
2768 InternalGetArenaOffset(
2769 ::google::protobuf::Message::internal_visibility()),
2770 PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_.suggested_solutions_) +
2771 decltype(CallbackResultProto::_impl_.suggested_solutions_)::
2772 InternalGetArenaOffset(
2773 ::google::protobuf::Message::internal_visibility()),
2774 });
2775 if (arena_bits.has_value()) {
2776 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2777 sizeof(CallbackResultProto), alignof(CallbackResultProto), *arena_bits);
2778 } else {
2779 return ::google::protobuf::internal::MessageCreator(&CallbackResultProto::PlacementNew_,
2780 sizeof(CallbackResultProto),
2781 alignof(CallbackResultProto));
2782 }
2783}
2785 return ::google::protobuf::internal::ClassDataFull{
2786 ::google::protobuf::internal::ClassData{
2788 &_table_.header,
2789 nullptr, // OnDemandRegisterArenaDtor
2790 nullptr, // IsInitialized
2791 &CallbackResultProto::MergeImpl,
2792 ::google::protobuf::Message::GetNewImpl<CallbackResultProto>(),
2793#if defined(PROTOBUF_CUSTOM_VTABLE)
2794 &CallbackResultProto::SharedDtor,
2795 ::google::protobuf::Message::GetClearImpl<CallbackResultProto>(), &CallbackResultProto::ByteSizeLong,
2797#endif // PROTOBUF_CUSTOM_VTABLE
2798 PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_._cached_size_),
2799 false,
2800 },
2801 &CallbackResultProto::kDescriptorMethods,
2803 nullptr, // tracker
2804 };
2805}
2806
2807PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2808 ::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_ =
2810
2811PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2813 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackResultProto_class_data_);
2814 ::google::protobuf::internal::PrefetchToLocalCache(CallbackResultProto_class_data_.tc_table);
2816}
2817PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2818const ::_pbi::TcParseTable<1, 3, 2, 0, 2>
2819CallbackResultProto::_table_ = {
2820 {
2821 PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_._has_bits_),
2822 0, // no _extensions_
2823 5, 8, // max_field_number, fast_idx_mask
2824 offsetof(decltype(_table_), field_lookup_table),
2825 4294967270, // skipmap
2826 offsetof(decltype(_table_), field_entries),
2827 3, // num_field_entries
2828 2, // num_aux_entries
2829 offsetof(decltype(_table_), aux_entries),
2831 nullptr, // post_loop_handler
2832 ::_pbi::TcParser::GenericFallback, // fallback
2833 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2834 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackResultProto>(), // to_prefetch
2835 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2836 }, {{
2837 // repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
2838 {::_pbi::TcParser::FastMtR1,
2839 {34, 63, 0, PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_.cuts_)}},
2840 // bool terminate = 1;
2841 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackResultProto, _impl_.terminate_), 0>(),
2842 {8, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_.terminate_)}},
2843 }}, {{
2844 65535, 65535
2845 }}, {{
2846 // bool terminate = 1;
2847 {PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_.terminate_), _Internal::kHasBitsOffset + 0, 0,
2848 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2849 // repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
2850 {PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_.cuts_), -1, 0,
2851 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2852 // repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
2853 {PROTOBUF_FIELD_OFFSET(CallbackResultProto, _impl_.suggested_solutions_), -1, 1,
2854 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2855 }},
2856 {{
2857 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>()},
2858 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
2859 }},
2860 {{
2861 }},
2862};
2863PROTOBUF_NOINLINE void CallbackResultProto::Clear() {
2864// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackResultProto)
2865 ::google::protobuf::internal::TSanWrite(&_impl_);
2866 ::uint32_t cached_has_bits = 0;
2867 // Prevent compiler warnings about cached_has_bits being unused
2868 (void) cached_has_bits;
2869
2870 _impl_.cuts_.Clear();
2871 _impl_.suggested_solutions_.Clear();
2872 _impl_.terminate_ = false;
2873 _impl_._has_bits_.Clear();
2874 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2875}
2876
2877#if defined(PROTOBUF_CUSTOM_VTABLE)
2878::uint8_t* PROTOBUF_NONNULL CallbackResultProto::_InternalSerialize(
2879 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2880 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2881 const CallbackResultProto& this_ = static_cast<const CallbackResultProto&>(base);
2882#else // PROTOBUF_CUSTOM_VTABLE
2883::uint8_t* PROTOBUF_NONNULL CallbackResultProto::_InternalSerialize(
2884 ::uint8_t* PROTOBUF_NONNULL target,
2885 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2886 const CallbackResultProto& this_ = *this;
2887#endif // PROTOBUF_CUSTOM_VTABLE
2888 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackResultProto)
2889 ::uint32_t cached_has_bits = 0;
2890 (void)cached_has_bits;
2891
2892 // bool terminate = 1;
2893 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
2894 if (this_._internal_terminate() != 0) {
2895 target = stream->EnsureSpace(target);
2896 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2897 1, this_._internal_terminate(), target);
2898 }
2899 }
2900
2901 // repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
2902 for (unsigned i = 0, n = static_cast<unsigned>(
2903 this_._internal_cuts_size());
2904 i < n; i++) {
2905 const auto& repfield = this_._internal_cuts().Get(i);
2906 target =
2907 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2908 4, repfield, repfield.GetCachedSize(),
2909 target, stream);
2910 }
2911
2912 // repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
2913 for (unsigned i = 0, n = static_cast<unsigned>(
2914 this_._internal_suggested_solutions_size());
2915 i < n; i++) {
2916 const auto& repfield = this_._internal_suggested_solutions().Get(i);
2917 target =
2918 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2919 5, repfield, repfield.GetCachedSize(),
2920 target, stream);
2921 }
2922
2923 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2924 target =
2925 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2926 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2927 }
2928 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackResultProto)
2929 return target;
2930}
2931
2932#if defined(PROTOBUF_CUSTOM_VTABLE)
2933::size_t CallbackResultProto::ByteSizeLong(const MessageLite& base) {
2934 const CallbackResultProto& this_ = static_cast<const CallbackResultProto&>(base);
2935#else // PROTOBUF_CUSTOM_VTABLE
2936::size_t CallbackResultProto::ByteSizeLong() const {
2937 const CallbackResultProto& this_ = *this;
2938#endif // PROTOBUF_CUSTOM_VTABLE
2939 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackResultProto)
2940 ::size_t total_size = 0;
2941
2942 ::uint32_t cached_has_bits = 0;
2943 // Prevent compiler warnings about cached_has_bits being unused
2944 (void)cached_has_bits;
2945
2946 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2947 {
2948 // repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
2949 {
2950 total_size += 1UL * this_._internal_cuts_size();
2951 for (const auto& msg : this_._internal_cuts()) {
2952 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2953 }
2954 }
2955 // repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
2956 {
2957 total_size += 1UL * this_._internal_suggested_solutions_size();
2958 for (const auto& msg : this_._internal_suggested_solutions()) {
2959 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2960 }
2961 }
2962 }
2963 {
2964 // bool terminate = 1;
2965 cached_has_bits = this_._impl_._has_bits_[0];
2966 if ((cached_has_bits & 0x00000001u) != 0) {
2967 if (this_._internal_terminate() != 0) {
2968 total_size += 2;
2969 }
2970 }
2971 }
2972 return this_.MaybeComputeUnknownFieldsSize(total_size,
2973 &this_._impl_._cached_size_);
2974}
2975
2976void CallbackResultProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2977 auto* const _this = static_cast<CallbackResultProto*>(&to_msg);
2978 auto& from = static_cast<const CallbackResultProto&>(from_msg);
2979 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackResultProto)
2980 ABSL_DCHECK_NE(&from, _this);
2981 ::uint32_t cached_has_bits = 0;
2982 (void) cached_has_bits;
2983
2984 _this->_internal_mutable_cuts()->MergeFrom(
2985 from._internal_cuts());
2986 _this->_internal_mutable_suggested_solutions()->MergeFrom(
2987 from._internal_suggested_solutions());
2988 cached_has_bits = from._impl_._has_bits_[0];
2989 if ((cached_has_bits & 0x00000001u) != 0) {
2990 if (from._internal_terminate() != 0) {
2991 _this->_impl_.terminate_ = from._impl_.terminate_;
2992 }
2993 }
2994 _this->_impl_._has_bits_[0] |= cached_has_bits;
2995 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2996}
2997
2999// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackResultProto)
3000 if (&from == this) return;
3001 Clear();
3002 MergeFrom(from);
3003}
3004
3006void CallbackResultProto::InternalSwap(CallbackResultProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3007 using ::std::swap;
3008 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3009 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3010 _impl_.cuts_.InternalSwap(&other->_impl_.cuts_);
3011 _impl_.suggested_solutions_.InternalSwap(&other->_impl_.suggested_solutions_);
3012 swap(_impl_.terminate_, other->_impl_.terminate_);
3013}
3014
3015::google::protobuf::Metadata CallbackResultProto::GetMetadata() const {
3016 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3017}
3018// ===================================================================
3019
3020class CallbackRegistrationProto::_Internal {
3021 public:
3022 using HasBits =
3023 decltype(::std::declval<CallbackRegistrationProto>()._impl_._has_bits_);
3024 static constexpr ::int32_t kHasBitsOffset =
3025 8 * PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_._has_bits_);
3026};
3027
3029 ::google::protobuf::internal::TSanWrite(&_impl_);
3030 if (_impl_.mip_solution_filter_ != nullptr) _impl_.mip_solution_filter_->Clear();
3031 _impl_._has_bits_[0] &= ~0x00000001u;
3034 ::google::protobuf::internal::TSanWrite(&_impl_);
3035 if (_impl_.mip_node_filter_ != nullptr) _impl_.mip_node_filter_->Clear();
3036 _impl_._has_bits_[0] &= ~0x00000002u;
3037}
3038CallbackRegistrationProto::CallbackRegistrationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3039#if defined(PROTOBUF_CUSTOM_VTABLE)
3040 : ::google::protobuf::Message(arena, CallbackRegistrationProto_class_data_.base()) {
3041#else // PROTOBUF_CUSTOM_VTABLE
3042 : ::google::protobuf::Message(arena) {
3043#endif // PROTOBUF_CUSTOM_VTABLE
3044 SharedCtor(arena);
3045 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.CallbackRegistrationProto)
3047PROTOBUF_NDEBUG_INLINE CallbackRegistrationProto::Impl_::Impl_(
3048 ::google::protobuf::internal::InternalVisibility visibility,
3049 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
3050 const ::operations_research::math_opt::CallbackRegistrationProto& from_msg)
3051 : _has_bits_{from._has_bits_},
3052 _cached_size_{0},
3053 request_registration_{visibility, arena, from.request_registration_},
3054 _request_registration_cached_byte_size_{0} {}
3055
3057 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3058 const CallbackRegistrationProto& from)
3059#if defined(PROTOBUF_CUSTOM_VTABLE)
3060 : ::google::protobuf::Message(arena, CallbackRegistrationProto_class_data_.base()) {
3061#else // PROTOBUF_CUSTOM_VTABLE
3062 : ::google::protobuf::Message(arena) {
3063#endif // PROTOBUF_CUSTOM_VTABLE
3064 CallbackRegistrationProto* const _this = this;
3065 (void)_this;
3066 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3067 from._internal_metadata_);
3068 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3069 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
3070 _impl_.mip_solution_filter_ = ((cached_has_bits & 0x00000001u) != 0)
3071 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_solution_filter_)
3072 : nullptr;
3073 _impl_.mip_node_filter_ = ((cached_has_bits & 0x00000002u) != 0)
3074 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_node_filter_)
3075 : nullptr;
3076 ::memcpy(reinterpret_cast<char *>(&_impl_) +
3077 offsetof(Impl_, add_cuts_),
3078 reinterpret_cast<const char *>(&from._impl_) +
3079 offsetof(Impl_, add_cuts_),
3080 offsetof(Impl_, add_lazy_constraints_) -
3081 offsetof(Impl_, add_cuts_) +
3082 sizeof(Impl_::add_lazy_constraints_));
3083
3084 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.CallbackRegistrationProto)
3085}
3086PROTOBUF_NDEBUG_INLINE CallbackRegistrationProto::Impl_::Impl_(
3087 ::google::protobuf::internal::InternalVisibility visibility,
3088 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3089 : _cached_size_{0},
3090 request_registration_{visibility, arena},
3091 _request_registration_cached_byte_size_{0} {}
3092
3093inline void CallbackRegistrationProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3094 new (&_impl_) Impl_(internal_visibility(), arena);
3095 ::memset(reinterpret_cast<char *>(&_impl_) +
3096 offsetof(Impl_, mip_solution_filter_),
3097 0,
3098 offsetof(Impl_, add_lazy_constraints_) -
3099 offsetof(Impl_, mip_solution_filter_) +
3100 sizeof(Impl_::add_lazy_constraints_));
3101}
3103 // @@protoc_insertion_point(destructor:operations_research.math_opt.CallbackRegistrationProto)
3104 SharedDtor(*this);
3105}
3106inline void CallbackRegistrationProto::SharedDtor(MessageLite& self) {
3107 CallbackRegistrationProto& this_ = static_cast<CallbackRegistrationProto&>(self);
3108 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3109 ABSL_DCHECK(this_.GetArena() == nullptr);
3110 delete this_._impl_.mip_solution_filter_;
3111 delete this_._impl_.mip_node_filter_;
3112 this_._impl_.~Impl_();
3113}
3114
3115inline void* PROTOBUF_NONNULL CallbackRegistrationProto::PlacementNew_(
3116 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
3117 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3118 return ::new (mem) CallbackRegistrationProto(arena);
3119}
3121 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3122 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.request_registration_) +
3123 decltype(CallbackRegistrationProto::_impl_.request_registration_)::
3124 InternalGetArenaOffset(
3125 ::google::protobuf::Message::internal_visibility()),
3126 });
3127 if (arena_bits.has_value()) {
3128 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3129 sizeof(CallbackRegistrationProto), alignof(CallbackRegistrationProto), *arena_bits);
3130 } else {
3131 return ::google::protobuf::internal::MessageCreator(&CallbackRegistrationProto::PlacementNew_,
3132 sizeof(CallbackRegistrationProto),
3133 alignof(CallbackRegistrationProto));
3134 }
3135}
3137 return ::google::protobuf::internal::ClassDataFull{
3138 ::google::protobuf::internal::ClassData{
3140 &_table_.header,
3141 nullptr, // OnDemandRegisterArenaDtor
3142 nullptr, // IsInitialized
3143 &CallbackRegistrationProto::MergeImpl,
3144 ::google::protobuf::Message::GetNewImpl<CallbackRegistrationProto>(),
3145#if defined(PROTOBUF_CUSTOM_VTABLE)
3146 &CallbackRegistrationProto::SharedDtor,
3147 ::google::protobuf::Message::GetClearImpl<CallbackRegistrationProto>(), &CallbackRegistrationProto::ByteSizeLong,
3149#endif // PROTOBUF_CUSTOM_VTABLE
3150 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_._cached_size_),
3151 false,
3152 },
3153 &CallbackRegistrationProto::kDescriptorMethods,
3155 nullptr, // tracker
3156 };
3157}
3158
3159PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3160 ::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_ =
3162
3163PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3165 ::google::protobuf::internal::PrefetchToLocalCache(&CallbackRegistrationProto_class_data_);
3166 ::google::protobuf::internal::PrefetchToLocalCache(CallbackRegistrationProto_class_data_.tc_table);
3169PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3170const ::_pbi::TcParseTable<3, 5, 2, 0, 2>
3171CallbackRegistrationProto::_table_ = {
3173 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_._has_bits_),
3174 0, // no _extensions_
3175 5, 56, // max_field_number, fast_idx_mask
3176 offsetof(decltype(_table_), field_lookup_table),
3177 4294967264, // skipmap
3178 offsetof(decltype(_table_), field_entries),
3179 5, // num_field_entries
3180 2, // num_aux_entries
3181 offsetof(decltype(_table_), aux_entries),
3183 nullptr, // post_loop_handler
3184 ::_pbi::TcParser::GenericFallback, // fallback
3185 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3186 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackRegistrationProto>(), // to_prefetch
3187 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
3188 }, {{
3189 {::_pbi::TcParser::MiniParse, {}},
3190 // repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
3191 {::_pbi::TcParser::FastV32P1,
3192 {10, 63, 0, PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.request_registration_)}},
3193 // .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
3194 {::_pbi::TcParser::FastMtS1,
3195 {18, 0, 0, PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.mip_solution_filter_)}},
3196 // .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
3197 {::_pbi::TcParser::FastMtS1,
3198 {26, 1, 1, PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.mip_node_filter_)}},
3199 // bool add_cuts = 4;
3200 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackRegistrationProto, _impl_.add_cuts_), 2>(),
3201 {32, 2, 0, PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.add_cuts_)}},
3202 // bool add_lazy_constraints = 5;
3203 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackRegistrationProto, _impl_.add_lazy_constraints_), 3>(),
3204 {40, 3, 0, PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.add_lazy_constraints_)}},
3205 {::_pbi::TcParser::MiniParse, {}},
3206 {::_pbi::TcParser::MiniParse, {}},
3207 }}, {{
3208 65535, 65535
3209 }}, {{
3210 // repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
3211 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.request_registration_), -1, 0,
3212 (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)},
3213 // .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
3214 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.mip_solution_filter_), _Internal::kHasBitsOffset + 0, 0,
3215 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3216 // .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
3217 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.mip_node_filter_), _Internal::kHasBitsOffset + 1, 1,
3218 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3219 // bool add_cuts = 4;
3220 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.add_cuts_), _Internal::kHasBitsOffset + 2, 0,
3221 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
3222 // bool add_lazy_constraints = 5;
3223 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.add_lazy_constraints_), _Internal::kHasBitsOffset + 3, 0,
3224 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
3225 }},
3226 {{
3227 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
3228 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
3229 }},
3230 {{
3231 }},
3232};
3233PROTOBUF_NOINLINE void CallbackRegistrationProto::Clear() {
3234// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.CallbackRegistrationProto)
3235 ::google::protobuf::internal::TSanWrite(&_impl_);
3236 ::uint32_t cached_has_bits = 0;
3237 // Prevent compiler warnings about cached_has_bits being unused
3238 (void) cached_has_bits;
3239
3240 _impl_.request_registration_.Clear();
3241 cached_has_bits = _impl_._has_bits_[0];
3242 if ((cached_has_bits & 0x00000003u) != 0) {
3243 if ((cached_has_bits & 0x00000001u) != 0) {
3244 ABSL_DCHECK(_impl_.mip_solution_filter_ != nullptr);
3245 _impl_.mip_solution_filter_->Clear();
3246 }
3247 if ((cached_has_bits & 0x00000002u) != 0) {
3248 ABSL_DCHECK(_impl_.mip_node_filter_ != nullptr);
3249 _impl_.mip_node_filter_->Clear();
3250 }
3251 }
3252 ::memset(&_impl_.add_cuts_, 0, static_cast<::size_t>(
3253 reinterpret_cast<char*>(&_impl_.add_lazy_constraints_) -
3254 reinterpret_cast<char*>(&_impl_.add_cuts_)) + sizeof(_impl_.add_lazy_constraints_));
3255 _impl_._has_bits_.Clear();
3256 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3257}
3258
3259#if defined(PROTOBUF_CUSTOM_VTABLE)
3260::uint8_t* PROTOBUF_NONNULL CallbackRegistrationProto::_InternalSerialize(
3261 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3262 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3263 const CallbackRegistrationProto& this_ = static_cast<const CallbackRegistrationProto&>(base);
3264#else // PROTOBUF_CUSTOM_VTABLE
3265::uint8_t* PROTOBUF_NONNULL CallbackRegistrationProto::_InternalSerialize(
3266 ::uint8_t* PROTOBUF_NONNULL target,
3267 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
3268 const CallbackRegistrationProto& this_ = *this;
3269#endif // PROTOBUF_CUSTOM_VTABLE
3270 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.CallbackRegistrationProto)
3271 ::uint32_t cached_has_bits = 0;
3272 (void)cached_has_bits;
3274 // repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
3275 {
3276 ::size_t byte_size = this_._impl_._request_registration_cached_byte_size_.Get();
3277 if (byte_size > 0) {
3278 target = stream->WriteEnumPacked(
3279 1, this_._internal_request_registration(), byte_size, target);
3280 }
3281 }
3282
3283 cached_has_bits = this_._impl_._has_bits_[0];
3284 // .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
3285 if ((cached_has_bits & 0x00000001u) != 0) {
3286 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3287 2, *this_._impl_.mip_solution_filter_, this_._impl_.mip_solution_filter_->GetCachedSize(), target,
3288 stream);
3289 }
3290
3291 // .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
3292 if ((cached_has_bits & 0x00000002u) != 0) {
3293 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3294 3, *this_._impl_.mip_node_filter_, this_._impl_.mip_node_filter_->GetCachedSize(), target,
3295 stream);
3296 }
3297
3298 // bool add_cuts = 4;
3299 if ((cached_has_bits & 0x00000004u) != 0) {
3300 if (this_._internal_add_cuts() != 0) {
3301 target = stream->EnsureSpace(target);
3302 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3303 4, this_._internal_add_cuts(), target);
3304 }
3305 }
3306
3307 // bool add_lazy_constraints = 5;
3308 if ((cached_has_bits & 0x00000008u) != 0) {
3309 if (this_._internal_add_lazy_constraints() != 0) {
3310 target = stream->EnsureSpace(target);
3311 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3312 5, this_._internal_add_lazy_constraints(), target);
3313 }
3314 }
3315
3316 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3317 target =
3318 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3319 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3320 }
3321 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.CallbackRegistrationProto)
3322 return target;
3323}
3324
3325#if defined(PROTOBUF_CUSTOM_VTABLE)
3327 const CallbackRegistrationProto& this_ = static_cast<const CallbackRegistrationProto&>(base);
3328#else // PROTOBUF_CUSTOM_VTABLE
3330 const CallbackRegistrationProto& this_ = *this;
3331#endif // PROTOBUF_CUSTOM_VTABLE
3332 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.CallbackRegistrationProto)
3333 ::size_t total_size = 0;
3334
3335 ::uint32_t cached_has_bits = 0;
3336 // Prevent compiler warnings about cached_has_bits being unused
3337 (void)cached_has_bits;
3338
3339 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3340 {
3341 // repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
3342 {
3343 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize(
3344 this_._internal_request_registration(), 1, this_._impl_._request_registration_cached_byte_size_);
3345 }
3346 }
3347 cached_has_bits = this_._impl_._has_bits_[0];
3348 if ((cached_has_bits & 0x0000000fu) != 0) {
3349 // .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
3350 if ((cached_has_bits & 0x00000001u) != 0) {
3351 total_size += 1 +
3352 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mip_solution_filter_);
3353 }
3354 // .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
3355 if ((cached_has_bits & 0x00000002u) != 0) {
3356 total_size += 1 +
3357 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mip_node_filter_);
3358 }
3359 // bool add_cuts = 4;
3360 if ((cached_has_bits & 0x00000004u) != 0) {
3361 if (this_._internal_add_cuts() != 0) {
3362 total_size += 2;
3363 }
3364 }
3365 // bool add_lazy_constraints = 5;
3366 if ((cached_has_bits & 0x00000008u) != 0) {
3367 if (this_._internal_add_lazy_constraints() != 0) {
3368 total_size += 2;
3369 }
3370 }
3371 }
3372 return this_.MaybeComputeUnknownFieldsSize(total_size,
3373 &this_._impl_._cached_size_);
3374}
3375
3376void CallbackRegistrationProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3377 auto* const _this = static_cast<CallbackRegistrationProto*>(&to_msg);
3378 auto& from = static_cast<const CallbackRegistrationProto&>(from_msg);
3379 ::google::protobuf::Arena* arena = _this->GetArena();
3380 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.CallbackRegistrationProto)
3381 ABSL_DCHECK_NE(&from, _this);
3382 ::uint32_t cached_has_bits = 0;
3383 (void) cached_has_bits;
3384
3385 _this->_internal_mutable_request_registration()->MergeFrom(from._internal_request_registration());
3386 cached_has_bits = from._impl_._has_bits_[0];
3387 if ((cached_has_bits & 0x0000000fu) != 0) {
3388 if ((cached_has_bits & 0x00000001u) != 0) {
3389 ABSL_DCHECK(from._impl_.mip_solution_filter_ != nullptr);
3390 if (_this->_impl_.mip_solution_filter_ == nullptr) {
3391 _this->_impl_.mip_solution_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_solution_filter_);
3392 } else {
3393 _this->_impl_.mip_solution_filter_->MergeFrom(*from._impl_.mip_solution_filter_);
3394 }
3395 }
3396 if ((cached_has_bits & 0x00000002u) != 0) {
3397 ABSL_DCHECK(from._impl_.mip_node_filter_ != nullptr);
3398 if (_this->_impl_.mip_node_filter_ == nullptr) {
3399 _this->_impl_.mip_node_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_node_filter_);
3400 } else {
3401 _this->_impl_.mip_node_filter_->MergeFrom(*from._impl_.mip_node_filter_);
3402 }
3403 }
3404 if ((cached_has_bits & 0x00000004u) != 0) {
3405 if (from._internal_add_cuts() != 0) {
3406 _this->_impl_.add_cuts_ = from._impl_.add_cuts_;
3407 }
3408 }
3409 if ((cached_has_bits & 0x00000008u) != 0) {
3410 if (from._internal_add_lazy_constraints() != 0) {
3411 _this->_impl_.add_lazy_constraints_ = from._impl_.add_lazy_constraints_;
3412 }
3413 }
3414 }
3415 _this->_impl_._has_bits_[0] |= cached_has_bits;
3416 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3417}
3418
3420// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.CallbackRegistrationProto)
3421 if (&from == this) return;
3422 Clear();
3423 MergeFrom(from);
3424}
3425
3426
3427void CallbackRegistrationProto::InternalSwap(CallbackRegistrationProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3428 using ::std::swap;
3429 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3430 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3431 _impl_.request_registration_.InternalSwap(&other->_impl_.request_registration_);
3432 ::google::protobuf::internal::memswap<
3433 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.add_lazy_constraints_)
3434 + sizeof(CallbackRegistrationProto::_impl_.add_lazy_constraints_)
3435 - PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto, _impl_.mip_solution_filter_)>(
3436 reinterpret_cast<char*>(&_impl_.mip_solution_filter_),
3437 reinterpret_cast<char*>(&other->_impl_.mip_solution_filter_));
3438}
3439
3440::google::protobuf::Metadata CallbackRegistrationProto::GetMetadata() const {
3441 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3442}
3443// @@protoc_insertion_point(namespace_scope)
3444} // namespace math_opt
3445} // namespace operations_research
3446namespace google {
3447namespace protobuf {
3448} // namespace protobuf
3449} // namespace google
3450// @@protoc_insertion_point(global_scope)
3451PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3452 _static_init2_ [[maybe_unused]] =
3454 ::std::false_type{});
3455#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto_once
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fcallback_2eproto
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fmath_5fopt_2fcallback_2eproto[1]
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto_deps[2]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto
friend void swap(CallbackDataProto_BarrierStats &a, CallbackDataProto_BarrierStats &b)
void MergeFrom(const CallbackDataProto_BarrierStats &from)
void CopyFrom(const CallbackDataProto_BarrierStats &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(CallbackDataProto_MipStats &a, CallbackDataProto_MipStats &b)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void CopyFrom(const CallbackDataProto_MipStats &from)
void MergeFrom(const CallbackDataProto_MipStats &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
decltype(::std::declval< CallbackDataProto_PresolveStats >()._impl_._has_bits_) HasBits
friend void swap(CallbackDataProto_PresolveStats &a, CallbackDataProto_PresolveStats &b)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const CallbackDataProto_PresolveStats &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const CallbackDataProto_PresolveStats &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
decltype(::std::declval< CallbackDataProto_SimplexStats >()._impl_._has_bits_) HasBits
void MergeFrom(const CallbackDataProto_SimplexStats &from)
void CopyFrom(const CallbackDataProto_SimplexStats &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(CallbackDataProto_SimplexStats &a, CallbackDataProto_SimplexStats &b)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend void swap(CallbackDataProto &a, CallbackDataProto &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void MergeFrom(const CallbackDataProto &from)
void CopyFrom(const CallbackDataProto &from)
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const CallbackRegistrationProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(CallbackRegistrationProto &a, CallbackRegistrationProto &b)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const CallbackRegistrationProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(CallbackResultProto_GeneratedLinearConstraint &a, CallbackResultProto_GeneratedLinearConstraint &b)
void CopyFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void MergeFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::MessageLite
void CopyFrom(const CallbackResultProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(CallbackResultProto &a, CallbackResultProto &b)
::google::protobuf::Metadata GetMetadata() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const CallbackResultProto &from)
void MergeFrom(const SparseVectorFilterProto &from)
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
PROTOBUF_CONSTINIT const uint32_t CallbackEventProto_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProtoDefaultTypeInternal _CallbackResultProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackRegistrationProtoDefaultTypeInternal _CallbackRegistrationProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_SimplexStatsDefaultTypeInternal _CallbackDataProto_SimplexStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProtoDefaultTypeInternal _CallbackDataProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_PresolveStatsDefaultTypeInternal _CallbackDataProto_PresolveStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_MipStatsDefaultTypeInternal _CallbackDataProto_MipStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_BarrierStatsDefaultTypeInternal _CallbackDataProto_BarrierStats_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL CallbackEventProto_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal _CallbackResultProto_GeneratedLinearConstraint_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto